how to get free wi-fi in a whole city

23
Scary Story: How to get free Wi-Fi in a whole City Yurii Bilyk, 2014

Upload: yurii-bilyk

Post on 12-Jul-2015

1.096 views

Category:

Devices & Hardware


2 download

TRANSCRIPT

Page 1: How to get free Wi-Fi in a whole City

Scary Story:How to get free Wi-Fi in a whole City

Yurii Bilyk, 2014

Page 2: How to get free Wi-Fi in a whole City

AGENDA

• Embedded device architecture overview

• Tools overview

• Workshop (DEMO)

Page 3: How to get free Wi-Fi in a whole City

Files

• Files Archive :

–zip : http://goo.gl/UuKK51

–7zip : http://goo.gl/Q7mcnI

• FMK : http://goo.gl/pWZzNk

• Binwalk : http://goo.gl/U1TODl

Page 4: How to get free Wi-Fi in a whole City

Operation Systems

Page 5: How to get free Wi-Fi in a whole City

Operation Systems

Linux – Kernel 2.4 or 2.6

VxWorks – Real time OS

ZyNOS – Zyxel proprietary OS

Page 6: How to get free Wi-Fi in a whole City

Linux

Busybox tools

uClibc compiler

/proc File System

Page 7: How to get free Wi-Fi in a whole City

Hardware Design

Page 8: How to get free Wi-Fi in a whole City

Hardware

SoC – System On Chip

Flash, DRAM, Wi-Fi, Ethernet

Serial Console

JTAG Interface

Page 9: How to get free Wi-Fi in a whole City

SoC

MIPS Architecture

No Floating point operations

Embedded USB controller

32 bit CPU

Page 10: How to get free Wi-Fi in a whole City

Flash

Serial, Parallel

NAND, NOR Flash

MTD instead of FTL

Page 11: How to get free Wi-Fi in a whole City

Serial Console

Additional functions:recovery, debug, boot opt, etc

Software Debug

Works with OS/Loader

Page 12: How to get free Wi-Fi in a whole City

JTAG

Works directly with SoC

Full access to the Flash and Hardware

Hardware Debug options

Page 13: How to get free Wi-Fi in a whole City

Firmware Structure

Page 14: How to get free Wi-Fi in a whole City

Firmware

Boot Loader

Kernel

File System

Tag (Header)

Page 15: How to get free Wi-Fi in a whole City

Flash MTD

Spitted into chunks (partitions)

Boot, Kernel, FS, Settings, Logs

Page 16: How to get free Wi-Fi in a whole City

Kernel

Compressed

Usually with enabled debug via serial port

Linux 2.4 or 2.6

Page 17: How to get free Wi-Fi in a whole City

File System

CRAMFS

SQUASHFS

JFSS2

Compressed, uses MTD

etc

Page 18: How to get free Wi-Fi in a whole City

Musthave Set of Tools

Page 19: How to get free Wi-Fi in a whole City

Tools

Firmware unpackers

Static analysis (Decompile)

Dynamic analysis (Debug)

Page 20: How to get free Wi-Fi in a whole City

Tools

Firmware Mod Kit, Binwalk

IDA, strings, etc

GDB, QEMU, On Device

Page 21: How to get free Wi-Fi in a whole City

WPS Tools

WPS Vulnerabilities:• only 8 digit pin• pin can be divided into 2 parts• last digit is control sum

Reaver/WASH – tool to hack WPS

Aircrack-ng – tool to hack Wi-Fi

Page 22: How to get free Wi-Fi in a whole City

DEMO TIME

Page 23: How to get free Wi-Fi in a whole City

WEB Materials

• http://pudeev.livejournal.com/

• http://www.devttys0.com/

• http://robocraft.ru/blog/electronics/404.html

• http://wiki.openwrt.org/

• http://routerpwn.com/