Slashdot Mirror


Popular Android Package Uses Just XOR -- and That's Not the Worst Part

siddesu writes A popular "encryption" package for Android that even charges a yearly subscription fee of $8 actually does nothing more than give a false sense of security to its users. Not only is the app using a worthless encryption method, it also uses weak keys and "encrypts" only a small portion of the files. One wonders how much snake oil flows through the app stores, from "battery savers" to "antivirus." What is the most worthless app purchase you made? Did you ask for a refund?

29 of 277 comments (clear)

  1. Web sites by danbob999 · · Score: 5, Insightful

    CTIA - "The Best App of CTIA by the Techlicious 2012 Best of CTIA Awards"
    PC Magazine - "PC Magazine Best Apps"
    TRUSTe - Received "TRUSTe Privacy Seal"
    Global Mobile Internet Conference App Space - "A top 50 app"

    Thanks, I will take a note to never trust these web site reviews.

    1. Re:Web sites by Darinbob · · Score: 4, Insightful

      People will gladly give good reviews to things they haven't even tried out yet. And even if they tried it they probably have no clue how to validate its effectiveness. It's the yelp effect, let someone give a review and they'll jump on board and proclaim "best broccoli beef ever".

    2. Re:Web sites by ShanghaiBill · · Score: 4, Funny

      People will gladly give good reviews to things they haven't even tried out yet.

      Tornado App has good reviews.

    3. Re:Web sites by pushing-robot · · Score: 3, Informative

      http://www.techlicious.com/gui...

      http://gmic2012.greatwallclub.... (I imagine NQ Mobile's Vault is the 'Vault' listed, NQ published a press release about it)

      I can't find a free copy of PC Magazine's 2012 best apps, but given the others I have little reason to doubt it. The average reviewer has nary a clue about cryptography, and from an end user standpoint, the app seems well made and has several clever features. It would be easy to assume the app lives up to its claims.

      Mind you, it still seems a useful app just for its ability to hide content from casual snoops (the app can even hide its presence on the device), though it is quite overpriced and likely to disappear after this entirely deserved PR disaster.

      --
      How can I believe you when you tell me what I don't want to hear?
    4. Re:Web sites by macklin01 · · Score: 4, Informative

      Here's the TRUSTe info:

      http://privacy.truste.com/privacy-seal/NQ-Mobile-US-Inc-/validation?rid=e0f97027-af9a-4b8a-91b5-2a33c58a520a

      It only seems to cover security/privacy of their ecommerce site. So, their shopping cart may be secure, but it says nothing about app security as they seem to imply in their press releases, etc.

      --
      OpenSource.MathCancer.org: open source comp bio
    5. Re:Web sites by AmiMoJo · · Score: 5, Interesting

      Maybe they read the actual description of the app. The only thing it claims to encrypt is text messages, which TFA doesn't bother to check. The description doesn't claim to encrypt files, so unless it has been changed since the article was written it seems to be making stuff up to complain about.

      The app hides files on your device. It does that by using a simple XOR cypher to encrypt the header of files and make them invisible to apps like the Gallery that look for files with valid JPEG/PNG/GIF headers. It works perfectly, the XOR cypher has the desired effect. Obviously it won't stop forensic examination from finding and decrypting the files, but it doesn't claim to. It's an app designed to hide your nude selfies and dick pics, not stops the NSA/GCHQ dataraping your phone.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    6. Re:Web sites by p.g.king · · Score: 3, Informative

      http://www.nq.com/vault- scroll down a bit under "NQ Mobile Vault Features." subsection "Photos & Videos" - "They’ll be encrypted..."

      I'd say that was a claim that it'll encrypt them.

    7. Re:Web sites by nukenerd · · Score: 3, Funny

      Indeed. As my wife doesn't know what an xor gate is, it's good enough for me.

  2. XOR is useless by ArcadeMan · · Score: 4, Funny

    Unless it's used with ROT13.

    1. Re:XOR is useless by Jane+Q.+Public · · Score: 3, Insightful

      XOR is much much faster than your run-of-the-mill encryption algorithm.

      OP and TFA are very misleading. XOR is not a "worthless" encryption method in itself... it all depends on how it is used.

      For example, if used with a good quality key in a one-time pad, it is one of the few encryption methods that is even theoretically unbreakable.

      But it does require a well-constructed key, and as with any one-time-pad scheme, key management is everything.

    2. Re:XOR is useless by TapeCutter · · Score: 4, Funny

      Must be good, it has ubiquitous hardware support. ;)

      --
      And did you exchange a walk on part in the war for a lead role in a cage? - Pink Floyd.
  3. Re:The big advantage of XOR by MichaelSmith · · Score: 4, Funny

    Also its implemented directly in the CPU, so both encryption and decryption are very fast.

  4. ROT13 by Trax3001BBS · · Score: 4, Interesting

    I mentioned to the subscription that Microsoft used Rot13 to "encrypt" some registry entries in version W2K (I think was the version)

    After reading bout XOR, ROT13 would be just about as good.

    Not familiar with ROT13? = Abg snzvyvne jvgu EBG13?

  5. XOR encyption is uncrackable as long as... by pcritter · · Score: 5, Informative

    There's nothing wrong with XOR for encryption as long as your key size is >= plain text size. In fact it's uncrackable!

    1. Re:XOR encyption is uncrackable as long as... by Anonymous Coward · · Score: 5, Informative

      And you NEVER reuse that key.

    2. Re:XOR encyption is uncrackable as long as... by meloneg · · Score: 4, Informative

      And it's generated from a quality source of entropy.

    3. Re:XOR encyption is uncrackable as long as... by gman003 · · Score: 4, Informative

      And the key remains private.

  6. Re:The big advantage of XOR by hcs_$reboot · · Score: 4, Insightful

    If the key is as long as the message, XOR is not that weak.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  7. Re:questions answered below by Shakrai · · Score: 3, Informative

    I experimented with my old flip phone for a few days just to see if I could really go back and discovered that I found myself missing basic smartphone functionality, like threaded SMS conversations. It took all of five minutes for that to annoy the piss out of me. Then there's the smartphone functionality that has become a key part of my daily routine, like my exercise diary, the Wegmans app, my food diary, Google Maps, weather, and so forth. These are all apps that have value for productivity and/or health, not time sinks like Facebook or Angry Birds. They're worth the $30/mo premium, IMHO anyway.

    --
    I want peace on earth and goodwill toward man.
    We are the United States Government! We don't do that sort of thing.
  8. DMCA by martin-boundary · · Score: 5, Funny

    I think Slashdot should take down this article. Under the DMCA it's illegal to bypass flimsy methods intended to enforce security.

    1. Re:DMCA by swillden · · Score: 3, Informative

      I think Slashdot should take down this article. Under the DMCA it's illegal to bypass flimsy methods intended to enforce security.

      To be precise, it's illegal to bypass flimsy methods intended to enforce copyright. Since this tool isn't marketed as a DRM system, the DMCA doesn't apply.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  9. Re:The big advantage of XOR by ShakaUVM · · Score: 4, Informative

    In fact, it's unbreakable if you do it right. (http://en.wikipedia.org/wiki/One-time_pad)

    I'm disappointed that the person who submitted the story said "Just XOR".

  10. Re:questions answered below by nadaou · · Score: 3, Informative

    F-Droid is a true friend. And that's a rare thing in these circles.

    --
    ~.~
    I'm a peripheral visionary.
  11. Re:questions answered below by squiggleslash · · Score: 4, Interesting

    Same here, kinda. I ended up sticking with the flip phone because I just found the issues I had with using Android devices as telephones bad enough for me to stick with it, but yeah, there's a lot of basic stuff you miss, that you kinda wonder why no efforts have been to update flip phones to have at least some of the functionality of their power-sucking overloaded not-quite-optimal-for-phone-calls-UI-encumbered cousins.

    Would it really be a problem adding Wifi support, with things like the ability to sync contacts and other PIM stuff add that much to the costs of devices?

    Many things you mention are better done by a dedicated tablet device, but it's a shame that I have to make the choice between a shitty phone that's integrated with the rest of the world, and a good useful phone that I have to manually copy phone numbers to and from or else find awkward Bluetooth applications that never quite work correctly to update.

    --
    You are not alone. This is not normal. None of this is normal.
  12. Re:questions answered below by Grishnakh · · Score: 3, Informative

    Have fun living in the past.

    Here's the reasons my smartphone is extremely valuable to me:
    1) Mobile internet access / WiFi hotspot: I can use my phone to give my laptop internet access anywhere there's cellular data service available.
    2) Camera: it's not as good as a dedicated camera, but it's better than no camera at all, and is really handy for taking quick photos of things if image quality isn't paramount. Also can take reasonably good videos. You never know when you'll need to film the cops beating someone.
    3) Email access: While definitely not as powerful as reading it and typing on my laptop, it's handy to be able to check my email on-the-go.
    4) Voice mail: With Google Voice, I can see a transcript of people's rambling voicemail messages. I can read them in seconds, instead of having to waste time listening to them drone on and on.
    5) Games: I like doing crosswords when I'm stuck somewhere and bored and have nothing better to do. The "Shortyz" app is brilliant for this.
    6) Weather: My phone tells me what the temperature in my zipcode is, and can easily bring up further weather info. It's nice knowing what the high and low will be without having to watch the weather report on TV like in the bad old days, or having to get to a computer to look on a weather website.
    7) Google Maps: I use this for navigation all the time. I really don't know how I ever got along without it; oh yeah, I do know, it was horrible, as I had to mess around with paper maps, stopping and asking for directions, making wrong turns, getting lost, etc. Maybe if you never leave your little town or go anywhere new, you won't see the point of this, but for those of us who travel a lot and move frequently it's a godsend. It's also amazingly useful for finding businesses, looking up their phone numbers, seeing their hours at a glance, etc.
    8) Texting: For close friends this is pretty handy for staying in touch at times, though I don't use it that much. Smartphones make this better with an actual (on-screen) keyboard, instead of the shitty dumbphone method of using the 0-9 keypad to try to type messages.
    9) Playing music (like a "walkman" if you remember those): I can store my entire music collection in my phone and play anything I want through headphones, like when I'm at the gym. No need for a separate iPod. You can also use internet music services like Pandora.
    10) Alarm clock: I not only don't need a separate alarm clock, I can set multiple alarms for all kinds of different events. It also has a stopwatch and a countdown timer.
    11) Calculator: With the "RealCalc" app, I have an on-screen calculator and looks and works a lot like my old HP-48G RPN calculator.
    12) Flashlight: It's handy to have a flashlight on hand sometimes.
    13) Uber/Lyft: With these apps, you can call up a ride easily, see where the car is, and pay for it all with your phone and without having to mess around with calling for a cab and talking to people.

    If you don't see the need for a smartphone, you probably live an extremely simple life consisting mostly of sitting in a rocking chair on your porch and watching the world go by all day long. For those of us who aren't retired and idle, it's an enormous convenience.

  13. Re:The big advantage of XOR by swillden · · Score: 5, Interesting

    If the key is as long as the message, XOR is not that weak.

    As long as the key is as long as the message, and all of the key is unpredictable, and is never reused, then you have a provably unbreakable encryption system called a one-time pad. However, if you ever reuse the key someone can XOR the two ciphertexts together and the result will be the XOR of the two plaintexts, which can often be disentangled. Also, if the key is somewhat predictable, plaintext can be recovered. The US actually managed to decrypt some texts encrypted with a Russian one-time pad system, because the keys were produced by humans pounding "randomly" on typewriters... except humans aren't very good at generating random keystreams.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  14. Comment removed by account_deleted · · Score: 4, Funny

    Comment removed based on user account deletion

  15. Re:The big advantage of XOR by Beryllium+Sphere(tm) · · Score: 5, Funny

    And what data structure do you have lying around at encryption time that's as long as the plaintext?

    That's right, the plaintext. Use that as your one time pad. It saves you the headache of generating high-quality randomness if you just XOR the plaintext with itself.

    The resulting ciphertext is not only theoretically unbreakable without the key, it is also highly compressible for economical transmission.

  16. "XOR"? WTF? This thing is a "Vigenère cipher" by gweihir · · Score: 5, Informative

    You could at least have some minimal accuracy in the stories. XOR is not a problem and perfectly secure if used with a secure key-stream, like is done in modern stream ciphers. The problem here is that this is a "Vigenère cipher", where a very short, repeating key-stream is used. It was designed in 1553 and a general break was published in 1863.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.