Detectionmediumtest

Suspicious X509Enrollment - Ps Script

Detect use of X509Enrollment

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Fri Dec 23504d63cb-0dba-4d02-8531-e72981aace2cwindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains:
            - 'X509Enrollment.CBinaryConverter'
            - '884e2002-217d-11da-b2a4-000e7bbb2b09'
    condition: selection
False Positives

Legitimate administrative script

Rule Metadata
Rule ID
504d63cb-0dba-4d02-8531-e72981aace2c
Status
test
Level
medium
Type
Detection
Created
Fri Dec 23
Path
rules/windows/powershell/powershell_script/posh_ps_x509enrollment.yml
Raw Tags
attack.defense-evasionattack.t1553.004
View on GitHub