bluetooth wars

41
BLUETOOTH WARS [email protected] http://www.artisopensource.net http://www.fakepress.net

Upload: salvatore-iaconesi

Post on 29-Jan-2018

2.214 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: BlueTooth Wars

BLUETOOTH WARS

[email protected]://www.artisopensource.nethttp://www.fakepress.net

Page 2: BlueTooth Wars

Cos'è?

E' un protocollo WIRELESS e APERTO usato per scambiare dati su BREVI DISTANZE (usando onde radio) da dispositivi mobili e non, per creare PERSONAL AREA NETWORKS (PANs).

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

Page 3: BlueTooth Wars

Personal Area Network

È una RETE di comunicazione, tra dispositivi informatici o elettronici, che si estende A BREVE DISTANZA DALLA PERSONA. I dispositivi coinvolti possono o meno appartenere alla persona stessa. L'estensione di una PAN è, di solito, di POCHI METRI. Le PAN possono essere usate per far comunicare tra loro I dispositivi (COMUNICAZIONE INTERPERSONALE), o per realizzare un UPLINK verso una rete di livello più alto (ad es. Internet).

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

Page 4: BlueTooth Wars

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

GEBO“regalo” o “generosità”

BERKANAN“betulla”

Danish Blåtand, the epithet of the tenth-century king Harald I of Denmark and Norway who united dissonant Danish tribes into a single kingdom

Page 5: BlueTooth Wars

fino a 79 frequenze contemporanee per il FHSS (Frequency-hopping spread spectrum)

2.4GHz a corto raggio

specifiche sviluppate da Bluetooth Spegial Interest Group (SIG)

Il SIG è un organo privato, garantisce l'accesso alle specifiche e definisce i processi secondo cui i prodotti vano testati prima di potergli assegnare il bollino BT.

E' condotto da volontari dei membri.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

info

Page 6: BlueTooth Wars

Molto resistente alle interferenze NARROWBAND(limitate in banda)

Difficile da intercettare

Molte trasmissioni possono COESISTERE con interferenze minime

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

FHSS

Page 7: BlueTooth Wars

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

info

CLASSE POTENZA DISTANZA

1 100 mW (20 dBm) 100m

2 2.5 mW (4 dBm) 22m

3 1 mW (0 dBm) 6m

VERSIONE VELOCITA'

1.0 1 Mbit/s

2.0 + EDR 3 Mbit/s

Page 8: BlueTooth Wars

Un profilo BT è una SPECIFICA DI INTERFACCIA per la comunicazione BT tra dispositivi. Un dispositivo implementa la compatibilità con un insieme di profili BT per usarne i servizi. Un Profilo definisce almeno le DIPENDENZE DA ALTRI PROFILI, i FORMATI suggeriti per realizzare le interfacce, la definizione delle parti della PILA DI PROTOCOLLI usata dal profilo. Ogni profilo PERSONALIZZA I LAYER DELLO STACK BT.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BT PROFILES

Page 9: BlueTooth Wars

A2DP, AVRCP, BIP, BPP, CIP, CTP, DID, DUN, FAX, FTP, GAVDP, GAP, GOEP, HCRP, HFP, HID, HSP, ICP, LAP, OPP, PAN, PBAP, PBA, SPP, SDAP, SAP, SIM, SYNCH, VDP, WAPB

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BT PROFILES

Page 10: BlueTooth Wars

GENERAL PURPOSEvs

EMBEDDED

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BT STACKS

Page 11: BlueTooth Wars

WINDOWS: Widcomm, Broadcom, EtherMind, Toshiba, BlueSoleil, BlueFritz!

LINUX: BlueZ (implementazione standard e completa), Affix (Nokia)

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

GENERAL STACKS

Page 12: BlueTooth Wars

BlueMagic: iPhone, alcuni Motorola, LG, Samsung...

BlueCore Host Software (BCHS): tanti profili

lwBT: Open Source, leggero,

Bluetopia: integrato con molte piattaforme

Symbian: include uno stack BT

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

EMBEDDED STACKS

Page 13: BlueTooth Wars

1.0 e 1.0b

Problematico, lento, incompatibile. Obbligava a definire degli indirizzi univoci, impossibile per moltissime applicazioni.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 14: BlueTooth Wars

1.1

IEEE Standard 802.15.1-2002

Fix di molti errori

Supporto per canali non crittografati

Received Signal Strength Indicator (RSSI)

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 15: BlueTooth Wars

1.2

Compatibilità con 1.1IEEE Standard 802.15.1-2005Discovery e connessione rapidaAFH (Adaptive Frequency Hopping)Più veloceFlow Control e Retransmission ModesHCI (Host Controller Interface)eSCO (Extended Synchronous Connections) per migliorare trasferimenti simultanei

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 16: BlueTooth Wars

2.0 + EDR

Compatibile con la 1.2

EDR (Enhanced Data Rates) che usa GFSK (Gaussian Frequency Shift Keying) per trasmettere su bande differenti

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 17: BlueTooth Wars

2.1 + EDR

Compatibile con la 1.2

Extended inquiry response (EIR), Sniff subrating, Encryption pause/resume (EPR), Secure simple pairing (SSP), Non-Automatically-Flushable Packet Boundary Flag (PBF)

Near field communication (NFC) cooperation

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 18: BlueTooth Wars

3.0 + HS

24 Mb/sAMP (Alternate MAC/PHY)

The Bluetooth Radio is still used for device discovery, initial connection and profile configuration, however when lots of data needs to be sent, the high speed alternate MAC PHY (802.11, typically associated with Wi-Fi) will be used to transport the data.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

STORIA

Page 19: BlueTooth Wars

BROADCAST CHANNELS (information points)

TOPOLOGY (piconet, scatternet)

QoS

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

FUTURO

Page 20: BlueTooth Wars

CONFIDENTIALITY

AUTHENTICATION

KEY derivation (SAFER + block cypher)

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

SICUREZZA

Page 21: BlueTooth Wars

invio di messaggi non richiesti a dispositivi Bluetooth usando il protocollo OBEX

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUEJACKING

Page 22: BlueTooth Wars

Accesso non autorizzato alle informazioni su una connessione Bluetooth

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUESNARFING

Page 23: BlueTooth Wars

Prendere il controllo del telefono della vittima. Ascoltare le conversazioni. Creare un sistema di call forwarding non autorizzato.

(es.: Nokia 6310i )

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUEBUGGING

Page 24: BlueTooth Wars

Semi PILA DI PROTOCOLLI usata per le funzionalità di trasferimento dei file e del multimedia da/a dispositivi Bluetooth.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEX

Page 25: BlueTooth Wars

Implementa il profilo FTP Bluetooth e consente di trasferire file da vari dispositivi.

E' la base della maggior parte degli exploit.

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEX-FTP

Page 26: BlueTooth Wars

obexftp -belenco dei dispositivi

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEX-FTP

Page 27: BlueTooth Wars

obexftp -b [ADDR] -p [FILE]invio un file

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEX-FTP

Page 28: BlueTooth Wars

obexftp -c <dir> vai alladirectory

obexftp -C <dir> crea directory

obexftp -l <dir> lista dei file nelladirectory

obexftp -g <file> prendi file

obexftp -G <file> prendi file e poi cancellalo

obexftp -p <file> manda file

obexftp -k <file> elimina file

obexftp -k <file> elimina file

obexftp -X analizza le capability del terminale

obexftp -Y probe delle caratteristiche

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEX-FTP

Page 29: BlueTooth Wars

OBEXPUSHD -Bascolta connessioni bluetooth

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

OBEXPUSHD

Page 30: BlueTooth Wars

ussp-push LFILE RFILEinvia file usando l'object push protocol (OPP)

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

USSP-PUSH

Page 31: BlueTooth Wars

btscannerelenco dei dispositivi BT

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BTSCANNER

Page 32: BlueTooth Wars

bluetooth-analyzerGUI per analizzare i flussi BT

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

ANALYZER

Page 33: BlueTooth Wars

http://www.artisopensource.net/BT.zip

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 34: BlueTooth Wars

su -

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 35: BlueTooth Wars

mkdir -p mtpoint

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 36: BlueTooth Wars

mount -o loop ccbtdemo mtpoint/

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 37: BlueTooth Wars

chmod 777 mtpoint

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 38: BlueTooth Wars

I CONTENUTI/var/opt/ccobex

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 39: BlueTooth Wars

CONFIGURAZIONI/etc/bluetooth

/etc/opt/ccobex

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 40: BlueTooth Wars

gzip ccbtdemo

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS

Page 41: BlueTooth Wars

METTERE SU UN CDboot.cat

ccbtdemo.gzisolinux.binisolinux.cfg

vmlinuz

[AOS][FakePress] [email protected] AHAcktitude, 27-29 Nov. 2009, Il Cantiere, Milano

BLUETOOTH WARS