Top Banner
802.11 Massive Monitoring Andrés Blanco - Andrés Gazzoli
41

802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Mar 17, 2018

Download

Documents

phungminh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

802.11 Massive Monitoring Andrés Blanco - Andrés Gazzoli

Page 2: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Outline

• Introduction

• Approaches

• The USB Dilemma

• Distributed System

• WiWo

• Questions

Page 3: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ Who is this talk for? ]

Page 4: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ Who is this talk for? ]

Page 5: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ Who is this talk for? ]

Page 6: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ Who is this talk for? ]

Page 7: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ Who is this talk for? ]

Page 8: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Introduction [ goals ]

• Monitor

• Channel hopping traffic (such as WiFi-Direct)

• Access Points with auto channel selection

• Multiple Access Points on different channels

• Stations

• Inject frames on multiple channels

Page 9: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Approaches [ first approach ]

Page 10: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Approaches [ second approach ]

Page 11: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Approaches [ wireshark ]

Page 12: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Wireless Interface

DHCP

DNS

HTTP

Probe Request

Wireless Interface

DHCP

DNS

HTTP

Probe Request

Approaches [ station profiler ]

… Profiler

Page 13: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Demo [ second approach ]

Wireless Network Traffic could be display during the demo. Please disable Wi-Fi if you don’t want to be part of it.

Page 14: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ scalability ]

Page 15: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ scalability ]

Page 16: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ bus saturation ]

Page 17: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Wireless Interface

USB Bus

Filter

Kernel User Space

The USB Dilemma [ bus saturation ]

Firmware

Page 18: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ bus saturation ]

Page 19: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ bus saturation ]

Page 20: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ non-removable devices ]

Bluetooth Webcam

Page 21: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ non-removable devices ]

Page 22: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ available buses ]

USB Port 1

Page 23: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ available buses ]

USB Port 2

Page 24: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ available buses ]

USB Port 3

Page 25: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

The USB Dilemma [ power issues ]

Page 26: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

USB Bus

Filter

Kernel User Space

The USB Dilemma [ the option? ]

Wireless Interface

Firmware

Page 27: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Worker Ethernet

Filter

Manager

Distributed System [ scalability ]

Page 28: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Distributed System [ scalability ]

Page 29: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Distributed System [ scalability ]

Page 30: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo is a distributed 802.11 monitoring and injecting system that is designed to be simple and

scalable, in which all workers (nodes) can be managed by a Python framework.

WiWo [ introduction ]

Page 31: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ workers ]

CPU Atheros AR7240@400MHz

RAM 32MiB

Flash 4MiB

Network 1 x 100MBit

TP-Link TL-MR3020

Page 32: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ workers ]

CPU Atheros AR9344 @ 560 MHz

RAM 128MiB

Flash 8MiB

Network 4 x 1000MBit

TP-Link TL-WDR3600

Page 33: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ workers ]

CPU Atheros AR7240 @ 400MHz

RAM 32MiB

Flash 4MiB

Network 1 x 100MBit

TP-Link TL-MR3040

Page 34: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ features ]

Manager

Lookup for workers

Get worker wireless interface information

Set worker wireless interface channel

Start monitoring on a workers wireless interface

Inject frame on a wireless interface of a worker

Page 35: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ manager architecture overview ]

Manager Manager Service

Data Frame Handler

Management Frame Handler

Page 36: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ ethernet ]

• Plug n’ Play

• Silence on the wire

• Avoid overhead to keep fragmentation low

Page 37: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ usage ideas ]

• IDS/IPS

• Traffic analysis

• Device Tracking

• Protocol analysis

Page 38: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ hardware PoC ]

Page 39: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

WiWo [ demo ]

Wireless Network Traffic could be display during the demo. Please disable Wi-Fi if you don’t want to be part of it.

Page 40: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Future Work

• IP support

• Build more OpenWRT firmware’s

• Code more examples

• Interaction with other tools

Page 41: 802.11 Massive Monitoring - Paper Conf/Defcon/2015/DEFCON … · managed by a Python framework ... DEF CON 23 Presentation ... Subject: DEF CON 23 Presentation Keywords: DEF CON Conference,

Questions?

https://github.com/CoreSecurity/wiwo

https://twitter.com/6e726d

[email protected] [email protected]

https://twitter.com/rcpota