Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

11/7/2013
02:53 PM
50%
50%

WhatsApp Security To Be Spotlighted At Black Hat Regional Conference

A researcher offers up a way to increase security for users of the WhatsApp messenger service

Usually, the talks at Black Hat are more likely to revolve around compromising security and privacy. At the Black Hat Regional Summit in Brazil later this month, however, one researcher will take the opposite tack and look to add new layers of security to protect users of the WhatsApp messenger service.

WhatsApp is a cross-platform instant messaging service for Google Android, BlackBerry, Apple iOS, Nokia Series 40, Symbian S60, and Microsoft Windows Phone. Besides text messaging, users can send each other images, video, and audio messages. But the question that bugged security researcher Jaime Sanchez is just how safe messaging can be in an age of government monitoring.

WhatsApp's security has taken hits before in regard to privacy and security. For example, the company was criticized by some for using International Mobile Equipment Identity (IMEI) numbers, a situation the company has reportedly fixed. Last month, a Dutch researcher reported the company uses the same cipher stream for outgoing and incoming messages. At the time, the company criticized the report, calling an attack on the issue "theoretical."

WhatsApp did not respond to a request for comment before publication. For Sanchez, the main objective of his research was to ensure the exchange of messages can happen in a way that could not be affected by an external hacker.

"The first layer of security involves adding secure encryption to the client," Sanchez says. "If an attacker intercepts the messages, or any governments try to intercept our messages at WhatsApp's server, they won't find any legible information. Only recipients that know the password and algorithm chosen will be able to decrypt the original message.

"In the second layer, we give a certain level of anonymity to the conversation by using fake/anonymous accounts and intermediate communication nodes. We ensure that there is no direct communication between the mobile phone and the server."

The final piece of the puzzle involves modifying the inner workings of the application, routing all traffic and messages to Sanchez's own XMPP server, and only using the original WhatsApp servers to send fake data.

"We analyze every message we send and proceed to decipher the message using the custom encryption algorithm," he says. "Then we extract the plaintext message to send it to the XMPP server with this data: < recipient > ? < whatsapp_message_ id > ? < message > . The program will replace every character in the original text with our wildcard character, so the original message will never pass through WhatsApp's servers."

This step is necessary or the destination will reject its messages, he adds.

Finally, the recipient receives a message full of wildcard characters, queries the XMPP server, and replaces it with the original text, he says.

Though the research was started with a rooted Google Android device, it was discovered that the techniques could work for all platforms. The advantage of using a rooted Android is that software can be ported over to work natively inside the Android phone, while using other platforms requires an external device to make the real-time modifications, he explains.

"We wanted to protect all of our rights and liberties, so we developed this technique to be used in a manner completely transparent for the users and completely customizable," he adds. "The main impact on society is providing a way to prevent prying eyes of governments and private corporations from analyzing our data and exchange of information for their own benefit.

"It can be adapted to add new layers of security/privacy to Instant Messaging systems widely used on mobile devices. The process will involve anonymizing and encrypting the data [text, pictures, videos, etc.] exchanged between users so that when they reach an application's servers, they won't be in 'plain text' and will only be legible for the people inside the conversation."

Sanchez's presentation is scheduled for Nov. 27.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

*A previous version of the story misspelled the researcher's name. Brian Prince is a freelance writer for a number of IT security-focused publications. Prior to becoming a freelance reporter, he worked at eWEEK for five years covering not only security, but also a variety of other subjects in the tech industry. Before that, he worked as a ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
anon3179375368
50%
50%
anon3179375368,
User Rank: Apprentice
4/14/2015 | 2:54:33 PM
Pending Review
This comment is waiting for review by our moderators.
anon0850402881
50%
50%
anon0850402881,
User Rank: Apprentice
7/17/2014 | 3:58:43 AM
apy app
these kind of mobile spy apps could monitor messages.
I have used Mobile Spy to spy my boyfriend's phone to find the truth. Unlucky, he did do it.

Bprince
50%
50%
Bprince,
User Rank: Ninja
11/12/2013 | 2:27:34 PM
re: WhatsApp Security To Be Spotlighted At Black Hat Regional Conference
Sorry about that. Typo. Will be fixed shortly. :)
li'l ciso
50%
50%
li'l ciso,
User Rank: Strategist
11/12/2013 | 9:57:01 AM
re: WhatsApp Security To Be Spotlighted At Black Hat Regional Conference
You misspelled the researcher's name! It's J-A-I-M-E, not Jamie. Swap the M and the I. Please! :)

His name is in Spanish. So, it's hai-meh, not jay-mee.
Guest
50%
50%
Guest,
User Rank: Apprentice
11/8/2013 | 9:13:10 AM
re: WhatsApp Security To Be Spotlighted At Black Hat Regional Conference
Thanks for the great article! I'll publish all the info, source code and some tutorials of my talk at Back Hat Sao Paulo. You can follow my twitter account @segofensiva to stay updated.
Aviation Faces Increasing Cybersecurity Scrutiny
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/22/2019
Microsoft Tops Phishers' Favorite Brands as Facebook Spikes
Kelly Sheridan, Staff Editor, Dark Reading,  8/22/2019
MoviePass Leaves Credit Card Numbers, Personal Data Exposed Online
Kelly Sheridan, Staff Editor, Dark Reading,  8/21/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
The State of IT Operations and Cybersecurity Operations
The State of IT Operations and Cybersecurity Operations
Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2016-6154
PUBLISHED: 2019-08-23
The authentication applet in Watchguard Fireware 11.11 Operating System has reflected XSS (this can also cause an open redirect).
CVE-2019-5594
PUBLISHED: 2019-08-23
An Improper Neutralization of Input During Web Page Generation (&quot;Cross-site Scripting&quot;) in Fortinet FortiNAC 8.3.0 to 8.3.6 and 8.5.0 admin webUI may allow an unauthenticated attacker to perform a reflected XSS attack via the search field in the webUI.
CVE-2019-6695
PUBLISHED: 2019-08-23
Lack of root file system integrity checking in Fortinet FortiManager VM application images of all versions below 6.2.1 may allow an attacker to implant third-party programs by recreating the image through specific methods.
CVE-2019-12400
PUBLISHED: 2019-08-23
In version 2.0.3 Apache Santuario XML Security for Java, a caching mechanism was introduced to speed up creating new XML documents using a static pool of DocumentBuilders. However, if some untrusted code can register a malicious implementation with the thread context class loader first, then this im...
CVE-2019-15092
PUBLISHED: 2019-08-23
The webtoffee &quot;WordPress Users &amp; WooCommerce Customers Import Export&quot; plugin 1.3.0 for WordPress allows CSV injection in the user_url, display_name, first_name, and last_name columns in an exported CSV file created by the WF_CustomerImpExpCsv_Exporter class.