<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Plesk &#8211; How to debug spam problems</title>
	<atom:link href="http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/</link>
	<description>linux + ruby on rails = love</description>
	<lastBuildDate>Mon, 01 Feb 2010 23:36:48 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: me</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-222</link>
		<dc:creator>me</dc:creator>
		<pubDate>Wed, 26 Aug 2009 13:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-222</guid>
		<description>This blog helped me a lot. Thank you all.
My way:
1. use the open source &#039;iptraf&#039; program to get spammer&#039;s ip. This only works if the spamming is still going on.
2. use &#039;tcpdump&#039; to get a log file. This file can have binary code (like Daniel Valdes said).
3. use &#039;wireshark&#039; to open the log file made by &#039;tcpdump&#039;.
4. you can now study the logfile and see all packages and their details.
5. this will give you a hint about what&#039;s going on...
(in my case it was an insecure php script).
6. delete the buggar (the php script, in my case) and use &#039;qmail-remove&#039; or, even better, &#039;qmhandle&#039; (which is a clever script that doesn&#039;t need install) to delete the qmail queue.
7. good luck
8. and always install all trusted software secury upgrades :-)</description>
		<content:encoded><![CDATA[<p>This blog helped me a lot. Thank you all.<br />
My way:<br />
1. use the open source &#8216;iptraf&#8217; program to get spammer&#8217;s ip. This only works if the spamming is still going on.<br />
2. use &#8216;tcpdump&#8217; to get a log file. This file can have binary code (like Daniel Valdes said).<br />
3. use &#8216;wireshark&#8217; to open the log file made by &#8216;tcpdump&#8217;.<br />
4. you can now study the logfile and see all packages and their details.<br />
5. this will give you a hint about what&#8217;s going on&#8230;<br />
(in my case it was an insecure php script).<br />
6. delete the buggar (the php script, in my case) and use &#8216;qmail-remove&#8217; or, even better, &#8216;qmhandle&#8217; (which is a clever script that doesn&#8217;t need install) to delete the qmail queue.<br />
7. good luck<br />
8. and always install all trusted software secury upgrades <img src='http://www.cherpec.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitalie Cherpec</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-208</link>
		<dc:creator>Vitalie Cherpec</dc:creator>
		<pubDate>Tue, 21 Jul 2009 08:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-208</guid>
		<description>You can use &lt;a href=&quot;http://www.wireshark.org/&quot; rel=&quot;nofollow&quot;&gt;Wireshark&lt;/a&gt; to inspect your tcpdump file.</description>
		<content:encoded><![CDATA[<p>You can use <a href="http://www.wireshark.org/" rel="nofollow">Wireshark</a> to inspect your tcpdump file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Valdes</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-207</link>
		<dc:creator>Daniel Valdes</dc:creator>
		<pubDate>Tue, 21 Jul 2009 01:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-207</guid>
		<description>I didn&#039;t find any accounts because I can&#039;t see the binary information.
How can I see the file in ASCII or save it in ASCII? I tried -A but it didn&#039;t work.
Please, some guy is really giving me a hard time spamming with my server.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t find any accounts because I can&#8217;t see the binary information.<br />
How can I see the file in ASCII or save it in ASCII? I tried -A but it didn&#8217;t work.<br />
Please, some guy is really giving me a hard time spamming with my server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitalie Cherpec</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-201</link>
		<dc:creator>Vitalie Cherpec</dc:creator>
		<pubDate>Mon, 13 Jul 2009 19:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-201</guid>
		<description>If you found the mail accounts with problems then go ahead, change the passwords and see what happens. If you had weak passwords then the problem should be fixed.</description>
		<content:encoded><![CDATA[<p>If you found the mail accounts with problems then go ahead, change the passwords and see what happens. If you had weak passwords then the problem should be fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Valdes</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-199</link>
		<dc:creator>Daniel Valdes</dc:creator>
		<pubDate>Thu, 09 Jul 2009 17:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-199</guid>
		<description>I tried and I see the binary info too.
The problem is that it&#039;s the user and password part:

250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH LOGIN CRAM-MD5 PLAIN
250-STARTTLS
250-PIPELINING
250 8BITMIME
^^VJ&quot;^K^@&gt;^@^@^@&gt;^@^@^@^@^@^L^G^B^@^V^W^@E^@^@$@^@@^FJPE@Nv^@^Y^Ne\CWIP^X^V^C7^@^@250 ok
^^VJ+^K^@V^@^@^@V^@^@^@^@^V^WC^@^Y^C^@E^@^@H?@^@m^FkvE@N^L^@^Y(g
P^X^\s^B^@^@RCPT TO:
^^VJ]h^K^@&lt;^@^@^@&lt;^@^@^@^@^V^WC^@^Y^C^@E^@^@(?@^@m^FvE@N^N^\^@^Y]7ȴ?P^PF^@^@^@^@^@^@^@^@^^VJ{^K^@&gt;
^@^@^@&gt;^@^@^@^@^@^L^G^B^@^V^W^@E^@^@0Y@^@@^F^ZE@Nv^@^Y^Lg
(P^X^V͒^@^@250 ok</description>
		<content:encoded><![CDATA[<p>I tried and I see the binary info too.<br />
The problem is that it&#8217;s the user and password part:</p>
<p>250-AUTH=LOGIN CRAM-MD5 PLAIN<br />
250-AUTH LOGIN CRAM-MD5 PLAIN<br />
250-STARTTLS<br />
250-PIPELINING<br />
250 8BITMIME<br />
^^VJ&#8221;^K^@&gt;^@^@^@&gt;^@^@^@^@^@^L^G^B^@^V^W^@E^@^@$@^@@^FJPE@Nv^@^Y^Ne\CWIP^X^V^C7^@^@250 ok<br />
^^VJ+^K^@V^@^@^@V^@^@^@^@^V^WC^@^Y^C^@E^@^@H?@^@m^FkvE@N^L^@^Y(g<br />
P^X^\s^B^@^@RCPT TO:<br />
^^VJ]h^K^@&lt;^@^@^@&lt;^@^@^@^@^V^WC^@^Y^C^@E^@^@(?@^@m^FvE@N^N^\^@^Y]7ȴ?P^PF^@^@^@^@^@^@^@^@^^VJ{^K^@&gt;<br />
^@^@^@&gt;^@^@^@^@^@^L^G^B^@^V^W^@E^@^@0Y@^@@^F^ZE@Nv^@^Y^Lg<br />
(P^X^V͒^@^@250 ok</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vitalie Cherpec</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-42</link>
		<dc:creator>Vitalie Cherpec</dc:creator>
		<pubDate>Mon, 19 Jan 2009 18:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-42</guid>
		<description>Reading logs and sniffing traffic are both useful :), when the spam is sent by exploiting insecure php scripts (the most common case) you&#039;ll not see too much information in the log files. 

Regarding brute force attacks, password strength verification should be enabled in Plesk as users tends to use weak passwords (Server-&gt;Mail-&gt;Preferences-&gt;Check the passwords for mailboxes in the dictionary).

Another recommendation is &quot;Only use of full POP3/IMAP mail accounts names is allowed&quot; as it will slow down brute force attacks because they should guess the domain too.</description>
		<content:encoded><![CDATA[<p>Reading logs and sniffing traffic are both useful <img src='http://www.cherpec.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , when the spam is sent by exploiting insecure php scripts (the most common case) you&#8217;ll not see too much information in the log files. </p>
<p>Regarding brute force attacks, password strength verification should be enabled in Plesk as users tends to use weak passwords (Server->Mail->Preferences->Check the passwords for mailboxes in the dictionary).</p>
<p>Another recommendation is &#8220;Only use of full POP3/IMAP mail accounts names is allowed&#8221; as it will slow down brute force attacks because they should guess the domain too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MaoP</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-41</link>
		<dc:creator>MaoP</dc:creator>
		<pubDate>Mon, 19 Jan 2009 17:51:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-41</guid>
		<description>I think is better to analize logs instead sniffing network traffic, what if the spammer has stopped sending mail?

we (at work) parse our logs looking for smtp_auth&#039;s strings, so we got thouse used a lot of times in a short period, later we use this query:

$ mysql -uadmin -pPASSWORD psa -e &quot;select mail.mail_name, accounts.password from mail,accounts where mail.account_id=accounts.id and mail.dom_id=(select id from domains where name like &#039;DOMAIN_OF_SMTP_AUTH&#039;);&quot;

and 99% of the cases $DOMAIN_OF_SMTP_AUTH has weak passwords and are used for spamming.

currently i&#039;m working in identify smtp_auth&#039;s brute force attack, do you have some knowledge about it?

great blog! =)

kind regards.</description>
		<content:encoded><![CDATA[<p>I think is better to analize logs instead sniffing network traffic, what if the spammer has stopped sending mail?</p>
<p>we (at work) parse our logs looking for smtp_auth&#8217;s strings, so we got thouse used a lot of times in a short period, later we use this query:</p>
<p>$ mysql -uadmin -pPASSWORD psa -e &#8220;select mail.mail_name, accounts.password from mail,accounts where mail.account_id=accounts.id and mail.dom_id=(select id from domains where name like &#8216;DOMAIN_OF_SMTP_AUTH&#8217;);&#8221;</p>
<p>and 99% of the cases $DOMAIN_OF_SMTP_AUTH has weak passwords and are used for spamming.</p>
<p>currently i&#8217;m working in identify smtp_auth&#8217;s brute force attack, do you have some knowledge about it?</p>
<p>great blog! =)</p>
<p>kind regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L2Machine » Useful links: 12/2008</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-33</link>
		<dc:creator>L2Machine » Useful links: 12/2008</dc:creator>
		<pubDate>Wed, 24 Dec 2008 14:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-33</guid>
		<description>[...] Debug Plesk Spam Problems? [...]</description>
		<content:encoded><![CDATA[<p>[...] Debug Plesk Spam Problems? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-16</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 17 Sep 2008 10:40:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-16</guid>
		<description>You don&#039;t need the binary data, just look at the smtp conversation to find what&#039;s happening there. 

Regarding second problem, maybe you are missing  MIME::Base64 module, install it with:

perl -MCPAN -e &#039;install MIME::Base64&#039;</description>
		<content:encoded><![CDATA[<p>You don&#8217;t need the binary data, just look at the smtp conversation to find what&#8217;s happening there. </p>
<p>Regarding second problem, maybe you are missing  MIME::Base64 module, install it with:</p>
<p>perl -MCPAN -e &#8216;install MIME::Base64&#8242;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ehab</title>
		<link>http://www.cherpec.com/2008/07/plesk-howto-debug-spam-problems/comment-page-1/#comment-15</link>
		<dc:creator>Ehab</dc:creator>
		<pubDate>Wed, 17 Sep 2008 00:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.cherpec.com/?p=14#comment-15</guid>
		<description>When i do the TCP dump the file contains a lot of binary data. less does not filter it, and wireshark is not compatible with it.

also i tried to decode on two separate linuxes with the perl libraries installed and both do not give a result even to thee examples you gave.</description>
		<content:encoded><![CDATA[<p>When i do the TCP dump the file contains a lot of binary data. less does not filter it, and wireshark is not compatible with it.</p>
<p>also i tried to decode on two separate linuxes with the perl libraries installed and both do not give a result even to thee examples you gave.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
