Identifier / Programs / Windows
agentexecutor.exe
LOLBAS Execute 2 Sigma rules name it 1 ATT&CK technique 2 documented commands
How agentexecutor.exe is abused
Execute T1218 System Binary Proxy Execution
-powershellEach abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for agentexecutor.exe.
2 documented commands
Execute T1218 System Binary Proxy Execution User privileges
Spawns powershell.exe and executes a provided powershell script with ExecutionPolicy Bypass argument
AgentExecutor.exe -powershell "{PATH_ABSOLUTE:.ps1}" "{PATH_ABSOLUTE:.1.log}" "{PATH_ABSOLUTE:.2.log}" "{PATH_ABSOLUTE:.3.log}" 60000 "C:\Windows\SysWOW64\WindowsPowerShell\v1.0" 0 1IdentifyExecute T1218 System Binary Proxy Execution User privileges
If we place a binary named powershell.exe in the specified folder path, agentexecutor.exe will execute it successfully
AgentExecutor.exe -powershell "{PATH_ABSOLUTE:.ps1}" "{PATH_ABSOLUTE:.1.log}" "{PATH_ABSOLUTE:.2.log}" "{PATH_ABSOLUTE:.3.log}" 60000 "{PATH_ABSOLUTE:folder}" 0 1IdentifyNone of the 2 commands the identifier reads trips a Sigma process-creation rule. These commands and their descriptions are from LOLBAS’s entry for agentexecutor.exe, by Eleftherios Panos, at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for agentexecutor.exe. The identifier reads each with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.