Back to results

PowerShell Write-EventLog Usage

Detects usage of the "Write-EventLog" cmdlet with 'RawData' flag. The cmdlet can be levreage to write malicious payloads to the EventLog and then retrieve them later for later use

Detection logic

Detection requirements

Log source product
windows
Log source category
ps_script

Known benign triggers

  • Legitimate applications writing events via this cmdlet. Investigate alerts to determine if the action is benign

Detections can measure how the public catalogue is used — which detections people look for, and which pages bring them here. It sets a cookie that recognises this browser for 180 days. It is never linked to an account and never follows you to other sites. Privacy notice