Detectionmediumtest

Potential Dosfuscation Activity

Detects possible payload obfuscation via the commandline

Open in Detection LabConvert ruleBuild Package
François Hubaut, Nasreddine BencherchaliCreated 2022-02-15Updated 2023-03-06a77c1610-fc73-4019-8e29-0f51efc04a51windows
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:
        CommandLine|contains:
            - '^^'
            - '^|^'
            - ',;,'
            - ';;;;'
            - ';; ;;'
            - '(,(,'
            - '%COMSPEC:~'
            - ' c^m^d'
            - '^c^m^d'
            - ' c^md'
            - ' cm^d'
            - '^cm^d'
            - ' s^et '
            - ' s^e^t '
            - ' se^t '
            # - '%%'
            # - '&&'
            # - '""'
    condition: selection
False Positives
Unknown

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

Rule Metadata
Rule ID
a77c1610-fc73-4019-8e29-0f51efc04a51
Status
test
Level
medium
Type
Detection
Created
2022-02-15
Modified
2023-03-06
Path
rules/windows/process_creation/proc_creation_win_cmd_dosfuscation.yml
Raw Tags
attack.executionattack.t1059
View on GitHub