ReadWriteWeb

Twitter Starts Filtering Malicious URLs

Written by Sarah Perez / August 3, 2009 6:22 AM / 20 Comments

One of the most popular activities on the microblogging service Twitter is sharing links. However, this activity is also one of the most dangerous, too. Ever since Twitter gained in popularity, hackers and spammers have been using the service to direct traffic to their unsavory websites. For the end user, clicking on those bad links could result in, at best, an annoyance as they're directed to some spammy website or, at worst, a full-on malware attack on their PC.

Today, it appears that Twitter is starting to do something about the problem. According to security firm f-secure, Twitter is now blocking malicious URLs from being posted to their service.

With the new malicious URL protection built into Twitter, you're no longer able to posts links to known malicious websites. If you try to do so, you'll receive a message reading: "Oops! Your tweet contained a URL to a known malware site!"

Since the company has not made any official announcement about the new protection, it's unknown at this time if Twitter is using a particular service to provide the lookup capabilities for the malicious URL identification or if they are managing this process in-house. If we had to bet, though, we would go with the former. Maintaining a current "block list" for malicious websites would be a major undertaking for the startup. It's more likely they've partnered with a security company of some sort to provide this service or are using a publicly available API, such as Google's Safe Browsing API, which checks URLs against Google's blacklist.

The need for this type of protection on Twitter is more than apparent. As of late, the service has been overrun by those wanting to use it for their own nefarious purposes. Besides just getting their links posted to Twitter itself, hackers have managed to get their malware links into Twitter's trending topics, too. There have also been instances where the Twitter accounts of high-profile users, like Guy Kawasaki for instance, have been hacked and have then been used to push malware links out to their unsuspecting followers.

Good, But Not Good Enough

Unfortunately, there's a major issue with how Twitter is blocking malicious URLs. They're not parsing shortened links. Because of Twitter's 140-character limit, URL-shortening services have become the de facto standard for link sharing on Twitter. This functionality is built into numerous third-party client applications as well as into the Twitter web interface itself. Shortening a malicious link would be by far the easiest way to post a dangerous malware-laden link to Twitter - and likely the method hackers would use anyway. If Twitter does not parse all the shortened links users attempt to post, then they don't really have a good shot at keeping malware links off their service.

Luckily for Twitter end users, the default URL-shortening service, Bit.ly, began warning users of malware last month. Although it still permits users to shorten and post links to malicious sites using Twitter, anyone clicking on the link will receive a message: "Warning - this site has been flagged and may contain unsolicited content. The content of this web page appears to contain spam, or links to unsolicited or undesired sites."

Well, at least that's something.

While we're glad to see Twitter taking steps to make their service a more secure place for sharing links, we hope they'll soon start parsing URLs, too. Otherwise, this new protection won't be that much help in the end.


Comments

Subscribe to comments for this post OR Subscribe to comments for all ReadWriteWeb posts

  1. Well it's a step in the right direction for twitter. Nice post. http://AppUseful.com

    Posted by: NMN | August 3, 2009 7:15 AM



  2. It's about time Twitter did this. Now it's up to the URL shorteners like bit.ly; they need to block malware sites too.

     Posted by: Dennis Jernberg Author Profile Page | August 3, 2009 7:20 AM



  3. What if the spammer uses "nested" shortening. I just shrank a tinyurl in bit.ly. It will make this exercise really tough, how deep can one go to ensure a URL is benign?

    One way would be disable other shortened urls in a shortening service. Though I don't know whether it will have other implications/problems.

    Posted by: Aditya | August 3, 2009 7:33 AM



  4. Some of my own sites unfortunately have been infected with malicious PHP code and as a result been declared malicious URLs by Twitter and Google as well last week. To avoid any more blocking I'm moving them to a new server right now. No fun at all, but it seems to be fastest way to get rid of a Twitter/Google penalty in the moment....

     Posted by: Marcus Author Profile Page | August 3, 2009 9:44 AM



  5. That's good news! Thanks for sharing Sarah!

    Posted by: kelly | August 3, 2009 9:51 AM



  6. If this worked correctly it would be a good thing. The problem is that some links are being wrongly flagged.

    I ran into this the other day. I had just uploaded a page to my website then posted the link on twitter. Seeing the shortened url I clicked it to make sure it still pointed to my page. To my surprise the link was flagged.

    I contacted bit.ly and was told the page showed up as a User Reported spam site. That seems impossible since the page and link post had just been made. There was no time for someone to see the page much less suspect it of any maliciousness. I checked with Stopbadware.org and several other places. Not a single page of my website has been reported for spam, phishing, or any other unscrupulous action. I was told by bit.ly that they unblocked the page but it was again flagged.

    Is my family friendly Christian site being naughty behind my back. Hmmm :) Now the question is how to resolve this. Since no blacklist shows it as being reported I can't request a review. It looks like my reputation is in jeopardy because of a glitch.

    Posted by: Thomas | August 3, 2009 11:39 AM



  7. Had been waiting for this kind of support from Twitter as most of the links masked as very interesting usually turn out to be affiliate sales links.

    Posted by: Team Nirvana | August 4, 2009 1:17 AM



  8. One step ahead. Congratulations! The next step will be checking shortened URLs for malicious links.

    step 3 is adult sites or sites with adult content without malicious software check up. Unfortunately, Twitter will not be able to handle it even checking the shortened links. So spammers will continue messing in Twitter.

    Posted by: URLoo | August 4, 2009 5:17 AM



  9. Given that 80% of Twitter's biggest users access the site through third party apps which use URL shorteners, this won't work unless either/both the apps/shorteners do the same thing; and/or there are checks through the API.

    So this is a smart move but for the majority of us of little direct value.

    Ian Hendry
    CEO, WeCanDo.BIZ
    http://www.wecando.biz

     Posted by: Ian Hendry Author Profile Page | August 4, 2009 7:13 AM



  10. Twitter is like a breath of fresh air on the Social Media scene. I have been on it for just a few weeks now and I have met several interesting people. It is a platform to network with people you would like to meet in real life.

    KZ
    Email Marketing Software

    Posted by: Email Marketing | August 4, 2009 9:31 AM



  11. thank god for this filter. i've received a few malicious urls and i'm glad i had my pop-up blocker on!

     Posted by: Busted Keys Author Profile Page | August 4, 2009 11:46 AM



  12. The twitter colaboration with google and F -secure can be only beneficial for users but precention come with having more eyes open .
    1.First you to look and analyse if the link could be for bad purposes and don t click so easy
    2.Have an antivirus to help you if you make mistakes it s not perfect but no program is perfect Bitdefender 2009 has good rathings in reviews i recommend it .

    Posted by: jonny smith Author Profile Page | August 6, 2009 2:08 AM



  13. Thanks god. Twitter is a great place to meet new people, it shouldn't be misused.

    Posted by: kris | August 6, 2009 2:47 AM



  14. It is certainly a positive thing that Twitter is dealing with URLs which support malicious activities. I didn't know they had started checking bad URLs.

    Posted by: Mr.Choice | August 8, 2009 10:30 PM



  15. It is a bit overdue. Great thing Twitter finally get around to protect its user from this malicious stuff.

    Too bad there are people out there causing trouble. Their talents could have been channeled to constructive use.

    Posted by: Residual | August 10, 2009 8:48 AM



  16. Yes. I noticed. Happened today.

    Posted by: Kenley Neufeld Posted on FriendFeed   | September 2, 2009 9:11 AM



  17. that was an accidental click thru - that's an old old post!

    Posted by: Sarah Perez Posted on FriendFeed   | September 2, 2009 9:13 AM



  18. Nice move by twitter. Good to know that! Should have been done earlier to protect legitimate users. Its a welcome move. Nice post!

    Posted by: web design | December 3, 2009 10:49 PM



  19. Excellent! I had faced the burnt of it. But people who access twitter via url shorteners will face problem. Still this is a welcome change and long overdue!

    Posted by: web development company | December 3, 2009 10:50 PM



  20. late but better than never... twitter should have done this long back....

    Posted by: start freelancing | February 1, 2010 3:52 AM



Leave a comment

Optional: Sign in with Connect Facebook   Sign in with Twitter Twitter   Sign in with OpenID OpenID  |  

If you think Twitter is big, check out the Real-Time Web
RWW SPONSORS



FOLLOW @RWW ON TWITTER

ReadWriteWeb on Facebook
ReadWriteCloud - Sponsored by VMware and Intel



TEXT LINK ADS



RWW PARTNERS