Alessandro Nasi, COO @Djungle Studio – “Cosa delegheresti alla copia di te st...
SMobile Network Security: quanto sono sicure le reti cellulari?
1. Mobile Network Security:
quanto sono sicure le reti cellulari?
Luca Bongiorni
Mobile Network Security:
quanto sono sicure le reti cellulari?
Version: 1.0
Author: L. Bongiorni
Responsible: L. Bongiorni
Date: 23.10.2013
Confidentiality Class: Public
2. Mobile Network Security:
quanto sono sicure le reti cellulari?
SEC Consult– Who we are
Canada
India
Singapore
SEC Consult Office
SEC Consult Headquarter
Other SEC Consult Clients
Lithuania
Germany
Austria Central and Easter Europe
• Leading international application
security consultancy
• Founded 2002
• Headquarters near Vienna,
Austria
• Delivery Centers in Austria,
Germany, Lithuania and Singapore
• Strong customer base in Central and
Eastern Europe
• Increasing customer base of clients
with global business (esp. out of Top-
10 US and European software
vendors)
• 35+ application security experts
• Industry focus banks, software
vendors, government
USA
2
3. Mobile Network Security:
quanto sono sicure le reti cellulari?
3
Luca Bongiorni
Security Consultant
Telco Enthusiast
Interests: break stuff , lockpicking
& collect PayPhones
Work at . . .
a company
Chi sono
4. Mobile Network Security:
quanto sono sicure le reti cellulari?
La Rete GSM
4
A tutt'oggi, sebbene progettualmente datato (1987), lo standard di radio-
comunicazione cellulare più diffuso al mondo è il GSM (Global System for Mobile
Communications), esso conta, infatti, oltre 4.4 miliardi di utenti in più di 200
stati.
Esso ha garantito negli anni, la possibilità di comunicare mantenendo
un'efficiente mobilità, grazie la quale è massivamente utilizzato non solo dalla
gente comune, ma anche da criminali ed organizzazioni terroristiche.
5. Mobile Network Security:
quanto sono sicure le reti cellulari?
Negli ultimi 5 anni un gran numero di Progetti OpenSource ed Attacchi
Pratici sono stati resi pubblici…
GSM + OpenSource == FUN
Um Passive Sniffing A5/1 Cracking
Um Active MITM
RachDoS
IMSI-Detach
GPRS Sniffing
5
6. Mobile Network Security:
quanto sono sicure le reti cellulari?
• IMSI-Catcher:
• Known Victim Mode (Italia)
• GPRS & Data Connections
• GPRS Passive Sniffing:
• XXXXX (EU Nation 1)
• XXXXX (Italia)
• XXXXX (EU Nation 2)
• What’s Next?!
• GSM-R (Catching & DoSsing)
Alcuni Casi di Studio…
6
7. Mobile Network Security:
quanto sono sicure le reti cellulari?
7
Vulnerabilità Architetturali Sfruttate
• No Mutua Autenticazione
o La rete autentica la MS e non viceversa
• Mobilità degli utenti
o Il segnale più forte vince
(Cell Selection e Reselection)
o Location Update forzato
(if LACPLMN != LACIMSI-Catcher then
swtich to IMSI-Catcher)
• La Cifratura è Opzionale
o A5/0 No Encryption
9. Mobile Network Security:
quanto sono sicure le reti cellulari?
Location Disclosure
Catch-and-Relay
CallerID
vittima
Lista Città
ed IMSI
Local
Area
Known Victim Mode (Italia)
9
11. Mobile Network Security:
quanto sono sicure le reti cellulari?
+ CRO = 63 (max)
+ T3212 = 0
11
Known Victim Mode (Italia):
Catch & Relay
12. Mobile Network Security:
quanto sono sicure le reti cellulari?
• Spoofing CallerID
• Intercettazione Chiamate
ed SMS in uscita
• Dirottamento Chiamate
d’Emergenza
Qualche Risultato…
12
13. Mobile Network Security:
quanto sono sicure le reti cellulari?
What happens if we JAM the UMTS & LTE frequencies?!
Le GSM: “Welcome back my dear”
Le UE: “Nice to meet you again sir GSM”
13
Interoperabilità con UMTS & LTE
15. Mobile Network Security:
quanto sono sicure le reti cellulari?
E’ una Picocella commerciale sviluppata da ip.Access
100% compatibile con OpenBSC (software OpenSource)
GPRS
[the newest one, also EDGE]
Encryption A5/1 – A5/2IP connection
PoE powered
PCS band (1900 MHz)
Welcome home IMSI-Catcher 2.0
15
16. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Attacchi Man-In-The-Middle verso interessanti
ME!
• Video Poker
•Point-Of-Sale
• Smart Meters • SCADA Remote Stations
• Mobile HotSpots
A quale scopo?! Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
• Alarm Systems
IMSI-Catcher 2.0 for Fun & Profit
16
18. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
•Video Poker• Point-Of-Sale
• Smart Meters • SCADA Remote Stations
• Mobile HotSpots
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
• Alarm Systems
18
2G Antenna
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
IMSI-Catcher 2.0 for Fun & Profit
19. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
• Point-Of-Sale
•Smart Meters • SCADA Remote Stations
• Mobile HotSpots
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
• Alarm Systems
19
• Video Poker
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
IMSI-Catcher 2.0 for Fun & Profit
20. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
• Point-Of-Sale
•SCADA Remote Stations
• Mobile HotSpots
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
• Alarm Systems
20
• Video Poker
• Smart Meters
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
IMSI-Catcher 2.0 for Fun & Profit
21. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
21
• Smart Meters
• Point-Of-Sale
• SCADA Remote Stations
•Mobile HotSpots • Alarm Systems
• Video Poker
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
IMSI-Catcher 2.0 for Fun & Profit
22. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
22
• Smart Meters
• Point-Of-Sale
• SCADA Remote Stations
•Alarm Systems
• Video Poker
• Mobile HotSpots
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
IMSI-Catcher 2.0 for Fun & Profit
23. Mobile Network Security:
quanto sono sicure le reti cellulari?
Cosa potremmo mai farci?! Uhm… Man-In-The-Middle Attacks verso interessanti
ME!
A quale scopo? Principalmente tutti gli attacchi
disponibili tramite TCP/IP!
23
• Smart Meters
• Point-Of-Sale
• SCADA Remote Stations
• Video Poker
• Mobile HotSpots
• Sniffing communications (e.g. Wireshark + SSLstrip)
• Hijacking trusted connections (e.g. Stealing Credentials)
• Deploying malicious software (e.g. Squid + Metasploit)
• Malware Analysis
• Protocol Analysis
• Etc.
What about UMTS and LTE?!
• Alarm Systems
IMSI-Catcher 2.0 for Fun & Profit
25. Mobile Network Security:
quanto sono sicure le reti cellulari?
“GPRS Intercept Wardriving phone networks”
by Nohl & Melette, 2011
They patched OsmocomBB and developed GPRSDecode to analyze GPRS packets.
http://tinyurl.com/gprs-nohl-slides
Alcuni Casi di Studio...
GPRS Passive Sniffing
25
26. Mobile Network Security:
quanto sono sicure le reti cellulari?
Col fine di stimolare traffico dati, é stato utilizzato un vecchio modem GPRS Telit MG-
10.
Come sniffer invece, un Pirelli DP-L10 con un firmware ad-hoc basato su Osmocom-BB.
GPRS Passive Sniffing (EU Nation 1)
26
29. Mobile Network Security:
quanto sono sicure le reti cellulari?
29
Analisi del 14/09/2013 del canale ARFCN 983
(222-88 – Wind Italia)
GPRS Passive Sniffing (Italia)
30. Mobile Network Security:
quanto sono sicure le reti cellulari?
Quale tipologia di sevizio potrebbe utilizzare le reti cellulari come
mezzo di comunicazione?
30
GPRS Passive Sniffing (EU Nation 2)
31. Mobile Network Security:
quanto sono sicure le reti cellulari?
“Securing your World. G4S is the world’s leading international
security solutions group”
From http://www.g4s.com/
31
GPRS Passive Sniffing (EU Nation 2)
35. Mobile Network Security:
quanto sono sicure le reti cellulari?
References
35
http://www.openbts.org
http://openbsc.osmocom.org
http://bb.osmocom.org
https://srlabs.de/gprs
http://tinyurl.com/gprs-nohl-slides
http://www.youtube.com/watch?v=vqjnhKYEDs0
http://patentscope.wipo.int/search/en/WO2008104739
http://www.tombom.co.uk/blog/?p=262
http://www.etsi.org/deliver/etsi_ts/101100_101199/101181/08.05.
00_60/ts_101181v080500p.pdf
36. Mobile Network Security:
quanto sono sicure le reti cellulari?
Contatti
Mooslackengasse 17
A-1190 Vienna
Austria
Tel: +43 (0)1 890 30 43-0
Fax: +43 (0)1 890 30 43-15
Email: office@sec-consult.com
www.sec-consult.com
Austria
Saulėtekio al. 15,
LT-10224, Vilnius
Lituania
Tel. (Office): +370 671 84203
Email: l.bongiorni@sec-consult.com
Email: office-vilnius@sec-consult.com
www.sec-consult.com
Lituania
36