Sigma rule: Powershell Token Obfuscation - Process Creation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-12421dd924ab, updated 2026-03-16T00:00:00.000Z.

Rule

Title
Powershell Token Obfuscation - Process Creation
Status
test
Level
high
Author
frack113
Date
2022-12-27
Modified
2026-03-16
File
rules/windows/process_creation/proc_creation_win_powershell_token_obfuscation.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects TOKEN OBFUSCATION technique from Invoke-Obfuscation

Log source

product
windows
category
process_creation

Detection

selection:
    # Examples:
    #   IN`V`o`Ke-eXp`ResSIOn (Ne`W-ob`ject Net.WebClient).DownloadString
    #   &('In'+'voke-Expressi'+'o'+'n') (.('New-Ob'+'jec'+'t') Net.WebClient).DownloadString
    #   &("{2}{3}{0}{4}{1}"-f 'e','Expression','I','nvok','-') (&("{0}{1}{2}"-f'N','ew-O','bject') Net.WebClient).DownloadString
    - CommandLine|re: '\w+`(?:\w+|-|.)`[\w+|\s]'
    # - CommandLine|re: '\((\'(\w|-|\.)+\'\+)+\'(\w|-|\.)+\'\)' TODO: fixme
    - CommandLine|re: '"(?:\{\d\})+"\s*-f'
    #   ${e`Nv:pATh}
    - CommandLine|re: '(?i)\$\{`?e`?n`?v`?:`?p`?a`?t`?h`?\}'
filter_main_envpath:
    CommandLine|contains: '${env:path}'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1027.009

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_token_obfuscation.yml

Sources and licences

  • SigmaHQ

    "Powershell Token Obfuscation - Process Creation" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_token_obfuscation.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Powershell Token Obfuscation - Process Creation",
entity page, dataset version ref-12421dd924ab, updated 2026-03-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/deb9b646-a508-44ee-b7c9-d8965921c6b6 (accessed 2026-11-03).
Underlying source: SigmaHQ rule deb9b646-a508-44ee-b7c9-d8965921c6b6, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.