PowerShell Email Address Exfiltration via EXIF-style Recipient Harvesting on Windows

Alerts when PowerShell command lines enumerate Exchange recipients and expand email address properties, indicating potential email data exfiltration.

FreeReviewedSigma · High · v1
Product
windows
Category
process_creation
Author
Nasreddine Bencherchali (Nextron Systems), Azure-Sentinel (idea) (SigmaHQ), DRL 1.1
Published
2022-09-09
Updated
2026-07-30

What it detects

This rule flags Windows process executions of PowerShell (powershell.exe or pwsh.exe) whose command lines include Exchange/SMTP recipient harvesting and email-address expansion patterns. Attackers commonly use PowerShell to enumerate recipient data and package it for unauthorized email collection and exfiltration. The detection relies on Windows process creation telemetry, matching the PowerShell binary and specific command-line fragments such as Add-PSSnapin, Get-Recipient, and properties related to EmailAddresses and SmtpAddress.

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.