<?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>Fooling Around &#187; spam</title>
	<atom:link href="http://alax.info/blog/tag/spam/feed" rel="self" type="application/rss+xml" />
	<link>http://alax.info/blog</link>
	<description>// Software Production Line</description>
	<lastBuildDate>Wed, 02 May 2012 15:42:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>An easy tweak with PHPBB forums to avoid automated registration of spambot users</title>
		<link>http://alax.info/blog/906</link>
		<comments>http://alax.info/blog/906#comments</comments>
		<pubDate>Fri, 17 Apr 2009 17:10:54 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[bot]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[OCR]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=906</guid>
		<description><![CDATA[<a href="http://alax.info/blog/906" title="An easy tweak with PHPBB forums to avoid automated registration of spambot users"></a>Spammers  finally reached PHPBB version 3 &#8220;Olympus&#8221; default CAPTCHA automated OCR task in their development schedule and recently started registering bot users passing the provided CAPTCHA confirmation code. Luckily to them, PHPBB3 default CAPTCHA code is ridiculously easy to OCR, &#8230;<p class="read-more"><a href="http://alax.info/blog/906">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/906" title="An easy tweak with PHPBB forums to avoid automated registration of spambot users"></a><p>Spammers  finally reached <a href="http://www.phpbb.com/downloads/olympus.php">PHPBB version 3 &#8220;Olympus&#8221;</a> default <a href="http://en.wikipedia.org/wiki/Captcha">CAPTCHA</a> automated <a href="http://en.wikipedia.org/wiki/Optical_character_recognition">OCR</a> task in their development schedule and recently started registering bot users passing the provided CAPTCHA confirmation code.</p>
<p><img class="alignnone size-full wp-image-907" title="PHPBB3 CAPTCHA Sample" src="http://alax.info/blog/wp-content/uploads/2009/04/17-captcha.jpg" alt="PHPBB3 CAPTCHA Sample" width="320" height="50" /></p>
<p>Luckily to them, PHPBB3 default CAPTCHA code is ridiculously easy to OCR, os basically this was rather expected. It does not however mean that there is no way to effectively stop automated registrations without spending too much time on forum engine update.</p>
<p>Automated registration spider sends HTTP POST with the code it OCR&#8217;red from the image and we can leave the same code querstion in place and just ask the interactive user to type some extra information into input field. For example, it is possible to instruct him/her to type an extra asterisk before the code, so that the following is expected to be typed in: *25K9RGS. This makes the only thing important: to put a proper not for the user so that he/she is aware that he needs this character to be also entered. PHP code update is relatively simple:</p>
<p><strong>includes\ucp\ucp_register.php</strong>, near line 235:</p>
<pre><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #a65700;">&lt;?php</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #696969;">////////////////////////////////</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #696969;">// NOTE: Checking extra asterisk in front of CAPCTCHA code to prevent from automated CAPTCHA readers</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$confirm_code</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$data</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">[</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #0000e6;">'confirm_code'</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">]</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #800080;">;</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$confirm_code</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">(</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #400000;">substr</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">(</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$confirm_code</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">,</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #008c00;">0</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">,</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #008c00;">1</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">)</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #0000e6;">"*"</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">)</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #800080;">?</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #400000;">substr</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">(</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$confirm_code</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">,</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #008c00;">1</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">)</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #800080;">:</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #0000e6;">""</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #800080;">;</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #800000; font-weight: bold;">if</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">(</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #400000;">strcasecmp</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">(</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$row</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">[</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #0000e6;">'code'</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">]</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">,</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;">$confirm_code</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">)</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">=</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #000000;"> </span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #008c00;">0</span><span style="background: #ffffe8 none repeat scroll 0% 0%; color: #808030;">)</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #696969;">// original:</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #696969;">//if (strcasecmp($row['code'], $data['confirm_code']) === 0)</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #696969;">////////////////////////////////</span>
<span style="background: #ffffe8 none repeat scroll 0% 0%; color: #a65700;">?&gt;</span></pre>
<p>then default style (e.g. subsilver2) HTML tempalte needs to have an extra character (9 instead of 8) space in the input field, <strong>styles\subsilver2\template\ucp_register.html</strong>, line 92:</p>
<pre><span style="color: #a65700;">&lt;</span><span style="color: #800000; font-weight: bold;">td</span><span style="color: #274796;"> </span><span style="color: #074726;">class</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"row2"</span><span style="color: #a65700;">&gt;</span><span style="color: #a65700;">&lt;</span><span style="color: #800000; font-weight: bold;">input</span><span style="color: #274796;"> </span><span style="color: #074726;">class</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"post"</span><span style="color: #274796;"> </span><span style="color: #074726;">type</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"text"</span><span style="color: #274796;"> </span><span style="color: #074726;">name</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"confirm_code"</span><span style="color: #274796;"> </span><span style="color: #074726;">size</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"9"</span><span style="color: #274796;"> </span><span style="color: #074726;">maxlength</span><span style="color: #808030;">=</span><span style="color: #0000e6;">"9"</span><span style="color: #274796;"> </span><span style="color: #a65700;">/&gt;</span><span style="color: #a65700;">&lt;/</span><span style="color: #800000; font-weight: bold;">td</span><span style="color: #a65700;">&gt;</span></pre>
<p>And finally the CONFIRM_CODE_EXPLAIN comment needs to be updated to instruct user to type the extra asterisk in <strong>language\en\common.php</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/906/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Messenger service spam</title>
		<link>http://alax.info/blog/386</link>
		<comments>http://alax.info/blog/386#comments</comments>
		<pubDate>Wed, 23 Apr 2008 16:08:04 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://alax.info/blog/?p=386</guid>
		<description><![CDATA[<a href="http://alax.info/blog/386" title="Windows Messenger service spam"></a>This is something fresh: spam using Windows Messenger service:]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/386" title="Windows Messenger service spam"></a><p>This is something fresh: spam using Windows Messenger service:</p>
<p><img class="alignnone size-full wp-image-387" title="23-image001" src="http://alax.info/blog/wp-content/uploads/2008/04/23-image001.png" alt="Spam from SBSSOFT@GMAIL.COM" width="301" height="190" /></p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/386/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Collection Bureau</title>
		<link>http://alax.info/blog/365</link>
		<comments>http://alax.info/blog/365#comments</comments>
		<pubDate>Thu, 27 Mar 2008 18:37:46 +0000</pubDate>
		<dc:creator>Roman</dc:creator>
				<category><![CDATA[Off-topic]]></category>
		<category><![CDATA[junk]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[voicemail]]></category>

		<guid isPermaLink="false">http://alax.info/blog/365</guid>
		<description><![CDATA[<a href="http://alax.info/blog/365" title="Collection Bureau"></a>Someone, maybe Julia Cow (or Crow? whatever), provided my voice mail number as her own and I started receiving messages from so called First National Collection Bureau. It would be quite amusing unless they keep throwing messages on a daily &#8230;<p class="read-more"><a href="http://alax.info/blog/365">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://alax.info/blog/365" title="Collection Bureau"></a><p>Someone, maybe Julia Cow (or Crow? whatever), provided my voice mail number as her own and I started receiving messages from so called First National Collection Bureau. It would be quite amusing unless they keep throwing messages on a daily basis, including 5 second calls with a sexy breath on the other side of the phone line. I am reluctant to give them a long distance call just to try to prove I am not Julia and why would they believe? A quick googling did not show a method to leave them a message via network, so let&#8217;s get ready for more pressing attempts to collect debt.</p>
<p>Update (oh they ARE annoying!):</p>
<ul>
<li><a href="http://answers.yahoo.com/question/index?qid=20080226180811AAIJAoP">How do you block calls from collection agency, meant for someone else?</a> // Yahoo Answers</li>
<li><a href="http://au.answers.yahoo.com/answers2/frontend.php/question?qid=20080226222354AArzonb">How can I stop getting harassing phone calls from a collection agency looking for someone I don&#8217;t know?</a> // Yahoo Answers</li>
<li><a href="https://www.donotcall.gov/default.aspx">US National Do Not Call Registry</a></li>
<li><a href="http://www.privacycorps.com/pages/do-not-call.htm">US National and State Do Not Call Lists</a></li>
</ul>
<p>The good news they provide Caller-ID: <a href="http://www.google.com/search?q=775-322-0444">775-322-0444</a> so it is just easy to trash their calls.</p>
]]></content:encoded>
			<wfw:commentRss>http://alax.info/blog/365/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

