Lucene search
K

Ransomware Builder Babuk Insecure Permissions

🗓️ 20 Jan 2022 00:00:00Reported by malvuln, malvuln.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 320 Views

The Ransomware Builder Babuk creates directories with insecure permissions when writing to the c:\ drive, granting change permissions to the authenticated user group, potentially allowing for privilege escalation

Code
`Discovery / credits: Malvuln - malvuln.com (c) 2022  
Original source: https://malvuln.com/advisory/5dfa998f62612e10d5d28d26948dd50f.txt  
Contact: [email protected]  
Media: twitter.com/malvuln  
  
Threat: Ransomware Builder Babuk  
Vulnerability: Insecure Permissions  
Description: The malware creates directorys with insecure permissions when write to c:\ drive, granting change (C) permissions to the authenticated user group. Standard users can rename the executable dropped by the malware to disable it or replace it with their own executable. Then wait for a privileged user to logon to the infected machine to potentially escalate privileges.  
Type: PE32  
MD5: 5dfa998f62612e10d5d28d26948dd50f  
Vuln ID: MVID-2022-0461  
Disclosure: 01/19/2022  
  
  
Exploit/PoC:  
C:\>builder.exe  
Usage: builder.exe FolderName  
  
C:\>builder.exe c:\hate  
Creating folder 'c:\hate'  
curve25519 keys generated.  
"c:\hate\e_win.exe" written!  
"c:\hate\d_win.exe" written!  
"c:\hate\e_esxi.out" written!  
"c:\hate\d_esxi.out" written!  
"c:\hate\e_nas_x86.out" written!  
"c:\hate\d_nas_x86.out" written!  
"c:\hate\e_nas_arm.out" written!  
"c:\hate\d_nas_arm.out" written!  
"c:\hate\kp.curve25519" written!  
"c:\hate\ks.curve25519" written!  
Press any key to continue . . .  
  
C:\>cacls \hate  
C:\hate BUILTIN\Administrators:(OI)(CI)(ID)F  
NT AUTHORITY\SYSTEM:(OI)(CI)(ID)F  
BUILTIN\Users:(OI)(CI)(ID)R  
NT AUTHORITY\Authenticated Users:(ID)C  
NT AUTHORITY\Authenticated Users:(OI)(CI)(IO)(ID)C  
  
  
Disclaimer: The information contained within this advisory is supplied "as-is" with no warranties or guarantees of fitness of use or otherwise. Permission is hereby granted for the redistribution of this advisory, provided that it is not altered except by reformatting it, and that due credit is given. Permission is explicitly given for insertion in vulnerability databases and similar, provided that due credit is given to the author. The author is not responsible for any misuse of the information contained herein and accepts no responsibility for any damage caused by the use or misuse of this information. The author prohibits any malicious use of security related information or exploits by the author or elsewhere. Do not attempt to download Malware samples. The author of this website takes no responsibility for any kind of damages occurring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

20 Jan 2022 00:00Current
7.4High risk
Vulners AI Score7.4
320