<?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>CodeGuard Blog</title>
	<atom:link href="http://blog.codeguard.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codeguard.com</link>
	<description>The latest backup news on the web</description>
	<lastBuildDate>Fri, 17 May 2013 19:23:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Mobile Website Design: How We Did It</title>
		<link>http://blog.codeguard.com/mobile-website-design-how-we-did-it/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mobile-website-design-how-we-did-it</link>
		<comments>http://blog.codeguard.com/mobile-website-design-how-we-did-it/#comments</comments>
		<pubDate>Fri, 17 May 2013 16:20:51 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Behind the Scenes]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3350</guid>
		<description><![CDATA[The Mission: Mobile Site! Here at CodeGuard things tend to move pretty quickly. We’re made up of a team of highly driven individuals that like to build things that we know will positively impact our users and build them fast! &#8230; <a href="http://blog.codeguard.com/mobile-website-design-how-we-did-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fmobile-website-design-how-we-did-it%2F&text=Mobile+Website+Design%3A+How+We+Did+It" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fmobile-website-design-how-we-did-it%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h1>The Mission: Mobile Site!</h1>
<p>Here at CodeGuard things tend to move pretty quickly. We’re made up of a team of highly driven individuals that like to build things that we know will positively impact our users and build them fast! We soon realized that not only do we move fast, but our users do too. More and more we realized that we were getting a lot of traffic to our website from mobile devices, and our users were increasingly requesting features that were optimized for mobile (if not built to be on mobile first &#8211; desktop second).</p>
<p>We have been steadily optimizing the CodeGuard website into a responsive design for a while now, but it became clear to us that it was time for a different strategy: A mobile-first design. It’s not that there is anything seriously wrong with a responsive design. RWD (Responsive Web Design) is an increasingly popular way to serve mobile users a version of your site that can fit their devices and allow them to access the same content that they would on a desktop website. There are some major caveats though. When you serve the same exact content to desktop and mobile visitors in the same exact way, regardless of what device they are on, you risk slow load times and giving your mobile users the content that maybe they don’t want to see.</p>
<p>For example, a restaurant may have large images of their food at the top of their desktop website but a user visiting that same website from their phone may not want to be served large images that are slow to load. Maybe all they wanted was to find that one tiny link that says “Directions” so they could get to that restaurant. If you don’t think about what your users want from you out of your mobile experience then you are bound to give them an experience that is unsatisfactory. One needs to think about why users are visiting your site from a mobile device, and here at CodeGuard we set out to find those answers and create a multi-device mobile-first design that best suited our users needs.</p>
<h1>The Timeline/Deadline: Two Weeks?!?!?!?!</h1>
<p>As always, we strive to push ourselves to new limits at CodeGuard. We gave ourselves two weeks to plan, research, ideate, wireframe, design, prototype, develop, test, and launch a completely new mobile homepage for CodeGuard.com &#8211; all while still taking care of the other on-going projects that we had going on at the time.</p>
<h1>The Research/Planning:</h1>
<p>So how did I get the idea to try a mobile-first design? A lot of my inspiration for this project came from one spectacular event I went to in Atlanta called “An Event Apart.”</p>
<p>Not only were the speakers amazing at what they presented on, but the community that showed up was really fun to interact with and meet. I highly recommend that you attend one in your city if you get the chance! It was here that I got a lot of inspiration and ideas for how to re-imagine CodeGuard’s mobile experience. I learned that a mobile-first design where you started from the smallest screen size and worked your way up was the best way ensure that your site would look good on any screen size. I learned that you should let the content decide where the layout “breaks” into a new layout and not the device it is on (which is a great way to make sure your design is device agnostic) and I learned a bunch of creative and inventive ways on how to best optimize your content and layout for these small screen sizes.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/ScreenShot2013-05-10at102155AM_zpsa1fd8f01.png"><img class="alignnone size-full wp-image-3357" alt="Mobile website - An Event Apart" src="http://blog.codeguard.com/wp-content/uploads/2013/05/ScreenShot2013-05-10at102155AM_zpsa1fd8f01.png" width="1024" height="570" /></a></p>
<p>With this newfound inspiration I took to researching good design and development practices. For my design research I sought out to answer the questions: How is navigation typically laid out on mobile websites? Who does it well? What do I like about this mobile website? What do I not like about this other mobile website?</p>
<p>Development planning was a slightly larger task. Because we were going with a mobile-first design this meant that we were going to be creating a separate mobile website &#8211; while still maintaining our desktop website for a time period. I did a lot of research on this topic, and going to An Event Apart helped me reach this decision in the end. The cons involved us supporting two codebases for a short period of time, and figuring out a graceful solution for how we would handle device detection and redirects when they landed on our homepage, but the pros far outweighed the cons in the end. We would be able to start fresh with our content and give our users the content we know they want, instead of just serving them what is the same on the Desktop site. We would also be eliminating a lot of potential “code bloat” by starting over with a new codebase that is purely optimized for mobile from the start, instead of the other way around. It also has the potential to be much faster than our existing website.</p>
<p>In the end we decided to create our mobile homepage as a stand alone static website built on a front-end tool called Middleman while creating our html/css using haml and sass, but I’ll get into more detail on how I developed the site in moment!</p>
<h1>The Wireframing/Designing/Prototyping:</h1>
<p>So to begin, what was our goal with this new mobile homepage? What did we want to accomplish? What do we want our users to see? What do we think they want to see? To answer these questions, we decided in the end that our goal would be to “start a relationship with the mobile user.”</p>
<p>I started sketching wireframes on my whiteboard at home and broke up the homepage into a few sections that I thought would help us achieve this.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/XBDU1em31oCpc31V_pqUnFfUSKKIBnEYutzF8_PloPOpdizwwkDKKb9eSZw8UT6AoddlgOChECfRaY-cQchLoURuy5vkCaPHGb6nMTGw4LERcw1jZsY5QNn2.jpg"><img class="alignnone size-full wp-image-3361" alt="Mobile website - Planning" src="http://blog.codeguard.com/wp-content/uploads/2013/05/XBDU1em31oCpc31V_pqUnFfUSKKIBnEYutzF8_PloPOpdizwwkDKKb9eSZw8UT6AoddlgOChECfRaY-cQchLoURuy5vkCaPHGb6nMTGw4LERcw1jZsY5QNn2.jpg" width="1155" height="2048" /></a></p>
<p>The top section would answer the question that every homepage &#8211; mobile or not &#8211; should answer, “Who are we, and what do we do?” Right away there were some challenges though, because the way our current homepage does this is by having some text and then a large video. While everyone here at CodeGuard loves our homepage video, it takes up a lot of space when translated directly into a small viewport size. Space is already very precious on a mobile website. I tried to keep the navigation and logo area just a small strip at the top of the screen so that it only takes up about 10% of the screen on load, and then the rest of the 90% of the screen can be all content answering the “Who are we, and what do we do?” question.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/OVxOkNXoDdX5tBcqsm6gLtwiBiPSYnIDYndqJGO-2MDLwP4HCbZ8L-hI2f8p1x-qgwlJYrTdKDTVEKrBkSyMMnYHflB5Qdpglpu3tfHLTwXDro_BiYfUQOtT.jpg"><img class="alignnone size-full wp-image-3359" alt="Mobile website - Planning" src="http://blog.codeguard.com/wp-content/uploads/2013/05/OVxOkNXoDdX5tBcqsm6gLtwiBiPSYnIDYndqJGO-2MDLwP4HCbZ8L-hI2f8p1x-qgwlJYrTdKDTVEKrBkSyMMnYHflB5Qdpglpu3tfHLTwXDro_BiYfUQOtT.jpg" width="2048" height="1155" /></a><br />
Our video could have easily taken up all of that 90% though, so I had to think differently about displaying it. The end result is that it is hidden until requested to be watched. This ended up saving us precious bytes as well, since we are not loading it until it is asked for (but I’ll get to speed optimization and other development wizardry later in the post).</p>
<p>The next section would answer the question, “What can we do for you?” I went back and forth with this section on whether I wanted to show a story of how CodeGuard works, or what our three main features were. I decided to go with our three main features (Backup, Monitor, Restore) in the end, hoping that if people liked what we had to say there, they could find out the “behind the scenes” stuff on a different page.</p>
<p>The third main section (one that cannot be seen in my whiteboard sketches because I added it later) is a client testimonial section. We can tell our mobile users all day long about how perfect we think we are for them, and how important our services are (and they are!), but hearing it a second time from a source other than us is always a good thing too!</p>
<p>The final section of our mobile homepage is a section where the user can enter their email address and get a special discount code emailed to them that they can use on any plan. We liked the idea of our mobile users checking out our website from their mobile device, or wherever they may be, but also getting the opportunity to browse our desktop site at a later time. We thought the email would be a great way to remind the user that they visited us, while also giving them a great incentive to try us out!</p>
<p>After deciding on all of this it was time to hit up Photoshop. Below I’ve included a few screenshots of things that I was designing, scraping, re-designing and polishing throughout this phase.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/ThreeScreenView21.png"><img class="alignleft size-full wp-image-3379" alt="ThreeScreenView2" src="http://blog.codeguard.com/wp-content/uploads/2013/05/ThreeScreenView21.png" width="714" height="420" /></a></p>
<h1>The Development/Collaboration:</h1>
<p>Now that I was ready to develop it was time to start playing with my fun new tool Middleman. Middleman is a static site generator that came with a lot of nice features out of the box for those familiar with Ruby (which is what we primarily wield here at CodeGuard). It already had support for haml and sass, which were two tools I’ve come to love here at CodeGuard, and it had a wicked fast server for building your project and compiling your tools into whatever output you needed (html, css, javascript). It also did a lot of neat compression things for you when you start the project/server up so it would keep our site fast. When it came to the client testimonial section of the homepage I had a lot of cool ideas to involve jQuery mobile swipe functionality and other neat touch interactions, but I was fast approaching on my two week deadline. In the end I decided to save some of the more “bells and whistles” type coding for version 2.0 and focus on the nuts and bolts haml and sass coding that needed to be done. For testing the site as I was developing I used a Ruby gem called localtunnel to be able to view the site on my mobile devices and a neat Chrome plugin called OSX Resizer to let me resize my browser window on my laptop smaller than 400px.</p>
<h1>The Testing/Finishing Touches:</h1>
<p>I saved the last two to three days of my two week deadline for testing because I wanted to be as thorough as possible. The most popular mobile browser being used today is Safari, followed by Android default browser, and then Chrome. The fourth most popular was Opera Mini (my personal mobile browser of choice at the moment) but the drop off from Chrome to Opera in use was so severe that it was almost not worth testing for (but I did anyway). The Android default browser had the most issues to work out, mainly around the video functionality and pop-up messages surrounding the form, but overall testing was not nearly as painful as it was when I was doing responsive design testing. This made me believe even stronger that I had done things right this time around, and had approached this project the right way.</p>
<h1>Launch:</h1>
<p>With help from our Director of Engineering Jonathan Manuzak, we were able to solve all server redirect details quickly and get our mobile website out and in front of our eager users. Two weeks went by very quickly, but with all the planning and research that went into this project I was very confident that we were doing things very right. I think that we stayed true to our goal in the end while never forgetting our users in the process. In two weeks we were able to critically think about the content our users want from our homepage and give it to them in a way that is easy to use, fast to access, and fun to interact with. But don’t take my word for it, go see for yourself! Visit <a title="codeguard.com" href="http://codeguard.com">codeguard.com</a> on your mobile device of choice and make sure to let us know what you think!</p>
<p>- Natalie</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/mobile-website-design-how-we-did-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>404 Redirect Hosted Scam Sites: WordPress Impacted</title>
		<link>http://blog.codeguard.com/wordpress-404-redirect-hosted-scam-sites/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-404-redirect-hosted-scam-sites</link>
		<comments>http://blog.codeguard.com/wordpress-404-redirect-hosted-scam-sites/#comments</comments>
		<pubDate>Thu, 09 May 2013 23:20:01 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[ChangeAlerts]]></category>
		<category><![CDATA[Hacked websites]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3265</guid>
		<description><![CDATA[We have reason to believe that a new type of attack &#8211; WordPress 404 Redirect Hosted Scam Sites &#8211; could be impacting millions of WordPress websites. Several weeks ago we posted on a Yahoo! Mail XSS or CSRF attack that hijacked &#8230; <a href="http://blog.codeguard.com/wordpress-404-redirect-hosted-scam-sites/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fwordpress-404-redirect-hosted-scam-sites%2F&text=404+Redirect+Hosted+Scam+Sites%3A+WordPress+Impacted" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fwordpress-404-redirect-hosted-scam-sites%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><p>We have reason to believe that a new type of attack &#8211; WordPress 404 Redirect Hosted Scam Sites &#8211; could be impacting millions of WordPress websites. Several weeks ago we <a title="http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/" href="http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/" target="_blank">posted</a> on a Yahoo! Mail <a title="https://en.wikipedia.org/wiki/Cross-site_scripting" href="https://en.wikipedia.org/wiki/Cross-site_scripting" target="_blank">XSS</a> or <a title="http://en.wikipedia.org/wiki/Cross-site_request_forgery" href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" target="_blank">CSRF</a> <a title="https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)" href="https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)" target="_blank">attack</a> that hijacked Yahoo! Mail accounts and sent emails to address books without the user&#8217;s knowledge. We explained that the emails were just the first step in an elaborate phishing or scam attack. The <strong>crucial second </strong>step, we explained, was the <strong>landing page </strong>on a compromised website that entices the victim.</p>
<p>In attempting to book a dinner reservation, I stumbled across a compromised WordPress Site (3.5) that seems to be a part of the same scam. But this compromise is different, in that any URL input will return the scam <strong>landing page. </strong>We think that this type of website compromise &#8211; the 404 Redirect Hosted Scam Page may be related to the <a title="http://techcrunch.com/2013/04/12/hackers-point-large-botnet-at-wordpress-sites-to-steal-admin-passwords-and-gain-server-access/" href="http://techcrunch.com/2013/04/12/hackers-point-large-botnet-at-wordpress-sites-to-steal-admin-passwords-and-gain-server-access/" target="_blank">WordPress Brute Force</a> attacks from mid-April. A WordPress site with compromised credentials could be violated at any point in time, and the website owner would not know it.</p>
<p><span style="color: #444444;">The worst type of web compromise, or any compromise, is one that you don&#8217;t know is occurring. If you are not aware of the compromise, you will not take steps to end it. There is no site scanning system on the market that is catching these hacks. <em><strong>I will repeat this as it is important</strong></em>. McAfee SiteAdvisor, Symantec&#8217;s Safe Web, and Google Safe Browsing do not detect and will not help you. You will not know if your site has been compromised. Slightly disconcerting?</span></p>
<h2>Why should you care?</h2>
<p>This is important because if you own a website, you are responsible for how it is being used or abused. You are liable for the business asset that is your website. Your website is intended to help your business in some manner, or perhaps it is your personal space on the interwebs to blog and share with the world. Either way, your website could be a part of scam. Right now. Just like a high-end Atlantan restaurant that is redirecting customers to weight loss pills.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/Topflr_3.png"><img class="alignnone  wp-image-3316" style="border: 1px solid gray;" alt="WordPress 404 Redirect Hosted Scam Sites - Top Floor Restaurant Website" src="http://blog.codeguard.com/wp-content/uploads/2013/05/Topflr_3.png" width="691" height="517" /></a></p>
<p>But the site is fine if I view it and don&#8217;t see anything weird, right? Maybe not. Look at what happens if we add anything to the URL that directs us to a page not explicitly defined by the webserver (meaning the page isn&#8217;t there). Normally, we would expect to see a 404 page stating that the page we are looking for can&#8217;t be found. When we do the same thing with topflr.com, and enter &#8220;www.topflr.com/test&#8221; the following screenshot is what is returned. Notice that the title of the page has changed to &#8220;ConsumerLifestyles&#8221; and the content looks <strong>completely </strong>foreign and irrelevant to fine dining in Atlanta.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/RedirectPage_2.png"><img class="alignnone  wp-image-3317" style="border: 1px solid gray;" alt="WordPress 404 Redirect Hosted Scam Sites - Compromised Website Page" src="http://blog.codeguard.com/wp-content/uploads/2013/05/RedirectPage_2.png" width="691" height="595" /></a></p>
<p>Look carefully at the URL &#8211; &#8220;http://topflr.com/test&#8221;. Hmmmmm. What&#8217;s happened? What has happened is that someone has taken advantage of a highly profitable corner of the internet &#8211; URL typos and missing pages. John Biggs explains best, referring to the outcry when Network Solutions attempted to monetize these pages circa 2004:</p>
<blockquote><p>&#8220;These DNS servers are absolutely vital to the Internet. When Network Solutions, the arbiters of US websites, changed the nature of DNS translations by adding a &#8216;search page&#8217; when users typed in incorrect addresses, the tech world protested loudly. This simple change destroyed hundreds of hours of work in the community and commercialized the Internet to a degree that made many gurus uncomfortable. Network Solutions quickly removed the search page, meaning that visitors who typed the URL www. groosble. com by mistake will get an error instead of a Network Solutions-sponsored web page and advertisement.&#8221;</p></blockquote>
<p>John Biggs. Black Hat: Misfits, Criminals, and Scammers in the Internet Age (Kindle Locations 850-853). Kindle Edition.</p>
<p>What is happening is that miscreants are taking advantage of a very known and profitable portion of internet real estate: 404 pages. They are using random chance to aid in driving unsuspecting website visitors to diet pill scam sites. Have you ever typed in the wrong address to a website and seen a 404 page? How can you figure out if your site is infected. Let&#8217;s take a look at some of the tools you might try to use.</p>
<h2>Garcinia Cambogia: Is your site infected?</h2>
<p>Google has some handy functions that allow you to search on content within your site, using the &#8220;site:&#8221; command. The key here is that these pages have been indexed by Google. Unfortunately, they might not work with this hack, if Google hasn&#8217;t indexed a particular page, or if the page does not yet exist &#8211; meaning the php file has not rendered it for Google to index, because the unwary site visitor has not yet mistyped the address? Confusing? I&#8217;ll explain how the 404 Redirect Hosted Scam Page works in just a moment.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/Garcinia-site-search1.png"><img class="alignnone  wp-image-3308" style="border: 1px solid gray;" alt="WordPress 404 Redirect Hosted Scam Sites - Google site content search" src="http://blog.codeguard.com/wp-content/uploads/2013/05/Garcinia-site-search1.png" width="691" height="442" /></a></p>
<h2>How does it work?</h2>
<p>What is known right now, thanks to the <a title="http://blog.sucuri.net/2013/04/wordpress-malicious-plugin-wpppm-abusing-404-redirects-with-seo-poisoning.html" href="http://blog.sucuri.net/2013/04/wordpress-malicious-plugin-wpppm-abusing-404-redirects-with-seo-poisoning.html" target="_blank">Sucuri team</a>, is that two key files are necessary for this hack to work. &#8220;Wpppm.php&#8221; and &#8220;.k&#8221;. The wpppm.php file, when any 404 requests are made, loads the content in the &#8220;.k&#8221; directory. Right now, that content points to Garcinia Cambogia diet pills, but it could change.</p>
<h2>What is the impact?</h2>
<p>Something has caused the extreme spike in websearches for &#8220;Garcinia Cambogia&#8221;. <a title="http://www.prweb.com/releases/droz/garciniacambogia/prweb10515305.htm" href="http://www.prweb.com/releases/droz/garciniacambogia/prweb10515305.htm">Press releases</a>, and <a title="http://www.doctoroz.com/videos/garcinia-cambogia-hca" href="http://www.doctoroz.com/videos/garcinia-cambogia-hca" target="_blank">Dr. Oz mentions</a> would fuel increased interest, but nothing like what is seen in the Google Trends chart below. Dr. Oz talked about Cambogia first around October 2012. The small bump in the below chart can be most likely attributed to the mention on his show. But what, then, has caused the <strong>massive</strong> <strong>surge</strong> <strong>in interest</strong>? A press release? Anyone who has published a press release can tell you that simply publishing one will not generate the type of interest seen below.<strong> It is likely that some type of mass spam email and website hacking has taken place to fuel this surge.</strong></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/05/Screen-Shot-2013-05-09-at-2.51.37-PM.png"><img class="alignnone  wp-image-3278" style="border: 1px solid gray;" alt="Google Trends Garcinia Cambogia" src="http://blog.codeguard.com/wp-content/uploads/2013/05/Screen-Shot-2013-05-09-at-2.51.37-PM.png" width="674" height="363" /></a></p>
<h2>WordPress 404 Redirect Hosted Scam Sites Could Impact Millions</h2>
<p>WordPress websites, visited by hundreds of millions of people globally, are being compromised. The exact <strong>vector</strong> is unknown at this point. I&#8217;m using &#8220;vector&#8221; to mean the way that the site was compromised &#8211; if someone guessed your WordPress password &amp; username, for instance, it can be said that they exploited a <a title="http://cwe.mitre.org/data/definitions/255.html" href="http://cwe.mitre.org/data/definitions/255.html" target="_blank">credentials management vulnerability</a>.</p>
<p>What should you do? Search your wp-content (and the rest of your WordPress installation) via FTP for &#8220;wpppm.php&#8221; and &#8220;.k&#8221;. And keep searching for those files everyday. Or you can try <a title="CodeGuard Website Protection" href="http://codeguard.com" target="_blank">CodeGuard</a>, which will notify you via a ChangeAlert if anything on your website has changed.</p>
<p><span style="color: #444444;">-David </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/wordpress-404-redirect-hosted-scam-sites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Website Backup (Files) Server Load Testing</title>
		<link>http://blog.codeguard.com/website-backup-files-server-load-testing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=website-backup-files-server-load-testing</link>
		<comments>http://blog.codeguard.com/website-backup-files-server-load-testing/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 18:26:48 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Behind the Scenes]]></category>
		<category><![CDATA[Website Backup]]></category>
		<category><![CDATA[server load testing]]></category>
		<category><![CDATA[website backup]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3231</guid>
		<description><![CDATA[CodeGuard Host Server Load Testing Version: 1.0 / Date: 5 April, 2013 Overview The goal of this test is to determine what impact the CodeGuard website backup service has on a host server during a backup. The results contained in &#8230; <a href="http://blog.codeguard.com/website-backup-files-server-load-testing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fwebsite-backup-files-server-load-testing%2F&text=Website+Backup+%28Files%29+Server+Load+Testing" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fwebsite-backup-files-server-load-testing%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h1>CodeGuard Host Server Load Testing<br />
Version: 1.0 / Date: 5 April, 2013</h1>
<h2>Overview</h2>
<p>The goal of this test is to determine what impact the CodeGuard website backup service has on a host server during a backup. The results contained in this document were gathered after a series of four tests (described later). They are by no means conclusive and real-world results will vary based on the composition of the websites being backed up and the hardware and software running the underlying host server.</p>
<h2>Test Methodology</h2>
<p>There are two phases of a backup that are of particular interest with respect to host server performance: file listing and downloading. The first, file listing, entails inspecting the metadata for each file and folder within the scope of the backup. Practically, this means recursing through all of the folders in the target website and inspecting every file. The downloading phase simply transfers all new or modified files from the host system to the CodeGuard service. For the initial backup, this means downloading every file in the site, but for subsequent backups only new or changed files are downloaded. These two steps are always performed sequentially.</p>
<h3>Definitions</h3>
<p><strong>Activation:</strong> The first backup performed by CodeGuard. All files within the backup scope will be inspected and all files will be downloaded.</p>
<p><strong>Pull:</strong> All backups performed after the initial Activation. All files within the backup scope will be inspected, but only new or changed files will be downloaded.</p>
<h3>Test Website</h3>
<p>Only one website was used for this suite of tests. In cases where concurrent backups were taking place, multiple copies of the site were used to avoid simultaneous requests for the same files on disk.</p>
<p><strong><span style="text-decoration: underline;">Website Statistics</span></strong><br />
Size: 538MB<br />
File and Folder Count: 8,774<br />
Type: Real, active WordPress blog</p>
<p><span style="text-decoration: underline;"><strong>Test Host</strong></span><br />
Server: The host used for testing was a RackSpace CloudServer.<br />
OS: CentOS 6.3<br />
FTP Server: Pro-FTP<br />
Memory: 512MB<br />
CPU Cores: 1</p>
<h1>Website Backup Testing Results</h1>
<p>The graphs below illustrate the results of each test. Following each are notes discussing the findings.</p>
<h3>Metrics and Definitions</h3>
<ul>
<li><span style="color: #444444;">CPU usage: System: Percentage of CPU usage by system processes.</span></li>
<li><span style="color: #444444;">CPU usage: User: Percentage of CPU usage by user processes.</span></li>
<li><span style="color: #444444;">% Memory Used: Percentage of system memory used.</span></li>
<li><span style="color: #444444;">eth0 in: Network transfer in from the public network connection in KB/s.</span></li>
<li><span style="color: #444444;">eth0 out: Network transfer out to the public network connection in KB/s.</span></li>
<li><span style="color: #444444;">Server Load (Last 5 Minutes): The numeric representation of the load on the system for the last five minutes. This is an amalgamation of different metrics but, for this system, loads less than 1.0 are acceptable. More information can be found here: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages</span></li>
<li><span style="color: #444444;">I/O Average Queue Size: Weighted number of milliseconds spent doing I/Os. This can provide a measure of both I/O completion time and the backlog that may be accumulating.</span></li>
<li><span style="color: #444444;">I/O Wait: Time in milliseconds spent waiting to perform I/O operations.</span></li>
<li><span style="color: #444444;">I/O Reads / second: Number of file system reads per second.</span></li>
<li><span style="color: #444444;">I/O Writes / second: Number of file system writes per second.</span></li>
</ul>
<h3>1. One Activation &#8211; FTP</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup1a.png"><img class="alignnone size-full wp-image-3236" style="border: 1px solid gray;" alt="Website Backup 1a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup1a.png" width="468" height="195" /></a><br />
Figure 1. Server load graph.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup1b.png"><img class="alignnone size-full wp-image-3237" style="border: 1px solid gray;" alt="Website Backup 1b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup1b.png" width="468" height="195" /></a><br />
Figure 2. Server I/O graph.</p>
<p><strong><span style="text-decoration: underline;">Notable Times</span></strong><br />
File Listing Start/End: 6:50AM/7:05AM<br />
Download Start/End: 7:05AM/8:00AM</p>
<p>As shown in Figure 1, CPU usage is slightly elevated for the duration of the process, but never exceeds 10% for this single core system. Server load oscillates at the beginning of the file listing process as well as during and after the file downloading phase of the backup, but remains relatively low (&lt; .1). We can see that the eth0 out metric corresponds to the file download times, peaking at ~750 KB/s of outbound network traffic. Memory usage increases marginally during both phases, presumably due to the FTP server managing the listing and file transfer operations. The I/O profile in Figure 2 shows an increase in latency during the download phase of the backup. At the peak (7:45am), there is a &gt; 4.5ms I/O wait time. The baseline for this system before the test began was between 0.5ms and 1ms, so there is an obvious increase, but the real-world impact of an increase of this magnitude is unknown. Finally, Reads increase during the download phase, but largely stay below 10 reads/sec, peaking briefly at 20 reads/sec.</p>
<h3>2. Five Concurrent Activations &#8211; FTP</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup2a.png"><img class="alignnone size-full wp-image-3238" style="border: 1px solid gray;" alt="Website Backup 2a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup2a.png" width="468" height="195" /></a><br />
Figure 1. Server load graph.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup2b.png"><img class="alignnone size-full wp-image-3239" style="border: 1px solid gray;" alt="Website Backup 2b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup2b.png" width="468" height="195" /></a><br />
Figure 2. Server I/O graph.</p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
File Listing Start/End: 12:15PM/12:30PM<br />
Download Start/End: 12:30PM/1:25PM</p>
<p>The profile for five concurrent FTP activations follows the same general trends as the single FTP activation discussed previously. The metrics peak at slightly higher values, but multiple concurrent FTP activations do not appear to cause a linear increase in resource consumption.</p>
<h3>3. One Activation &#8211; SFTP</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup3a.png"><img class="alignnone size-full wp-image-3240" style="border: 1px solid gray;" alt="Website Backup 3a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup3a.png" width="468" height="195" /></a><br />
Figure 1. Server load graph.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup3b.png"><img class="alignnone size-full wp-image-3241" style="border: 1px solid gray;" alt="Website Backup 3b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup3b.png" width="468" height="195" /></a><br />
Figure 2. Server I/O graph.</p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
File Listing Start/End: 7:05AM/7:30AM<br />
Download Start/End: 7:30AM/10:00AM</p>
<p>In Figure 1, we can see that CPU usage is negligible for the duration of the process. Server load oscillates during both the download and listing phases, but remains low overall (&lt; 0.1). As expected, eth0 out is elevated for the majority of the downloading phase, peaking at more than 1,500 KB/s. There is an anomaly from 8:05am to 9:55am, where the download speed is very low. Further investigation is necessary here to determine the root cause of this delay.</p>
<p>In Figure 2, we can see that there is an increase in I/O Wait Time during the file listing process but, like the FTP activation, it stays below 5ms. The Average Queue Size peaks over 200 during the download phase which is higher than the FTP activation tests. It’s difficult to say if this is a result of our testing or if we were competing with another VM on this host for disk resources.</p>
<h3>4. Five Concurrent Activations &#8211; SFTP</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup4a.png"><img class="alignnone size-full wp-image-3242" style="border: 1px solid gray;" alt="Website Backup 4a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup4a.png" width="468" height="195" /></a><br />
Figure 1. Server load graph.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup4b.png"><img class="alignnone size-full wp-image-3243" style="border: 1px solid gray;" alt="Website Backup 4b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/WebsiteBackup4b.png" width="468" height="195" /></a><br />
Figure 2. Server I/O graph.</p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
File Listing Start/End: 2:55PM/3:10PM<br />
Download Start/End: 3:10PM/4:05PM</p>
<p>As shown in Figure 1, the CPU, Memory and server load metrics follow the same profile as a single SFTP activation. Aside from the Average Queue Size, all of the other metrics are right inline with the single SFTP activation. The Average Queue Size for multiple concurrent SFTP activations peaks lower (&lt; 125) than the single activation (which was &gt; 200). It’s difficult to say if this is a result of the backups running slower because of the concurrency or if there was another VM on this same host using more disk resources during this test.</p>
<p>As with the single SFTP activation, it does not appear to cause a linear increase in resource consumption.</p>
<h1>Conclusion</h1>
<p>These tests produced some interesting results, but they are fairly high-level and were only performed once. As a result, they should be viewed with some amount of skepticism.</p>
<p>The three biggest takeaways that were found during this analysis are:</p>
<ol>
<li><span style="color: #444444;">Multiple concurrent activations do not produce a linear increase in server resource consumption for either SFTP or FTP.</span></li>
<li><span style="color: #444444;">The profile of SFTP and FTP backups are very similar in terms of network, memory, CPU and I/O load.</span></li>
<li><span style="color: #444444;">The most load on the server is during the download phase. For CodeGuard, that should mean the Pulls should not put nearly as much strain on the servers as Activations.</span></li>
</ol>
<p>After this round of testing, there are still some other open questions, like:</p>
<ul>
<li><span style="color: #444444;">What is the real world (i.e. user) impact of the elevated load and I/O wait times?</span></li>
<li><span style="color: #444444;">Would using dedicated hardware change the outcome?</span></li>
<li><span style="color: #444444;">Do the performance characteristics change for much larger sites and longer-running jobs?</span></li>
<li><span style="color: #444444;">Would using a different FTP server (Pure FTP vs Pro FTP) have made a difference?</span></li>
</ul>
<p>- Jonathan Manuzak, Director of Engineering</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/website-backup-files-server-load-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Database backup load analysis</title>
		<link>http://blog.codeguard.com/database-backup-load-analysis/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=database-backup-load-analysis</link>
		<comments>http://blog.codeguard.com/database-backup-load-analysis/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 19:36:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[Behind the Scenes]]></category>
		<category><![CDATA[CodeGuard How It Works]]></category>
		<category><![CDATA[Database backup]]></category>
		<category><![CDATA[MySQL backup]]></category>
		<category><![CDATA[Server load analysis]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3164</guid>
		<description><![CDATA[CodeGuard Database Backup Load Testing Version: 1.1 / Date: 25 April, 2013 Overview The goal of this test is to determine what impact the CodeGuard service has on a host server during a MySQL database backup. The results contained in &#8230; <a href="http://blog.codeguard.com/database-backup-load-analysis/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fdatabase-backup-load-analysis%2F&text=Database+backup+load+analysis" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fdatabase-backup-load-analysis%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h1>CodeGuard Database Backup Load Testing<br />
Version: 1.1 / Date: 25 April, 2013</h1>
<h2>Overview</h2>
<p>The goal of this test is to determine what impact the CodeGuard service has on a host server during a MySQL database backup. The results contained in this document were gathered after a series of four tests paralleling the tests previously done on FTP and SFTP backups by Jonathan Manuzak (see other document). They are by no means conclusive and real-world results will vary based on the composition of the websites being backed up and the hardware and software running the underlying host server.</p>
<h2>Test Methodology</h2>
<p>From the perspective of the CodeGuard backup service, there is a single phase that occurs on a remote server: running the ‘mysqldump’ command. Running this command includes using the MySQL client, either remotely or tunneled over SSH, to simultaneously extract the database tables to a flat file format and transfer that file from the remote server to the CodeGuard service. Currently ‘mysqldump’ commands are run with the options ‘&#8211;quick&#8217;, &#8216;&#8211;single-transaction&#8217;, and &#8216;&#8211;skip-extended-insert&#8217;. These configure the operations one row at a time, attempt to ensure consistent state of some types of tables, and avoid multiple-row insert statements, respectively. Executing a mysqldump with different options may result in different performance characteristics.</p>
<h3>Pull Definition</h3>
<p><strong>Pull</strong>: All database backups are of this type. The entire database is downloaded in via the ‘mysqldump’ command, committed to a git repository, and uploaded to Amazon S3. Unlike website file backups, incremental downloads are not supported by mysqldump, so the entire database is downloaded from the remote server each time, although the backup is ultimately incremental since it is stored as a commit in a git repository. Test Database Only one database was used for this suite of tests. In cases where concurrent backups were taking place, the same database was downloaded simultaneously. While a somewhat contrived test setup, this to some approximation simulates other processes accessing database tables concurrently with backups.</p>
<h3>Test Database</h3>
<p>Only one database was used for this suite of tests. In cases where concurrent backups were taking place, the same database was downloaded simultaneously. While a somewhat contrived test setup, this to some approximation simulates other processes accessing database tables concurrently with backups.</p>
<p><span style="text-decoration: underline;"><strong>Database Statistics</strong></span><br />
Size: 2723 MB<br />
Row Count: 856262 (21 tables)<br />
Type: Real MySQL database from language-learning website.</p>
<p><strong><span style="text-decoration: underline;">Test Host </span></strong><br />
Server: The host used for testing was a RackSpace CloudServer.<br />
OS: CentOS 6.3<br />
MySQL Server: 5.1.67<br />
Memory: 512MB CPU Cores: 1</p>
<h1>Database Backup Testing Results</h1>
<p>The graphs below illustrate the results of each test. Following each are notes discussing the findings.</p>
<h3>Metrics and Definitions</h3>
<ul>
<li><span style="color: #444444;">CPU usage: System: Percentage of CPU usage by system processes.</span></li>
<li><span style="color: #444444;">CPU usage: User: Percentage of CPU usage by user processes.</span></li>
<li><span style="color: #444444;">% Memory Used: Percentage of system memory used.</span></li>
<li><span style="color: #444444;">eth0 in: Network transfer in from the public network connection in KB/s.</span></li>
<li><span style="color: #444444;">eth0 out: Network transfer out to the public network connection in KB/s.</span></li>
<li><span style="color: #444444;">Server Load (Last 5 Minutes): The numeric representation of the load on the system for the last five minutes. This is a unitless amalgamation of different metrics but, for this system with a single core processor, loads less than 1.0 are acceptable. Loads above 1.0 indicates that processes are waiting for CPU access. More information can be found here: http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages</span></li>
<li><span style="color: #444444;">I/O Average Queue Size: Weighted number of milliseconds spent doing I/Os. This can provide a measure of both I/O completion time and the backlog that may be accumulating.</span></li>
<li><span style="color: #444444;">I/O Wait: Time in milliseconds spent waiting to perform I/O operations.</span></li>
<li><span style="color: #444444;">I/O Reads / second: Number of file system reads per second.</span></li>
<li><span style="color: #444444;">I/O Writes / second: Number of file system writes per second.</span></li>
</ul>
<h3>1. One Backup &#8211; MySQL Direct Connection</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB1.png"><img class="size-full wp-image-3176 alignnone" style="border: 1px solid gray;" alt="Database Backup Load 1" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB1.png" width="468" height="195" /></a><br />
<i>Figure 1a. Server load graph. </i><a href="https://scoutapp.com/highgroove/charts?d=25611981-25612001-25612181-25612221-25612231-25612251-25612371&amp;end_time=1366212600&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2.png"><img class="size-full wp-image-3179 alignnone" style="border: 1px solid gray;" alt="Database Backup 1b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2.png" width="468" height="195" /></a><br />
<i>Figure 1b. Server I/O graph. </i><a href="https://scoutapp.com/highgroove/charts?d=25612311-25612321-25612361-25612371&amp;end_time=1366212600&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
MySQL Dump Start/End: 6:55AM/7:22AM</p>
<p>As shown in Figure 1, mysqldump is neither CPU-intensive or memory-intensive for a single database backup. Server load remains below 0.1. I/O is affected more significantly, as mysqldump is a read-intensive operation. Reads peak at 55/s with latency topping 7 ms. Ethernet output (eth0 out) averages between 1500 and 2300 kB/s. The entire process completes in 27 minutes.</p>
<h3>2. Five Concurrent Backups &#8211; MySQL Direct Connection</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2a.png"><img class="size-full wp-image-3186 alignnone" style="border: 1px solid gray;" alt="Database Backup 2a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2a.png" width="468" height="195" /></a><br />
<i>Figure 2a. Server load graph. </i><a href="https://scoutapp.com/highgroove/charts?d=25612181-25612371-25612001-25612231-25612251-25611981&amp;end_time=1366149600&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2b.png"><img class="size-full wp-image-3187 alignnone" style="border: 1px solid gray;" alt="Database Backup 2b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB2b.png" width="468" height="195" /></a><br />
<i>Figure 2b. Server I/O graph.  </i><a href="https://scoutapp.com/highgroove/charts?d=25612361-25612371-25612311-25612351-25612321-25612251&amp;end_time=1366149600&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
MySQL Dump Start/End: 10:28AM/1:33PM</p>
<p>Concurrent backups show a similar pattern with the main impact of concurrency causing all backups to take more time. Peak latency peaks at 13 ms, higher than the single backup, but peak reads/s are actually lower likely due to inefficiencies introduced by multiple processes competing for I/O access leading to more HD seeking. Network output also varies between 1500 and 2300 kB/s with a sharp break at half an hour into the backup lasting for 5 minutes. I do not yet have a good explanation for the pause in the backup process. Network output also lags the start of the backups by about 20 minutes. This means that transferring of the mysqldump file to CodeGuard is not occurring during this time.</p>
<p>The entire backup process completes in 3:05. This is 1.37 times the length of 5 consecutive 27 minute backups, giving an idea of the performance impact of the competition for the shared database resource. However, server performance does not appear to be significantly impacted.</p>
<h3>3. One Backup &#8211; MySQL Tunneled over SSH</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB3a.png"><img class="size-full wp-image-3188 alignnone" style="border: 1px solid gray;" alt="Database Backup 3a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB3a.png" width="468" height="195" /></a><br />
<i>Figure 3a. Server load graph.</i><a href="https://scoutapp.com/highgroove/charts?d=25612181-25612221-25612371-25612001-25612231-25612251-25611981&amp;end_time=1366318800&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB3b.png"><img class="size-full wp-image-3189 alignnone" style="border: 1px solid gray;" alt="Database Backup 3b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB3b.png" width="468" height="195" /></a><br />
<i>Figure 3b. Server I/O graph.</i><a href="https://scoutapp.com/highgroove/charts?d=25612361-25612371-25612311-25612321&amp;end_time=1366318800&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
MySQL Dump Start/End: 9:28AM/9:53AM</p>
<p>A single backup tunneled over SSH mirrors the performance of a MySQL direct backup closely for all metrics. Completion time is very slightly faster at 25 minutes, although this was not tested for reproducibility. See discussion of the single MySQL direct backups for more information of the overall metrics.</p>
<h3>4. Five Concurrent Backups &#8211; MySQL tunneled over SSH</h3>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB4a.png"><img class="size-full wp-image-3190 alignnone" style="border: 1px solid gray;" alt="Database Backup 4a" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB4a.png" width="468" height="195" /></a><br />
<i>Figure 4a. Server load graph. </i><a href="https://scoutapp.com/highgroove/charts?d=25612181-25612221-25612371-25612001-25612231-25612251-25611981&amp;end_time=1366246800&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/DB4b.png"><img class="size-full wp-image-3191 alignnone" style="border: 1px solid gray;" alt="Database Backup 4b" src="http://blog.codeguard.com/wp-content/uploads/2013/04/DB4b.png" width="468" height="195" /></a><br />
<i>Figure 4b. Server I/O graph.</i><a href="https://scoutapp.com/highgroove/charts?d=25612361-25612371-25612311-25612321&amp;end_time=1366246800&amp;range=5+hours&amp;scale=false&amp;stack=false&amp;fullscreen=true"><i>View on ScoutApp</i></a></p>
<p><span style="text-decoration: underline;"><strong>Notable Times</strong></span><br />
MySQL Dump Start/End: 1:47PM/4:37PM</p>
<p>Multiple concurrent MySQL backups tunneled over SSH perform slightly better than concurrent MySQL direct backups. Notably, the pause in the process seen at 40 minutes in direct backups does not occur.  Peak I/O wait time is 6.3 ms vs 13.2 ms for MySQL direct. Network average transfer speeds are lower, possibly due to compression on the SSH tunnel as well as the lack of a break in the process. Despite the lower network speeds the backups still completed slightly faster at 2:55 vs. 3:05 for MySQL direct.  Similarly to the MySQL direct test, the concurrent backups completed in 1.4x the time of 5 sequential 25-minute backups.</p>
<h1>Conclusion</h1>
<p>These tests of database backup performance produced solid high-level information on the performance metrics that predict performance of a mysqldump, as well as the load it places on a server, but given the simulated nature of the test system they must be viewed with some skepticism.</p>
<p>Given the above caveat, analysis of the test results shows that:</p>
<ul>
<li><span style="color: #444444;">MySQL database backups are almost entirely I/O bound with very little CPU or memory usage.</span></li>
<li><span style="color: #444444;">MySQL direct and SSH tunnel behavior is almost identical for single backups.</span></li>
<li><span style="color: #444444;">Concurrent MySQL backups tunneled over SSH are slightly faster than MySQL direct backups and appear to have better sustained performance and lower impact on remote server performance.</span></li>
<li><span style="color: #444444;">There is a slight penalty to running concurrent backups of the same database vs. sequential backups.</span></li>
</ul>
<p>Further questions not fully addressed by this testing:</p>
<ul>
<li><span style="color: #444444;">What is the real world (i.e. user) impact of the elevated load and I/O wait times?</span></li>
<li><span style="color: #444444;">Would using dedicated hardware change the outcome?</span></li>
<li><span style="color: #444444;">What is the impact of backups to real world MySQL database performance. Does backing up certain tables cause significant slowdown in database performance that would impact user experience?</span></li>
<li><span style="color: #444444;">Would different MySQL dump options cause different performance profiles and are there ways to optimize the process further with compression of the data either over SSH tunnel or with MySQL?</span></li>
<li><span style="color: #444444;">It is possible that the limiting factor is network bandwidth in some phases of the backup. It is unknown what the impact to I/O performance would be in a system with a higher network bandwidth to I/O bandwidth ratio.</span><span style="color: #444444;"> </span></li>
</ul>
<p><span style="font-size: 14px; line-height: 23px;">-Randall McPherson, Sr. Engineer</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/database-backup-load-analysis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Hacked? Would You Know It?</title>
		<link>http://blog.codeguard.com/website-hacked/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=website-hacked</link>
		<comments>http://blog.codeguard.com/website-hacked/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 17:54:53 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Hacked websites]]></category>
		<category><![CDATA[Small Business]]></category>
		<category><![CDATA[hacked websites]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3092</guid>
		<description><![CDATA[Is Your Website Hacked? Your website might be hacked right now. &#8220;My website hacked?&#8221;, you think. Yes, your website. &#8220;But I&#8217;m not a major media outlet, I don&#8217;t process billions of e-commerce transactions, and I&#8217;m not a federal agency&#8221;, you &#8230; <a href="http://blog.codeguard.com/website-hacked/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fwebsite-hacked%2F&text=Website+Hacked%3F+Would+You+Know+It%3F" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fwebsite-hacked%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h2>Is Your Website Hacked?</h2>
<p><strong>Your website might be hacked right now</strong>. &#8220;My website hacked?&#8221;, you think. Yes, your website. &#8220;But I&#8217;m not a major media outlet, I don&#8217;t process billions of e-commerce transactions, and I&#8217;m not a federal agency&#8221;, you say. If you have a website, it may have been compromised. &#8220;But if my site was hacked, it would show up on Google&#8217;s blacklist, right?&#8221; <em>Wrong</em>. &#8220;But if my site was hacked, the hackers would deface it and I would see it, right?&#8221; <em>Wrong</em>. &#8220;But if my site was hacked, my web developer would know it, right?&#8221; <em>Wrong</em>. &#8220;But my host protects me, right?&#8221; <em>Wrong</em>.</p>
<p style="text-align: left;"><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-12.36.12-PM.png"><img class="wp-image-3108" alt="Website Hacked" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-12.36.12-PM.png" width="660" height="426" /></a></p>
<p><span style="text-decoration: underline;"><strong>You are alone and your website is your responsibility</strong></span>. Your website is valuable because of the <span style="color: #008000;">reputation</span> you have established with online registries and because it sits atop a <span style="color: #008000;">webserver</span> that can be manipulated. To explain why someone would want to hack your quiet corner of cyberspace, I will use an analogy, comparing your website to a cement plant. I&#8217;m not joking.</p>
<h2>Your Website is Like a Cement Plant</h2>
<p>Think about it this way &#8211; your website is like a cement factory connected to a power plant. Please follow along &#8211; I promise it won&#8217;t be too painful.</p>
<p>The cement factory is known in the community and has established relationships. It is <span style="color: #008000;">trusted</span>. People have bought cement from it, it is in the yellow pages, and therefore, viewed as a legitimate business entity &#8211; because it is one.</p>
<p>Powering the cement factory is a power plant, on the premises. This power plant produces electricity that is used for crushing rocks and keeping the lights on at the plant, but that electricity could be used for anything, if it was accessible.</p>
<p>If a criminal broke into the plant and found a way to <span style="text-decoration: underline;">harness the electricity</span> of the power plant, would he want to be found? If that criminal figured out a way to sell that electricity on the open market, would he ever want the cement plant to know? Of course not &#8211; he would want to utilize those assets for his purposes as long as possible.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-12.32.20-PM.png"><img class="wp-image-3105" alt="Cement Plant Similar to Hacked Website" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-12.32.20-PM.png" width="660" height="441" /></a></p>
<p>Should a cement plant be commandeered, it could look similar to a website hacked. I realize this is a tough analogy &#8211; but give me just a bit more to explain. The reputation of the cement plant and the goodwill it had built in the community would allow the criminals to continue to operate it, and as long as they didn&#8217;t post signs that they had taken over the plant, no one would know. Contrast this with the criminals building a <strong>new fake cement plant.</strong> Permitting, construction, time, energy, and money would be poured into the new facility. And even once it was finished, if it didn&#8217;t produce cement, people would doubt its authenticity. Building and running a cement plant is hard work, and it is tough to fake!</p>
<p>The crucial first step to repurposing the all important power plant at the cement plant is taking over the plant and tricking everyone in the community into believing the plant has <strong>not been taken over. </strong>Imagine if cement plant could be overthrown without the employees even knowing. This happens everyday to a website hacked. The server administrator doesn&#8217;t know. The webmaster doesn&#8217;t know. Website visitors don&#8217;t know. The problem is that <strong>no one knows </strong>it has been compromised other than the criminals.</p>
<p>Now the cement plant has been taken over &#8211; but surreptitiously. And now the criminals run cables to the power plant on site, and start selling that energy on the open market. Buyers of the energy use it to power factories to illegally construct weapons, illicit drugs, etc. The point is that if you buy energy from an overthrown cement plant, you are most likely up to no good.</p>
<h2>What are the criminals doing with my hacked website?</h2>
<p><strong>Right now, millions of websites are compromised</strong>. And their owners do not have a clue. This is because the website is valuable only as long as its owner does not realize it has been compromised.</p>
<h3>Criminals Are Using Your Reputation</h3>
<p>Establishing a trusted reputation for a URL &amp; IP address doesn&#8217;t happen overnight, so spammers rely on websites with trusted reputations to elude spam filters and deceive recipients into clicking on the links within them. By using your website to redirect victims of phishing attacks, you become part of the problem. Your reputation is used as part of the scam, and all without you knowing it. The recent WordPress brute force attacks are an example of the first step &#8211; compromising your site without your knowledge. Once the brute force attacker figures out your username and password, do you think they are going to change it? Not a chance.</p>
<h3>Criminals Are Using Your Webserver</h3>
<p>The server that powers your website isn&#8217;t that different than the laptop or desktop you use everyday. It is just dedicated for a single purpose, which is responding to requests as visitors to your website make them with clicks of the mouse or form submissions. Your webserver can be used in a multitude of ways; think how many different ways your laptop or desktop can be used &#8211; and extend this logic to your webserver. To list a few: your hacked website could be used to execute a DDOS (distributed denial of service) attack on your government, companies, or individuals. DDOS isn&#8217;t complex; just imagine Amazon&#8217;s website around Christmas. Lots of visitors, and lots of requests. DDOSing isn&#8217;t nice. It is an attack, and your hacked website could be part of a DDOS right now. Your hacked website could also be used for URL redirecting.</p>
<p>URL redirecting is when a criminal uses your hacked website to take visitors to another website of the criminal&#8217;s choice. An example is below.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Gmail_phishing.png"><img class="alignnone  wp-image-3093" style="border: 1px solid gray;" alt="Hacked Website Used in Gmail Scam Spam" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Gmail_phishing.png" width="616" height="108" /></a></p>
<p>This is happening millions of times everyday. HST Egypt is a security products company, and right now it has a hacked website that is a part of a weight-loss diet pill scam.</p>
<h2>What Can I Do?</h2>
<p>At CodeGuard, we are sick and tired of this <a title="http://googlewebmastercentral.blogspot.com/2009/01/preventing-virtual-blight-my.html" href="http://googlewebmastercentral.blogspot.com/2009/01/preventing-virtual-blight-my.html" target="_blank">virtual blight</a>, and aim to stop it. What can you do? Sign up for <a title="CodeGuard Plans" href="http://www.codeguard.com/pages/plans?blog" target="_blank">CodeGuard</a>, right now. We are the only way you can know if your site has been compromised via our ChangeAlerts. And we don&#8217;t leave you high and dry at that point. If your site is compromised, we fix it with the click of a button, and then we will patch whatever security vulnerability your site has. <strong>Just</strong>. <strong>that</strong>. <strong>simple</strong>.</p>
<p>Ignorance is bliss. But now you know. Do your duty, and ensure that your website isn&#8217;t part of the problem, but part of the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/website-hacked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New CodeGuard Extended ChangeAlerts: Best of Both Worlds</title>
		<link>http://blog.codeguard.com/codeguard-changealerts-modified-for-ease-of-use/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=codeguard-changealerts-modified-for-ease-of-use</link>
		<comments>http://blog.codeguard.com/codeguard-changealerts-modified-for-ease-of-use/#comments</comments>
		<pubDate>Thu, 25 Apr 2013 14:34:27 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[ChangeAlerts]]></category>
		<category><![CDATA[CodeGuard How It Works]]></category>
		<category><![CDATA[CodeGuard ChangeAlerts]]></category>
		<category><![CDATA[website backup]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3081</guid>
		<description><![CDATA[CodeGuard ChangeAlerts Provide Peace of Mind If you own a website, you should know if it has been compromised. With CodeGuard ChangeAlerts, you can have that confidence. Over the last three years, we have monitored thousands of websites and observed &#8230; <a href="http://blog.codeguard.com/codeguard-changealerts-modified-for-ease-of-use/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fcodeguard-changealerts-modified-for-ease-of-use%2F&text=New+CodeGuard+Extended+ChangeAlerts%3A+Best+of+Both+Worlds" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fcodeguard-changealerts-modified-for-ease-of-use%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h2>CodeGuard ChangeAlerts Provide Peace of Mind</h2>
<p>If you own a website, you should know if it has been compromised. With CodeGuard ChangeAlerts, you can have that confidence. Over the last three years, we have monitored thousands of websites and observed billions of file changes. <em>Billions</em>. We realized that webmasters cannot easily digest and comprehend the volume of changes to their sites, if that information is provided in a firehose format, with a list of files added, modified, and deleted.</p>
<p>So we conducted focus groups and listened to our valuable customers. They told us what they wanted to see in the ChangeAlerts, and helped us find a better way to display information that would allow them to quickly gain peace of mind that their website was OK.</p>
<p>Many of our customers, however, liked how the information was provided to them. And for those customers, we want them to be able to continue to enjoy ChangeAlerts as they want them. Within the website settings tab, under Email Notifications, the <strong>Legacy</strong> option provides just that.</p>
<p>We are excited to announce a new format that brings the best of the <strong>Legacy</strong> option and the best of the new <strong>Summary</strong> option together.</p>
<h2>Extended ChangeAlerts Now Available</h2>
<p>Last week, we released our new ChangeAlert emails that allow customers to better stay on top of which files are changing on their website. We got great feedback that while the new emails helped tremendously to provide greater visibility into the important files changing, the old format was helpful to quickly scroll to see *everything* that had changed. So we&#8217;ve incorporated this feedback, and now offer three ChangeAlert styles: <strong>Summary</strong>, <strong>Extended</strong>, and <strong>Legacy</strong>.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-9.50.18-AM.png"><img class="alignnone size-full wp-image-3083" alt="CodeGuard ChangeAlert Options" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-25-at-9.50.18-AM.png" width="724" height="325" /></a></p>
<p>The <strong>Summary</strong> format is what I described in the ChangeAlert update blog post, with sections for Totals, Overview, Website Files, Media and Other. The <strong>Extended</strong> format differs from the Summary in two ways. First, all website files that have changed are listed, instead of just the first ten. Second, media and other files that have changed are listed underneath the Media and Other. In the <strong>Summary</strong> format, there is no visibility into Media and Other files, due to their decreased importance.</p>
<p>&nbsp;</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/changealert_extended_1000_width-copy.png"><img class="alignnone size-full wp-image-3088" alt="CodeGuard ChangeAlert Extended" src="http://blog.codeguard.com/wp-content/uploads/2013/04/changealert_extended_1000_width-copy.png" width="1039" height="4200" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/codeguard-changealerts-modified-for-ease-of-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AP Hacked: Twitter Account Compromised</title>
		<link>http://blog.codeguard.com/ap-hacked/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ap-hacked</link>
		<comments>http://blog.codeguard.com/ap-hacked/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 17:32:08 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[In the News]]></category>
		<category><![CDATA[AP hacked]]></category>
		<category><![CDATA[AP Twitter Compromised]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3058</guid>
		<description><![CDATA[AP Hacked: Twitter Account Compromised at Approximately 1:07PM EST In a developing story, it seems the Syrian Electronic Army targeted the Associated Press and succeeded with the AP hacked. The Associated Press&#8217;s twitter account was compromised and a tweet stated: &#8230; <a href="http://blog.codeguard.com/ap-hacked/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fap-hacked%2F&text=AP+Hacked%3A+Twitter+Account+Compromised" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fap-hacked%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h2>AP Hacked: Twitter Account Compromised at Approximately 1:07PM EST</h2>
<p>In a developing story, it seems the Syrian Electronic Army targeted the Associated Press and succeeded with the AP hacked. The Associated Press&#8217;s twitter account was compromised and a tweet stated: &#8220;Breaking: Two Explosions in the White House and Barack Obama is injured&#8221;.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.38.14-PM.png"><img class="alignnone size-full wp-image-3072" alt="AP Twitter Account" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.38.14-PM.png" width="482" height="272" /></a></p>
<p>Sam Hananel confirmed this, stating: &#8220;Please Ignore <strong>AP</strong> Tweet on explosions, we&#8217;ve been hacked.&#8221; But the POTUS is fine and the attacks did not occur. Spokesman <a title="http://www.usatoday.com/story/theoval/2013/04/23/obama-carney-associated-press-hack-white-house/2106757/" href="http://www.usatoday.com/story/theoval/2013/04/23/obama-carney-associated-press-hack-white-house/2106757/" target="_blank">Jay Carney</a> says that &#8220;The President is fine&#8221;.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.29.44-PM.png"><img class="alignnone size-full wp-image-3061" alt="AP Hacked" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.29.44-PM.png" width="512" height="95" /></a></p>
<p>The <a title="http://www.marketwatch.com/story/ap-says-its-twitter-account-hacked-2013-04-23" href="http://www.marketwatch.com/story/ap-says-its-twitter-account-hacked-2013-04-23" target="_blank">DJIA plunged almost 130 points</a> after the tweet went live, but has rebounded since.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.35.17-PM.png"><img class="alignnone size-full wp-image-3070" alt="DJIA reacts to AP Hacked" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-23-at-1.35.17-PM.png" width="275" height="223" /></a></p>
<p>Whether it is a media outlet&#8217;s twitter account or a website, on an almost daily basis, we are reminded of how vulnerable our assets are. The twitter compromise was most likely a phishing attack directed at AP writers. Whether the writers entered their full credentials or were the victims of <a title="http://palizine.plynt.com/issues/2006Aug/session-riding/" href="http://palizine.plynt.com/issues/2006Aug/session-riding/" target="_blank">session riding</a>, it is too soon to know.</p>
<p>-David</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/ap-hacked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stay on top of your website with new ChangeAlerts</title>
		<link>http://blog.codeguard.com/new-changealerts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-changealerts</link>
		<comments>http://blog.codeguard.com/new-changealerts/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 15:46:48 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[ChangeAlerts]]></category>
		<category><![CDATA[CodeGuard How It Works]]></category>
		<category><![CDATA[codeguard]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[website backup]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=3031</guid>
		<description><![CDATA[New ChangeAlerts Help You Track File Changes Last week, we released an update of our ChangeAlerts, a feature many of our customers value more than our secure cloud website backups. ChangeAlerts notify you when something on your website has changed, &#8230; <a href="http://blog.codeguard.com/new-changealerts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fnew-changealerts%2F&text=Stay+on+top+of+your+website+with+new+ChangeAlerts" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fnew-changealerts%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h1>New ChangeAlerts Help You Track File Changes</h1>
<p>Last week, we released an update of our ChangeAlerts, a feature many of our customers value more than our secure cloud website backups. ChangeAlerts notify you when something on your website has changed, and are invaluable for detecting if your website has been compromised. <a title="Hacked websites part of Yahoo! Mail exploit" href="http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/" target="_blank">URL redirects to scam sites</a>, <a title="http://www.lifehacker.com.au/2012/09/how-drive-by-malware-works-on-android/" href="http://www.lifehacker.com.au/2012/09/how-drive-by-malware-works-on-android/" target="_blank">drive-by-download malware</a>, and <a title="http://blog.sucuri.net/2010/07/understanding-and-cleaning-the-pharma-hack-on-wordpress.html" href="http://blog.sucuri.net/2010/07/understanding-and-cleaning-the-pharma-hack-on-wordpress.html" target="_blank">Blackhat SEO Spam (&#8220;Pharma Hack&#8221;)</a> all rely on changes to your files. And with ChangeAlerts, <strong>now you will know if you have been victimized</strong>.</p>
<p>The ChangeAlert email summary is intended as a quick way to gain insight into what is happening on and to your website. If anything appears unusual, view the detailed information available once you have logged into your website. This is an abbreviated email summary and not exhaustive.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/ChangeAlert-v2.0-23Apr13.png"><img class="alignnone size-full wp-image-3038" alt="CodeGuard ChangeAlert" src="http://blog.codeguard.com/wp-content/uploads/2013/04/ChangeAlert-v2.0-23Apr13.png" width="660" height="1803" /></a></p>
<h2>Key Sections: Backup Total, Overview, Website Files, Media Files and Other</h2>
<h3>Backup Total: High-level for all files</h3>
<p>Under the Backup Total section of the ChangeAlert, the summation of files added, modified, and deleted is displayed. This provides a quick snapshot of what is going on with your site.</p>
<h3>Overview: static and Dynamic File Granular</h3>
<p>The Overview section provides more granular information into important static and dynamic files you should keep your eyes on. Static files are those rendered in the browser, while dynamic require a server to generate the output. Depending on your website and configuration, there are likely other file types that are important to you. This list is not exhaustive, but serves as a starting point for the vast majority of our customers. Html, css, javascript, htaccess, php &amp; ruby files are those we place in the abbreviated overview. If any of these change and you or your developer did not change them, contact us immediately as you may have been hacked.</p>
<h3>Website Files: Individual file Listing</h3>
<p>In this portion, you can view the names of the files that have changed. The old ChangeAlerts resemble just this portion &#8211; pure additions, deletions, and modifications, along with the truncated filenames. We will list up to ten of the file changes here, with the rest viewable upon logging into codeguard.com.</p>
<h3>Media Files and Other: The rest of your content</h3>
<p>Changes to images and video files are much less likely to be problematic, and therefore, are listed last. In this portion, you can view images, videos, and all other file types, which are grouped under &#8220;Other&#8221;.</p>
<p>ChangeAlerts provide industry-leading visibility into how the content on your website is changing. Stay on top of your site, and gain peace of mind, knowing that if a site is compromised or a malevolent employee defaces the site, you will be the first to know it.</p>
<p>-David</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/new-changealerts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacked websites part of Yahoo! Mail exploit</title>
		<link>http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hacked-websites-part-of-yahoo-mail-exploit</link>
		<comments>http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/#comments</comments>
		<pubDate>Mon, 22 Apr 2013 22:53:21 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Compromised websites]]></category>
		<category><![CDATA[Hacked websites]]></category>
		<category><![CDATA[african mango]]></category>
		<category><![CDATA[compromised websites]]></category>
		<category><![CDATA[Dr.Oz]]></category>
		<category><![CDATA[garcinia cambogia]]></category>
		<category><![CDATA[Hacked Joomla]]></category>
		<category><![CDATA[hacked websites]]></category>
		<category><![CDATA[Hacked WordPress]]></category>
		<category><![CDATA[hcg drops]]></category>
		<category><![CDATA[raspberry ketones]]></category>
		<category><![CDATA[ultradrops]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=2976</guid>
		<description><![CDATA[An attack directed at Yahoo! Mail users is now being utilized to drive traffic to scam and phishing sites. In the middle of it all are innocent and legitimate businesses whose websites have been hacked. The hacked websites serve no malware, &#8230; <a href="http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fhacked-websites-part-of-yahoo-mail-exploit%2F&text=Hacked+websites+part+of+Yahoo%21+Mail+exploit" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fhacked-websites-part-of-yahoo-mail-exploit%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><p>An attack directed at Yahoo! Mail users is now being utilized to drive traffic to scam and phishing sites. In the middle of it all are innocent and legitimate businesses whose websites have been hacked. The hacked websites serve no malware, do not appear on blacklists, and pass McAfee and Symantec security scanners. Sites built on WordPress and Joomla have been discovered as hosts.</p>
<p>Whether the Yahoo! Mail users were compromised via the XSS (cross site scripting) <a title="http://thenextweb.com/insider/2013/01/07/yahoo-mail-users-hit-by-widespread-hacking-xss-exploit-seemingly-to-blame/" href="http://thenextweb.com/insider/2013/01/07/yahoo-mail-users-hit-by-widespread-hacking-xss-exploit-seemingly-to-blame/" target="_blank">vulnerability announced on Jan 7, 2013</a>, or via something more sinister, such as a server compromise, the end result is the same: Yahoo! mail accounts are being used to send email to their address books, which greatly increases the likelihood of deliverability. Recipients of the emails click on the links, since they are from a trusted source.  If the recipient is a Yahoo! Mail user, there is a good chance that the website they click on, once rendered, will compromise their account and send emails to their contacts. The recipient, in addition to serving as a distribution vector, is also a target.</p>
<p><span style="color: #444444;">The scam: </span><a title="http://usatoday30.usatoday.com/yourlife/fitness/weight-loss-challenge/2011-01-24-hcgdiet24_ST_N.htm" href="http://usatoday30.usatoday.com/yourlife/fitness/weight-loss-challenge/2011-01-24-hcgdiet24_ST_N.htm">weight-loss products</a><span style="color: #444444;"> that fly underneath the radar of the FDA, only </span><a title="http://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/ucm282334.htm" href="http://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/ucm282334.htm" target="_blank">occasionally getting attention</a><span style="color: #444444;">, because, to paraphrase the FDA, since these scams do not represent severe health threats (aka bubonic plague), with the limited time &amp; resources of the FDA, </span><a title="http://www.fda.gov/Food/DietarySupplements/QADietarySupplements/default.htm#FDA_analyze" href="http://www.fda.gov/Food/DietarySupplements/QADietarySupplements/default.htm#FDA_analyze" target="_blank">they have more important things to do</a><span style="color: #444444;">. How does the scam work?</span></p>
<h2>Step 1: Email from a friend, pure SPAM, or Google Ad</h2>
<p>The email shown below is what it would look like after your email service provider had received enough complaints to give you more information. This email was delivered to my inbox because it came from a trusted sender. Gmail is one of the best email providers, and prevents more spam than the leading competitors. This warning did not initially appear when the message arrived, however; it took time for Gmail to gather information and then start reporting the message as potentially harmful.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Yahoo1.png"><img class="alignnone  wp-image-3017" style="border: 1px solid gray;" alt="Yahoo! Mail Compromise" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Yahoo1.png" width="602" height="204" /></a></p>
<p>Another way the exploit could be initiated is that you search for Dr Oz within Google. Three ads pop up, and all appear innocuous. One even says &#8220;www.womensdigest.org&#8221; &#8211; that looks safe, right?</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-2.23.22-PM.png"><img class="alignnone  wp-image-3013" style="border: 1px solid gray;" alt="Dr Oz Google Search" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-2.23.22-PM.png" width="595" height="622" /></a></p>
<p>Whether you received an email or you conducted a Google search, the outcome is the same, you end up clicking on something that takes you to a landing page.</p>
<h2>Step 2: Fake Health Article Landing Page</h2>
<p>You search for the latest Dr. Oz promoted snake oil in google and click on a promoted ad, or click on a link in an email &#8211; either from a friend or pure spam. Almost certainly, you are taken to a landing page that appears to be a consumer health or women&#8217;s health publication. On this fake landing page resides an article about the latest diet drops or pills, with a video of Dr. Oz. He has promoted the following over the last five years: Acai Berry, Raspberry Ketones, Green Coffee Bean, HCG drops, and most recently, Garcinia Cambogia.</p>
<p><em>Giveaways</em>: Look at the URL. In the example below, it is actually &#8220;http://womenshealthmag.com-most-popular-deal.com/womens_healthgarcinia-a/garcinia1-index.php&#8221;. A quick glance at the logo would lead one to believe it is the Women&#8217;s Health site. And a quick glance at the URL would reinforce this. This is a subdomain of &#8220;com-most-popular-deal.com&#8221;. Tricky, huh!</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.25.55-PM1.png"><img class="alignnone size-large wp-image-2988" alt="Fake Women's Health Landing Page" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.25.55-PM1-1024x870.png" width="500" height="424" /></a></p>
<h2>Step 3: Link to e-Commerce Diet Pill site</h2>
<p>There will be multiple links on the fake landing page to a webpage where you can place your order for whichever fake product was promoted on the landing page. These days, the rage is Garcinia Cambogia. While the links will have different titles, and seem to reference different articles or sources, they will all go to the same place, the e-Commerce site. Celebrity endorsements are common on these landing pages as well.</p>
<h2>Step 4: Buy now at e-Commerce site</h2>
<p>The last part of the chain is a website, likely to be laden with fake &#8220;trustmarks&#8221; (McAfee Secure, BBB Accredited, etc), and fake testimonials, that will collect your credit card information in short order. The landing pages are simple, with a limited form to collect your name, address, phone, and email. On the next page, you will be prompted for credit card information. Either on the first or second page trust marks will appear, and if you right click on them you will see that they are a single image, <strong>not</strong> a verified trust mark.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.32.29-PM.png"><img class="alignnone size-medium wp-image-2984" alt="Garcinia Cambogia e-Commerce" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.32.29-PM-300x255.png" width="300" height="255" /></a><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.33.02-PM.png"><img class="alignnone size-medium wp-image-2985" alt="Garcinia Cambogia 2" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-4.33.02-PM-300x255.png" width="300" height="255" /></a></p>
<h2><span style="color: #444444;">Be careful and don&#8217;t trust diet products on the web</span></h2>
<p><span style="color: #444444;">These scams abound, and </span><span style="color: #444444;">the legitimacy of Dr. Oz is a key piece to the scams identified thus far. Fake trust marks from Symantec, McAfee, and GoDaddy are common. Whether you have interest in the weight-loss product or not, if you are referred to a site that resembles a consumer health site, with an article about a new breakthrough product, accompanied by a video of Dr. Oz, the site is a fake intermediary, set up with the goal of directing you to purchase the product. There will always be a link on this page that takes you to a separate site on which you can purchase the product.</span></p>
<p>Just because you got an email from a friend, or clicked on a Google ad, does not mean the end destination is safe. Even if the product looks appealing, do not enter any personal information, log out of your facebook/email/twitter accounts, and if anything suspicious occurs (if you are a Yahoo! Mail user, reset your password).</p>
<h1>What about Yahoo! and CodeGuard?</h1>
<p>We came across these scams because websites and webservers are being compromised to make this process work. Sitting inbetween Yahoo! mail recipients and the landing pages are redirecting webpages &#8211; with legitimate reputations. These redirecting pages are used so that as the landing pages and e-Commerce sites are reported and disabled, the ruse can continue with new landing pages receiving traffic.</p>
<p>The key question is: when will the FTC and FDA step in? With limited research, it is blatantly apparent that a multi-level marketing scheme based around products marketed through Dr. Oz&#8217;s television show, is being used to defraud consumers.</p>
<h2>Compromised Websites: WordPress &amp; Joomla</h2>
<p>We will explore how the compromised websites are being used. A member of our team received an odd email from a friend, and after firing up a virtual machine and turning off javascript within the browser, pasted the link: <a>http://www.iolcus.gr/kfaiyjg/<wbr />ddswjet</a>. A rapid redirect occurred, and this is the website that was displayed.<a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-09-at-7.21.51-AM.png"><img class="alignnone size-large wp-image-2994" alt="Fraudulent Landing Page" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-09-at-7.21.51-AM-1024x736.png" width="500" height="359" /></a></p>
<p><span style="color: #444444;">The subject line of the email was &#8220;Breaking news&#8221;, so the landing page seemed to be appropriate. A break through weight-loss product. If that is real, it is definitely breaking news. One big problem &#8211; the URL we input was www.iolcus.gr, not mxxfox.com.  Iolcus.gr&#8217;s website looks like this:</span></p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-09-at-7.22.03-AM.png"><img class="alignnone size-medium wp-image-2995" alt="Hacked website: Iolcus.gr" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-09-at-7.22.03-AM-300x215.png" width="300" height="215" /></a></p>
<p>This is a WordPress site, and from this screenshot, you cannot tell the site has been compromised. The only way that the redirect could have functioned is if someone had access to the folders on the webserver. There are countless ways for someone to get access, so we won&#8217;t spend time on that part now. The important part is that I highly doubt Iolcus had any idea they were a part of a diet-product scam. Another site that we observed to have been compromised was a Joomla! site.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-6.02.27-PM.png"><img class="alignnone size-medium wp-image-2996" alt="Hacked website: Joomla!" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-6.02.27-PM-300x220.png" width="300" height="220" /></a></p>
<p>This site was used to redirect to similar landing pages as we have seen already. Some cleverness exists in the process of the redirects that makes it difficult to follow everything that is happening.</p>
<h2>Summary: When there&#8217;s smoke . . .</h2>
<p>The processes used to market and sell these break-through diet products are complicated. Different companies seem to be involved in various aspects, with some sending SPAM emails, others using vulnerabilities to compromise webservers or commandeer user&#8217;s accounts without their knowing, and even others using Google Adwords. Customers are driven to landing pages that mislead and deceive. And then customers click and pursue their weight-loss dreams.</p>
<p>At this point, while there is a mountain of evidence that signals something nefarious about not just the marketing techniques used, but the underlying products themselves, we won&#8217;t comment more than to offer this one unique tidbit. Raspberry ketones were non-existent before Dr. Oz referenced them on February 6th, 2012. Since then, things seem to have progressed. You can research yourself to see how green coffee beans, garcinia cambogia, hcg drops, african mango, and other miracle products have found their way to the market.</p>
<p><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-6.49.04-PM.png"><img class="alignnone  wp-image-3021" style="border: 1px solid grey;" alt="Dr. Oz, Raspberry Ketones, and Garcinia Cambogia" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-22-at-6.49.04-PM.png" width="687" height="265" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/hacked-websites-part-of-yahoo-mail-exploit/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Brute Force Attacks: Protect Yourself Now</title>
		<link>http://blog.codeguard.com/wordpress-brute-force-attacks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-brute-force-attacks</link>
		<comments>http://blog.codeguard.com/wordpress-brute-force-attacks/#comments</comments>
		<pubDate>Mon, 15 Apr 2013 22:58:38 +0000</pubDate>
		<dc:creator>davidmoeller</dc:creator>
				<category><![CDATA[Backup]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[wordpress brute force]]></category>

		<guid isPermaLink="false">http://blog.codeguard.com/?p=2889</guid>
		<description><![CDATA[WordPress Brute Force Attacks: Quick Simple Solution Protect yourself by limiting wp-login.php to your IP address If you are a WordPress user, this is all you need to know &#8211; the WordPress brute force attacks that occurred last week can &#8230; <a href="http://blog.codeguard.com/wordpress-brute-force-attacks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div class="trackable_sharing"><a href="http://twitter.com/share?url=http%3A%2F%2Fblog.codeguard.com%2Fwordpress-brute-force-attacks%2F&text=WordPress+Brute+Force+Attacks%3A+Protect+Yourself+Now" style="text-decoration: none; white-space: nowrap;" title="Twitter" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//twitter.png" alt="Twitter" width="54" height="9"></a> <a href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fblog.codeguard.com%2Fwordpress-brute-force-attacks%2F" style="text-decoration: none; white-space: nowrap;" title="Facebook" target="_blank" onclick="_trackableshare_window = window.open(this.href,'share','menubar=0,resizable=1,width=500,height=350'); _trackableshare_window.focus(); return false;"><img align="absmiddle" src="http://blog.codeguard.com/wp-content/uploads/trackableshare//facebook.png" alt="Facebook" width="47" height="9"></a> </div><h1>WordPress Brute Force Attacks: Quick Simple Solution</h1>
<h2>Protect yourself by limiting wp-login.php to your IP address</h2>
<p style="text-align: center;"><a href="http://blog.codeguard.com/wp-content/uploads/2013/04/sledgehammer.jpg"><img class="size-medium wp-image-2940 aligncenter" alt="WordPress Brute Force Attack" src="http://blog.codeguard.com/wp-content/uploads/2013/04/sledgehammer-300x225.jpg" width="300" height="225" /></a></p>
<p>If you are a WordPress user, this is all you need to know &#8211; the <a title="TechCrunch Brute Force Coverage" href="http://techcrunch.com/2013/04/12/hackers-point-large-botnet-at-wordpress-sites-to-steal-admin-passwords-and-gain-server-access/" target="_blank">WordPress brute force attacks that occurred last week</a> can be mitigated with one simple technique: restricting which IPs can access your wp-login.php page. That&#8217;s it. The reason last week&#8217;s WordPress brute force attacks were so effective is that rather than one single computer IP address attempting to guess your password, <a title="Arstechnica Coverage" href="http://arstechnica.com/security/2013/04/huge-attack-on-wordpress-sites-could-spawn-never-before-seen-super-botnet/" target="_blank">tens of thousands were used</a>, which means that the attack could occur without sounding some of the traditional alarm bells.</p>
<p>But why risk relying on security plugins that may fail you when you can fix things yourself? And why install new software when the fix will take 2 minutes? Lastly, why rely on subpar solutions that can still cause your server to crash, due to the strain of rendering the wp-login page? How about you implement a solution that almost effortlessly rejects the unwanted advances in the most resource-effective way.</p>
<p>This is all that you need to do to protect yourself from a WordPress brute force attack:</p>
<ol>
<li>Identify your IP address (<a title="http://www.myipaddress.com/" href="http://www.myipaddress.com/" target="_blank">http://www.myipaddress.com/</a>)</li>
<li>Log into your server via FTP/SFTP or your hosting control panel&#8217;s file manager. HostGator&#8217;s file manager is below.<br />
<a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-15-at-6.36.20-PM.png"><img class="alignnone size-medium wp-image-2957" alt="HostGator File Manager" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-15-at-6.36.20-PM-300x231.png" width="300" height="231" /></a></li>
<li>Navigate to your .htaccess file (If it doesn&#8217;t exist, create it with a text editor)<br />
<a href="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-15-at-6.37.00-PM.png"><img class="alignnone size-medium wp-image-2960" alt="HostGator .htaccess" src="http://blog.codeguard.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-15-at-6.37.00-PM-300x231.png" width="300" height="231" /></a></li>
<li>Add this to the beginning (replacing the xxx.xxx.xxx.xxx with your ip):
<pre>&lt;files wp-login.php&gt;
order deny,allow
deny from all
allow from xxx.xxx.xxx.xxx
&lt;/files&gt;</pre>
</li>
</ol>
<p>Verify that your wp-login page cannot be accessed from a computer other than the one you are using. To do this, try using your phone or a friend&#8217;s computer. We are not claiming that this will protect you from all of the nefarious characters on the internet. This will, however, protect you <strong>completely</strong> from a WordPress brute force attack. <a title="http://wpmu.org/limit-access-to-the-wordpress-login-screen-to-specific-ip-addresses/" href="http://wpmu.org/limit-access-to-the-wordpress-login-screen-to-specific-ip-addresses/" target="_blank">Thanks to James Dunn from wpmu.org</a> for providing much of the guidance.</p>
<h2>Background Information</h2>
<p>Last Thursday, April 11th 2013, hundreds of thousands (at least) of website owners across the globe became victims of a sophisticated attempt to gain access to the portions of their webservers controlled by the WordPress Content Management System (CMS). WordPress is installed as a subordinate on the Linux operating system, usually below software used by shared hosting providers to provide control panels. The leading software used is cPanel and Plesk, produced by cPanel, Inc, and Parallels, Inc, respectively. Custom made hosting software is also used by hosting providers. Notable users of each type:</p>
<ul>
<li><span style="color: #444444;">cPanel: HostGator, Namecheap, WebHostingBuzz, BlueHost, A Small Orange</span></li>
<li><span style="color: #444444;">Plesk: Hostmysite.com, Media Temple</span></li>
<li><span style="color: #444444;">Custom-made software (GoDaddy, DreamHost, Endurance International vDeck properties: FatCow, iPage, etc). </span></li>
</ul>
<p>Vulnerabilities exist at each level of software installed: server (Linux), hosting provider (cPanel), and CMS (WordPress). I want to mention each level before focusing on the CMS and WordPress brute force attacks. To address only the CMS does a disservice, since a false sense of security can be created by closing every single window in the house if the front door is left open.</p>
<h3>Server/Operating System/Hypervisor Vulnerabilities</h3>
<p>Protection at this level is absolutely the responsibility of the hosting provider. WordPress users have no ability to control this, and only through picking a hosting provider focused on security can vulnerabilities at the hardware, operating system, and hypervisor be addressed. This equipment and software serves to create the base layer for hosting provider software to run.</p>
<h3>Web Hosting Control Panels: cPanel, Plesk, vDeck, Custom</h3>
<p>Locking down the control panel may be the responsibility of the hosting provider, or if you are running a VPS or dedicated server, it&#8217;s on you. Vulnerabilities do exist at this level, and have been exploited. Thousands of sites were hacked after a Parallels Plesk exploit was utilized - <a title="http://krebsonsecurity.com/2012/07/plesk-0day-for-sale-as-thousands-of-sites-hacked" href="http://krebsonsecurity.com/2012/07/plesk-0day-for-sale-as-thousands-of-sites-hacked" target="_blank">http://krebsonsecurity.com/2012/07/plesk-0day-for-sale-as-thousands-of-sites-hacked</a>. It is common knowledge that no system is impervious, and that as software increases in usage, the benefit to hacking it increases to miscreants. Software exploits, while possibly indicative of poorly written code, are more often a sign that the software has become popular enough to be a target.</p>
<h3>Content Management Systems: WordPress, Joomla, Drupal, etc</h3>
<p>All content management systems have vulnerabilities. WordPress brute force attacks, however, just come knocking at the front door, again and again. By simply guessing at a website owner&#8217;s username and password, the only restricting factor is the speed the website owner&#8217;s computer can respond &#8220;Yes&#8221; or &#8220;No&#8221; and the speed at which the attacker can make requests.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.codeguard.com/wordpress-brute-force-attacks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
