<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 22 May 2013 01:06:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Greg Freeman: How to Tell if Your PHP Site has been Hacked or Compromised]]></title>
      <guid>http://www.phpdeveloper.org/news/19273</guid>
      <link>http://www.phpdeveloper.org/news/19273</link>
      <description><![CDATA[<p>
In <a href="http://www.gregfreeman.org/2013/how-to-tell-if-your-php-site-has-been-compromised/">this recent post</a> to his site <i>Greg Freeman</i> share some things to check for when you think your PHP site (any kind, even something like WordPress) might have been compromised.
</p>
<blockquote>
A friend of mine recently had their site compromised, they were running an older version of IP.Board that is vulnerable to a local file inclusion vulnerability. This post won't be about IP.Board or any specific php code, it will show you how to locate potential malicious php code hosted on your servers and how to fix it. Finally I will give a brief explanation on what attacker's are uploading to compromised sites.
</blockquote>
<p>Among the things he recommends are tips like:</p>
<ul>
<li>Check your Access Logs
<li>Finding Recently Modified PHP Files
<li>Finding obfuscated code 
<li>Always search your writable upload directories for executable code
<li>Check .htaccess Files if you use Apache
</ul>
<p>
You can find the descriptions for each of these (and some others to watch out for) in <a href="http://www.gregfreeman.org/2013/how-to-tell-if-your-php-site-has-been-compromised/">the full post</a>.
</p>]]></description>
      <pubDate>Tue, 05 Mar 2013 12:54:14 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ars Technica:  Questions abound as malicious phpMyAdmin backdoor found on SourceForge site]]></title>
      <guid>http://www.phpdeveloper.org/news/18521</guid>
      <link>http://www.phpdeveloper.org/news/18521</link>
      <description><![CDATA[<p>
As Ars Technica reports, there was a <a href="http://arstechnica.com/security/2012/09/questions-abound-as-malicious-phpmyadmin-backdoor-found-on-sourceforge-site/">recent exploit</a> found on the SourceForce website's installation of <a href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a> that allowed an attacker to POST anything to the site to be executed.
</p>
<blockquote>
Developers of phpMyAdmin warned users they may be running a malicious version of the open-source software package after discovering backdoor code was snuck into a package being distributed over the widely used SourceForge repository. The backdoor contains code that allows remote attackers to take control of the underlying server running the modified phpMyAdmin, which is a Web-based tool for managing MySQL databases. The PHP script is found in a file named server_sync.php, and it reads PHP code embedded in standard POST Web requests and then executes it. T
</blockquote>
<p>
The backdoor was somehow snuck into the code of phpMyAdmin on one of the mirrors and distributed to those downloading version 3.5.2.2. They think that the only downloads that were tainted with this issue were on the "cdnetworks" mirror site. You can find out more about the issue <a href="http://www.phpmyadmin.net/home_page/security/PMASA-2012-5.php">in this advisory</a> - be sure you check your installation for a "server_sync.php" file and remove it if it exists.
</p>]]></description>
      <pubDate>Wed, 26 Sep 2012 09:45:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Checking your site for malicious changes]]></title>
      <guid>http://www.phpdeveloper.org/news/16693</guid>
      <link>http://www.phpdeveloper.org/news/16693</link>
      <description><![CDATA[<p>
<i>Sameer Borate</i>, in the wake of having security issues with his site, has <a href="http://www.codediesel.com/security/checking-your-site-for-malicious-changes">posted a hint</a> you could use to help detect when something has changed in important files in your application by checking their hash.
</p>
<blockquote>
Today a couple of hours back my site got compromised. Not much changes to the code, but the .htacces was changed and some code [...] was added to the .htaccess file, which redirected the traffic coming from search engines to a malware site. It has now been removed and to prevent any such changes to the .htaccess file in the future, I've written a small php script that compares the hash (SHA1) of the two major files that usually get compromised and compare them to the one originally stored. 
</blockquote>
<p>
It's not a preventative measure by any means, but it can help you keep track of if something's changed. Several issues have popped up in the major blogging engines that allow for changes to be made directly to files. These changes result in the <a href="http://php.net/sha1_file">sha hash</a> to be different and can be used to trigger a security alert. His sample code shows a basic call to <a href="http://php.net/mail">mail</a> an alert, but it could be as complex as you'd like (possibly even logging to a database or the like).
</p>]]></description>
      <pubDate>Tue, 09 Aug 2011 10:04:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Malicious website use will never go away: how do you manage it?]]></title>
      <guid>http://www.phpdeveloper.org/news/16265</guid>
      <link>http://www.phpdeveloper.org/news/16265</link>
      <description><![CDATA[<p>
<i>Chris Jones</i> has a new post to his OTN blog today <a href="http://blogs.oracle.com/opal/2011/04/malicious_website_use_will_nev.html">pointing to two new articles</a> by <i>Eli White</i> about managing malicious website use:
</p>
<blockquote>
The techniques Eli covers will always be applicable in one form or another. They should be a fundamental part of any website architect's bag of tricks.
</blockquote>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/combating-spam-360061.html">first article</a> focuses more on methods for preventing and dealing with the inevitable spamming that comes with running a larger site. <i>Eli</i>'s experience at <a href="http://digg.com">Digg</a> has provided him with recommendations like creating hurdles for spammers to get past and evaluating the content (services like Defensio or Akismet are useful for this).
</p>
<p>
The <a href="http://www.oracle.com/technetwork/articles/dsl/preventing-website-manipulation-366493.html">second article</a> talks about something a bit harder to deal with - when users "game the system" and find the loopholes. His recommendations to combat this sort of abuse include rate limiting, pattern matching and leaving "traps" by tracking user usage.
</p>]]></description>
      <pubDate>Thu, 28 Apr 2011 11:06:43 -0500</pubDate>
    </item>
  </channel>
</rss>
