> For the complete documentation index, see [llms.txt](https://alham-rizvi.gitbook.io/alhamrizvi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alham-rizvi.gitbook.io/alhamrizvi/picoctf-writeups/picoctf/reverse-engineering/binary-instumentation-3.md).

# Binary Instrumentation 3.md

I used **binwalk** to extract the hidden data from the `.exe` file. After extraction, it gave me a file named `6000`.

Instead of wasting time creating things like `payload.bin` or `atom.bin` on Windows, I directly opened the `6000` file in **Ghidra**.

Inside Ghidra, I went to the **Program Tree** and opened the `.rdata` section.

That’s it no need for overcomplicated steps.

The Base64 strings were already sitting there inside `.rdata`.

<img src="https://github.com/user-attachments/assets/d3ada4ee-d880-4097-9d31-42f3dc4bef6a" alt="image" height="743" width="1416">

&#x20;

<img src="https://github.com/user-attachments/assets/8bc35072-a9f8-4a35-aaa2-b33a59253011" alt="image" height="743" width="1416">


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://alham-rizvi.gitbook.io/alhamrizvi/picoctf-writeups/picoctf/reverse-engineering/binary-instumentation-3.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
