Software:Osmocom

From HandWiki
Osmocom
Osmocom logo.svg
Original author(s)Harald Welte
Developer(s)Osmocom open source community
Repositorygit.osmocom.org
Written inC, C++
TypeTelecommunication software
LicenseAffero GPLv3 for all cellular software, GPLv2+ for some remaining software (libosmocore, OsmoPCU, OsmoSTP, OsmoGGSN)[1]
Websiteosmocom.org

Osmocom (open source mobile communications) is an open-source software project that implements multiple mobile communication standards, including GSM, DECT, TETRA and others.[2]

History and usage

Siemens BS11 BTS

In 2008 Harald Welte and Dieter Spaar experimented with a base transceiver station from Siemens that was end-of-life and implemented the BSC side of the A-bis protocol, which eventually turned into OpenBSC. After attracting more interest, support for other BTS models was added.[3] The first release of the OpenBSC project took place at the 25th Chaos Communication Congress held in December 2008.[4]

In the following years, the software has been used at various hacker cons such as the Chaos Communication Congress, Chaos Communication Camp and Electromagnetic Field to provide a cellular network.[5][6][7]

In 2010, a telephone-side implementation of the GSM stack was developed, named OsmocomBB. Together with OpenBSC, these projects became part of the new Osmocom umbrella project.[3]

The Sysmocom GmbH company was founded by Welte and Holger Freyther[8] in 2011 to provide commercial support.[9][10]

Since 2018 Osmocom software and Sysmocom hardware has been used in Villa Talea de Castro in Mexico to provide a cellular network to around 3500 people.[11][12]

Osmocom software has been used in research projects.[13][14]

Projects

OpenBSC

OpenBSC was a project to develop a free software implementation of GSM protocol stack and elements. It runs on Linux and requires an E1 interface (ISDN Primary Rate Interface, via mISDN). It is written in C and licensed using the GPL (≥v2) license.

The first version implemented the GSM specification 21.12 and 08.5x, and worked for a specific Base Transceiver Station (Siemens BS11 MicroBTS).

OpenBSC implemented several MSC components, including the A-bis protocol (the protocol between the BTS and the BSC), AUC, HLR, VLR (both using SQL tables), and a SMS Switching Center. OpenBSC can be accessed using telnet.

OpenBSC supported the following BTS devices:

  • Siemens BS11 (microBTS) (E1 Primary Rate interface)
  • ip.access nano BTS (PoE-interface)

OpenBSC is now considered legacy and the features have been split into different projects: OsmoBSC, OsmoMSC and OsmoHLR.[15]

SDR

rtl-sdr[16] was discovered by Steve Markgraf, who also created osmo-fl2k for radio transmissions. These projects deprecated the use of OsmoSDR.[17]

OsmoTETRA

The OsmoTETRA project implements the TETRA protocol.[18][19][20] Osmo-tetra implements the lower layer of the protocol.[21] Some conducted research revealed that some government traffic is not properly secured.[20]

OsmocomBB

OsmocomBB is a free firmware for the baseband processor of mobile phones which handles the encoding and radio communication of both voice and data. OsmocomBB is the only existing free implementation of baseband firmware, excluding failed projects like TSM30 from THC and MadOS.[22]

Motorola C123 with Calypso chipset running the OsmocomBB RSSI application in Spectrum view mode

OsmocomBB implements the GSM protocol stack's three lowest OSI Layers of the client side GSM protocol and device drivers. The protocol layers forming the kernel exists on the baseband processor, typically consisting of an ARM processor and a digital signal processor.

Motorola C139, a model compatible with OsmocomBB

It has support for the Calypso chipset produced by Texas Instruments.[23]

Karsten Nohl has extented OsmocomBB to be able to detect IMSI catchers.[24]

See also

References

  1. "Software Licensing". https://osmocom.org/projects/cellular-infrastructure/wiki/SoftwareLicensing. 
  2. "Open Source Mobile Communications". https://osmocom.org/. 
  3. 3.0 3.1 OsmoBSC User Manual. http://ftp.osmocom.org/docs/latest/osmobsc-usermanual.pdf. 
  4. "25C3: Running your own GSM network". 2009-01-10. https://fahrplan.events.ccc.de/congress/2008/Fahrplan/events/3007.en.html. 
  5. By (2018-08-30). "GSM Phone Network At EMF Camp Built On Raspberry Pi And LimeSDR" (in en-US). https://hackaday.com/2018/08/30/gsm-phone-network-at-emf-camp-built-on-raspberry-pi-and-limesdr/. 
  6. By (2019-08-30). "CCCamp: 5,000 Hackers Out Standing In Their Field" (in en-US). https://hackaday.com/2019/08/30/cccamp-5000-hackers-out-standing-in-their-field/. 
  7. "33C3: Hackerkongress endet mit Humba-Täterä im explodierenden Bällebad" (in de). https://www.heise.de/newsticker/meldung/33C3-Hackerkongress-endet-mit-Humba-Taeterae-im-explodierenden-Baellebad-3583271.html. 
  8. "SysmoBTS: Harald Weltes Sysmocom verkauft freie GSM-Basisstation - Golem.de" (in de-DE). https://www.golem.de/news/sysmobts-harald-weltes-sysmocom-verkauft-freie-gsm-basisstation-1205-91914.html. 
  9. sysmocom (2016-02-28). "About sysmocom background and company culture" (in en). https://sysmocom.de/about2/index.html. 
  10. "Sysmocom - Cellular Network Infrastructure - Open Source Mobile Communications". https://osmocom.org/projects/cellular-infrastructure/wiki/Sysmocom. 
  11. Herrmann, Boris. "Am Rande des Funklochs" (in de). https://www.sueddeutsche.de/panorama/handyempfang-am-rande-des-funklochs-1.3826448. 
  12. "In defense of the right to communication (DeutscheWelle original video)" (in en). https://vimeo.com/363361602. 
  13. Bosma, Jeffrey; Soeurt, Joris. "Eavesdropping on and decrypting of GSMcommunication using readily available low-costhardware and free open-source software in practice". University of Amsterdam. https://www.os3.nl/_media/2016-2017/courses/ot/jeffrey_joris.pdf. Retrieved 2020-05-27. 
  14. "ProjectRationale - OsmocomBB - Open Source Mobile Communications". https://osmocom.org/projects/baseband/wiki/ProjectRationale. 
  15. "Overview - OpenBSC - Open Source Mobile Communications". https://osmocom.org/projects/openbsc. 
  16. By (2019-07-31). "RTL-SDR: Seven Years Later" (in en-US). https://hackaday.com/2019/07/31/rtl-sdr-seven-years-later/. 
  17. Markgraf, Steve (2019-07-31). "RTL-SDR: Seven Years Later" (in en-US). https://hackaday.com/2019/07/31/rtl-sdr-seven-years-later/#comment-6169016. 
  18. "TETRA-Digitalfunk für jedermann" (in de). https://www.heise.de/security/meldung/TETRA-Digitalfunk-fuer-jedermann-1253092.html. 
  19. "Digitaler Behördenfunk: Hacker arbeiten an freier TETRA-Implementierung - Golem.de" (in de-DE). https://www.golem.de/1101/80600.html. 
  20. 20.0 20.1 "OsmocomTETRA - OsmocomTETRA - Open Source Mobile Communications". https://osmocom.org/projects/tetra/wiki/OsmocomTETRA. 
  21. "Osmo-tetra - OsmocomTETRA - Open Source Mobile Communications". https://osmocom.org/projects/tetra/wiki/Osmo-tetra. 
  22. Pönsgen, François (2015). GSM and GPRS Security Using OsmocomBB (PDF) (M.Sc.). Norwegian University of Science and Technology. p. 5. Retrieved 2017-05-04.
  23. Cooper, T. A. (2012). Integration of Open-Source GSM Networks (Doctoral dissertation, Virginia Tech).
  24. "GSM-Hacking: Osmocom-Patch entdeckt stille SMS und Abhöraktionen - Golem.de" (in de-DE). https://www.golem.de/1112/88680.html. 

External links