Detectionmediumtest

Unusual Parent Process For Cmd.EXE

Detects suspicious parent process for cmd.exe

Open in Detection LabConvert ruleBuild Package
Tim Rauch, Elastic SecurityCreated 2022-09-21Updated 2023-12-054b991083-3d0e-44ce-8fc4-b254025d8d4bwindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith: '\cmd.exe'
        ParentImage|endswith:
            - '\csrss.exe'
            - '\ctfmon.exe'
            - '\dllhost.exe'
            - '\epad.exe'
            - '\FlashPlayerUpdateService.exe'
            - '\GoogleUpdate.exe'
            - '\jucheck.exe'
            - '\jusched.exe'
            - '\LogonUI.exe'
            - '\lsass.exe'
            - '\regsvr32.exe'
            - '\SearchIndexer.exe'
            - '\SearchProtocolHost.exe'
            - '\SIHClient.exe'
            - '\sihost.exe'
            - '\slui.exe'
            - '\spoolsv.exe'
            - '\sppsvc.exe'
            - '\taskhostw.exe'
            - '\unsecapp.exe'
            - '\WerFault.exe'
            - '\wermgr.exe'
            - '\wlanext.exe'
            - '\WUDFHost.exe'
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
4b991083-3d0e-44ce-8fc4-b254025d8d4b
Status
test
Level
medium
Type
Detection
Created
2022-09-21
Modified
2023-12-05
Path
rules/windows/process_creation/proc_creation_win_cmd_unusual_parent.yml
Raw Tags
attack.executionattack.t1059
View on GitHub