Detectionhightest
Email Exifiltration Via Powershell
Detects email exfiltration via powershell cmdlets
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Nasreddine Bencherchali (Nextron Systems), Azure-SentinelCreated Fri Sep 09312d0384-401c-4b8b-abdf-685ffba9a332windows
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:
Image|endswith:
- '\powershell.exe'
- '\pwsh.exe'
CommandLine|contains|all:
- 'Add-PSSnapin'
- 'Get-Recipient'
- '-ExpandProperty'
- 'EmailAddresses'
- 'SmtpAddress'
- '-hidetableheaders'
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Tactics
Rule Metadata
Rule ID
312d0384-401c-4b8b-abdf-685ffba9a332
Status
test
Level
high
Type
Detection
Created
Fri Sep 09
Path
rules/windows/process_creation/proc_creation_win_powershell_email_exfil.yml
Raw Tags
attack.exfiltration