Telegram dimisses claim of a flaw in its secure messaging application

Zimperium says Telegram doesn't protect content in memory, but Telegram says it's hard to defend against

Telegram, a messaging application that markets itself as a secure communication tool, doesn't handle encrypted conversations securely, according to the founder of a mobile security company.

Zuk Avraham of Zimperium wrote in a blog post Monday that he found several weak points that allowed him to recover plain text messages.

Avraham didn't try to directly crack messages encrypted by Telegram, which is backed by Pavel Durov, founder of the popular Russian social networking site Vkontakte. Instead, Avraham focused on an alternative attack using a kernel exploit to gain root access on an Android device and then looking at how Telegram handled messages in memory.

Telegram spokesman Markus Ra contends that Avraham's attack is one that no application can defend against.

"If you assume that the attacker has root access -- no app can be secure," Ra said via email. "For example, in order to show anything on the screen, you need to put it [in] the device's memory. An attacker with root access can simply read your device's memory."

System-level vulnerabilities such as the one used by Avraham for his research can only be fixed by an OS manufacturer, Ra said.

Attackers are more likely to try and find an OS-level flaw, which would then allow them to probe apps on the phone, Avraham argued in his post.

For his research, Avraham used a device running an older version of Android, 4.2.2. His attack used an application vulnerability that allows an attacker to gain higher level privilege through the Android kernel exploit, CVE-2014-3153, the so-called TowelRoot exploit.

He then looked at how Telegram stores its "secret chat" communications. Telegram doesn't implement end-to-end encryption on all messages by default. Users must initiate a secret chat to ensure messages are encrypted from the point of creation until they're decrypted on a recipient's device.

Avraham dumped Telegram's process memory and looked for traces of messages he created. He found the words he'd written in Telegram stored in clear text.

"Any attacker that gains access to the device can read the messages without too much effort," Avraham wrote.

Further investigation showed secret chats stored in a file called "cache4.db" in Telegram's "files" folder, he wrote. The supposedly secret messages were also there in clear text.

Avraham then set out to see if he could recover messages that had been deleted. He wrote he was still able to find a deleted conversation in memory.

Telegram was notified by Zimperium of the problems on Jan. 18. Avraham wrote that his company contacted Telegram three times over the next three weeks but received no response.

Zimperium has a policy whereby it will publicize some information related to a vulnerability after 30 days if the affected vendor has not responded.

Send news tips and comments to jeremy_kirk@idg.com. Follow me on Twitter: @jeremy_kirk

Join the Good Gear Guide newsletter!

Error: Please check your email address.

Tags TelegramsecurityencryptionExploits / vulnerabilities

Our Back to Business guide highlights the best products for you to boost your productivity at home, on the road, at the office, or in the classroom.

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Jeremy Kirk

IDG News Service
Show Comments

Most Popular Reviews

Latest News Articles

Resources

PCW Evaluation Team

Azadeh Williams

HP OfficeJet Pro 8730

A smarter way to print for busy small business owners, combining speedy printing with scanning and copying, making it easier to produce high quality documents and images at a touch of a button.

Andrew Grant

HP OfficeJet Pro 8730

I've had a multifunction printer in the office going on 10 years now. It was a neat bit of kit back in the day -- print, copy, scan, fax -- when printing over WiFi felt a bit like magic. It’s seen better days though and an upgrade’s well overdue. This HP OfficeJet Pro 8730 looks like it ticks all the same boxes: print, copy, scan, and fax. (Really? Does anyone fax anything any more? I guess it's good to know the facility’s there, just in case.) Printing over WiFi is more-or- less standard these days.

Ed Dawson

HP OfficeJet Pro 8730

As a freelance writer who is always on the go, I like my technology to be both efficient and effective so I can do my job well. The HP OfficeJet Pro 8730 Inkjet Printer ticks all the boxes in terms of form factor, performance and user interface.

Michael Hargreaves

Windows 10 for Business / Dell XPS 13

I’d happily recommend this touchscreen laptop and Windows 10 as a great way to get serious work done at a desk or on the road.

Aysha Strobbe

Windows 10 / HP Spectre x360

Ultimately, I think the Windows 10 environment is excellent for me as it caters for so many different uses. The inclusion of the Xbox app is also great for when you need some downtime too!

Mark Escubio

Windows 10 / Lenovo Yoga 910

For me, the Xbox Play Anywhere is a great new feature as it allows you to play your current Xbox games with higher resolutions and better graphics without forking out extra cash for another copy. Although available titles are still scarce, but I’m sure it will grow in time.

Featured Content

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?