BiteSMS Pin Security Flaw
|
|
Here is something i read that i think should jump to top of list to be fixed/added to biteSMS Source – http://willstrafach.tumblr.com/post/766474676/b… Bypassing the biteSMS PIN lock For some reason, biteSMS thought it would be a good idea to store the PIN of it’s users in complete plaintext in its preferences plist file. I tried give them some suggestions, such as at least using the keychain, but they would have none of it. When I tried to tell them that doing so would at least be a step in the right direction, they demonstrated that they clearly have no idea what I am talking about, because deleting the preferences property list would not magically delete the Keychain, as they seem to be suggesting. Currently though, not only can someone delete that property list to bypass the PIN, but they can also read the property list to find out what your PIN is, which is potentially worse than just bypassing it if you use that code for anything else. Additionally, they could SHA1 the pin, and use that as a key to encrypt messages in the SMS database, so that even if a person got root access to the device they couldn’t recover any of the messages without the user’s PIN. I don’t know, I don’t work for them, so figuring out an exact solution isn’t my job. What I do know, though, is that storing a PIN in the biteSMS preference property list is a terrible idea. A malicious person could create a trojan-ed Cydia package that reads the file and sends them back your PIN if they wanted. They could also write a malicious Cydia application that displays the users PIN on screen, install it onto someone’s phone (if someone has biteSMS they probably have Cydia), uninstall it after memorizing the PIN, and then being able to read the owner’s text messages without him/her knowing about it at all. They could also delete the property list to bypass the PIN entirely, but that’s not as bad, because the owner would at least know they’d be comprimised at that point. Hopefully biteSMS addresses this issue soon. If you’d like to check for yourself, since there is no app written to dump the PIN (yet), you can just use SSH or iPHUC for now to check in ~/Library/Preferences/ on your device for the biteSMS preference file, lo and behold, the PIN will be there in plaintext. |
|
|
Already responded earlier in the week here http://forums.bitesms.com/forums/6/topics/2570?... Repeated below:
|
|
|
Thank You for the response. |
|
|
One could simply: 1. Be careful with their phone and not lose it 2. Not give their phone to malicious people 3. Change one’s ~/root password 4. Have a (stronger) alphanumeric password for the entry in iOS4 5. Invest in a service like MobileMe to remote wipe the phone, if one is really sloppy When someone has your phone, its not only the SMS database they can access. Your email, your contacts and your notes remain wide open for viewing. I’ve read the article before, its a nice rap, lots of geeky technical stuff written to scare the crap out of the ordinary user (example my mom who has no clue about what jailbreaking is), but for me, this is like trying to hunt a dead lion and show you’re brave :-) Quite futile.
Like Martin said, creating an encryption will be work for no realizable output in return. |
|
|
Ram we do protect the native app..:) |
|
|
We do ? Sorry, I don’t even remember the last time I opened it :D Modded. |