Microsoft Office Process Launching PowerShell Interpreter

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects Microsoft Office applications (Word, Excel, PowerPoint, Outlook, etc.) spawning PowerShell, which may indicate malicious macro execution or document-based code execution.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PARENTPROCESSNAME endswith "\winword.exe,\excel.exe,\powerpnt.exe,\outlook.exe,\onenote.exe" AND PROCESSNAME endswith "\powershell.exe,\pwsh.exe,\powershell_ise.exe,\pwsh-preview.exe") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME,Action1.DOMAIN,Action1.ORIGINALFILENAME,Action1.PARENTPROCESSID,Action1.PROCESSID,Action1.PRODUCT_NAME,Action1.SECURITYID

Detection

Execution Mode

realtime

Log Sources

Windows