Device
inspection
To remoteroot
Uncovering the sekritz of proprietary software on a fixed
wireless terminal and weap0nizing them into a remote exploit
Where What Who
Ruxmon Melbourne
Device Inspection to remote
root
Tim Noise
tIMNOISE
• twitter/dnoiz1
• github/dnoiz1
• mIRC/dnz
• streetz/notorious D N Z
• tim@drkns.net
Internet subscriber and pirate impersonator
FixedWirelessTerminals
• Linux Based
• System on Chip
• Provide PoTS and ADSL
• 3G/LTE Backhaul
• Battery and Solar
• Remote Managed
• Deployed in Clusters
For people without copper or fiber
ExternalConnectors
• Ether over USB
(DHCP)
• Aerial socket
• 2 RJ11 ports for
ADSL CPE and PoTS
Things we can probe
ExternalConnectors
• SIM Card slot
• 2 Management

Ethernet Ports (NO DHCP)
• 2 RJ11 power management ports
Things we can probe
WhatsInside?Rub the torx and the genie comes out
CPU
NAND0
NAND1
UART
Removable
CF Card for /
WhatsInside?Rub the torx and the genie comes out
Mini PCMCIA
3G Modem
BootProcessRedboot the buspirate, yarr
GND
RX
TX
VCC / NC
redboOTcatching a boot loader
• is listening on hardcoded TCP port + Interface
preboot
• holds variables that contain boot parameters
GainingROOTalways want that uid 0 - the usual tricks
• Removable root Media
• hashcat / jtr
• kernel paramaters
• init=/bin/sh
• single user mode
• Lucky for us, the root password is
printed on the PCB (not even joking)
MANAGEMENTInTERFACEthe dububdub
LoggingINConnecting using the management USB interface
PortsANDProcessessWhats running on this thing?
PortsANDProcessessWhats running on this thing?
PortsANDProcessessWhats running on this thing?
BacktotheSourceWhere is this process stored and launched from
DECOMPYLEUsing multiline strings as comments is great!
Vulnerability1:UNPICKLESerializing objects its so convenient for passing them over a udp socket
Vulnerability1:UNPICKLESerializing objects its so convenient for passing them over a udp socket
Vulnerability1:UNPICKLESerializing objects its so convenient for passing them over a udp socket
Vulnerability1:UNPICKLESerializing objects its so convenient for passing them over a udp socket
Vulnerability1:UNPICKLESerializing objects its so convenient for passing them over a udp socket
Vulnerability2:evalEvaling a concatenated string is a good way to check if its a member of an enum
PuttingitallTogethermaking use of our discovered vulnerabilities
PuttingitallTogethermaking use of our discovered vulnerabilities
PuttingitallTogethermaking use of our discovered vulnerabilities
PuttingitallTogethermaking use of our discovered vulnerabilities
DEMO
BONUS
OneStepFURTHER
• Connect back payloads
• Dial 1900 numbers for profit
• UDP broadcast the attack
• Intercept data and telephony
• Insta-botnet / onion network
• Other bad things
For internet bad men
QUESTIONS?
tIMNOISE
• twitter/dnoiz1
• github/dnoiz1
• mIRC/dnz
• streetz/notorious D N Z
• tim@drkns.net
Internet subscriber and pirate impersonator

ifwt remote (sydney ruxmon edition)