ESET Analysis
ESET researchers found a zero-day Telegram for Android exploit that permits sending malicious information disguised as movies
22 Jul 2024
•
,
6 min. learn
ESET researchers found a zero-day exploit that targets Telegram for Android, which appeared on the market for an unspecified value in an underground discussion board put up from June 6th, 2024. Utilizing the exploit to abuse a vulnerability that we named EvilVideo, attackers might share malicious Android payloads through Telegram channels, teams, and chat, and make them seem as multimedia information.
We had been capable of find an instance of the exploit, permitting us to research it additional, and report it to Telegram on June 26th, 2024. On July 11th, they launched an replace that fixes the vulnerability in Telegram variations 10.14.5 and above.
Determine 1 is a video demonstration and clarification of the EvilVideo vulnerability.
Determine 1. Rationalization of the EvilVideo vulnerability
Key factors of the blogpost:
- On June 26th, 2024 in an underground discussion board, we discovered an commercial for a zero-day exploit that targets Telegram for Android.
- We named the vulnerability it exploits EvilVideo and reported it to Telegram; their group patched it on July 11th, 2024.
- EvilVideo permits attackers to ship malicious payloads that seem as video information in unpatched Telegram for Android.
- The exploit solely works on Android Telegram variations 10.14.4 and older.
Discovery
We discovered the exploit being marketed on the market on an underground discussion board: see Determine 2.
Within the put up, the vendor exhibits screenshots and a video of testing the exploit in a public Telegram channel. We had been capable of determine the channel in query, with the exploit nonetheless out there. That allowed us to get our arms on the payload and take a look at it ourselves.
Evaluation
Our evaluation of the exploit revealed that it really works on Telegram variations 10.14.4 and older. We speculate that the particular payload is almost definitely crafted utilizing the Telegram API, because it permits builders to add particularly crafted multimedia information to Telegram chats or channels programmatically.
The exploit appears to depend on the menace actor having the ability to create a payload that shows an Android app as a multimedia preview and never as a binary attachment. As soon as shared in chat, the malicious payload seems as a 30-second video (Determine 3).
By default, media information obtained through Telegram are set to obtain mechanically. Which means that customers with the choice enabled will mechanically obtain the malicious payload as soon as they open the dialog the place it was shared. The choice could be disabled manually – in that case, the payload can nonetheless be downloaded by tapping the obtain button within the prime left nook of the shared, obvious video, as is seen in Determine 3.
If the person tries to play the “video”, Telegram shows a message that it’s unable to play it and suggests utilizing an exterior participant (see Determine 4). That is an authentic Telegram warning we discovered within the supply code of the professional Telegram for Android app; it’s not crafted and pushed by the malicious payload.
Nevertheless, if the person faucets the Open button within the displayed message, they are going to be requested to put in a malicious app disguised because the aforementioned exterior participant. As seen in Determine 5, earlier than set up, Telegram will ask the person to allow the set up of unknown apps.
At this level, the malicious app in query has already been downloaded because the obvious video file, however with the .apk extension. Curiously, it’s the nature of the vulnerability that makes the shared file appear to be a video – the precise malicious app was not altered to pose as a multimedia file, which means that the add course of was almost definitely exploited. The malicious app’s set up request could be seen in Determine 6.
Sadly, we had been unable to duplicate the exploit, solely examine and confirm the pattern shared by the vendor.
Telegram Net and Desktop
Regardless that the payload was made solely to focus on Telegram for Android, we nonetheless tried to check its habits on different Telegram shoppers. We examined each the Telegram Net shopper and the Telegram Desktop shopper for Home windows – as anticipated, the exploit didn’t work on both of them.
Within the case of Telegram Net, after we tried enjoying the “video”, the shopper displayed an error message saying to strive opening the video with the desktop app as an alternative (see Determine 7). Downloading the hooked up file manually revealed its identify and extension to be Teating.mp4. Whereas the file itself was really an Android executable binary (APK), Telegram treating it as an MP4 file stopped the exploit from working: to ensure that it to achieve success, the attachment would have needed to have the .apk extension.
A really comparable factor occurred with the Telegram Desktop shopper for Home windows: the downloaded file was named Teating.apk.mp4, so it was as soon as once more an APK binary file with a .mp4 extension. This means that even when an attacker crafted a Home windows executable for use as an alternative of the Android APK, it could nonetheless be handled as a multimedia file and the exploit wouldn’t work.
Menace actor
Whereas we have no idea a lot concerning the menace actor, we managed to search out one other shady service they’re offering primarily based on the Telegram deal with the vendor shared of their discussion board put up. Along with the exploit, they’ve been utilizing the identical underground discussion board to promote an Android cryptor-as-a-service that they declare is absolutely undetectable (FUD) since January 11th, 2024. The discussion board put up could be seen in Determine 8.
Vulnerability report
After discovering the EvilVideo vulnerability on June 26th, 2024, we adopted our coordinated disclosure coverage and reported it to Telegram, however obtained no response on the time. We reported the vulnerability once more on July 4th, and that point, Telegram reached out to us the identical day to substantiate its group was investigating EvilVideo. They fastened the difficulty, delivery model 10.14.5 on July 11th, and knowledgeable us through electronic mail.
The vulnerability affected all variations of Telegram for Android as much as 10.14.4, however has been patched as of model 10.14.5. As we verified, the chat multimedia preview now appropriately shows that the shared file is an utility (Determine 9) and never a video.
Conclusion
We found a zero-day Telegram for Android exploit on the market on an underground discussion board. The vulnerability it exploits permits sending malicious payloads that appear to be multimedia information through Telegram chat. If a person tries to play the obvious video, they are going to obtain a request to put in an exterior app, which really installs the malicious payload. Fortunately, the vulnerability has been fastened as of July 11th, 2024, after we reported it to Telegram.
For any inquiries about our analysis revealed on WeLiveSecurity, please contact us at [email protected]ESET Analysis affords non-public APT intelligence reviews and information feeds. For any inquiries about this service, go to the ESET Menace Intelligence web page.
IoCs
A complete listing of Indicators of Compromise (IoCs) and samples could be present in our GitHub repository.
Recordsdata
SHA-1 |
Filename |
Detection |
Description |
F159886DCF9021F41EAA |
Teating.apk |
Android/Spy.SpyMax.T |
EvilVideo payload. |
Community
IP |
Area |
Internet hosting supplier |
First seen |
Particulars |
183.83.172[.]232 |
infinityhackscharan. |
Administrator Beam Cable System |
2024‑07‑16 |
C&C server of EvilVideo payload. |
MITRE ATT&CK methods
This desk was constructed utilizing model 15 of the MITRE ATT&CK cellular methods.
Tactic |
ID |
Title |
Description |
Preliminary Entry |
Exploitation for Preliminary Entry |
The EvilVideo vulnerability could be abused by Android malware to realize preliminary system entry. |
|
Execution |
Exploitation for Consumer Execution |
The EvilVideo vulnerability methods the sufferer into putting in a malicious app that impersonates a multimedia file. |