Skip to content

Commit

Permalink
Fix crapto writeup
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon committed Apr 7, 2024
1 parent 69f033b commit 928f98f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions content/writeups/dragonsec2022/crapto/crapto-solution.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions content/writeups/dragonsec2022/crapto/dodo-trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ We have `keyfob.trace`, which is a log file. Firstly, we saw a `rfid` challenge

The `keyfoab.trace` file is the result of some data generated by a keyfob, a small handheld remote control device that controls a remote keyless entry system.

![key-fob.jpg](https://wiki-ulisse.fuo.fi/ctf/dragonsec-2022/crapto/key-fob.jpg)
![key-fob.jpg](key-fob.jpg)

So how can we read this special file? We searched some hardware tools for RFID security analysis and research, and we found out Proxmark3 was what we needed.

Expand All @@ -34,11 +34,11 @@ With `trace list` a table is shown which gives timing information, the src of th

_By accident_ we discovered `trace list 2` gives a better help:

![](/ctf/dragonsec-2022/crapto/dodo-trace.png)
![](dodo-trace.png)

Following the challenge title, we tried `trace list mf 1` in order to decrypt crypto1, an unsafe encryption algorithm (stream cipher) and authentication protocol created by NXP Semiconductors for its MIFARE Classic RFID contactless smart cards.

![](/ctf/dragonsec-2022/crapto/crapto-solution.png)
![](crapto-solution.png)

We got the flag:

Expand Down
Binary file added content/writeups/dragonsec2022/crapto/key-fob.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 928f98f

Please sign in to comment.