> For the complete documentation index, see [llms.txt](https://ctf.laet4x.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ctf.laet4x.com/ctf-2022/rootcon-16-pre-qualifier/1-easy-300-illusive-mind-with-illusive-thoughts.md).

# 1️⃣ Easy 300: Illusive Mind with Illusive Thoughts

<figure><img src="/files/hymXLdYSTU9OK6MfNIPZ" alt=""><figcaption><p> Challenge</p></figcaption></figure>

This is an OSINT challenge that requires to use BeVigil to find the flag. As explained from the challenge above, there is an organization, CSP Bank whose data is available for sale from Dark Web. Using BeVigil, we have to retrace the steps made by Underground Intelligence Team to find the database credentials.&#x20;

The fact is, this is my first time using BeVigil, I wasn't familiar with the tool until this challenge. Which is a challenge in itself already. But the good thing is the tool is easy to use, though I might waste a minute or two with data overload and too many ideas. Then after a few tries, I paused and analyzed the challenge scenario once again. This leads me to different clues, particularly the most important one, "**Unknown High Entropy String**".  Below are the steps I did which in return led me to the flag. &#x20;

&#x20;Based from the challenge description, I need to check the CSP Bank using BeVigil.

<figure><img src="/files/uIOhWEhUCyIVls4AqRCR" alt=""><figcaption><p>CloudSEK BeVigil</p></figcaption></figure>

The challenge contains potential clues, one of them is the "Unknown High Entropy String". Upon checking the report of CSP Bank from BeVigil, I found the Unknown High Entropy String under the list of Issues -> Strings.&#x20;

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

From the "Unknown High Entropy String" there are matched files listed, one of them is cspbank/constants.java. Upon reviewing the file, there are list of strings variables, one of them is a url with a JSON response.&#x20;

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

I searched for Central Public Bank, then I got the following results

```
"Account Name":"Central Public Bank","DB_URL":"https://mysql_db.cspbank.com","ID":"Y29tLmludGwuY3NwY2FyZA=="}

```

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

I then tried to decode the base64 data and found this new application: ***com.intl.cspcard*** \
I use Bevigil again and export all the strings from that application and found a hex string in the excel file.

<figure><img src="/files/85wl4l0np4vydNfuBhY8" alt=""><figcaption></figcaption></figure>

I decoded the hex to strings and I got the following text below.

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

I got a random string, but I notice a ***{ }*** symbol, and a word that is almost a ***BeVigil*** and similar to ***admin*** word.  I tried to switch every 2 characters except for the first one.

C ol du ES \_K eB iV ig -l d{ \_b da im :n da im @n 89 }7

C lo ud SE *K\_ Be Vi gi l- {d b\_* ad mi n: ad mi n@ 98 7}

The flag is : ***CloudSEK\_BeVigil-{db\_admin:admin\@987}***


---

# 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://ctf.laet4x.com/ctf-2022/rootcon-16-pre-qualifier/1-easy-300-illusive-mind-with-illusive-thoughts.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.
