> For the complete documentation index, see [llms.txt](https://kabinet.gitbook.io/ctf-writeup/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kabinet.gitbook.io/ctf-writeup/2025/defcon-cloud-village-2025/operation-ghost-identity.md).

# Operation: Ghost Identity

<figure><img src="/files/ihdJm9jeck9gMCzHU1eV" alt=""><figcaption></figcaption></figure>

The challenge mentioned a mysterious ami. For those who are unware, ami is Amazon Machine Image (AMI) is an image that provides the software that is required to set up and boot an Amazon EC2 instance.

Searching for the AMI accross different region, we managed to find it in us-west-1.

<figure><img src="/files/Qdo1xtJQRrjccVZY4J2l" alt=""><figcaption></figcaption></figure>

We then follow AWS instruction on the AWS Console to deploy the instance. After depoloying we are able to remote desktop into the EC2 instance.

Doing some manual enumeration, we found a suspicious file in the download folder.

<figure><img src="/files/iXOqxv9jhHAmQzQZMwyl" alt=""><figcaption></figcaption></figure>

Copying the file out and running strings on it, we got the flag after base64 decoding the strings.

<figure><img src="/files/icjl5u5ZqApKRUEEo4Mf" alt=""><figcaption></figcaption></figure>


---

# 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://kabinet.gitbook.io/ctf-writeup/2025/defcon-cloud-village-2025/operation-ghost-identity.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.
