NSA's Codebreaker Challenge: Fall 2019
NSA's Codebreaker Challenge: Fall 2019
NSA's Codebreaker Challenge: Fall 2019
rro
rT
im
e
NSA’s
Codebreaker Challenge
Fall 2019
Agenda
● Introduction
● Tasks
● Technical Background
2
What is the Codebreaker Challenge?
● Annual Cyber Challenge Event
● Nationwide
● 2018 Top-Finishers
1. Oregon State
2. Georgia Institute of Technology
3. University of North Georgia
4. New Mexico Institute of Mining &
Technology
5. University of Tulsa 3
2019 Scenario
■ Message spoofing
■ User masquerades
■ Message decryption
5
Key Skills
1. Network Traffic Analysis
3. Cryptanalysis
5. Vulnerability Analysis
6. Exploitation Development
6
Agenda
● Introduction
● Tasks
● Technical Background
7
To Break the Code
1: Extract a copy of TerrorTime APK from
network traffic
8
To Break the Code (continued)
9
Agenda
● Introduction
● Tasks
● Technical Background
10
Network Traffic Analysis
● Recommended tools: Wireshark, Burp Suite
● Cross platform, parsers for many protocols
● Features/Functionality:
○ Display filters to focus in on traffic
○ TCP stream following
○ Extract files from packet payloads Te
rro
○ Traffic statistics/characterization
● Traffic interception / manipulation
● https://www.wireshark.org and https://
portswigger.net/burp
11
Binary Reverse Engineering
IDA Pro
12
Binary Reverse Engineering
● General tips
○ Examine strings
○ Look for clues Te
rro
rT
im
e
● Online resources
○ Intel manuals, RE Lectures, tutorials
13
Ghidra Resources
https://ghidra-sre.org
Ghidra SRE Cheat Sheet
Te
rro
rT
im
e
14
Android Applications
● https://developer.android.com/
○ Resources Page
rT
im
e
15
Android App Analysis
Android Studio Visual Studio Emulator
Ghidra JEB
16
OAUTH
● Grant 3rd Party Access to Data
● Roles:
○ User
○ Client
○ Servers - Resource and Authorization
17
OAUTH Protocol Diagram
4. Request Resource
e
ic
rv
7. Return Resource
se
6. Token
is valid
ss
Client App
ce
Ac
Resource Server
1.
3. 5. Validate token
Is
su
e
2. Ac
Re ce
qu ss
es To
t ke
Ac n
ce
ss
To
ke
n
User
Authorization Server 18
To Get Started
1● https://codebreaker.ltsnet.net
19
Questions?
[email protected]
20
Te
rro
rT
im
e
2018
Codebreaker Challenge Walkthrough
Special thanks to Jonathan Armer for sharing his detailed write up at
https://armerj.github.io/CodeBreaker-2018-Overview/
21