Showing posts with label Force. Show all posts
Showing posts with label Force. Show all posts

Wednesday, October 12, 2011

BlackBerry Security Incident Response Team Responds to Elcomsoft Brute Force Password Attack

berryreview-blackberry-ninjas

I received a copy of this email that RIM has been sending out to customers about the brute force passwords attack Elcomsoft has announced for BlackBerry media cards. We told you earlier this month that practically any offline password system devoid of hardware protection is vulnerable to a brute force password guessing attack and how to mitigate it on BlackBerrys.This is what RIM has been using as an answer for customers worried about Elcomsoft’s attack vector from the BlackBerry Security Incident Response Team (BBSIRT):


The article states that the tool uses a brute-force attack to guess the smartphone password by attempting to decrypt the contents of a media card that has been removed from the smartphone. For this tool to do what Elcomsoft claims, an IT administrator or the smartphone user must have chosen to encrypt the contents of the media card with the smartphone password only. Furthermore, an attacker must have access to the media card from the smartphone, and the tool would have to successfully guess the password. To then use the password to unlock the smartphone, that attacker would also have to have access to the smartphone.

For stronger protection, users can choose to encrypt the contents of an optional media card, choose the option to encrypt using a device key or the combination of a device key and the device password. See Enforcing encryption of internal and external file systems on BlackBerry devices for more information.

To increase the difficulty of guessing passwords, RIM recommends that users always use strong passwords. A strong password has the following characteristics: includes punctuation marks, numbers, capital and lowercase letters does not include the user name, account name, or any word or phrase that would be easily guessed.

The security of mobile devices and major networked systems is tested by third party security researchers every day. RIM also continually tests the security of its own products, and volunteers its products to recognized industry experts for security testing and certification to help identify possible security vulnerabilities and protect BlackBerry customers against potential security threats.

For information on BlackBerry security, visit http://www.blackberry.com/security.

The article states that the tool uses a brute-force attack to guess the smartphone password by attempting to decrypt the contents of a media card that has been removed from the smartphone. For this tool to do what Elcomsoft claims, an IT administrator or the smartphone user must have chosen to encrypt the contents of the media card with the smartphone password only. Furthermore, an attacker must have access to the media card from the smartphone, and the tool would have to successfully guess the password. To then use the password to unlock the smartphone, that attacker would also have to have access to the smartphone.

For stronger protection, users can choose to encrypt the contents of an optional media card, choose the option to encrypt using a device key or the combination of a device key and the device password. See Enforcing encryption of internal and external file systems on BlackBerry devices for more information.

To increase the difficulty of guessing passwords, RIM recommends that users always use strong passwords. A strong password has the following characteristics: includes punctuation marks, numbers, capital and lowercase letters does not include the user name, account name, or any word or phrase that would be easily guessed.

The security of mobile devices and major networked systems is tested by third party security researchers every day. RIM also continually tests the security of its own products, and volunteers its products to recognized industry experts for security testing and certification to help identify possible security vulnerabilities and protect BlackBerry customers against potential security threats.

For information on BlackBerry security, visit http://www.blackberry.com/security.

It gets the point across without getting technical but it could have done more to explain the situation. Essentially if you password is less than 8 characters and you don’t use a device key to encrypt then computers are capable of cracking it if they are given enough time.

Here is a simple to understand breakdown. Say you had a password using 62 possible characters (from the 26 lower case, 26 upper case, 10 digits):

What a device key essentially does is create a 128 bit or 256 bit key that can possibly be combined with your password. That would take current computers ages to crack. The thing is there are some downsides to using a device key and encryption does cost you in terms of performance… So once again it is all up to how paranoid you actually are…

More on BerryReview

Tuesday, October 4, 2011

Russian Hackers Discover The Obvious – Weak BlackBerry Passwords Can Be Brute Forced

 denial

I remember when I was a kid I discovered that those amazing Master Locks could be “Hacked” if you had enough time on your hands to guess passwords. A Russian firm Elcomsoft has made a business model out of doing just that. They perform attacks called “Brute Force Attacks” which essentially means guessing every possible password and just announced that encrypted BlackBerry Media Cards are susceptible to such an attack. I am surprised they did not “discover” this ages ago since it is pretty rudimentary and the most unsophisticated form of “hacking” but they have made it much simpler to perform which is very useful. On the other hand its not really a “run for the hills the sky is falling” issue. The difference is between “Cracking” encryption and simply brute forcing a weak password. Here is why…

Elcomsoft announced (via CIO.com) that their new software can break and recover the password of a BlackBerry through its encrypted memory card. They claim their brute force attacks are achieving 1.8 million passwords per second in wordlist mode, and about 5.9 million passwords per second in bruteforce mode. The way this works is because they are targeting one file info.mkf on the BlackBerry memory card file system which they can replicate exponentially and then try to crack it by guessing passwords over and over. Since it is not attached to BlackBerry hardware and can easily be replicated then eventually you will succeed in brute forcing it. The only limitation is how easy it is to replicate the keyfile.

Encryption options

The thing is this has been a known factor for years in cryptography with practically any password based encryption on a replicate-able file. Especially considering the fact that passwords on mobile phones are usually only 4-6 characters. ElcomSoft learned that the lowest possible encryption option for BlackBerry smartphones “device password” is guessable. If you look at a password brute forcing chart like LockDown.co.uk and examine their class D (10 million password guesses per second) you will see how it breaks down.

A password with mixed lower case, upper case, and numbers (62 possible characters) should take about a second or two to crack a 4 character password since there are only 15 million possible combinations. A 5 character password with 916 million combinations would take a minute and a half. A 6 character password would take an hour and a half. All the way up to an 8 character password which would take 253 days… So in other words if you can keep trying different keys in the lock you will eventually succeed especially with passwords with less than 8 characters.

The thing is for years RIM has provided multiple solutions that alleviate this problem significantly for corporations or users who are that paranoid and are willing to sacrifice usability. Users have the option to encrypt their memory card with either the “Device Password” which is brute force-able or what RIM calls the “Device Key” which would encrypt the data with a cryptographic key that is built into the device. The problem is then that if the device no longer works then the data is as good as gone… It also makes things like USB Mass Storage mode more complicated.

In other words there are options with better security that better stand up against brute force attacks but every defense only protected with a password and no other controls will eventually fail to a brute force attack. RIM offers solutions for government use like two factor authentication with a bluetooth smartcard or simply using the device key to encrypt the media card but what I have seen most paranoid companies do is simply disable backups and mass storage mode and encrypt the media card with both the device key and password.

Alternatively you could try using a stronger password that will stand up to brute force attacks better. For example, a annoying password like B33r&Mug would take Elcomsofts solution about 23 years to crack using the Class D hardware they were recommending though a supercomputer could do it in 83.5 days.

At the end of the day the question is how secure is enough? My friend used to say that the ultimate encryption was to write the information on a piece of paper and burn it and then soak the ashes in bleach… VERY secure but totally impractical. The goal is to find the balance that fits your needs. Hopefully RIM also works on finding a way to beef up their on device encryption options to be harder to brute force with a few tricks. On the other hand additional encryption protection usually leads to slower performance…

PS: If you are interested in this sort of stuff read up on “password entropy” or “Brute Force Search”

More on BerryReview

Comment

Comment