{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "duty1g-x64dbg-mcp-server--find-original-entry-point-of-packed-binary",
 "repo": "duty1g/x64dbg-mcp-server",
 "repo_url": "https://github.com/duty1g/x64dbg-mcp-server",
 "repo_slug": "duty1g-x64dbg-mcp-server",
 "title": "Find the original entry point of a packed binary",
 "page_title": "How to find the original entry point of a packed binary with X64 DBG MCP Server",
 "summary": "Use an AI assistant to load a packed executable in x64dbg, detect its OEP, and dump the module to disk.",
 "who": "A malware analyst or reverse engineer who has a packed executable and needs the unpacked code for static review.",
 "problem": "Packed executables hide their real code behind a loader, so manual unpacking in the debugger takes many steps and careful tracing.",
 "outcome": "The assistant reports the detected Original Entry Point and the path of a dumped module file that can be examined further.",
 "steps": [
  "Build the plugin with `zig build -Doptimize=ReleaseSafe --prefix dist` or download the latest release.",
  "Copy the contents of `dist/` into your x64dbg root folder.",
  "Launch x64dbg. The MCP server starts automatically on `0.0.0.0:9094` for x64.",
  "Copy the Bearer token from Plugins > x64dbg-MCP Server > Configure MCP Server... and add the Streamable HTTP config with the `Authorization` header to your MCP client config.",
  "Ask the assistant to load the target, call DetectOEP, then call DumpModule."
 ],
 "agent_prompt": "Using the x64dbg-MCP-Server MCP tools at http://localhost:9094/ with my Bearer token, load <target executable path>, call DetectOEP, then call DumpModule. Report the Original Entry Point address and the dump file path. Verify that the dump file exists on disk.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README lists DetectOEP and DumpModule as tools, but it does not describe their output format, so check the returned values against the dump file.",
 "category": "Security and science",
 "tags": [
  "Security and science"
 ],
 "lang": "zig",
 "requirements": [
  "Windows with x64dbg installed, or a Windows target for the plugin",
  "The release contents of dist/ or Zig 0.16-dev or later to build from source",
  "An MCP-compatible AI assistant client that can send HTTP requests with a Bearer token",
  "Authorization to analyze the target software"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "reverse-engineering",
   "notice": "Unpacking and dumping third-party executables should only be done with authorization and for lawful analysis."
  },
  {
   "tag": "credentials",
   "notice": "The Bearer token grants full debugger control, so keep it private and rotate it with Generate if it is exposed."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/duty1g-x64dbg-mcp-server/find-original-entry-point-of-packed-binary/",
 "md": "https://dedupedai.com/use-cases/duty1g-x64dbg-mcp-server/find-original-entry-point-of-packed-binary/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/duty1g-x64dbg-mcp-server--find-original-entry-point-of-packed-binary.json",
 "api_version": "v1"
}
