Slashdot Mirror


How To DDoS a Federal Wiretap

alphadogg writes "Researchers at the University of Pennsylvania say they've discovered a way to circumvent the networking technology used by law enforcement to tap phone lines in the US. The flaws they've found 'represent a serious threat to the accuracy and completeness of wiretap records used for both criminal investigation and as evidence in trial,' the researchers say in their paper, set to be presented Thursday at a computer security conference in Chicago. Following up on earlier work on evading analog wiretap devices called loop extenders, the Penn researchers took a deep look at the newer technical standards used to enable wiretapping on telecommunication switches. They found that while these newer devices probably don't suffer from many of the bugs they'd found in the loop extender world, they do introduce new flaws. In fact, wiretaps could probably be rendered useless if the connection between the switches and law enforcement are overwhelmed with useless data, something known as a denial of service (DOS) attack."

21 of 112 comments (clear)

  1. In Soviet russia... by MaerD · · Score: 2, Insightful

    Wiretaps DDOS you!

    Ok, seriously? Overwhelm the signal to noise ratio and picking out the useful information becomes harder. It's just a question of how much and how long, not to mention how long after the fact is said information useful.
    Better yet, why would anyone who seriously wants to avoid a wiretap *use a phone*? It seems like discussing anything over an unencrypted medium is asking for trouble.

    --
    I put on my robe and wizard hat..
    1. Re:In Soviet russia... by maxwell+demon · · Score: 2, Funny

      Better yet, why would anyone who seriously wants to avoid a wiretap *use a phone*?

      To connect his acoustic coupler :-)

      --
      The Tao of math: The numbers you can count are not the real numbers.
  2. Buffering... by chill · · Score: 5, Informative

    As someone who worked on a CALEA system for 18 months, implementing, testing and helping design, I can tell you one thing.

    The specs of all the systems are such that they DO NOT BUFFER the actual voice, only the data. I mean the numbers punched, busy signals, etc. Buffered voice would rapidly overwhelm the system, so it is just dropped if the link from the CO (central office) to the LE (law enforcement) goes down.

    Call data can be buffered for days, so that isn't dropped.

    This isn't a flaw, it was a design decision. Good luck DDoSing a major telco switching office.

    --
    Learning HOW to think is more important than learning WHAT to think.
    1. Re:Buffering... by starfishsystems · · Score: 3, Interesting

      I developed a similar system. This particular product is not restricted to voice, but supports any network device which can mirror its packet traffic.

      Under its present interpretation, CALEA applies to any sort of subscriber data. If law enforcement can clearly identify the subscriber and the intercept period, the network provider is obliged to supply all data carried for that subscriber during that period. That could be your voice traffic or web browsing or email or whatever. The plant has to be engineered accordingly, but that's essentially a capacity issue.

      On the other hand, it's important to note that there is no obligation upon the provider to interpret the supplied data. Such an obligation would be unreasonable and unenforceable. Instead, law enforcement is basically getting a raw PCAP file.

      I'll tell you what I found to be the most interesting aspect of this project. There is very strict language in CALEA against intercepting data except for the specified subscriber during the specified period. Of course we were careful to implement controls over that. But until I insisted on the point, nobody even considered that we might want to have controls to verify that the intercept request came from a bona fide court and that the intercept data would be sent to a bona fide law enforcement agency.

      --
      Parity: What to do when the weekend comes.
    2. Re:Buffering... by chill · · Score: 3, Informative

      Well, the company's lawyers got the FBI to sign off on the voice buffering bit, and yes it was mostly a capacity issue. Whether that'll change in the future is up to whether or not the gov't decides to pay for it. I think that was the main argument. "You want HOW MUCH DATA buffered? Excuse us while we break out the BIG calculator to prepare you a quote."

      No, we weren't interpreting data. Raw XML was passed over for control and signal data, and voice was sent as a raw codec stream. The codec was from Qualcom, and we did have to assist in making sure the FBI could receive and decode it properly. Only the FBI needed the help because they wrote their own code. All the other LEOs used off the shelf software from Qualcom.

      For a while, I had a laptop that could inject requests into the stream -- bypassing the warrant step -- create an arbitrary IPsec tunnel and feed a raw stream of XML+voice to any IP of my choosing. I used to work at the hotel at night debugging call data. We had a microcell network set up in one of the suites.

      Educational stuff.

      --
      Learning HOW to think is more important than learning WHAT to think.
  3. New best ... by dijjnn · · Score: 5, Funny

    New best way to get your funding cut: publish a paper that outlines a way to use DDOS to hinder a federal investigation. Old best: come out of the closet & join the communist party.

    --
    ~dijjnn
  4. Already happens by Slightly+Askew · · Score: 4, Funny

    "...if the connection between the switches and law enforcement are overwhelmed with useless data, something known as a denial of service (DOS) attack...

    This just in, arrest warrants issued for 92% of American females between the ages of 12 and 17.

    --
    Public use of any portable music system is a virtually guaranteed indicator of sociopathic tendencies. -- Zoso
    1. Re:Already happens by The+Evil+Couch · · Score: 3, Funny

      Oh good. They've finally made reading Twilight a crime.

  5. And here again is a door open to geeks unemployed by dada21 · · Score: 4, Funny

    ...sort of off-topic, but something I mention to my geek friends out of work: the black market of crime has endless jobs available for you.

    Go into any barbershop in a shadier part of town and while you're getting a fantastic $12 haircut, mention to the oldest barber that you are working on security consulting to help people avoid getting into trouble with the law, especially in regards to keeping phone calls and information private.

    At $150 a pop to "consult" with a man in a nice suit, you can easily remind him that his phone and laptop aren't secure, even offer him advice on what he can do and what he can buy to keep his tracks concealed better.

    In reality, though, wiretaps aren't as important as having a good crew under you. A large percentage of black market consultants find themselves in jail because of the stool pigeon, not because of the wiretap information.

  6. Redundant Technology by mikelieman · · Score: 3, Interesting

    Given that the US Government had AT&T put optical splitters on the network backbones a while back, isn't this CAELA stuff obsolete? It still presumes that Warrants count and stuff and that they're not already copying all voice and data communications.

    --
    Technology -- No Place For Wimps! Grateful Dead and Jerry Garcia Chatroom -- http://www.wemissjerry.org
    1. Re:Redundant Technology by vvaduva · · Score: 3, Interesting

      Obsolete in the sense that it could be done better, or that new technology is already out and readily available to law enforcement? To me it looks like something that works well enough to catch bad guys. The paper deals with a lot of theoretical stuff that will be very hard to replicate in the real world; drug dealers, jihadists and even well-skilled technical people will have a really hard time overloading a major telco switch without access to expensive hardware and lots of resources which very few people have.

    2. Re:Redundant Technology by chill · · Score: 4, Informative

      Not really. That stuff is a firehose, and few jurisdictions are capable of handling anything like it. CALEA is for small town police depts as well as the FBI. Warrants are entered by the PD clerk, which are submitted to the CALEA system. The system is separate from accounting and everything else, so no one who isn't authorized has access to the info.

      The system then flags a number and whenever a call is made to or from that number, it is duplicated inside the switch and a stream sent to the CALEA system. This includes busy signals, party line calls, SMS, etc.

      The CALEA system establishes a secure tunnel (IPSec) inside the telco network to an IPSec gateway. We were working with Juniper boxes at the time. From there, the tunnels are broken out to the various law enforcement offices that have open warrants. One goes to the FBI, one to NYPD, etc. The entire internal network was GbE for the nodes and 10 GbE for trunks. Again, good luck DDoSing that.

      Tunnels to the various LEOs varied in size depending on the size of the department and how many active warrants they had. A minimum of 1.54 Mbps, IIRC. Pipes to the FBI in Quantico, LAPD, NYPD and a couple others were larger by default.

      --
      Learning HOW to think is more important than learning WHAT to think.
  7. Some background about Matt Blaze by jonaskoelker · · Score: 4, Informative

    Here's a bit of background the /. editors didn't give you.

    If you take a 2-second look at the paper (the pdf link in the summary), you see Matt Blaze's name.

    He's been doing other work on making law enforcement wiretapping not work. For instance, go to http://www.usenix.org/events/sec06/tech/ and search the page for "Blaze"; you should find his talk (http://www.usenix.org/events/sec06/tech/mp3/blaze.mp3) and the Q&A session.

    He also gave essentially the same talk as the first (under a different title) at http://www.usenix.org/event/lisa05/tech/ (again, search the page for "Blaze" or go straight to http://www.usenix.org/event/lisa05/tech/mp3/blaze.mp3).

    He also spoke at hotsec06, http://www.usenix.org/events/hotsec06/tech/, with no recorded mp3, and at an e-voting panel, http://www.usenix.org/events/sec07/tech/.

    As you might infer, this isn't the first time Mr. (Dr.?) Blaze has been studying wiretapping (or other security issues). He's also quite a good, entertaining speaker. I recommend giving him a listen.

    The short story (from the usenix talks): press the "C" key on your old 4x4-keypad phone. That's the in-band signal (doh!) used by law enforcement to mean "don't record now". Or, look up the tone frequency, then play it back at a much lower volume with a tone generator (your laptop might do) so it's more comfortable to talk over.

    1. Re:Some background about Matt Blaze by coolsnowmen · · Score: 2, Insightful

      What would that signal even exist? So that law enforcement could break the law by phone and not get caught?

    2. Re:Some background about Matt Blaze by AJWM · · Score: 4, Informative

      My old 4x4 keypad phone doesn't have a C key.

      Probably because it's only a 3x4 keypad phone. You want a keypad like this, the C is on the same row as the 7, 8 and 9.

      You may also want to review your counting skills. ;-)

      --
      -- Alastair
  8. Stupid by Chicken_Kickers · · Score: 2, Insightful

    If spies/criminals/terrorists/politicians are stupid enough to use plain language over the phone to plan their dastardly deeds, then they deserve to be put into prison.

    1. Re:Stupid by Hurricane78 · · Score: 3, Insightful

      Only a total retard would still think, that the point if this wiretapping is to catch criminals.

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
  9. A couple things... by mea37 · · Score: 4, Informative

    ...for those who didn't RTFA:

    First, this apparently applies to VoIP systems and cell phones, not analog land lines.

    Second, it is not a DDoS attack, as the headline claims. It is a DoS attack, though. That extra D means "distributed" and refers to situations where you bring many computers (say, a botnet for example) to the party so that your cumulative traffic-generation ability exceeds your target's capacity. Those techniques are not in play here. I guess Internet-based distributed attacks have become so common that people don't bother knowing what the acronyms really mean anymore.

    The channel you're trying to flood is a 64kbps data link between the phone company's switch and the law enforcement equipment. That is to say, the spec calls for 64kbps - so you don't really know if they have more than that in implementation. The idea is that if you program your system to rapidly make useless connections (such as text messages to random numbers) then you can flood this link and the equipment will lose track of the metadata describing an important message you send along during the flood. "Rapid" is on the order of 40 text messages per second; maybe you can program your equipment to do that.

    They have not been able to test this attack in practice, and they're making assumptions - some of which I doubt - about what the result would be. Seems like a lot of trouble to go to for the chance that maybe there'll be a random probability that the call you care about doesn't get logged - and even then you won't know after the fact whether it worked. Anyone who takes communications security seriously enough to apply that much effort, will apply it to doing something more certain to work.

    1. Re:A couple things... by Tmack · · Score: 2, Informative

      ...for those who didn't RTFA:

      First, this apparently applies to VoIP systems and cell phones, not analog land lines....

      VoIP and Cell systems are packetized data, just like normal analog phones are once they get to an RT or CO (read up on SS7). Most cell towers have VoIP connections back to a CO somewhere, and VoIP terminating on the POTS network first has to be converted to normal SS7 packetized traffic. This means the wire tap is tapping actual data packets from the SS7 channel (hence the mention of "only" 64kbps, which is actually a full ds0, same as a normal analog line). The attack mentioned (going from the way the summary presented it) requires taking up all available channels on the same switch that the tap is being placed on, so there are not enough available ds0 channels left for the tap to send its data, or alternatively, creating multiple voice channels that are targets for the tap so that it cant send all the voice even with a high compression codec (assuming its limited to the single ds0) . This is only capable if you get a bunch of people to dial into the same switch at the same time, basically a DDoS, or place multiple calls from the tapped phone or send sms/other stuff that takes up data channels. This has the same effect as what happens when a radio station announces that "10th caller gets tickets" to some concert, and you try to call but get "all circuits busy". But still, good luck flooding all the channels in a CO....

      Tm

      --
      Support TBI Research: http://www.raisinhope.org
  10. I work on CALEA and DDOS is not possible by Kodack · · Score: 5, Informative

    The fact that these researchers worked off of the standard for delivery compliance aka CALEA, has given them the false impression that all they need to do prevent a wiretap is to overload the connection between the agency and the DMS (the switch your call goes through).

    What the J standard does not go into is the fact that at every step of the way there are checks to determine if data can be sent. If it cannot then it is stored until it is able to be sent. It is not uncommon for connections in the IP realm to come up and down so the system can buffer them both at the DMS, as well as at several points inbetween through the various offboard devices in the chain. Typically the data makes 2 stops between the DMS and the LEA.

    This is strictly for the data portion of the call, IE dialed digits, in the wirless world it would include MMS/SMS, GPRS, etc.

    The voice portion of the call is trunked from the DMS to the PSTN via a 3 way calling feature with 1 way audio. It basically dials the LEA's recording equipment every time the target makes a call, their equipment will record automatically when it answers the phone, like an answering machine. However the voice portion doesn't always have to go to a LEA. It can be configured to go to several phone numbers such as an agents mobile phone, a recording device, or other 3rd party.

    Now you could overload the agencies recording equipment if you knew what number to dial using a war dialer type of attack, but that would lead authorities to your door and it would not prevent other agencies and other monitoring centers from receiving that same data. Most bench warrants will have several involved agencies each receiving intercepts from a single target.

    Suffice to say that if you have a tap on your phone, it's going to get to the LEA and there isn't much you can do about it.

  11. to over exagerate a bit. by Dare+nMc · · Score: 2, Insightful

    criminals and the terrorists deserve to be put into prison

    careful thats not always a clear cut line, for instance bush considered only Christians to be citizens therefore anyone trying to overthrow Christianity, was trying to overthrow his country? Teaching science might not be too far from being considered a terrorist by many zealots (of which bush often listened to). With government listing to corporate interests and considering anything harmful to corporate profits, like breaking DRM, as theft. If this criminal/terrorist net doesn't include you yet, it could encompass many of your friends/family, isn't conspiring with known criminals and terrorists a crime? (best get off of Slashdot now, to be safe...)