Heres Why Twitter Sends You To A Different Site Than What You Clicked

Twitter

Users of the social media platform X (formerly Twitter) have often been left puzzled when they click on a post with an external link but arrive at an entirely unexpected website from the one displayed in the post.

A Twitter ad spotted below by a security researcher shows forbes.com as its destination but instead takes you to a Telegram account purportedly promoting crypto scams.

Don’t trust link previews on X

Security researcher Will Dormann spotted a Twitter post with a link to “forbes.com.”

The post from a verified account, when seen by the researcher, was being promoted as an ad on the platform too:

Twitter post with the Forbes link
X/Twitter post showing a ‘Forbes.com’ link
(BleepingComputer)

Clicking on the link in a web browser, however, would instead redirect a majority of the users to a “Crypto with Harry” Telegram account, which appears to offer dubious cryptocurrency advice:

Telegram account the link redirects to
Telegram account that the link sends users to
(BleepingComputer)

Why does this happen?

While external link previews should ideally show the first immediate domain a link takes you to when you click on it, X does the opposite.

The social media platform tries to determine (albeit unsuccessfully) the ultimate destination where a URL takes you and shows that as the website name, in a post.

The post in question, is actually, first taking users to a website called joinchannelnow[.]net which has been operational since January 29th this year (and surprise, registered on Namecheap).

Unlike X, Google Chrome shows you this (first) destination when you hover over the link:

Chrome vs Twitter URL preview
Chrome vs. Twitter URL preview for the same link
(BleepingComputer)

Once a user arrives at joinchannelnow[.]net, its server determines whether a request originates from a web browser or a bot—such as Twitter’s, being used to generate link previews.

It does so by checking the User-Agent HTTP header within an incoming request.

If a request is coming from a web browser, meaning most likely a human clicked on the link, joinchannelnow happily and sneakily redirects the user to the Telegram account shown above.

Otherwise, when it suspects that a bot or an automated tool is in use to trace where joinchannelnow ultimately redirects to, it redirects the request to a legitimate forbes.com article:

URL accessed from a bot redirects to forbes.com
URL accessed from a bot redirects to forbes.com
(BleepingComputer via Wheregoes.com)

This is how X can be fooled into showing a website name in a post (or worse, an ad) which is completely different from where users would be arriving.

The flaw is especially problematic on X mobile apps as, unlike in a Desktop web browser where one could easily hover over the link to see where it’s taking them, that functionality (i.e. a status bar) is completely absent on mobile.

That means users will only see “forbes.com” on the app and, after tapping the preview, immediately arrive at the Telegram account in question.

Twitter Android app showing the same post
The same post displayed in the Twitter Android app (BleepingComputer)

The slick trick can be abused by all kinds of adversaries, from crypto scammers to those pushing malware, trojanized app installs, phishing, and spam services to prey on unsuspecting users.

Reddit posts seen by BleepingComputer imply that this flaw has been known to and exploited by threat actors for quite some time.

Suffice to say, it’s best not to click on external links in Twitter posts and ads without hovering over them and paying close attention to the URL shown in your browser’s status bar. On mobile devices, it’s safest to not tap on posts with links at all.


Original Source


A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on “Patreon” or “Buy Me A Coffee” using the buttons below

To keep up to date follow us on the below channels.