<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Praetorian Prefect &#187; captcha</title>
	<atom:link href="http://praetorianprefect.com/archives/tag/captcha/feed/" rel="self" type="application/rss+xml" />
	<link>http://praetorianprefect.com</link>
	<description>Information security, a little slower...a little deeper</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:38:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ROFL this you on here? The latest Twitter Worm</title>
		<link>http://praetorianprefect.com/archives/2009/09/rofl-this-you-on-here-the-latest-twitter-worm/</link>
		<comments>http://praetorianprefect.com/archives/2009/09/rofl-this-you-on-here-the-latest-twitter-worm/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 08:25:29 +0000</pubDate>
		<dc:creator>Prefect</dc:creator>
				<category><![CDATA[Phishing]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Social Networking]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[china]]></category>
		<category><![CDATA[money mule]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://praetorianprefect.com/?p=484</guid>
		<description><![CDATA[At 2pm on Wednesday 9/24, wide scale reports started showing up on Twitter that a new Twitter worm sends you a direct message with the content “rofl this you on here? http://videos.twitter.secure-logins01.com”.  The link opens a Twitter style log in page (albeit Twitter’s previous version of this page, they have a new one) which, except for being an old version and a stray angle bracket is convincing.  Upon logging in the user’s credentials are stolen, and presumably direct messages are sent to each follower that user has.]]></description>
			<content:encoded><![CDATA[<p>At 2pm on Wednesday 9/24, wide scale reports started showing up on Twitter that a new Twitter worm sends you a direct message with the content “rofl this you on here? http://videos.twitter.secure-logins01.com”.  The link opens a Twitter style log in page (albeit Twitter’s previous version of this page, they have a new one) which, except for being an old version and a stray angle bracket is convincing.  Upon logging in the user’s credentials are stolen, and presumably direct messages are sent to each follower that user has.</p>

<div id="attachment_488" class="wp-caption alignleft" style="width: 160px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/twitter_spoofedhomepage1.gif"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/twitter_spoofedhomepage1-150x150.gif" alt="The phishing site&#039;s Twitter login page." title="The spoofed Twitter homepage" width="150" height="150" class="size-thumbnail wp-image-488" /></a><p class="wp-caption-text">The phishing site's Twitter login page.</p></div>
<div id="attachment_490" class="wp-caption alignleft" style="width: 160px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/twitter_newhomepage.gif"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/twitter_newhomepage-150x150.gif" alt="The real Twitter homepage" title="Twitter&#039;s real homepage" width="150" height="150" class="size-thumbnail wp-image-490" /></a><p class="wp-caption-text">The real Twitter homepage</p></div>

<p>Because direct messages are private it is not possible for anyone but Twitter itself to pinpoint both when the attack began and the original seeding of the attack (whether compromised user accounts, previously set up Spam/bot accounts, or another method.  A number of accounts appear to have been affected; by 5pm TwitScoop (a service that monitors popular Twitter trends) started reporting trending words including “hacked”, “worm”, and “spreading”.  The attack is effective based on two classic principles of social engineering: the message comes from someone you have previously followed (and implicitly trust on some level) and the message appeals to a combination of curiosity and vanity.</p>

<p>On Twitter you can only send a direct message to someone who is following you. Or put another way, only someone whose updates you have previously expressed an interest in and signed up for (followed) can send you one of these messages.  This attack is the Twitter equivalent of e-mail phishing schemes that use an e-mail sent from someone else’s address book, essentially you theoretically know the person already and are more likely to open an e-mail received from them.  Combine the suggestion that this person you know or know of has found a video of you online, a login screen that is familiar, and you end up with a number of compromised Twitter accounts.</p>

<div id="attachment_494" class="wp-caption alignnone" style="width: 365px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/Tweetie.png"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/Tweetie.png" alt="The direct message containing the link to the spoofed Twitter login." title="The Direct Message" width="355" height="118" class="size-full wp-image-494" /></a><p class="wp-caption-text">The direct message containing the link to the spoofed Twitter login.</p></div>

<p>This is far from the first worm Twitter has faced (Koobface, StalkDaily, mikeyy), and is not even the first direct message phishing style attack <a href="http://blog.twitter.com/2009/01/gone-phishing.html">in this style</a>.
While labeled a worm on Twitter, it is not confirmed thus far that this is a self-replicating program, an important part of the definition of a computer worm, it just appears that way. In order to get some understanding of this, Twitter would have to release some analysis of their logging, showing some correlation between a compromised Twitter account, a direct message to a group of parties, and then a subsequent compromise and direct message from within that second group, and so on in the chain.  For now we’ll assume this is the path this attack is taking with the evidence we have noticed thus far. Regardless since everyone is referring to this as a Twitter worm, for the sake of clarity, we’ll continue to call it a worm here and update if proven otherwise.</p>

<p>What happened if you did go ahead and put credentials in the login screen: Fail Whale.</p>

<div id="attachment_1289" class="wp-caption alignleft" style="width: 310px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/twphish.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/twphish-300x222.jpg" alt="If you did some string in for login or password, this is what you get." title="twphish" width="300" height="222" class="size-medium wp-image-1289" /></a><p class="wp-caption-text">If you put some string in for the login or password, this is the response.</p></div>
<br /><br /></p>

<h4>No Newcomer</h4>

<p>The URL in question is hosted in Beijing, China according to GeoIP, the host is listed as Chinanet Yunnan Province Network which is China Telecom&#8217;s (3rd biggest mobile telecom provider in China) internet service.  The e-mail address used in the registration, lixing688@gmail.com, links this up to similar phishing sites for Twitter and MySpace identified in the malwaredomainlist forums back in July. That time around the site url was: secure-login.twitter.verifiylogin.com/twitter/.  MySpace was cloned at rnyspece.com.</p>

<p>Another URL, Faecibook.com, with the same e-mail address for registrar is a phishing site that appears to prey on users in a way very similar to the Twitter attack, posting comments on Facebook such as this: <em>“seen this really bad blog about you? http://www.jdsense.com/search/redirect.php?f=http://blogs.faecibook.com/sessionid?nglnbskuf”</em>.</p>

<p>That e-mail was also used in a series of money transfer agent scams (money mules) with bogus charity phishing web sites (KPEREZHOME, Rodney Lawrence International, Edward White, et. al) all hosted on a <a href="http://www.infoworld.com/d/developer-world/worst-registrar-xin-net-crackdown-requested-194">problematic registrar</a>, the Xin Net Technology Corporation.</p>

<p>A photographer, Warren Henke, <a href="http://www.warrenhenke.com/blogs/rants/glen-hamilton-international-organization">wrote a blog post</a> describing receipt of a phishing e-mail associated with this scam from the Glen Hamilton International Organization.</p>

<p><div id="attachment_506" class="wp-caption alignnone" style="width: 310px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/rodney-lawrence-international.jpg"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/rodney-lawrence-international-300x228.jpg" alt="The phishing site." title="Rodney Lawrence International" width="300" height="228" class="size-medium wp-image-506" /></a><p class="wp-caption-text">The Rodney Lawrence International phishing site.</p></div>

<h4>Something New</h4>

<p>One of the differences with this attack that separates it from previous ones is that in the time since the more famous compromises of January of this year (Barack Obama, Britney Spears, CBS News, Kevin Rose) Twitter has implemented some controls around the login screen, including a CAPTCHA element that shows up after several bad password entries.</p>

<p>CAPTCHA is a program designed to differentiate humans from computers and prevent abuse by bots, automated programs used to generate spam among other things.  It is a contrived acronym standing for Completely Automated Public Turing test to tell Computers and Humans Apart. CAPTCHA has three primary principles: the computer can’t solve it, most humans can, and the tool does not rely on some form of obscurity such as being a new implementation.</p>

<div id="attachment_498" class="wp-caption alignnone" style="width: 310px"><a href="http://praetorianprefect.com/wp-content/uploads/2009/09/capchascreen1.gif"><img src="http://praetorianprefect.com/wp-content/uploads/2009/09/capchascreen1-300x179.gif" alt="reCAPTCHA, a free service that combines CAPTCHA with the digitizing of printed books, newspapers, and old radio shows." title="ReCaptcha" width="300" height="179" class="size-medium wp-image-498" /></a><p class="wp-caption-text">reCAPTCHA, a free service that combines CAPTCHA with the digitizing of printed books, newspapers, and old radio shows.</p></div>

<p>Actually reCAPTCHA is used, a free service that combines CAPTCHA with the digitizing of printed books, newspapers, and old radio shows. When you are translating the image to text, you are acting as a human optical character recognition (OCR) translator. The service was acquired by Google this month.
Circumventions of CAPTCHA have occurred with each step in the method’s evolution, starting in wide use from Yahoo’s EZ-Gimpy program, using roughly the same three step process: pre-processing or removing the background obscurities, segmentation or separating the letters, and classification or identification of each letter.  Segmentation remains the one area where humans outperform computers; however, spammers are achieving some level of success in this area.  Here is a good analysis from WebSense detailing how a service in Russia is achieving a <a href="http://securitylabs.websense.com/content/Blogs/2919.aspx">20% rate in automated breaks</a> of CAPTCHA images.</p>

<p>So CAPTCHA, while not perfect, does help mitigate dictionary brute force password attacks in that it adds another layer of complexity to the authentication process.  Some of the reasons for beating CAPTCHA are to be able to post blog comment spam, create fraudulent accounts such as the e-mail example above, and similar automated completion of web forms designed for human interaction.  In these applications it makes sense: a download of the image, a translation to text, and the comment spam is posted, the e-mail account created, and so forth.  If two or three out of every ten requests is successful, the comment will be posted or new account opened at an acceptable rate.</p>

<p>In a password cracking application, which moves through a number of password possibilities for each id quickly the additional processing combined with a less than perfect translation rate adds a level of complexity likely not used.  With that in mind, how does the bad actor break into Twitter accounts easily?
The answer may lie in the Twitter API, which while limiting the rate of requests still allows for a large request rate upon request.  That is not to suggest that this is definitely what this attacker did, in fact the bad actor in this case may have previously had compromised ids, may have used more conventional spam tactics to get an original seeding of ids, or may have broken into a few early accounts as discussed here.  Only Twitter could potentially have the log access to figure this out.</p>

<p><strong>Related Posts:</strong></p>
<ul>
<li><a href="http://praetorianprefect.com/archives/2010/06/persistent-xss-on-twitter-com/">Persistent XSS on Twitter.com</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/06/iphone-4-ordering-and-session-switching/">iPhone 4 Ordering and Session Switching</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/05/mays-patch-tuesday/">May&#8217;s Patch Tuesday</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/03/3473/">March&#8217;s Patch Tuesday</a></li>
<li><a href="http://praetorianprefect.com/archives/2010/03/press-f1-for-help-pwned/">Press F1 for Help, pwned.</a></li>
</ul><br />
]]></content:encoded>
			<wfw:commentRss>http://praetorianprefect.com/archives/2009/09/rofl-this-you-on-here-the-latest-twitter-worm/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
