Showing posts with label Researcher. Show all posts
Showing posts with label Researcher. Show all posts

Monday, 22 July 2013

Researcher finds major encryption flaw in older mobile SIM cards

Hundreds of millions of mobile handsets using older SIM cards are vulnerable to a flaw that allows attackers to gain complete control over affected handsets, German security expert Karsten Nohl has reported.

What Nohl has spent two years researching could turn out to be the most significant flaw in SIMs in many years when he reveals its full details at a presentation scheduled for the Black Hat security conference at the end of this month.

Nohl's briefings to the media and short website description have so far been light on detail, but the teasers he has been willing to put out sound alarming enough.

According to the Security Research Labs chief scientist, a quarter of 1,000 SIMs tested by his team had proved vulnerable to a weakness in the older DES (Data Encryption Standard) encryption used to secure them.

This made it possible to take control of a handset using a binary SMS text message to upload malware. This piggybacked on the carrier over-the-air (OTA) process through which SIMs are transparently updated via the JavaCard programming interface.

Attackers could use the method to eavesdrop on calls, sent premium text messages, and even in some circumstances, conduct payment fraud.

Only a proportion of the world's handsets used DES in its vulnerable form but this still amounted to 750 million, overwhelmingly older handsets, he said. Not all SIMs using DES seemed to have the flaw, but enough batches to cause major concern.

The size of the issue could define its seriousness with carriers unsure about Nohl's estimates. Most SIMs from recent years would use a different standard, Triple DES (3DES), and be immune to the attack.

The research had been sent to the GSM Association so it could be passed on to carriers, Nohl told media outlets.

"Cards need to use state-of-art cryptography with sufficiently long keys, should not disclose signed plaintexts to attackers, and must implement secure Java virtual machines," he wrote in a blog. "While some cards already come close to this objective, the years needed to replace vulnerable legacy cards warrant supplementary defenses."

Nohl has form when it comes to sniffing out mobile handset issues. Between 2009 and 2011 he publicised a number of security flaws in the GSM standard, most famously in its A5/1 encryption cipher, which could allow call interception between the handset and the network base station.

SIM cards vulnerable to hacking, says researcher

Millions of mobile phones may be vulnerable to spying due to the use of outdated, 1970s-era cryptography, according to new research due to be presented at the Black Hat security conference.

Karsten Nohl, an expert cryptographer with Security Research Labs, has found a way to trick mobile phones into granting access to the device's location, SMS functions and allow changes to a person's voicemail number.

Nohl's research looked at a mobile phones' SIM (Subscriber Identification Module), the small card inserted into a device that ties it to a phone number and authenticates software updates and commands sent over-the-air from an operator.

More than 7 billion SIM cards are in use worldwide. To ensure privacy and security, SIM cards use encryption when communicating with an operator, but the encryption standards use vary widely.

Nohl's research found that many SIMs use a weak encryption standard dating from the 1970s called DES (Data Encryption Standard), according to a preview posted on his company's blog.

DES has long been considered a weak form of encryption, and many mobile operators have upgraded now to more secure forms. It is relatively easy to discover the private key used to sign content encrypted with DES.

In its experiment, Security Research Labs sent a binary code over SMS to a device using a SIM with DES. Since the binary code wasn't properly cryptographically signed, it would not run on the device.

But while rejecting the code, the phone's SIM makes a crucial mistake: it sends back over SMS an error code that carries its own encrypted 56-bit private key, according to the company. Because DES is considered a very weak form of encryption, it's possible to decrypt the private key using known cracking techniques.

Security Research Labs did it in about two minutes on a regular computer with the help of a rainbow table, a mathematical chart that helps convert an encrypted private key or password hash into its original form faster.

With the private DES key in hand, it is then possible to "sign" malicious software updates with the key, and send those updates to the device. The device believes the software comes from a legitimate source and then grants access to sensitive data.

The company outlined an attack scenario against SIM cards that run some form of Java virtual machine, a software framework for Java applications.

Using the SIM's private key, an attacker could force the SIM to download Java applets, which are essentially very small programs that perform some function. Those applets would be "allowed to send SMS, change voicemail numbers, and query the phone location, among many other predefined functions."

"These capabilities alone provide plenty of potential for abuse," the company wrote.

Possible remedies to the problem including ensuring SIM cards use state-of-the-art cryptography and also using Java virtual machines that restrict applets' access to certain information.

Nohl's presentation, "Rooting SIM cards," will take place at the Black Hat security conference in Las Vegas on July 31.

Thursday, 27 June 2013

Researcher nets $20K for finding serious Facebook flaw

A U.K.-based researcher has netted US$20,000 for spotting a very serious flaw in Facebook that could have allowed an attacker to take over anyone's account with minimal effort.

The flaw was fixed by Facebook about a month ago, wrote Jack Whitten, an application security engineer who posted a post-mortem on his blog.

Whitten found it was possible to reset the password of anyone's account by exploiting an error in how Facebook lets users link their mobile phone to their account for purposes such as receiving updates over SMS.

Facebook sends a verification code by SMS when a user registers a phone. But Whitten found it was possible to modify the "profile_id" field within the mobile confirmation form to that of a different user.

Facebook then asks for a password but not the one of the potential victim, Whitten wrote. The account of the victim is then inadvertently linked with the attacker.

Whitten then initiated a password reset on the victim's account. The code needed to reset that password was sent to Whitten's phone, along with a link to a password reset page.

"We enter this code into the form, choose a new password, and we're done. The account is ours," Whitten wrote.

A flaw such as the one found by Whitten would have had value among cyberattackers seeking to abuse Facebook accounts for spam or for the theft of personal data.

"The bounty assigned to this bug was $20,000, clearly demonstrating the severity of the issue," he wrote.

Whitten, who goes by the screen name "fin1te," has been recognized for finding vulnerabilities by Google, Facebook and Etsy.