Detectionhightest

Outbound Network Connection Initiated By Cmstp.EXE

Detects a network connection initiated by Cmstp.EXE Its uncommon for "cmstp.exe" to initiate an outbound network connection. Investigate the source of such requests to determine if they are malicious.

Open in Detection LabConvert ruleBuild Package
Nasreddine BencherchaliCreated 2022-08-30Updated 2024-05-31efafe0bf-4238-479e-af8f-797bd3490d2dwindows
Log Source
WindowsNetwork Connection
ProductWindows← raw: windows
CategoryNetwork Connection← raw: network_connection

Events for outbound and inbound network connections including DNS resolution.

Detection Logic
Detection Logic2 selectors
detection:
    selection:
        Image|endswith: '\cmstp.exe'
        Initiated: 'true'
    filter_main_local_ranges:
        DestinationIp|cidr:
            - '127.0.0.0/8'
            - '10.0.0.0/8'
            - '172.16.0.0/12'
            - '192.168.0.0/16'
            - '169.254.0.0/16'
            - '::1/128'  # IPv6 loopback
            - 'fe80::/10'  # IPv6 link-local addresses
            - 'fc00::/7'  # IPv6 private addresses
    condition: selection and not 1 of filter_main_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

MITRE ATT&CK
Rule Metadata
Rule ID
efafe0bf-4238-479e-af8f-797bd3490d2d
Status
test
Level
high
Type
Detection
Created
2022-08-30
Modified
2024-05-31
Path
rules/windows/network_connection/net_connection_win_cmstp_initiated_connection.yml
Raw Tags
attack.stealthattack.t1218.003
View on GitHub