<?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>Tiffany B. Brown &#187; perl</title>
	<atom:link href="http://tiffanybbrown.com/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiffanybbrown.com</link>
	<description>A web log about web development and internet culture with frequent detours into other stuff.</description>
	<lastBuildDate>Fri, 10 Feb 2012 23:35:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Damn &#8230; my VPS is being cracked</title>
		<link>http://tiffanybbrown.com/2007/11/07/damn-my-vps-is-being-cracked/</link>
		<comments>http://tiffanybbrown.com/2007/11/07/damn-my-vps-is-being-cracked/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 19:35:06 +0000</pubDate>
		<dc:creator>tiffany</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[cracking]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[web servers]]></category>

		<guid isPermaLink="false">http://tiffanybbrown.com/2007/11/07/damn-my-vps-is-being-cracked/</guid>
		<description><![CDATA[UPDATE: What appears to have happened &#8230; Yeah, as I type this, I&#8217;m getting hit with an attack. I&#8217;m not precisely sure of the motive. I just know that there are two directories on my server that should not be there and the attack appears to be coming through a specific URL. It&#8217;s been happening [...]]]></description>
			<content:encoded><![CDATA[<p class="editors-note"><b>UPDATE:</b> <a href="http://tiffanybbrown.com/2007/11/09/wp-super-cache-v01-vulnerable-to-injection-vps-crack-update/">What appears to have happened &#8230;</a></p>
<p>Yeah, as I type this, I&#8217;m getting hit with an attack. I&#8217;m not precisely sure of the motive. I just know that there are two directories on my server that <em>should not be there</em> and the attack appears to be coming through a specific URL. It&#8217;s been happening for several days now<del datetime="2007-11-07T22:35:00+00:00">It just started today</del>, according to my server logs, and the attacker is <a href="http://78.90.51.85/html/safeon.txt">using</a> / <a href="http://78.90.51.85/html/test.txt">attempting to use</a> PHP functions that interact with the shell.</p>
<p>He was also able to grab a whole bunch of data about my server as you can see from the above-linked code. I have my suspicions about how it is getting through, but nothing I can prove just yet. I&#8217;m going to look into it and see what I can come up with. </p>
<p>In the meantime, I&#8217;m just going to ask nicely that he (assuming this is a guy) please, <em>please</em> stop, and don&#8217;t mess up any of my stuff while visiting.  </p>
<p>And please take steps to disable certain system-affecting functions in your php.ini file (if you have access). </p>
<p><strong>UPDATE:</strong> This crack appears to involve a <a href="http://www.ossec.net/wiki/index.php/ShellBOT">ShellBOT</a> as well.</p>
<p><strong>UPDATE 2:</strong> ShellBOTs are bad. Apparently they open a connection to an <a href="http://www.networksecurityarchive.org/html/Incidents/2004-10/msg00032.html">IRC server</a> allowing all kinds of nasty things to happen. So hoping nothing serious was compromised.</p>
<p><strong>UPDATE 3:</strong> Interesting to know: when working in the shell, your file name does <em>not</em> need to have the &#8216;proper&#8216; extension that it would on a web server in order to be executed. </p>
<p>Let&#8217;s say you have a plain text file named &#8216;hello.txt.&#8217; It contains one line: <code>&lt;?php echo 'hello world';?&gt;</code>. In order for this file to run as a web page, it would need to have a .php (or whatever is designated in your server configuration file). But as a shell script, it could have just about any name and still be executed by typing &#8216;php hello.txt&#8217; at the command line. </p>
<p>In this case, the attacker grabbed (or attempted to grab) a ShellBOT written in Perl from another server  (file name b.txt) and execute it by sending the &#8216;perl b.txt&#8217; after the wget command. </p>
<p><b>UPDATE 4:</b> I&#8217;m pretty sure my suspicions have been <a href="http://twitter.com/codepo8/statuses/396467782">confirmed</a>. It seems that at least <a href="http://twitter.com/factoryjoe/statuses/396472592">one other person</a> has had an issue with <a href="http://ocaoimh.ie/2007/11/05/wordpress-super-cache-01/">WP Super Cache</a> opening their server to attack. I suspected this early on, and deleted the plugin and its associated files. As an added measure, I disabled those functions that can execute system commands. So far, so good. I can&#8217;t say my server is now <em>secure</em>, but I&#8217;m hoping that hole has been filled. </p>
]]></content:encoded>
			<wfw:commentRss>http://tiffanybbrown.com/2007/11/07/damn-my-vps-is-being-cracked/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

