> For the complete documentation index, see [llms.txt](https://kunalwalavalkar.gitbook.io/write-ups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kunalwalavalkar.gitbook.io/write-ups/google-ctf-beginners-quest/1943.md).

# 1943

## CHALLENGE 0

* Let's connect using the following command.

```
$ socat file:`tty`,rawer tcp:otp0.2023-bq.ctfcompetition.com:1337
```

* Once we are connected, we are greeted with the following screen.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2Fz1d0IPnVIianeca8Ey8s%2F1943%20Challenge%200.png?alt=media&amp;token=21163e31-aa7d-4855-bbfd-3ae8a360cca7" alt=""><figcaption></figcaption></figure>

* The password we have to enter is `Sidney`.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2Ff9tGV9yHbdRN3Hxtl1EX%2F1943%20Challenge%200%20(2).png?alt=media&amp;token=79e399da-15a1-45f6-9ac0-820e66cb223d" alt=""><figcaption></figcaption></figure>

* The `Fire` message is about a fire while the `Important` message contains information about the [Venona project](https://en.wikipedia.org/wiki/Venona_project).
* If we try to access the `Spam` message we are prompted to enter the secret key that we have been provided with.

```
VGhlIFZlbm9uYSBwcm9qZWN0IHdhcyBhIFVuaXRlZCBTdGF0ZXMgY291bnRlcmludGVsbGlnZW5jZSBwcm9ncmFtIGluaXRpYXRlZCBkdXJpbmcgV29ybGQgV
2FyIElJLg==
```

* The double equal signs is a common indicator of [Base64](https://en.wikipedia.org/wiki/Base64) encoding.
* Let's decode the key using [Cyberchef](https://gchq.github.io/CyberChef/).

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2FNRDvdLeUqouFSWjoJgdy%2F1943%20Challenge%200%20(3).png?alt=media&amp;token=0346ad80-c80b-46f1-93e3-e48600746ebe" alt=""><figcaption></figcaption></figure>

```
The Venona project was a United States counterintelligence program initiated during World War II.
```

* Some more information about the Venona project.
* We can now access the `Spam` message.

<figure><img src="https://1586847736-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtSZ40gLWhBDTzPEgHsVB%2Fuploads%2FJow5qtRjvW362hHJtqBT%2F1943%20Challenge%200%20(4).png?alt=media&amp;token=3be9946b-94ff-4991-ac9f-901026e9ecff" alt=""><figcaption></figcaption></figure>

### Flag

```
CTF{Ace_of_Spies}
```

##

## CHALLENGE 1

##

## CHALLENGE 2
