back to article CyanogenMod Android firmware gains built-in SMS encryption

Users of the CyanogenMod alternative Android firmware gained additional security on Monday, thanks to the integration of Open WhisperSystems' TextSecure protocol. Founded by security researchers Moxie Marlinspike and Stuart Anderson, Open WhisperSystems develops security software that can encrypt voice-over-IP (VoIP) telephone …

COMMENTS

This topic is closed for new posts.
  1. btrower

    Kudos!

    Re: took "a substantial commitment of time and resources."

    Gutsy move. It is devilishly difficult in practice to bake in security like this. Even if there are significant flaws, this is still really good news. As long as we establish the principle that security has this stature, we will eventually get there.

  2. Anonymous Coward
    Anonymous Coward

    Man in the middle?

    Ignoring the 'forward secrecy/ratchet' blog entry, because ephemeral keys don't work if the whole conversation is tapped, any listener also has the key change messages no matter how many you put into the stream.

    How is the initial key exchange not subject to a simple man-in-the-middle attack?

    It looks from the link below as if you're sending a public key each time. So that could easily be swapped. An NSA interested in your anti-Obama rant to your Congressman, simply routes the conversation through their software and swaps the public key for theirs.

    https://github.com/WhisperSystems/TextSecure/wiki/ProtocolV2

    The NSA owns the telcos, they would simply add a key swap into the SMS software of the telcos and would have the first key exchange from day one.

    Assuming the infrastructure isn't trustable (with telco legal immunity, it makes no difference what the law says, the telcos obey the NSA not the laws, hence US telco infrastructure is 100% untrustable), then you can't do a public key exchange across that network.

    1. os2baba

      Re: Man in the middle?

      But the public keys don't have to be exchanged over SMSes. Right? So if exchanged in an encrypted secure file in an email with the password of the attachment spoken over the phone or depending on how critical the conversation is, exchanged using sneaker-net, wouldn't that work? I know the link talks about exchanging the public keys using SMS. But I'd imagine that you would be able to substitute public keys of certain folks manually. Or at least shouldn't be difficult to implement.

    2. TheVogon

      Re: Man in the middle?

      "The NSA owns the telcos, they would simply add a key swap into the SMS software of the telcos and would have the first key exchange from day one."

      To mitigate MITM attacks, you normally display a shared check code at both ends that can be validated on a call, or via an out of band method. See for instance http://zfoneproject.com/prod_zfone.html

    3. David Dawson

      Re: Man in the middle?

      Without knowing the implementation they've used, asymmetric/ public key transfers are designed specifically to prevent man in the middle attacks over insecure networks.

      http://en.wikipedia.org/wiki/Public-key_cryptography

      It allows the creation of trust over a public network, and it does work, both theoretically and practically.

      It has been subverted in a few ways :-

      * Brute force decrypt the messages. Frankly highly unlikely, the good algorithms have an average decrypt time in the millions of years using todays hardware.

      * Inject a flaw into the original crypto algorithm.

      * Impersonate the remote by taking control of the trust key chain.

      The last two are what the NSA does. If you are generating your own keys, then that leaves only the second, as there is no trust chain.

  3. eJ2095

    y bother?

    most i send is:-

    To wife : whats for tea

    Wife: dunno

    To wife : take away

    wife : ok

    unless there some hidden code in there i am missing....

    1. Anonymous Coward
      Anonymous Coward

      Re: y bother?

      "unless there some hidden code in there i am missing...."

      Your wife is too busy bonking the milk man to cook

    2. Anonymous Coward
      Anonymous Coward

      Re: y bother?

      I walk to work so I don't see why you need a car.

      Just because you won't personally benefit from this doesn't mean that no one will.

  4. T. F. M. Reader

    Theatre?

    So I want to text Joe. First our devices need to attempt to determine which exact version of the OS each runs, over an open data channel. Captured by everybody from our mobile providers (warranty voided) to NSA (no-fly/extra security search/finer grained PRISM lists updated). Then, if the devices manage to negotiate capabilities, they need to exchange keys somehow, without worrying over MITM (eh? see the above). Only then encrypted messages can be exchanged.

    Am I missing anything in this picture or is it as much a security theatre as any modern airport?

  5. mythicalduck

    Re: y bother?

    Well, you never know, they may decide that whilst your wife tells you to get chinese, they may change it to italian ;)

  6. Richard 51

    Eh, with millions of SMS being sent surely the small number which have been encrypted will be like a lightnening rod for the spooks. So what has this punter got to hide?

    1. Suburban Inmate

      Nothing to hide

      Just doing my civic duty to irritate and burden the regime's onerous surveillance machinery.

    2. M7S

      Re: Nothing to hide

      Or, hopefully, it may be someone sending personal data, and the sender is aware of their obligations under the Data Protection Act, It could for example be a GP responding to a request from a colleague for some information from notes on a patient and secure email is for some reason not available. The practice might irritate the authorities but actually it's just ordinary people/businesses trying to obey the law and it shouldn't upset them once this is pointed out. There's nothing to stop the authorities coming with a warrant and asking for the plain text if they've got a justifiable concern.

      I handle some personal data and I'd present plain text in reply to a warrant to show that any concerns are groundless (at least as far as I know) and they can hopefully then quickly move on to something else needing their time and attention. (That's meant to be public spirited, not sarcastic)

    3. phuzz Silver badge

      But if every Cyanogenmod user has it enabled by default, then the number of people sending encrypted messages goes up by a huge amount.

      I'm waiting to find out how much end user setup is required, if it's enabled by default, and will automatically exchange keys with other users then even my mum might end up using it.

  7. Richard Lloyd

    Isn't CM11 the main nightly platform now?

    It seems a bit strange to put this in CM 10.2 nightlies first, when CM 11 nightlies are out for many devices now. In fact, the link to the CyanogenMod download page in the article lists a *ton* of CM 11 nightly downloads and far fewer CM 10.2 nightlies!

    Mind you, it would be nice if the CM team put back a lot of the CM 10.2 config options they seem to have dropped in CM 11 first before worrying about SMS encryption. I can't get rid of the pointless Google Search bar from my home screen in CM11, the home screen itself is barely customisible now, plus the separate percentage+icon battery indicator has gone from the status bar (replaced by a horrible tiny percentage encircled, which doesn't show any figure at all when it's at 100%!).

    1. Alan Brown Silver badge

      Re: Isn't CM11 the main nightly platform now?

      Only a few platforms are CM11 at the moment. The vast majority of CM hardwar is only up to CM10

This topic is closed for new posts.

Other stories you might like