Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nowsecure/cybertruckchallenge19
Android security workshop material taught during the CyberTruck Challenge 2019 (Detroit USA).
https://github.com/nowsecure/cybertruckchallenge19
android car mobile security
Last synced: 29 days ago
JSON representation
Android security workshop material taught during the CyberTruck Challenge 2019 (Detroit USA).
- Host: GitHub
- URL: https://github.com/nowsecure/cybertruckchallenge19
- Owner: nowsecure
- License: apache-2.0
- Created: 2019-07-18T19:35:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-17T13:28:23.000Z (over 3 years ago)
- Last Synced: 2024-10-29T13:49:49.814Z (about 1 month ago)
- Topics: android, car, mobile, security
- Language: Java
- Homepage:
- Size: 4.44 MB
- Stars: 98
- Watchers: 12
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Android-Reverse-Engineering - CyberTruckChallenge19 - Android security workshop material taught during the CyberTruck Challenge 2019 (Detroit USA). (CTFs and CrackMes / Case Studies)
- awesome-mobile-CTF - Cybertruckchallenge19
README
# CyberTruckChallenge19
Android security workshop taught at the CyberTruck Challenge 2019 (Detroit USA). Further info at https://www.cybertruckchallenge.org
## Description
A new mobile remote keyless system "CyberTruck" has been implemented by one of the most well-known car security companies "NowSecure Mobile Vehicles". The car security company has ensured that the system is entirely uncrackable and therefore attackers will not be able to recover secrets within the mobile application.
If you are an experienced Android reverser, then enable the `tamperproof` button to harden the application before unlocking your cars. Your goal will consist on recovering up to 6 secrets in the application.
## Material
The content is provided in folders such as:
- `slides`: Presentation during the Android workshop (1h)
- `apk`: Final Android crackme APK which can unlock up to 3 vehicles.
- `src`: Source code of the crackme
- `notes`: Additional notes, troubleshooting, and so on
- `solutions`: Possible solutions to the crackme (x86 and Aarch64)
- `student`: JS code provided as template to write your Frida hooks
- `img:`: Screenshots of the crackme running on the Android emulator## Mobile CTF: Android Crackme
It is required to have an Android device either emulated or physical. During the workshop we employed an AVD Google Pixel 2XL running Android 9.0 that it can be obtained for free with Android Studio. Additionally, the tamperproof check needs to have the Frida server binary placed in `/data/local/tmp/frida-server`.
![logo](img/cybertruckMobileKeyless2.png)
### Challenge1 to unlock car1. "DES key: Completely Keyless. Completely safe"
- `50pts`: There is a secret used to create a DES key. Can you tell me which one?
- `100pts`: There is a token generated at runtime to unlock the carid=1. Can you get it? (flag must be submitted in hexa all lowercase)
### Challenge2 to unlock car2: "AES key: Your Cell Mobile Is Your Key"
- `50pts`: This challenge has been obfuscated with ProGuard, therefore you will not recover the AES key.
- `100pts`: There is a token generated at runtime to unlock the carid=2. Can you get it? (flag must be submitted in hexa all lowercase)
### Challenge3 to unlock car3. "Mr Truck: Unlock me Baby!"
- `50pts`: There is an interesting string in the native code. Can you catch it?
- `100pts`: Get the secret generated at runtime to unlock the carid=3. Security by obscurity is not a great design. Use real crypto! (hint: check the length when submitting the secret!)
### Contact
Eduardo Novella
### Public Write-ups
- [verso.se](https://www.verso.re/posts/cybertruck/) (by [Joan Calabrés](https://twitter.com/jcalabres22))
- [bugbountywriteup](https://medium.com/bugbountywriteup/cybertruck-challenge-2019-android-ctf-e39c7f796530) (by [Harshit Maheshwari](https://twitter.com/fake_batman_))
- [GitHub](https://github.com/user1342/CyberTruck-2019-Android-CTF-Writeup) (By [James Stevenson](https://twitter.com/_JamesStevenson))
- [GitHub.io](https://nibarius.github.io/learning-frida/2020/08/17/cybertruckchallange19) (by [Nibarius](https://github.com/nibarius))
- [GitHub.io (native layer)](https://nibarius.github.io/learning-frida/2020/08/22/cybertruckchallange19-revisited) (by [Nibarius](https://github.com/nibarius))