Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
product: windows
category: ps_script
definition: bade5735-5ab0-4aa7-a642-a11be0e40872
detection:
selection:
ScriptBlockText|contains|all:
- 'IO.Compression.DeflateStream'
- 'IO.MemoryStream'
- '::FromBase64String'
- 'GetDelegateForFunctionPointer'
- '.Invoke()'
- 'GlobalAssemblyCache'
condition: selection
falsepositives:
- Unknown