Sigma rule: Email Exifiltration Via Powershell

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-64228b77f51f, updated 2022-09-09T00:00:00.000Z.

Rule

Title
Email Exifiltration Via Powershell
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems), Azure-Sentinel (idea)
Date
2022-09-09
File
rules/windows/process_creation/proc_creation_win_powershell_email_exfil.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects email exfiltration via powershell cmdlets

Log source

product
windows
category
process_creation

Detection

selection:
    Image|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    CommandLine|contains|all:
        - 'Add-PSSnapin'
        - 'Get-Recipient'
        - '-ExpandProperty'
        - 'EmailAddresses'
        - 'SmtpAddress'
        - '-hidetableheaders'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.exfiltration

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_email_exfil.yml

Sources and licences

  • SigmaHQ

    "Email Exifiltration Via Powershell" by Nasreddine Bencherchali (Nextron Systems), Azure-Sentinel (idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_powershell_email_exfil.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: Email Exifiltration Via Powershell",
entity page, dataset version ref-64228b77f51f, updated 2022-09-09T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/312d0384-401c-4b8b-abdf-685ffba9a332 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 312d0384-401c-4b8b-abdf-685ffba9a332, 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.