AgentExecutor PowerShell Execution
Detects execution of the AgentExecutor.exe binary. Which can be abused as a LOLBIN to execute powershell scripts with the ExecutionPolicy "Bypass" or any binary named "powershell.exe" located in the path provided by…
Description
Detects execution of the AgentExecutor.exe binary. Which can be abused as a LOLBIN to execute powershell scripts with the ExecutionPolicy "Bypass" or any binary named "powershell.exe" located in the path provided by 6th positional argument
Detection logic
Detection requirements
- Platform
- LinuxmacOSWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source product
- windows
- Log source category
- process_creation
Known benign triggers
- Legitimate use via Intune management. You exclude script paths and names to reduce FP rate
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension | 2 |
| lolbas-project.github.io/lolbas/OtherMSBinaries/Agentexecutor/ | 2 |
| twitter.com/jseerden/status/1247985304667066373/photo/1 | 2 |
| twitter.com/lefterispan/status/1286259016436514816 | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 7efd2c8d-8b18-45b7-947d-adfe9ed04f61
- Tagged by the source as
- attack.stealth
Licence
- Published under
- Detection Rule License 1.1Read the licence
- Attribution
- Required
Authorship
- Published
- Aug 26, 2026
- Version
- 1