base jumping
play

Base Jumping Attacking the GSM baseband and base station - PowerPoint PPT Presentation

Base Jumping Attacking the GSM baseband and base station grugq@coseinc.com Tuesday, 20 July 2010 Overview GSM Base Station Base Band Conclusion 2 Tuesday, 20 July 2010 GSM: The Protocol 3 Tuesday, 20 July 2010 Documents


  1. Base Jumping Attacking the GSM baseband and base station grugq@coseinc.com Tuesday, 20 July 2010

  2. Overview ❖ GSM ❖ Base Station ❖ Base Band ❖ Conclusion 2 Tuesday, 20 July 2010

  3. GSM: The Protocol 3 Tuesday, 20 July 2010

  4. Documents ❖ Dozens of docs ❖ Thousands of pages ❖ Important one (defines L3) ❖ GSM 04 08 4 Tuesday, 20 July 2010

  5. 5 Tuesday, 20 July 2010

  6. 6 Tuesday, 20 July 2010

  7. Logical Channels Broadcast Channels ( BCH ) Broadcast Control Channel ( BCCH ) Frequency Correction Channel ( FCCH ) Synchronization Channel ( SCH ) Cell Broadcast Channel ( CBCH ) 7 Tuesday, 20 July 2010

  8. Logical Channels, cont. ❖ Common Control Channels ( CCCH ) Paging Channel ( PCH ) Random Access Channel ( RACH ) Access Grant Channel ( AGCH ) 8 Tuesday, 20 July 2010

  9. Logical Channels, cont. Standalone Dedicated Control Channel ( SDCCH ) Associated Control Channel ( ACCH ) Fast Associated Control Channel ( FACCH ) Slow Associated Control Channel ( SACCH ) 9 Tuesday, 20 July 2010

  10. GSM Channels ❖ Opening a channel is slow ❖ Can take seconds ❖ Specific channels for specific uses 10 Tuesday, 20 July 2010

  11. Opening a channel 11 Tuesday, 20 July 2010

  12. 12 Tuesday, 20 July 2010

  13. RACH 12 Tuesday, 20 July 2010

  14. RACH AGCH 12 Tuesday, 20 July 2010

  15. RACH AGCH LCH 12 Tuesday, 20 July 2010

  16. 13 Tuesday, 20 July 2010

  17. PCH 13 Tuesday, 20 July 2010

  18. PCH RACH 13 Tuesday, 20 July 2010

  19. PCH RACH AGCH 13 Tuesday, 20 July 2010

  20. PCH RACH AGCH LCH 13 Tuesday, 20 July 2010

  21. ARFCN MSC MS BSC BTS BTS 14 Tuesday, 20 July 2010

  22. Mobile Station MS Mobile Station Base Transceiver Base Station Controller Station Controller MSC BTS BSC Base Station Sub-System BSS 15 Tuesday, 20 July 2010

  23. VLR HLR MSC MS BSS 16 Tuesday, 20 July 2010

  24. Mobile Identifiers 17 Tuesday, 20 July 2010

  25. 18 Tuesday, 20 July 2010

  26. IMSI 18 Tuesday, 20 July 2010

  27. IMSI IMEI 18 Tuesday, 20 July 2010

  28. GSM Attacks 19 Tuesday, 20 July 2010

  29. 20 Tuesday, 20 July 2010

  30. RACHell ❖ Request channel allocation ❖ Flood the BSS with requests ❖ First announced by Dieter Spaar at DeepSec ❖ Prevent everyone from using that cell 21 Tuesday, 20 July 2010

  31. RACHell 22 Tuesday, 20 July 2010

  32. RACHell 22 Tuesday, 20 July 2010

  33. RACHell 22 Tuesday, 20 July 2010

  34. RACHell 22 Tuesday, 20 July 2010

  35. RACHell 22 Tuesday, 20 July 2010

  36. RACHell 22 Tuesday, 20 July 2010

  37. RACHell ? 22 Tuesday, 20 July 2010

  38. 23 Tuesday, 20 July 2010

  39. Our Target 23 Tuesday, 20 July 2010

  40. Demo - RACHell 24 Tuesday, 20 July 2010

  41. IMSI Flood ❖ Send IMSI ATTACH messages ❖ pre-authentication ❖ Overload the HLR/VLR infrastructure ❖ Prevent everyone using the network 25 Tuesday, 20 July 2010

  42. IMSI Flood 26 Tuesday, 20 July 2010

  43. IMSI Flood 26 Tuesday, 20 July 2010

  44. IMSI Flood 26 Tuesday, 20 July 2010

  45. IMSI Flood 26 Tuesday, 20 July 2010

  46. IMSI Flood 26 Tuesday, 20 July 2010

  47. IMSI Flood 26 Tuesday, 20 July 2010

  48. IMSI Flood 26 Tuesday, 20 July 2010

  49. How hard to get an IMSI? 27 Tuesday, 20 July 2010

  50. IMSI DETACH ❖ Send multiple Location Update Requests including a spoofed IMSI ❖ Unauthenticated ❖ Prevent SIM from receiving calls and SMS ❖ Discovered by Sylvain Munaut 28 Tuesday, 20 July 2010

  51. IMSI DETACH 29 Tuesday, 20 July 2010

  52. IMSI DETACH 29 Tuesday, 20 July 2010

  53. IMSI DETACH 29 Tuesday, 20 July 2010

  54. IMSI DETACH 29 Tuesday, 20 July 2010

  55. IMSI DETACH 29 Tuesday, 20 July 2010

  56. IMSI DETACH 29 Tuesday, 20 July 2010

  57. IMSI DETACH 29 Tuesday, 20 July 2010

  58. Baseband Fuzzing 30 Tuesday, 20 July 2010

  59. How to make a smartphone + = 31 Tuesday, 20 July 2010

  60. Two separate computers 32 Tuesday, 20 July 2010

  61. Two separate computers 32 Tuesday, 20 July 2010

  62. Baseband ❖ Controls the radio ❖ Separate CPU and code base ❖ RTOS ❖ Written in C ❖ Typically legacy code base (decades) 33 Tuesday, 20 July 2010

  63. Coseinc GSM FuzzFarm ❖ OpenBTS based fuzzer delivery engine ❖ Targetting ❖ iPhone ❖ HTC (Android) ❖ Palm Pre ❖ Blackberry ❖ Nokia 34 Tuesday, 20 July 2010

  64. 35 Tuesday, 20 July 2010

  65. Conclusion 36 Tuesday, 20 July 2010

  66. GSM Trouble ❖ GSM is no longer a walled garden ❖ GSM spec has security problems ❖ Expect many more issues as OSS reduces costs for entry 37 Tuesday, 20 July 2010

  67. Future work ❖ More GSM stack fuzzing ❖ Next gen protocol stacks 38 Tuesday, 20 July 2010

  68. Thanks to Harald Walte, Osmocom-bb & OpenBTS 39 Tuesday, 20 July 2010

  69. Questions? 40 Tuesday, 20 July 2010

Recommend


More recommend