Loading video...

Video Failed to Load

Go Home

Some IDA MCP servers can be tricked into executing arbitrary code directly from the malware sample

85,603 views • 1 year ago •via X (Twitter)

15 Comments

jro's profile picture
jro1 year ago

To be clear, this is NOT a vulnerability in either Claude, the MCP server ( or IDA Pro. Claude is just using one of the tools approved by the user, which happens to execute arbitrary Python code.

jro's profile picture
jro1 year ago

Some other less popular IDA MCP servers (eg include code execution tools. Notably, the most popular IDA MCP server (at the moment), does not support executing scripts.

jro's profile picture
jro1 year ago

PoC binary: Test conditions: - IDA Pro 9/9.1 - Claude 3.7 Sonnet (no prior chats) - MCP server: (commit 1bf3bea)

bl4ckh4ck5's profile picture
bl4ckh4ck51 year ago

@LiveOverflow MCP becoming the attack surface itself now that's gone become a interesting thing to keep in mind. MCP can become the glasscanon and we know malware authors are gone use MCP against us. Maybe a interesting video suggestion the good and the bad off MCP

eversinc33 🤍🔪's profile picture
eversinc33 🤍🔪1 year ago

'It seemed to have popped calc - lets safely analyze it now' xd well too late haha. gj

fr0g's profile picture
fr0g1 year ago

"this is dangerous" ... *allow* ... "this is dangerous" ... *allow* ... "this is dangerous" ... *allow* ... calc.exe

crazyman's profile picture
crazyman1 year ago

maybe run the mcp and reverse tools in vm machine is really important when you're analyze an malware.

sixtyvividtails's profile picture
sixtyvividtails1 year ago

Do you think there might be some vectors to exec code against MCP servers which don't support executing scripts?

︎'s profile picture
︎1 year ago

we needed this

Salvatore GNUcci's profile picture
Salvatore GNUcci1 year ago

At least it recognized it was pwned when the script launched calc 😂

Tereza Tizkova's profile picture
Tereza Tizkova1 year ago

that's why @e2b exists

0xbee's profile picture
0xbee1 year ago

hehehe

Matin's profile picture
Matin1 year ago

Best time to be a security researcher :)

Megatron's profile picture
Megatron1 year ago

@grok what is real hacking

James's profile picture
James1 year ago

wow calling a tool that runs code can run code, who would've guessed

Related Videos