.. /AgentExecutor.exe
Star

Execute

Intune Management Extension included on Intune Managed Devices


Paths:

Resources:
Acknowledgements:

Detection:

Execute

  1. Spawns powershell.exe and executes a provided powershell script with ExecutionPolicy Bypass argument

    AgentExecutor.exe -powershell "c:\temp\malicious.ps1" "c:\temp\test.log" "c:\temp\test1.log" "c:\temp\test2.log" 60000 "C:\Windows\SysWOW64\WindowsPowerShell\v1.0" 0 1
    Use case
    Execute unsigned powershell scripts
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1218
  2. If we place a binary named powershell.exe in the path c:\temp, agentexecutor.exe will execute it successfully

    AgentExecutor.exe -powershell "c:\temp\malicious.ps1" "c:\temp\test.log" "c:\temp\test1.log" "c:\temp\test2.log" 60000 "C:\temp\" 0 1
    Use case
    Execute a provided EXE
    Privileges required
    User
    Operating systems
    Windows 10
    ATT&CK® technique
    T1218