MontanaWebmaster.com Has Been Hacked!

About the Hack
About the Restore

INTRODUCTION: MontanaWebmaster.com was recently hacked with a compromise that is common on sites hosted on Modwest. While a new site is being restored on a different web host, SiteGround, you may be interested to read more about the hack on our Facebook Page. Also, you will see changes to this static site over time while we post about how to create a new WordPress site. Watch the discussion about the hack, the temporary static site and the new WordPress site on our Facebook page.

 

FACEBOOK POST 10

AS THE HACKED SITE TURNS: LOOKING AT THE CODE, Episode 10

In the past few episodes, we have been looking at the process of the site restore on the hacked Montana Webmaster site to a more secure host. Now we will take a look at the code the hackers added to the site.

This does not seem to be a sophisticated compromise, but there are still some interesting features of the file they added to my server space. The first thing is that these guys are really bad coders, as far as their HTML and CSS skills go. Even the 12-year-old I'm working with is a better HTML/CSS coder than they are. Here are a few specifics:

1. There is no doctype. I have included a link for the hackers to improve their skills.

2. There is no <head> tag. Well, actually, Free Code Camp doesn't teach you about the <head> either.

3. They are using really tacky CSS. This belongs on the Websites that suck for 2005 (see link)
BODY {SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: darkgray; SCROLLBAR-3DLIGHT-COLOR: #eeeeee; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: gray; SCROLLBAR-DARKSHADOW-COLOR: #000000}

Web Pages that Suck 2005

4. They are totally inconsistent in their syntax. Here is an example: A:hover {
COLOR: #000000
}
body, td, th {
color: #000000;
}

5. Their styles are disorganized. If they were any good, there wouldn't be two sets of body tag rewrites. Their internal CSS code starts with the one in #3 and ends with
body {
background-color: #000000;
background-image:url('http://image.noelshack.com/fichiers/2016/05/FileNameRemoved');
background-repeat:no-repeat;
background-position:top;}

If you are going to be bad boys, at least be bad boys with style ...