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. :)
darkerreading
50%
50%
darkerreading,
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.
Printers: The Weak Link in Enterprise Security
Kelly Sheridan, Associate Editor, Dark Reading,  10/16/2017
20 Questions to Ask Yourself before Giving a Security Conference Talk
Joshua Goldfarb, Co-founder & Chief Product Officer, IDDRA,  10/16/2017
Why Security Leaders Can't Afford to Be Just 'Left-Brained'
Bill Bradley, SVP, Cyber Engineering and Technical Services, CenturyLink,  10/17/2017
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Security Vulnerabilities: The Next Wave
Just when you thought it was safe, researchers have unveiled a new round of IT security flaws. Is your enterprise ready?
Flash Poll
The State of Ransomware
The State of Ransomware
Ransomware has become one of the most prevalent new cybersecurity threats faced by today's enterprises. This new report from Dark Reading includes feedback from IT and IT security professionals about their organization's ransomware experiences, defense plans, and malware challenges. Find out what they had to say!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-0290
Published: 2017-05-09
NScript in mpengine in Microsoft Malware Protection Engine with Engine Version before 1.1.13704.0, as used in Windows Defender and other products, allows remote attackers to execute arbitrary code or cause a denial of service (type confusion and application crash) via crafted JavaScript code within ...

CVE-2016-10369
Published: 2017-05-08
unixsocket.c in lxterminal through 0.3.0 insecurely uses /tmp for a socket file, allowing a local user to cause a denial of service (preventing terminal launch), or possibly have other impact (bypassing terminal access control).

CVE-2016-8202
Published: 2017-05-08
A privilege escalation vulnerability in Brocade Fibre Channel SAN products running Brocade Fabric OS (FOS) releases earlier than v7.4.1d and v8.0.1b could allow an authenticated attacker to elevate the privileges of user accounts accessing the system via command line interface. With affected version...

CVE-2016-8209
Published: 2017-05-08
Improper checks for unusual or exceptional conditions in Brocade NetIron 05.8.00 and later releases up to and including 06.1.00, when the Management Module is continuously scanned on port 22, may allow attackers to cause a denial of service (crash and reload) of the management module.

CVE-2017-0890
Published: 2017-05-08
Nextcloud Server before 11.0.3 is vulnerable to an inadequate escaping leading to a XSS vulnerability in the search module. To be exploitable a user has to write or paste malicious content into the search dialogue.