Detectionmediumtest

Suspicious Execution of Powershell with Base64

Commandline to launch powershell with a base64 payload

Convert In Phoenix Studio

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

Launch
François HubautCreated Sun Jan 02Updated Thu Jan 05fb843269-508c-4b76-8b8d-88679db22ce7windows
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 Logic3 selectors
detection:
    selection:
        Image|endswith:
            - \powershell.exe
            - \pwsh.exe
        CommandLine|contains:
            - ' -e '
            - ' -en '
            - ' -enc '
            - ' -enco'
            - ' -ec '
    filter_encoding:
        CommandLine|contains: ' -Encoding '
    filter_azure:
        ParentImage|contains:
            - 'C:\Packages\Plugins\Microsoft.GuestConfiguration.ConfigurationforWindows\'
            - '\gc_worker.exe'
    condition: selection and not 1 of filter_*
False Positives
Unknown

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

MITRE ATT&CK
Rule Metadata
Rule ID
fb843269-508c-4b76-8b8d-88679db22ce7
Status
test
Level
medium
Type
Detection
Created
Sun Jan 02
Modified
Thu Jan 05
Path
rules/windows/process_creation/proc_creation_win_powershell_encode.yml
Raw Tags
attack.executionattack.t1059.001
View on GitHub