<?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: My blog was defaced yesterday</title>
	<atom:link href="http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/feed" rel="self" type="application/rss+xml" />
	<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday</link>
	<description>Thoughts about the universe in general</description>
	<lastBuildDate>Sun, 20 May 2012 09:51:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19978</generator>
	<item>
		<title>By: Guss</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-96073</link>
		<dc:creator>Guss</dc:creator>
		<pubDate>Tue, 07 Aug 2007 16:39:58 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-96073</guid>
		<description>Avi: I actually had a server that was attacked and an IRC bot installed. It was fairly educational experience ;-)

Leo: Thanks for the offer, I&#039;ll try that. But the problem was not brute forcing the password as I initially thought: check the post update.</description>
		<content:encoded><![CDATA[<p>Avi: I actually had a server that was attacked and an IRC bot installed. It was fairly educational experience <img src='http://geek.co.il/wp/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Leo: Thanks for the offer, I&#8217;ll try that. But the problem was not brute forcing the password as I initially thought: check the post update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-96069</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Tue, 07 Aug 2007 14:43:19 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-96069</guid>
		<description>To minimize risks of actually using FTP at all, you should configure/change to software that will allow you to lock IP / account after number of failed attempts. This will prevent brute forcing your server.</description>
		<content:encoded><![CDATA[<p>To minimize risks of actually using FTP at all, you should configure/change to software that will allow you to lock IP / account after number of failed attempts. This will prevent brute forcing your server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Get Attacked :: Avi Alkalay</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-96068</link>
		<dc:creator>How to Get Attacked :: Avi Alkalay</dc:creator>
		<pubDate>Tue, 07 Aug 2007 14:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-96068</guid>
		<description>[...] noticed Oded&#8217;s blog was attacked which make me remember some [...]</description>
		<content:encoded><![CDATA[<p>[...] noticed Oded&#8217;s blog was attacked which make me remember some [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avi Alkalay</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-96066</link>
		<dc:creator>Avi Alkalay</dc:creator>
		<pubDate>Tue, 07 Aug 2007 14:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-96066</guid>
		<description>I was once invited to analyze a Linux machine that was invaded. I ended up writing an &lt;a href=&quot;http://avi.alkalay.net/2007/02/na-trilha-do-invasor.html&quot; rel=&quot;nofollow&quot;&gt;article about it to the brazilian Linux Magazine&lt;/a&gt;.

The problem with the machine was a VERY weak root password. We could also find the tools they used to break that machine, cause they have installed it to attack other machines.

We could see a file containing about 18000 user+password combinations, a modified SSH client and a script that runs it all based on an IP range.

In our case, the attack was silent. They just wanted to use the machine to attack other machines. Pretty stupid.

It easy to learn about this attacks. Just connect to the Internet a machine with a plain Linux installation and &#039;passw0rd&#039; as the root&#039;s password, wait 1 or 2 weeks and your machine will be attacked. One way to verify the crackers are already in is to reinstall the netstat command (because they&#039;ll modify your previous one) and see if there is some connection to IRC ports (around 6667).

If you investigate this IRC bot you&#039;ll able to connect the IRC server, find the chat room, and actually talk to the cracker. I did this once and was not very funny.

Take care Oded !</description>
		<content:encoded><![CDATA[<p>I was once invited to analyze a Linux machine that was invaded. I ended up writing an <a href="http://avi.alkalay.net/2007/02/na-trilha-do-invasor.html" rel="nofollow">article about it to the brazilian Linux Magazine</a>.</p>
<p>The problem with the machine was a VERY weak root password. We could also find the tools they used to break that machine, cause they have installed it to attack other machines.</p>
<p>We could see a file containing about 18000 user+password combinations, a modified SSH client and a script that runs it all based on an IP range.</p>
<p>In our case, the attack was silent. They just wanted to use the machine to attack other machines. Pretty stupid.</p>
<p>It easy to learn about this attacks. Just connect to the Internet a machine with a plain Linux installation and &#8216;passw0rd&#8217; as the root&#8217;s password, wait 1 or 2 weeks and your machine will be attacked. One way to verify the crackers are already in is to reinstall the netstat command (because they&#8217;ll modify your previous one) and see if there is some connection to IRC ports (around 6667).</p>
<p>If you investigate this IRC bot you&#8217;ll able to connect the IRC server, find the chat room, and actually talk to the cracker. I did this once and was not very funny.</p>
<p>Take care Oded !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guss</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-95891</link>
		<dc:creator>Guss</dc:creator>
		<pubDate>Mon, 06 Aug 2007 23:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-95891</guid>
		<description>I have a checksumming software - I use Mandriva&#039;s msec, but it does not monitor the hosted websites, because files change there all the time (as people updated their websites), so I didn&#039;t get a notification for that. My first clue was Avi&#039;s email that he sent after checking my site and seeing that it was defaced. As the attackers didn&#039;t do anything to my site other then put in an index.html, and as the bookmark I use to go to my site is directly to the blog, there would have been no other way for me to notice the problem.


After I identified the attack vector as the FTP access (I checked SSH and couldn&#039;t find problems, and FTP was next), I looked in the logs for files that were recently uploaded to the compromised accounts, and just removed everything I found. I was lucky because I never use FTP to upload files to the site (only file transfers over SSH) and the second account is not very active - its a commercial website that doesn&#039;t update often, so it was easy to identify malicious files. Once I got the files that were uploaded, I could analyze them - some were harmless HTML files, others were less harmless. The rootkit wasn&#039;t successfully installed - I found the C file for the exploit that was uploaded by the attackers, but the attacker never managed to actually run the exploit.

Anyway - I was too early to rejoice. Apparently I didn&#039;t block entirely enough of the attacker&#039;s usable IP range, and worse - changing the password didn&#039;t prevent them from logging in again, and so my website was targeted again - this time a phishing scam website was uploaded. I now blocked the attackers entire ISP and I need to figure out how they gain FTP access, ASAP.</description>
		<content:encoded><![CDATA[<p>I have a checksumming software &#8211; I use Mandriva&#8217;s msec, but it does not monitor the hosted websites, because files change there all the time (as people updated their websites), so I didn&#8217;t get a notification for that. My first clue was Avi&#8217;s email that he sent after checking my site and seeing that it was defaced. As the attackers didn&#8217;t do anything to my site other then put in an index.html, and as the bookmark I use to go to my site is directly to the blog, there would have been no other way for me to notice the problem.</p>
<p>After I identified the attack vector as the FTP access (I checked SSH and couldn&#8217;t find problems, and FTP was next), I looked in the logs for files that were recently uploaded to the compromised accounts, and just removed everything I found. I was lucky because I never use FTP to upload files to the site (only file transfers over SSH) and the second account is not very active &#8211; its a commercial website that doesn&#8217;t update often, so it was easy to identify malicious files. Once I got the files that were uploaded, I could analyze them &#8211; some were harmless HTML files, others were less harmless. The rootkit wasn&#8217;t successfully installed &#8211; I found the C file for the exploit that was uploaded by the attackers, but the attacker never managed to actually run the exploit.</p>
<p>Anyway &#8211; I was too early to rejoice. Apparently I didn&#8217;t block entirely enough of the attacker&#8217;s usable IP range, and worse &#8211; changing the password didn&#8217;t prevent them from logging in again, and so my website was targeted again &#8211; this time a phishing scam website was uploaded. I now blocked the attackers entire ISP and I need to figure out how they gain FTP access, ASAP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonatan</title>
		<link>http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/comment-page-1#comment-95881</link>
		<dc:creator>Jonatan</dc:creator>
		<pubDate>Mon, 06 Aug 2007 21:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://geek.co.il/wp/2007/08/06/my-blog-was-defaced-yesterday/#comment-95881</guid>
		<description>Hi,
can you explain me who did you detected the modfiled files that uploaded? who did you detected the rootkit? do you have some kind of a checksum software?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
can you explain me who did you detected the modfiled files that uploaded? who did you detected the rootkit? do you have some kind of a checksum software?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

