{
  "api_version": "1.0.0",
  "slug": "gdata-llm-malware-analysis-lab",
  "url": "https://reversedwithai.com/p/gdata-llm-malware-analysis-lab",
  "markdown_url": "https://reversedwithai.com/p/gdata-llm-malware-analysis-lab.md",
  "json_url": "https://reversedwithai.com/p/gdata-llm-malware-analysis-lab.json",
  "title": "Tested GPT and Claude models as malware analysts with Ghidra, x64dbg and REMnux MCP servers",
  "tagline": "Six hours of manual work down to 30 minutes, and plenty of wrong IoCs to check.",
  "summary": "A G DATA researcher ran GPT 5.1, GPT 5.1-mini, Claude Sonnet 4.6 and Opus on real samples in an isolated lab. A decryption script that took six hours by hand took 30 minutes plus an hour of checking.",
  "target": {
    "name": "Malware samples (lab analysis)",
    "type": "malware",
    "type_label": "Malware (defensive)"
  },
  "platform": "Windows / REMnux",
  "models": [
    "GPT 5.1",
    "GPT 5.1-mini",
    "Claude Sonnet 4.6",
    "Claude Opus"
  ],
  "tools": [
    "OpenCode",
    "Ghidra",
    "x64dbg MCP",
    "REMnux MCP"
  ],
  "outcome": "research",
  "outcome_label": "Research",
  "human_effort": null,
  "time_spent": null,
  "cost": "Estimated 5-20 euros in tokens per analysis",
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "Karsten Hahn",
    "url": null
  },
  "sources": {
    "repository": null,
    "writeup": "https://blog.gdatasoftware.com/2026/03/38381-llm-malware-analysis",
    "discussions": [],
    "all": [
      "https://blog.gdatasoftware.com/2026/03/38381-llm-malware-analysis"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/gdata-llm-malware-analysis-lab.webp",
    "credit": "Image: blog.gdatasoftware.com"
  },
  "commit_history": null,
  "added_at": "2026-10-14T00:00:41+00:00",
  "updated_at": "2026-10-14T00:00:41+00:00",
  "sources_reviewed_at": "2026-10-14T00:00:41+00:00",
  "reviewed_by": "editor",
  "human_notes": "Reports had wrong IoCs, file relationships and persistence locations even after verification passes; verdicts flip-flopped and leaned on VirusTotal. One generated script printed a hallucinated URL instead of extracting it. The author concludes verdicts still need an experienced analyst.",
  "reproduce": null,
  "body_md": "Karsten Hahn of G DATA built an isolated lab to test whether LLMs can analyse malware reliably. GPT 5.1 and Claude Sonnet 4.6 each wrote a working decryption script in 30 minutes for a sample that had taken him about six hours by hand. His tests also found frequent factual errors in the models' reports, and he concludes that LLM verdicts cannot be trusted.\n\n### How it was done\n\nThe lab runs on a 12-year-old laptop with 16 GB of RAM: a REMnux VM with Claude and OpenCode, and an isolated Windows 10 VM for dynamic work. MCP servers covered REMnux, REMnux docs, x64dbg, VirusTotal, SSH and Ghidra. He first compared GPT 5.1, GPT 5.1-mini and Claude Sonnet 4.6, then continued with Sonnet 4.6 and Opus.\n\nOn an Office document using the CVE-2017-11882 equation editor exploit, GPT 5.1-mini called the file clean and flagged the oletools domain as suspicious. GPT 5.1 and Sonnet both needed steering towards emulating the shellcode with Speakeasy before they printed the next-stage URL. He then wrote a report skill that lists verification steps for every claim, and added verification passes for IPs, hashes, paths and registry keys.\n\n### Results\n\nEven with five verification passes, reports had errors in IoCs, file relationships and persistence locations. Verdicts changed during conversations and leaned on VirusTotal. The headless Ghidra MCP improved analysis; the x64dbg MCP was token hungry. The LLM found a debug path in one file of a 10,000-file application he had missed a year earlier. His advice is to have the model write extractors and unpackers, which can be run and checked, rather than trusting written reports. One analysis can cost 5 to 20 euros in API tokens.",
  "ai_use_excerpts": null
}
