Twitter now blocking bad URLs, but imperfectly

The service doesn't filter URLs that have been shortened using Tinyurl or

Hoping to deal with a growing problem, Twitter has quietly introduced a feature to prevent users from posting links to malicious Web sites. But security experts say that it can be easily circumvented.

The feature was first noticedMonday by Mikko Hypponen, chief research officer with security company F-Secure.

When someone tries to post a link to a malicious Web site, Twitter pops up a short notification saying "Oops! Your tweet contained a URL to a known malware site," and, after a few seconds, deletes the post.

Twitter is using Google's Safe Browsing API to check for malicious links, a Google spokesman confirmed Monday.

F-Secure says it's recommended that Twitter start doing this because the site "is increasingly targeted by worms, spam and account hijacking," according to Hypponen's blog post.

A month ago, technology entrepreneur Guy Kawasaki's account was misused to post a link to a malicious Web site. In recent weeks users have been hit with links to fake, and sometimes malicious, "rogue" security software.

Security experts said Monday that while Twitter's filtering is a good first step, it still needs some work.

In tests, the feature blocked a URL that led to a phishing site, but it allowed the same link to post if it was shortened using services such as or

Because Twitter enforces a strict 140 character limit on each message, these URL shortening services are the most common way of posting links to Twitter.

The filter also permitted the phishing link when the "www" subdomain was stripped from the front of the URL.

Twitter did not return messages seeking comment.

It is not clear whether Twitter is filtering the malicious domains itself or using some other services such as Google's Safe Browsing API.

"This is a common problem with this sort of filtering service," said Chris Boyd, director of malware research with FaceTime Security Labs.

However, even if Twitter isn't blocking malicious URLS when they've been shortened, users still get some protection. That's because some of these URL-shorteners use the Google's API themselves., which is used to post more than half of all Twitter links uses the API to block people from visiting malicious sites, for example.

Boyd said it will probably take Twitter "a while" to get its Web filtering up and running properly, "but even some protection is better than none."

Join the CSO newsletter!

Error: Please check your email address.

Tags securityURLstwitteranti-malwaresocial networks

More about FaceTimeF-SecureGoogle

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Robert McMillan

Latest Videos

  • 150x50

    CSO Webinar: Will your data protection strategy be enough when disaster strikes?

    Speakers: - Paul O’Connor, Engagement leader - Performance Audit Group, Victorian Auditor-General’s Office (VAGO) - Nigel Phair, Managing Director, Centre for Internet Safety - Joshua Stenhouse, Technical Evangelist, Zerto - Anthony Caruana, CSO MC & Moderator

    Play Video

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

More videos

Blog Posts

Market Place