Detectionmediumtest
Suspicious FromBase64String Usage On Gzip Archive - Process Creation
Detects attempts of decoding a base64 Gzip archive via PowerShell. This technique is often used as a method to load malicious content into memory afterward.
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
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|all:
- 'FromBase64String'
- 'MemoryStream'
- 'H4sI'
condition: selectionFalse Positives
Legitimate administrative script
References
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
d75d6b6b-adb9-48f7-824b-ac2e786efe1f
Status
test
Level
medium
Type
Detection
Created
Fri Dec 23
Author
Path
rules/windows/process_creation/proc_creation_win_powershell_frombase64string_archive.yml
Raw Tags
attack.command-and-controlattack.t1132.001