Email Exifiltration Via Powershell
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects email exfiltration via powershell cmdlets
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND PROCESSNAME endswith "\powershell.exe,\pwsh.exe" AND (COMMANDLINE contains "Add-PSSnapin" AND COMMANDLINE contains "Get-Recipient" AND COMMANDLINE contains "-ExpandProperty" AND COMMANDLINE contains "EmailAddresses" AND COMMANDLINE contains "SmtpAddress" AND COMMANDLINE contains "-hidetableheaders") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Nasreddine Bencherchali (Nextron Systems), Azure-Sentinel (idea)


