Trojan.Win32.Bayrob.cgau Insecure Permissions / Privilege Escalation

Trojan.Win32.Bayrob.cgau malware suffers from an insecure permissions vulnerability that can allow for privilege escalation.


MD5 | 846139c1b2a63ba6cc03a4216d4531c4

Discovery / credits: malvuln - Malvuln.com (c) 2021
Original source: http://malvuln.com/advisory/099a169f81089dc493ea300ef0309f70.txt
Contact: [email protected]
Media: twitter.com/malvuln

Threat: Trojan.Win32.Bayrob.cgau
Vulnerability: Insecure Permissions EoP (SYSTEM)
Description: Change permissions are granted to authenticated users on the C:\chvlcpvyoh dir housing the malware running with SYSTEM integrity. The trojan creates Windows Service named "Counter Locator WLAN Controls", then drops a randomly named EXE to C:\chvlcpvyoh along with an executable named "xvhjnn4.exe".

Type: PE32
MD5: 099a169f81089dc493ea300ef0309f70
Vuln ID: MVID-2021-0002
Dropped files: randomly-generated-name.exe, chvlcpvyoh.exe
Disclosure: 01/01/2021

Exploit/PoC:
C:\>cacls C:\chvlcpvyoh\oe9bd1ilk5mvicwmogzuzld.exe
C:\chvlcpvyoh\oe9bd1ilk5mvicwmogzuzld.exe BUILTIN\Administrators:(ID)F
NT AUTHORITY\SYSTEM:(ID)F
BUILTIN\Users:(ID)R
NT AUTHORITY\Authenticated Users:(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 occuring from improper Malware handling or the downloading of ANY Malware mentioned on this website or elsewhere. All content Copyright (c) Malvuln.com (TM).

Related Posts