← Back to SOC feed Coverage →

Potential Dosfuscation Activity

sigma MEDIUM SigmaHQ
T1059
imProcessCreate
evasion
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-05-07T11:00:00Z · Confidence: medium

Hunt Hypothesis

Detects possible payload obfuscation via the commandline

Detection Rule

Sigma (Original)

title: Potential Dosfuscation Activity
id: a77c1610-fc73-4019-8e29-0f51efc04a51
status: test
description: Detects possible payload obfuscation via the commandline
references:
    - https://www.fireeye.com/content/dam/fireeye-www/blog/pdfs/dosfuscation-report.pdf
    - https://github.com/danielbohannon/Invoke-DOSfuscation
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2022-02-15
modified: 2023-03-06
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
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
falsepositives:
    - Unknown
level: medium

KQL (Azure Sentinel)

imProcessCreate
| where TargetProcessCommandLine contains "^^" or TargetProcessCommandLine contains "^|^" or TargetProcessCommandLine contains ",;," or TargetProcessCommandLine contains ";;;;" or TargetProcessCommandLine contains ";; ;;" or TargetProcessCommandLine contains "(,(," or TargetProcessCommandLine contains "%COMSPEC:~" or TargetProcessCommandLine contains " c^m^d" or TargetProcessCommandLine contains "^c^m^d" or TargetProcessCommandLine contains " c^md" or TargetProcessCommandLine contains " cm^d" or TargetProcessCommandLine contains "^cm^d" or TargetProcessCommandLine contains " s^et " or TargetProcessCommandLine contains " s^e^t " or TargetProcessCommandLine contains " se^t "

Required Data Sources

Sentinel TableNotes
imProcessCreateEnsure this data connector is enabled

False Positive Guidance

MITRE ATT&CK Context

References

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_cmd_dosfuscation.yml