# Susan Landau

## Description

> Susan Landau (born 1954) is an American mathematician, engineer, cybersecurity policy expert, and Bridge Professor in Cybersecurity and Policy at the Fletcher School of Law and Diplomacy at Tufts University. She previously worked as a Senior Staff Privacy Analyst at Google. She was a Guggenheim Fellow and a visiting scholar at the Computer Science Department, Harvard University in 2012. - Wikipedia Entry

> Chal: Connect to our webserver and understand the concerns of this mathematician and privacy expert.

## Challenge link

[URL](https://cyberheroines-web-srv1.chals.io/)

## Solution

* On the landing webpage, clicking on `Start Exploring`, choosing a `username`, and then choosing any path leads us to a dead end.
* But 2 cookies named `csrf_token` and `PHPSESSID` are set.
* The clue in `/sorry.html` page mentions `well-known cryptographic technique` ![sorry](https://1613628666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkuxWaWwvkRd57ql1rtY%2Fuploads%2Fgit-blob-c93bee329426a1dd408e2d9462117c791e2a5d26%2Fimage.png?alt=media)
* So we can crack `csrf_token` value using [crackstation.net](https://crackstation.net/)
* `40c331964b7560a4d3baaae420d5e3cd` md5 decrypt decodes to : `hack this`
* We get a hint that we should play around with the `csrf_token` value.
* In the login page, we have a hint ![username hint](https://1613628666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkuxWaWwvkRd57ql1rtY%2Fuploads%2Fgit-blob-deb33a430ae7048131ed15c519fb177a125353f9%2Fimage-1.png?alt=media)
* Choosing `cyberheroine` as username.
* Replace the `csrf_token` with the `MD5 hash` of `cyberheroine`.
* Calculating the MD5 sum of `cyberheroine`

```shell
$ echo -n "cyberheroine" | md5sum                                
09a206b401aaa7b5315e1d814ce16896  -
```

* md5(cyberheroine): `09a206b401aaa7b5315e1d814ce16896`
* Intercept the request using `burpsuite` and modifying the `csrf_token` cookie value.

![burp](https://1613628666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkuxWaWwvkRd57ql1rtY%2Fuploads%2Fgit-blob-4ac18cdcf153648b93bed9bf03c8a70a16208452%2Fimage-2.png?alt=media)

* We get the `flag`.

![flag](https://1613628666-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKkuxWaWwvkRd57ql1rtY%2Fuploads%2Fgit-blob-01e7cf60b212e568bae9d38bf1637852fc4fdb3a%2Fimage-3.png?alt=media)

### FLAG

```
chctf{U_a53_$ucc3$$ful!!!}
```
