<?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>McGrew Security Blog &#187; phishing</title>
	<atom:link href="http://www.mcgrewsecurity.com/category/phishing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcgrewsecurity.com</link>
	<description></description>
	<lastBuildDate>Tue, 27 Jul 2010 20:58:39 +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>Looking at the Crackpal.com Phishing-For-Hire Scheme</title>
		<link>http://www.mcgrewsecurity.com/2009/01/08/looking-at-the-crackpalcom-phishing-for-hire-scheme/</link>
		<comments>http://www.mcgrewsecurity.com/2009/01/08/looking-at-the-crackpalcom-phishing-for-hire-scheme/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 21:50:15 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=255</guid>
		<description><![CDATA[Yesterday, I took a lighthearted look at some of the Google searches people have used to arrive at this site.  I saved one of them for today, however, because it was enough fun to warrant its own post.  That search query is:

crackpal.com review

Well, I suppose I can give that a try.

What is crackpal.com?  It&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p><a title="http://www.mcgrewsecurity.com/2009/01/07/poking-around-my-google-search-referrals/" href="http://www.mcgrewsecurity.com/2009/01/07/poking-around-my-google-search-referrals/" target="_blank">Yesterday</a>, I took a lighthearted look at some of the Google searches people have used to arrive at this site.  I saved one of them for today, however, because it was enough fun to warrant its own post.  That search query is:</p>
<ul>
<li><strong>crackpal.com review</strong></li>
</ul>
<p>Well, I suppose I can give that a try.</p>
<p style="text-align: center;"><img class="aligncenter" title="Crackpal Logo" src="/img/crackpal_logo.jpg" alt="" width="200" height="100" /></p>
<p>What is <a title="http://crackpal.com" href="http://crackpal.com" target="_blank">crackpal.com</a>?  It&#8217;s a service that promises to hack yahoo, hotmail, rediff, and google Email accounts.  Here&#8217;s what their website looks like, if it&#8217;s down by the time you read this:</p>
<p style="text-align: center;"><a href="/img/crackpal01.png"><img class="aligncenter" src="/img/crackpal01_th.png" alt="" width="300" height="281" /></a></p>
<p>You might remember that <a title="http://www.mcgrewsecurity.com/2007/10/26/dissecting-the-crackmailsnet-phishing-for-hire-scheme/" href="http://www.mcgrewsecurity.com/2007/10/26/dissecting-the-crackmailsnet-phishing-for-hire-scheme/" target="_blank">I&#8217;ve looked at a site similar to this in a previous post</a>.  Here&#8217;s how things are supposed to go down, according to their site:</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal02.png" alt="" width="588" height="148" /></p>
<p style="text-align: left;">The proof takes the form of screenshots of inboxes, sample emails, contacts, or other personal information.</p>
<p>I decided to see how this would play out, assuming (correctly) that it would work much like the yourhackers.net scheme described in a previous post.  So, yesterday I filled out their order form, using my own yahoo email account as a target, from another account that I had created that is posing as someone who doesn&#8217;t like me very much:</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal03.png" alt="" width="408" height="507" /></p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal04.png" alt="" width="400" height="208" /></p>
<p>This morning, in the wesleymcgrew@yahoo.com account I had a &#8220;surprise&#8221;!  Yay!</p>
<p style="text-align: center;"><a href="/img/crackpal05.png"><img class="aligncenter" src="/img/crackpal05_th.png" alt="" width="400" height="217" /></a></p>
<p>&#8220;Helo&#8221;?  What am I, an SMTP server?  As you might be able to imagine, I don&#8217;t know anyone named Jonathan Regon, and certainly not well enough to warrant &#8220;Luv and Regards&#8221;.  Let&#8217;s take a look at the link to the phishing site:</p>
<p style="text-align: center;"><a href="/img/crackpal06.png"><img class="aligncenter" src="/img/crackpal06_th.png" alt="" width="400" height="261" /></a></p>
<p>So, obviously the single &#8220;?wesleymcgrew&#8221; parameter sets the username.  If you punch in anything and Submit, you get forwarded along to a real 123greetings card:</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal07.png" alt="" width="349" height="370" /></p>
<p>Cute.</p>
<p>Back to the phishing site, what happens if we take the php filename out of the URL, going straight to the directory?</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal08.png" alt="" width="483" height="374" /></p>
<p>Neat, no directory protection or index.html/php, but not much of interest.  What if we go up a directory?</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal09.png" alt="" width="481" height="374" /></p>
<p>Now this looks more interesting.  What&#8217;s in Y.txt?</p>
<p style="text-align: center;"><img class="aligncenter" src="/img/crackpal10.png" alt="" width="481" height="376" /></p>
<p>The phishing URL sent to me contained the directory name ending in &#8220;1003&#8243;.  That corresponds with the &#8220;1003&#8243; line in Y.txt with the name &#8220;Jonathan Reagan&#8221;.  Sounds like the Jonathan &#8220;Regon&#8221; that emailed me.  These are the names being used in the phishing emails, and  each of the above directories contains links to greeting cards from these names.</p>
<p>The &#8220;/Y/&#8221; here stands for Yahoo.  There are similar directory structures on this site for &#8220;/H/&#8221; (Hotmail) and &#8220;/R/&#8221; (Rediff).  There is no &#8220;/G/&#8221; for Gmail, surprisingly, and no other single-letter directories (tried them all).</p>
<p>Who is 123newgreetings.com?  WHOIS shows all contacts as:</p>
<blockquote>
<pre>Registrant:

    123Greetings.com, Inc.

    Kajaria, Sharad        (greetings123name@yahoo.com)

    1674 Broadway

    Suite 403

    10019

    New York,10019

    US

    Tel. +001.9176036425</pre>
</blockquote>
<p>This is the exact same contact information as on the <strong>real</strong> 123greetings.com, with a different email and phone number.</p>
<p>Crackpal.com&#8217;s WHOIS information is set to its registrant&#8217;s (dynadot.com) private registration-by-proxy name and address.</p>
<p>I have fired off an abuse email to 123newgreetings.com&#8217;s host, <a title="http://eukhost.com" href="http://eukhost.com" target="_blank">eukhost.com</a>, so it may be down soon.  Crackpal.com itself appears to be hosted in China, so I don&#8217;t hold out much hope for that going down. </p>
<p>In conclusion:</p>
<div><img class="aligncenter" src="/img/doakes.gif" alt="" width="300" height="169" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2009/01/08/looking-at-the-crackpalcom-phishing-for-hire-scheme/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Scammer edits Wikipedia entry on Advance fee fraud</title>
		<link>http://www.mcgrewsecurity.com/2008/06/03/scammer-edits-wikipedia-entry-on-advance-fee-fraud/</link>
		<comments>http://www.mcgrewsecurity.com/2008/06/03/scammer-edits-wikipedia-entry-on-advance-fee-fraud/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 14:21:47 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[forensics]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=140</guid>
		<description><![CDATA[Last night, I received a phishing email wanting my university email account information.  Whenever I&#8217;m picking through email headers, or any other kind of network forensics, I find it useful to punch the IP addresses I find into Google.  You can often build a good image of what that particular system or network is used [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, I received a phishing email wanting my university email account information.  Whenever I&#8217;m picking through email headers, or any other kind of network forensics, I find it useful to punch the IP addresses I find into Google.  You can often build a good image of what that particular system or network is used for, by reading abuse reports, exposed log files, logs of Wiki edits, and all sorts of other situations where an IP address might be indexed by a search engine.  </p>
<p>This particular bad-guy IP is a great example of an IP address that has really made its mark on Google, so I&#8217;ll link the results here:</p>
<p>* <a title="http://www.google.com/search?q=%22196.3.61.4%22" href="http://www.google.com/search?q=%22196.3.61.4%22" target="_blank">Google search results for &#8220;196.3.61.4&#8243;</a></p>
<p>Off the eastern coast of Madagascar, there&#8217;s an island called Mauritius.  On this island there&#8217;s the city of Ebene.  In this city, <a title="http://www.flickr.com/photos/austinevan/2384601677/" href="http://www.flickr.com/photos/austinevan/2384601677/" target="_blank">there&#8217;s this building, the &#8220;Cyber Tower&#8221;</a>.  According to Whois, on the third floor of this building, there&#8217;s a computer being used for all sorts of phishing and fraud.  </p>
<p>It would be &#8220;just another scammer&#8221;, but this one has a great sense of humor.  Check out this diff on an edit made from that IP address on the Wikipedia entry for Advance fee fraud:</p>
<p><img src="http://mcgrewsecurity.com/img/fraud_edit.png" alt="" width="583" height="563" /></p>
<p>Very nice.</p>
<p><a title="http://www.flickr.com/photos/austinevan/2384601677/" href="http://www.flickr.com/photos/austinevan/2384601677/"></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/06/03/scammer-edits-wikipedia-entry-on-advance-fee-fraud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>&#8220;Import email addresses&#8221; Considered Harmful</title>
		<link>http://www.mcgrewsecurity.com/2008/03/30/import-email-addresses-considered-harmful/</link>
		<comments>http://www.mcgrewsecurity.com/2008/03/30/import-email-addresses-considered-harmful/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 16:33:30 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[email]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/?p=96</guid>
		<description><![CDATA[I’ve posted about this before, regarding Twitter’s signup process, although Facebook’s signup process is probably the most well-known example.  Now, I see it on Slideshare.  For future reference, when you see this:
 

Please do this:

I’m sure most of my readers can imagine what a bad idea it is to hand their email password over [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve posted about this <a title="http://www.mcgrewsecurity.com/?p=78" href="http://www.mcgrewsecurity.com/?p=78">before</a>, regarding Twitter’s signup process, although Facebook’s signup process is probably the most well-known example.  Now, I see it on <a title="SlideShare" href="http://slideshare.net">Slideshare</a>.  For future reference, when you see this:</p>
<p> </p>
<p style="text-align: center;"><img src="http://www.mcgrewsecurity.com/img/slideshare1.png" alt="SlideShare Fail" width="377" height="208" /></p>
<p style="text-align: left;">Please do this:</p>
<p style="text-align: center;"><img src="http://www.mcgrewsecurity.com/img/slideshare2.png" alt="SlideShare 2" width="248" height="112" /></p>
<p style="text-align: left;">I’m sure most of my readers can imagine what a bad idea it is to hand their email password over to a third party.  What’s more dangerous is that this functionality might become more common.  If every social-networking-site-of-the-week integrates something similar into their signup process (and it is attractive for them), then it will become more natural for users to expect it, making them less likely to question it.  Overall, it makes phishing a lot easier, as now you have a wider choice of sites you can mimic, or you can just make up something completely new.</p>
<p style="text-align: left;">Also, at least in this specific case, the credentials you’re handing over are not going over SSL. Who knows what precautions are being taken on the other side of this web application, where it’s actually signing into your email and harvesting out the information.  You might be carefully using GMail only over SSL for your sessions with it, but there’s no guarantee that SlideShare/Twitter/Facebook will be doing the same.  There’s also no real assurance that your credentials haven’t been cached or stored in some way.</p>
<p style="text-align: left;">You may make yourself out to be a bad Internet citizen if you utilize these features, as well.  I know of at least one case where a user signed up, the site automatically picked up all of his contacts, and immediately spammed out a referral email to every one of them, including mailing lists.  Your friends and other contacts might not like this very much.</p>
<p style="text-align: left;">I think it’s a bad idea, and I hope that it doesn’t become more widespread trend than it already is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2008/03/30/import-email-addresses-considered-harmful/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Dissecting the crackmails.net Phishing-For-Hire Scheme</title>
		<link>http://www.mcgrewsecurity.com/2007/10/26/dissecting-the-crackmailsnet-phishing-for-hire-scheme/</link>
		<comments>http://www.mcgrewsecurity.com/2007/10/26/dissecting-the-crackmailsnet-phishing-for-hire-scheme/#comments</comments>
		<pubDate>Fri, 26 Oct 2007 21:17:12 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[analysis]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=69</guid>
		<description><![CDATA[A week ago on the BinRev forums, a link was posted to a site that advertised the ability of the owners to hack any web-based email account.  The link was to crackmails.net, however the same site was also available at yourhackers.net and hackpasswords.net (and perhaps more).  The cost of this service was $100 [...]]]></description>
			<content:encoded><![CDATA[<p>A week ago on the <a href="http://binrev.com">BinRev</a> forums, a link was posted to a site that advertised the ability of the owners to hack any web-based email account.  The link was to crackmails.net, however the same site was also available at yourhackers.net and hackpasswords.net (and perhaps more).  The cost of this service was $100 per account, and (this is the great part) they would provide proof to you that they had hacked the target account with a screenshot of the inbox.  Only then would you have to pay to receive the .  You probably know what I was thinking when I read this already ;) .</p>
<p>Here&#8217;s what the main page looked like:</p>
<p><a href="/img/crackmails_01.png"><img src="/img/crackmails_01_th.png"></a></p>
<p>I created a new email address on Gmail, with the name of a recent, but inactive, troll on the forums (so there&#8217;d be a few things in Google if they decided to do their research).  Then, I filled out their order form with the information in the screenshot below, asking them to attack my own Gmail account, wesleymcgrew@gmail.com .  I had to give them something that didn&#8217;t look as much like a dummy account.  Besides, it&#8217;s funnier this way.  I had a lot of fun filling out the form asking why they should hack my Gmail account ;) :</p>
<p><a href="/img/crackmails_02.png"><img src="/img/crackmails_02_th.png"></a></p>
<p>A short while later, I received an automated mail confirming my order (very professional!) in my dummy account&#8217;s inbox:</p>
<p><a href="/img/crackmails_03.png"><img src="/img/crackmails_03_th.png"></a></p>
<p>A full day later, I received the following phishing mail in my own Gmail account:</p>
<p><a href="/img/crackmails_04.png"><img src="/img/crackmails_04_th.png"></a></p>
<p><a href="/img/crackmails_05.png"><img src="/img/crackmails_05_th.png"></a></p>
<p>A plaintext copy of this email with full headers is available <a href="/img/crackmails_06_phishing_mail.txt">here</a> for those who love to dig :).  I suppose they got around Gmail&#8217;s filters by being such a small operation.  Does anyone really trust 123greetings-type emails anymore?  I guess they must.  Notice the domain name 123greetings<b>line</b>.com, and the just-for-me unique URL.  I tried modifying the URL, however it seems like they just generate the files as-needed when they receive an order.</p>
<p>Clicking on the link takes you to the phishing site itself:</p>
<p><a href="/img/crackmails_07.png"><img src="/img/crackmails_07_th.png"></a></p>
<p>Here&#8217;s the source for the login form:</p>
<p><a href="/img/crackmails_08.png"><img src="/img/crackmails_08_th.png"></a></p>
<p>For all the domain names they have, and all the web hosts they&#8217;ve been using, they had to resort to using a form mail script and leave the email addresses they use for harvesting out in the open.  Hilarious.</p>
<p>If you&#8217;re a regular reader of this blog, you already know what I like to do with phishing sites (read up <a href="http://www.mcgrewsecurity.com/blog/?p=30">here</a> if you&#8217;re not familiar with the technique I use to set up web bugs for catching phishers unaware).  This one is no exception, so I set up a unique image and page on my site here to use with a web bug.  Then I fill out the form fields with the html needed to try and render the image and link to the unique URL:</p>
<p><a href="/img/crackmails_09.png"><img src="/img/crackmails_09_th.png"></a></p>
<p>Once that was submitted, it actually went through the trouble of redirecting me to the real 123greetings for a nice card:</p>
<p><a href="/img/crackmails_10.png"><img src="/img/crackmails_10_th.png"></a></p>
<p>I set up tail and grep to look for a hit to either of the unique URLs I set up, and a day later I got the hit:</p>
<p>
<blockquote><tt>
<pre>
81.129.180.36 - - [23/Oct/2007:12:23:19 -0400]
"GET /XXXXXXXXXXXXXXX&gt;HAY&lt;/a&#038;gt HTTP/1.1" 404 245
"http://desigubshup.com:2095/horde/imp/message.php?index=245"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1;
.NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506;
InfoPath.2)"</pre>
<p></tt></p></blockquote>
<p>So, here you have the IP address (resolves to one of btcentralplus.com&#8217;s customers), which at a glance didn&#8217;t appear to be running any sort of open proxy, a referral URL revealing where and how they&#8217;re checking their mail (there might be somewhere around 244 other victims, judging from the mail ID), and a nice long user agent string.  Judging by the mangled end of the request, my web bugs didn&#8217;t render very well within IMP, however the phisher was dumb enough to click on the link anyway.  This is the reason I try to put HTML links in along with normal image-based web bugs, and you&#8217;d be amazed at how often this happens.</p>
<p>I sent a couple of emails to them inquiring about the status of my order.  Unfortunately, I haven&#8217;t heard back from them.  As of a day or two ago, the sites they were advertising their services on look like this:</p>
<p><a href="/img/crackmails_11.png"><img src="/img/crackmails_11_th.png"></a></p>
<p>I&#8217;m sure they&#8217;re not very happy about that.  Maybe they&#8217;ll find this post and leave us a comment bringing us up to speed on their situation ;) .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/10/26/dissecting-the-crackmailsnet-phishing-for-hire-scheme/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Flash Redirects on Ebay</title>
		<link>http://www.mcgrewsecurity.com/2007/09/10/flash-redirects-on-ebay/</link>
		<comments>http://www.mcgrewsecurity.com/2007/09/10/flash-redirects-on-ebay/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 19:14:55 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[analysis]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=60</guid>
		<description><![CDATA[Last night, a friend pointed out an auction on Ebay Motors that would automatically redirect you to a phishing site.  It turns out, the auction had a flash movie embedded that performed the redirect.  Here&#8217;s the relevant bit of the auction&#8217;s code:

I haven&#8217;t bothered obfuscating the IP address, so don&#8217;t go poking around [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, a friend pointed out an auction on Ebay Motors that would automatically redirect you to a phishing site.  It turns out, the auction had a flash movie embedded that performed the redirect.  Here&#8217;s the relevant bit of the auction&#8217;s code:</p>
<p><img src="/img/flash_redirect1.png"></p>
<p>I haven&#8217;t bothered obfuscating the IP address, so don&#8217;t go poking around unless you feel like you know what you&#8217;re doing :) .  As a matter of fact, for the sake of folks using <a href="/projects/goosweep">GooSweep</a> to investigate incidents involving this guy, here&#8217;s something for the googlebots to pick up: <b>The IP address 89.34.212.194 is hosting a handful of Ebay Motors phishing sites and flash redirects to those sites.</b>.  </p>
<p>The host is in Romania, and has been around at least long enough to get its phishing sites indexed by Google.  Since there seems to be such a small chance of getting caught and punished for this sort of thing over there, many Romanian attackers are pretty open and carefree about their operations.  I wouldn&#8217;t be surprised to find out that this box is some old PIII under the phisher&#8217;s desk.</p>
<p>Moving on, the flash file itself is pretty interesting.  It&#8217;s only 172 bytes, and as you can see from the screenshot above, it&#8217;s being hosted in a few different places.  It may be an attempt to make sure it fails over if the hosting goes down, but I suspect it may be an attempt to throw careless investigators off track.  Only the center, highlighted link to 89.34.212.194 ever worked since the time this was spotted.  I grabbed the swf, and since it&#8217;s so small, my first instinct was to just take a look at it directly:</p>
<p><img src="/img/flash_redirect2.png"></p>
<p>I don&#8217;t know a lot about flash and I didn&#8217;t have any flash specific tools on my system, but this is pretty straightforward :) .  To make it a bit clearer, I installed flasm (a Flash assembler and dissassembler) out of the Ubuntu repositories and ran it to get the following output:</p>
<p><img src="/img/flash_redirect3.png"></p>
<p>Again, I don&#8217;t know much about Flash, but it&#8217;s obviously not rocket science.  The attacker defines a function that getURL&#8217;s the target, and sets up a call to it in the first frame of the &#8220;movie&#8221;.  It&#8217;s pretty trivial to modify this to redirect anywhere, just change the url and use flasm to recompile.  I tried this out, so here&#8217;s an swf file that&#8217;ll redirect you to my blog ;) :</p>
<p><a href="/img/mcgrewsec_redirect.swf">Sample Flash Redirect (.swf)</a></p>
<p>This is a bad situation for sites like Ebay, with users that demand the ability to have Flash content (such as image galleries, animations, etc.).  It&#8217;s easy for them to patch up ways to redirect and XSS in the auction&#8217;s code itself, but it&#8217;s much more difficult to regulate what goes on in Flash objects brought in from other servers.  It&#8217;s also difficult for Adobe to fix this up in Flash, since I would think that many legitimate sites use the getURL functionality to hop around.  I imagine a solution would require sites to have policies on what functionality is allowed and/or disallowed, that the Flash player would have to parse and honor those policies.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/09/10/flash-redirects-on-ebay/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Yet Again, Phishers Have Bad OpSec</title>
		<link>http://www.mcgrewsecurity.com/2007/05/06/yet-again-phishers-have-bad-opsec/</link>
		<comments>http://www.mcgrewsecurity.com/2007/05/06/yet-again-phishers-have-bad-opsec/#comments</comments>
		<pubDate>Mon, 07 May 2007 00:23:59 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[phishing]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=32</guid>
		<description><![CDATA[The next time you&#8217;re plotting a cunning scheme, be very careful when you&#8217;re doing your homework.  You might wind up tipping your hand prematurely&#8230;

20070505.log:24.117.239.142 - - [05/May/2007:17:51:41 -0400] "GET /blog/?cat=15 HTTP/1.1" 200 5450 "http://www.google.com/search?hl=en&#038;q=How+to+make+a+phishing+site+for+runescape" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"

Apparently, I&#8217;m the first hit on google for runescape phishing site [...]]]></description>
			<content:encoded><![CDATA[<p>The next time you&#8217;re plotting a cunning scheme, be very careful when you&#8217;re doing your homework.  You might wind up tipping your hand prematurely&#8230;</p>
<blockquote><p><tt><br />
20070505.log:24.117.239.142 - - [05/May/2007:17:51:41 -0400] "GET /blog/?cat=15 HTTP/1.1" 200 5450 "http://www.google.com/search?hl=en&#038;q=How+to+make+a+phishing+site+for+runescape" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)"<br />
</tt></p></blockquote>
<p>Apparently, I&#8217;m the first hit on google for runescape phishing site creation, thanks to the <a href="http://www.mcgrewsecurity.com/blog/?p=30">article</a> where I talked about tracking phishers through web bugs.  It&#8217;s already a bad sign for your skills when you have to Google this sort of thing, but it&#8217;s even worse when you wind up at a page like this.  Maybe he should have just viewed from Google&#8217;s cache.</p>
<p>Note that I haven&#8217;t obscured the IP address, so when this kid follows through and winds up in a lot more logs, whoever does the investigation might find this ;) .  Just to make sure it&#8217;s indexed well: <i>24.117.239.142</i> which is <i>24-117-239-142.cpe.cableone.net</i>.  Time stamps and user agents and such are available in the log entry above.  Feel free to contact me if you need any help ;) .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/05/06/yet-again-phishers-have-bad-opsec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploiting Phishers&#8217; Harvesting With Web Bugs</title>
		<link>http://www.mcgrewsecurity.com/2007/04/30/exploiting-phishers-harvesting-with-web-bugs/</link>
		<comments>http://www.mcgrewsecurity.com/2007/04/30/exploiting-phishers-harvesting-with-web-bugs/#comments</comments>
		<pubDate>Mon, 30 Apr 2007 19:35:28 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[analysis]]></category>
		<category><![CDATA[exploitation]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=30</guid>
		<description><![CDATA[I&#8217;ve posted before about how phishers and others that are on the &#8220;other&#8221; side of computer security ironically do not practice very good coding techniques.  To borrow one of Dave Aitel&#8217;s ideas from a few weeks ago, hackers often do not practice very good operational security, since it&#8217;s not a good fit with their [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted before about how phishers and others that are on the &#8220;other&#8221; side of computer security ironically do not practice very good coding techniques.  To borrow one of Dave Aitel&#8217;s ideas from a few weeks ago, hackers often do not practice very good operational security, since it&#8217;s not a good fit with their aggressive nature.  The same idea applies equally well (if not better) to phishers.  Phishing is a numbers-game for those involved, and when the choice in front of the phishers is between secure software and processes, or spending that time pushing out more emails and sites, the phishers will always pick the latter.  It&#8217;s hard for them to justify the additional time, when that time could be spent making more money.</p>
<p>A while back, I came up with and experimented with a technique for gaining more information about phishers&#8217; operations.  The idea is based off of web bugs that are normally used to track users through emails or web site visits.  A classic example of a web bug is an HTML email, containing a reference to 1&#215;1 transparent .GIF file located on the senders&#8217; web server.  If the filename of that image is unique to that email, and the recipient&#8217;s email client renders the HTML and retrieves the image, then the sender can examine their web server logs to see if and when the recipient opened the email.  Not only that, but the web server logs will also indicate the IP address, and possibly some information about the email client or web browser being used.</p>
<p>To apply this to phishing, I simply decided to stuff HTML image tags and links and such into phishing web sites&#8217; forms.  The idea is, if the data is being logged to or emailed to any type of system that renders the HTML, there is the possibility that the phishers will inadvertently retrieve the web bugs along with their data.  At the very least, they may become curious about the URLs showing up in their data and try to see what&#8217;s there.  On a lark, I created unique images and stuffed web bugs and links into a few different phishing sites the morning that I came up with the idea.  I wound up getting hits back for some of them.  So it was a promising idea.</p>
<p>I have passed the idea along to a masters degree student here who is currently working on refining it and collecting larger amounts of data for his thesis.  Along the way, I co-authored a <a href="http://taylorandfrancis.metapress.com/link.asp?id=nx7q222n33317m35">paper</a> with him on the topic.  He&#8217;s working on automating it and such now, however I still play with the idea from time to time.</p>
<p>Last night I received a phishing email that targeted Runescape (an MMORPG) players.  This outside of the norm of what I usually receive, so I figured it would be fun to try baiting it with some web bugs.  I set up a unique-URL image (a small McGrew Security logo, lol), and php redirecting page, and then set about baiting the site.  The following images show the forms on this Runescape phishing site:</p>
<hr />
<p><img src="/img/runescape_1.png"></p>
<hr />
<p><img src="/img/runescape_2.png"> </p>
<hr />
<p>Maybe they didn&#8217;t design that with Firefox in mind.  As I said, phishers can be very sloppy ;) .  At any rate, to stuff the appropriate image and link tags in, we can&#8217;t simply use the stock web browser, as they have the forms set to limit the number of characters input into each field (chances are, their server-side code doesn&#8217;t check these bounds).  We wouldn&#8217;t be able to fit the whole tag and URL into them normally.  There are extensions for firefox that allow you to remove such restrictions in a page, but since I&#8217;ve already covered the Burp Suite proxy in a previous blog entry, I&#8217;ll just use it:</p>
<p><img src="/img/runescape_3.png"></p>
<p>The same technique is applied to the second page&#8217;s worth of forms, alternating between putting an image tag that will render automatically (if all goes well) and links (which a curious phisher might decide to click on).   You then pass it all along through Burp, and sit back and wait, grepping through your web logs for someone accessing those URLs.</p>
<p>About 3 hours later, I had a hit!  </p>
<blockquote><p><tt><br />
82.135.214.208 - - [30/Apr/2007:02:22:25 -0400] "GET /XXXXXXXXXXXXXX HTTP/1.1" 200 2354 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; MEGAUPLOAD 1.0)"<br />
</tt></p></blockquote>
<p>So, from this alone we get a few bits of information:</p>
<ul>
<li>IP Address &#8211; (Where is it?  Is it a proxy?  More on this in a bit, read on!)
<li>Date &#8211; (Response time)
<li>User Agent &#8211; IE 6 on a Windows XP machine.  Apparently they either have a MegaUpload account or have added &#8220;MEGAUPLOAD 1.0&#8243; to their user agent string in order to make MegaUpload think they have an account.  Either way this unique bit makes it more likely that I&#8217;d be able to pick this host out of the logs if it were to come back to this site as another IP address.
</ul>
<p>Back to the IP address, it reverse DNS&#8217;s to &#8220;82-135-214-208.ip.zebra.lt&#8221;, and is in Lithuania.  If you do a google search for the IP address in quotes (a similar technique as what my <a href="http://mcgrewsecurity.com/projects/goosweep/">YaSweep/GooSweep</a> app uses for larger ranges), you&#8217;ll see that it has been used for phishing and spamming in the past.  Project Honeypot has <a href="http://www.projecthoneypot.org/i_31919df98414c5dc89344665b4828329">a very informative page on it</a>.  Looking back at the email that I received originally, it turns out it was sent from the same IP address.  </p>
<p>Poking at the host a bit indicates that it&#8217;s likely a Linux machine, with what appears to be a tcpwrapped proxy.  The Windows user agent coming from a Linux machine also indicates that it is a proxy, and it&#8217;s apparently not an open one.  It&#8217;s a machine that is, one way or another, under the control of the phisher and used to anonymize their actions.  That&#8217;s at least something this attacker did well for themselves to do.  Many phishers view their resulting data on their own computers, unproxied, and will give away their actual workstation&#8217;s IP address, if their procedure is vulnerable to this kind of attack.</p>
<p>So there you have it!  Information gathering on phishers/blackhats.  It&#8217;s a fun concept.  It would be very interesting to extend it to include javascript, and other attacks on the different ways phishing data is processed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/04/30/exploiting-phishers-harvesting-with-web-bugs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Phishers use old stuff too sometimes&#8230;</title>
		<link>http://www.mcgrewsecurity.com/2007/04/11/phishers-use-old-stuff-too-sometimes/</link>
		<comments>http://www.mcgrewsecurity.com/2007/04/11/phishers-use-old-stuff-too-sometimes/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 22:35:29 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[phishing]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=24</guid>
		<description><![CDATA[
Well hello there Andrew.
I&#8217;ve been away from computers for an extended weekend, so I&#8217;m pulling this from some stuff I was looking at late last week.  It&#8217;s amazing how many of these old mailto scripts are still hanging around.  Makes you want to poke around and see if phf is sitting there too.
]]></description>
			<content:encoded><![CDATA[<p><img src="/img/old_phishin.png"></p>
<p>Well hello there Andrew.</p>
<p>I&#8217;ve been away from computers for an extended weekend, so I&#8217;m pulling this from some stuff I was looking at late last week.  It&#8217;s amazing how many of these old mailto scripts are still hanging around.  Makes you want to poke around and see if phf is sitting there too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/04/11/phishers-use-old-stuff-too-sometimes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phishers are bad coders too</title>
		<link>http://www.mcgrewsecurity.com/2007/03/30/phishers-are-bad-coders-too/</link>
		<comments>http://www.mcgrewsecurity.com/2007/03/30/phishers-are-bad-coders-too/#comments</comments>
		<pubDate>Fri, 30 Mar 2007 18:41:42 +0000</pubDate>
		<dc:creator>Wesley McGrew</dc:creator>
				<category><![CDATA[analysis]]></category>
		<category><![CDATA[exploitation]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mcgrewsecurity.com/blog/?p=21</guid>
		<description><![CDATA[Sometimes you just can&#8217;t help yourself but to poke at a phishing site&#8230;


So it isn&#8217;t that impressive, through a POST&#8217;d variable, but it is kinda funny.  It brings up the point that attack tools, exploits, schemes, and systems have vulnerabilities just like &#8220;legitimate&#8221; software.  Just because they&#8217;re in the field of security (on [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you just can&#8217;t help yourself but to poke at a phishing site&#8230;</p>
<p><img src="/codedump/phishingxss.png"></p>
<p><img src="/codedump/phishingxss2.png"></p>
<p>So it isn&#8217;t that impressive, through a POST&#8217;d variable, but it is kinda funny.  It brings up the point that attack tools, exploits, schemes, and systems have vulnerabilities just like &#8220;legitimate&#8221; software.  Just because they&#8217;re in the field of security (on the wrong side) doesn&#8217;t mean they write secure code ;) .</p>
<p>It&#8217;s a situation where there&#8217;s a return-on-investment for the effort put into the creation of, say, a phishing site.  Spending more time making the phishing site more robust doesn&#8217;t make any more people fall for it and doesn&#8217;t bring in more money.  For this reason, that time isn&#8217;t invested.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcgrewsecurity.com/2007/03/30/phishers-are-bad-coders-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
