Microsoft · Vendor blog
AutoJack: How a single page can RCE the host running your AI agent
Published · Source: Microsoft
Entities & attribution
Artifact
calc.exe
“…command + args to stdio_client(…). There was no allowlist – calc.exe, powershell.exe -enc …, or bash -c ‘…’ were all accepted as…”
Page 1 · Paragraph 25
Artifact
powershell.exe
“…args to stdio_client(…). There was no allowlist – calc.exe, powershell.exe -enc …, or bash -c ‘…’ were all accepted as “MCP servers.””
Page 1 · Paragraph 25
Artifact
cmd.exe
“…atches regex @"(?i)autogenstudio" | where FileName in~ ( "cmd.exe", "powershell.exe", "pwsh.exe", "bash.exe", "wsl.exe", "ce…”
Page 1 · Paragraph 136
Artifact
pwsh.exe
“…dio" | where FileName in~ ( "cmd.exe", "powershell.exe", "pwsh.exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "run…”
Page 1 · Paragraph 136
Artifact
bash.exe
“…e FileName in~ ( "cmd.exe", "powershell.exe", "pwsh.exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", …”
Page 1 · Paragraph 136
Artifact
wsl.exe
“…n~ ( "cmd.exe", "powershell.exe", "pwsh.exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.e…”
Page 1 · Paragraph 136
Artifact
certutil.exe
“…xe", "powershell.exe", "pwsh.exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe",…”
Page 1 · Paragraph 136
Artifact
mshta.exe
“….exe", "pwsh.exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", …”
Page 1 · Paragraph 136
Artifact
rundll32.exe
“…exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.exe" …”
Page 1 · Paragraph 136
Artifact
regsvr32.exe
“…, "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.exe" ) | project Ti…”
Page 1 · Paragraph 136
Artifact
curl.exe
“…rtutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.exe" ) | project Timestamp, Devi…”
Page 1 · Paragraph 136
Artifact
wget.exe
“… "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.exe" ) | project Timestamp, DeviceName, Acco…”
Page 1 · Paragraph 136
Artifact
bitsadmin.exe
“…, "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.exe" ) | project Timestamp, DeviceName, AccountName, FileName…”
Page 1 · Paragraph 136
Artifact
python.exe
“…mestamp > ago(30d) | where InitiatingProcessFileName in~ ("python.exe", "pythonw.exe", "node.exe") | where InitiatingProcessComm…”
Page 1 · Paragraph 141
Artifact
pythonw.exe
“…30d) | where InitiatingProcessFileName in~ ("python.exe", "pythonw.exe", "node.exe") | where InitiatingProcessCommandLine has_any…”
Page 1 · Paragraph 141
Artifact
node.exe
“…nitiatingProcessFileName in~ ("python.exe", "pythonw.exe", "node.exe") | where InitiatingProcessCommandLine has_any ("playwrigh…”
Page 1 · Paragraph 141
MITRE ATT&CK behaviors
T1059.001 · PowerShell
Execution · PowerShell execution
“…args to stdio_client(…). There was no allowlist – calc.exe, powershell.exe -enc …, or bash -c ‘…’ were all accepted as “MCP server…”
Page 1 · Paragraph 25
T1055 · Process Injection
Privilege Escalation · Process injection
“…lled URL. This can happen through a direct prompt, a prompt injection in earlier content, or a URL field in the app.”
Page 1 · Paragraph 61
T1071.001 · Web Protocols
Command and Control · C2 over HTTPS
“https://learn.microsoft.com/en-us/azure/ai-services/content-safet…”
Page 1 · Paragraph 101
T1218 · System Binary Proxy Execution
Defense Evasion · Signed binary proxy
“…exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.e…”
Page 1 · Paragraph 136
Indicators of compromise
url
hxxp://127.0.0[.]1“… The MCP WebSocket only accepts connections whose Origin is http://127.0.0.1 or http://localhost. That blocks a browser pointed at evil.…”
Page 1 · Paragraph 23
url
hxxp://localhost“…nly accepts connections whose Origin is http://127.0.0.1 or http://localhost. That blocks a browser pointed at evil.com. It does not blo…”
Page 1 · Paragraph 23
ipv4
127.0.0[.]1“…P WebSocket only accepts connections whose Origin is http://127.0.0.1 or http://localhost. That blocks a browser pointed at evil.…”
Page 1 · Paragraph 23
domain
evil[.]com“…0.0.1 or http://localhost. That blocks a browser pointed at evil.com. It does not block JavaScript that is rendered by a headles…”
Page 1 · Paragraph 23
url
hxxp://127.0.0[.]1”“allowed_origins = [“http://127.0.0.1”, “http://localhost”]”
Page 1 · Paragraph 32
url
hxxp://localhost”]“allowed_origins = [“http://127.0.0.1”, “http://localhost”]”
Page 1 · Paragraph 32
url
hxxp://attacker[.]example/websocket-interactive“malicious_web_server.py : a web page served at http://attacker[.]example/websocket-interactive. Its only meaningful content is a that opens the WebSocke…”
Page 1 · Paragraph 57
ipv4
0.4.2[.]2“…ing commit. This was confirmed by downloading autogenstudio 0.4.2.2, the current published release, and inspecting its contents…”
Page 1 · Paragraph 75
url
hxxps://learn.microsoft[.]com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection“https://learn.microsoft.com/en-us/azure/ai-services/content-safety/concepts/jailbreak-detection”
Page 1 · Paragraph 101
url
hxxps://learn.microsoft[.]com/en-us/azure/defender-for-cloud/ai-threat-protection“https://learn.microsoft.com/en-us/azure/defender-for-cloud/ai-threat-protection”
Page 1 · Paragraph 103
url
hxxps://learn.microsoft[.]com/en-us/azure/defender-for-cloud/ai-security-posture“https://learn.microsoft.com/en-us/azure/defender-for-cloud/ai-security-posture”
Page 1 · Paragraph 105
url
hxxps://learn.microsoft[.]com/en-us/azure/foundry/concepts/ai-red-teaming-agent“https://learn.microsoft.com/en-us/azure/foundry/concepts/ai-red-teaming-agent https://github.com/microsoft/PyRIT”
Page 1 · Paragraph 107
url
hxxps://github[.]com/microsoft/PyRIT“…osoft.com/en-us/azure/foundry/concepts/ai-red-teaming-agent https://github.com/microsoft/PyRIT”
Page 1 · Paragraph 107
url
hxxps://learn.microsoft[.]com/en-us/defender-endpoint/“https://learn.microsoft.com/en-us/defender-endpoint/”
Page 1 · Paragraph 110
url
hxxps://learn.microsoft[.]com/en-us/defender-endpoint/network-protection“https://learn.microsoft.com/en-us/defender-endpoint/network-protection https://learn.microsoft.com/en-us/defender-endpoint/web-co…”
Page 1 · Paragraph 112
url
hxxps://learn.microsoft[.]com/en-us/defender-endpoint/web-content-filtering“…n.microsoft.com/en-us/defender-endpoint/network-protection https://learn.microsoft.com/en-us/defender-endpoint/web-content-filtering”
Page 1 · Paragraph 112
url
hxxps://learn.microsoft[.]com/en-us/defender-vulnerability-management/“https://learn.microsoft.com/en-us/defender-vulnerability-management/”
Page 1 · Paragraph 114
url
hxxps://learn.microsoft[.]com/en-us/entra/identity/conditional-access/overview“https://learn.microsoft.com/en-us/entra/identity/conditional-access/overview”
Page 1 · Paragraph 117
url
hxxps://www.microsoft[.]com/en-us/security/blog/2025/05/19/announcing-microsoft-entra-agent-id-secure-and-manage-your-ai-agents/“https://www.microsoft.com/en-us/security/blog/2025/05/19/announcing-microsoft-entra-agent-id-secure-and-manage-your-ai-agents/”
Page 1 · Paragraph 119
url
hxxps://learn.microsoft[.]com/en-us/defender-for-identity/what-is“https://learn.microsoft.com/en-us/defender-for-identity/what-is”
Page 1 · Paragraph 121
url
hxxps://learn.microsoft[.]com/en-us/azure/dev-box/overview-what-is-microsoft-dev-box“https://learn.microsoft.com/en-us/azure/dev-box/overview-what-is-microsoft-dev-box https://learn.microsoft.com/en-us/windows/security/applica…”
Page 1 · Paragraph 124
url
hxxps://learn.microsoft[.]com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview“…com/en-us/azure/dev-box/overview-what-is-microsoft-dev-box https://learn.microsoft.com/en-us/windows/security/application-security/application-isolation/windows-sandbox/windows-sandbox-overview”
Page 1 · Paragraph 124
url
hxxps://learn.microsoft[.]com/en-us/azure/defender-for-cloud/defender-for-devops-introduction“https://learn.microsoft.com/en-us/azure/defender-for-cloud/defender-for-devops-introduction”
Page 1 · Paragraph 126
url
hxxps://learn.microsoft[.]com/en-us/defender-xdr/advanced-hunting-overview“https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-overview https://learn.microsoft.com/en-us/copilot/security/microso…”
Page 1 · Paragraph 130
url
hxxps://learn.microsoft[.]com/en-us/copilot/security/microsoft-security-copilot“…microsoft.com/en-us/defender-xdr/advanced-hunting-overview https://learn.microsoft.com/en-us/copilot/security/microsoft-security-copilot”
Page 1 · Paragraph 130
domain
microsoft[.]com“… where Timestamp > ago(30d) | where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, In…”
Page 1 · Paragraph 141
domain
msft[.]net“…> ago(30d) | where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, InitiatingProc…”
Page 1 · Paragraph 141
domain
office[.]com“…| where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, InitiatingProcessId, RemoteU…”
Page 1 · Paragraph 141
Claims & evidence
Reported Claim
AutoJack: How a single page can RCE the host running your AI agent exhibits PowerShell execution (T1059.001)
“…args to stdio_client(…). There was no allowlist – calc.exe, powershell.exe -enc …, or bash -c ‘…’ were all accepted as “MCP server…”
Page 1 · Paragraph 25
Reported Claim
AutoJack: How a single page can RCE the host running your AI agent exhibits Process injection (T1055)
“…lled URL. This can happen through a direct prompt, a prompt injection in earlier content, or a URL field in the app.”
Page 1 · Paragraph 61
Reported Claim
AutoJack: How a single page can RCE the host running your AI agent exhibits C2 over HTTPS (T1071.001)
“https://learn.microsoft.com/en-us/azure/ai-services/content-safet…”
Page 1 · Paragraph 101
Reported Claim
AutoJack: How a single page can RCE the host running your AI agent exhibits Signed binary proxy (T1218)
“…exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.e…”
Page 1 · Paragraph 136
Inferred Relationship
PowerShell execution precedes Process injection
“…lled URL. This can happen through a direct prompt, a prompt injection in earlier content, or a URL field in the app.”
Page 1 · Paragraph 61
Inferred Relationship
Process injection precedes C2 over HTTPS
“https://learn.microsoft.com/en-us/azure/ai-services/content-safet…”
Page 1 · Paragraph 101
Inferred Relationship
C2 over HTTPS precedes Signed binary proxy
“…exe", "bash.exe", "wsl.exe", "certutil.exe", "mshta.exe", "rundll32.exe", "regsvr32.exe", "curl.exe", "wget.exe", "bitsadmin.e…”
Page 1 · Paragraph 136
Reported Claim
127.0.0.1 used as network infrastructure
“…P WebSocket only accepts connections whose Origin is http://127.0.0.1 or http://localhost. That blocks a browser pointed at evil.…”
Page 1 · Paragraph 23
Reported Claim
evil.com used as network infrastructure
“…0.0.1 or http://localhost. That blocks a browser pointed at evil.com. It does not block JavaScript that is rendered by a headles…”
Page 1 · Paragraph 23
Reported Claim
0.4.2.2 used as network infrastructure
“…ing commit. This was confirmed by downloading autogenstudio 0.4.2.2, the current published release, and inspecting its contents…”
Page 1 · Paragraph 75
Reported Claim
microsoft.com used as network infrastructure
“… where Timestamp > ago(30d) | where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, In…”
Page 1 · Paragraph 141
Reported Claim
msft.net used as network infrastructure
“…> ago(30d) | where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, InitiatingProc…”
Page 1 · Paragraph 141
Reported Claim
office.com used as network infrastructure
“…| where not(RemoteUrl has_any("microsoft.com", "msft.net", "office.com", " ")) | project DeviceName, InitiatingProcessId, RemoteU…”
Page 1 · Paragraph 141
Lore Hypothesis
Investigation hypothesizes A loader sideloaded via a signed binary stages an in-memory implant
“…args to stdio_client(…). There was no allowlist – calc.exe, powershell.exe -enc …, or bash -c ‘…’ were all accepted as “MCP server…”
Page 1 · Paragraph 25