hooked on golf blog logo
Hooked On Golf Blog :: Golf, life (in that order)
Golf equipment & course reviews, golf travel & lifestyle, news, opinions, rants...

Bogey Pro Golf
December 1, 2006
Site hacked. Malicious code destroys rankings.

I’ve been busting my ass on this blog for almost two years now. I’ve put hundreds and hundreds of hours into the design and content of this golf blog. HOG has been growing fast over the last 1.5 years, and has moved up to the very top of Google’s search engine results for many keywords or phrases (golf blog, Taylormade TP, Natalie Gulbis, Tiger Woods, Nike Sumo etc). I’ve had to upgrade hosting due to the massive bandwidth of all the traffic and images HOG has. Hooked On Golf Blog has been in the top 2-3 golf blogs for a long time and has had #1 placement at the top of Google’s results for many golf related subjects… until this week.

I noticed a couple of weeks back my poll text was messed up. I assumed (never a good idea) that a file on my server had gotten corrupted and spent a tiny amount of time trying to figure it out. I then started noticing that my traffic over the last weeks had been dropping considerably. In fact, my Google related referrals and traffic dropped 94%. Searches which used to give me tons of traffic disappeared completely and HOG now can’t even be found in the top several pages of Google’s search results.

What happened?

I was starting to sweat bullets today when I saw that my traffic had dwindled down to a mere 10% of what it was two weeks ago. Sometimes Google re-indexes it’s search results so I hoped that was the case and that HOG would jump back up. No such luck.

I brought these happenings to the attention of HOG’s best pal EatGolf. Eat poked around the web to see if this had been happening to anyone else but to no avail. He then took a look into HOG’s code and found about 10 lines of code that didn’t look right. He sent the code to me and I didn’t recognize it at all. It was a javascript code of some sort which ran in the background of the site and sent engines away from HOG and to a freaking spam site which was selling erectile dysfunction drugs.

My guess is that once Google indexed HOG with this malicious code leading to a spam site, it had no choice but to remove HOG’s search results. Obviously Google can’t be a reputable search engine if the results are spam. As far as I can tell this malicious code has been resident here for 2-3 weeks. You can look at a graph of HOG’s traffic and it’s been steadily dropping for that period of time, after a huge peak around November 2nd.

I’ve now removed the code and implemented a few security measures to hopefully prevent these jerks from doing it again. I hope that the damage done is reversed quickly as the bots re-index the site in the next little while. I don’t know if the damage for those keywords and search results is permanent. I don’t know how long it will take for the traffic and site’s rankings to return to where it was before.

Thanks to Eat

Many, many thanks to my pal Eat for finding this code. Eat may be responsible for preventing the complete destruction of this site’s web rankings… I hope.

Check your code now

For those of you who have golf blogs or sites of your own, I recommend you take a look RIGHT NOW at your code. I had no idea this code was there and it was like a fast growing cancer.

UPDATE

Here is a pic attached of the code:
code

8 Responses to “Site hacked. Malicious code destroys rankings.”

  1. Cal Says:

    So what code are we looking for?

  2. Tony Korologos a.k.a. mediaguru Says:

    I won’t post the code here as it will do two bad things:

    1. It will show other hackers what they can do.
    2. It will post the damn code to the bots again!

    Look for code that doesn’t belong and outgoing links to sites.

  3. BogeyMan Says:

    can you email us the code to look for?

  4. Tony Korologos a.k.a. mediaguru Says:

    Tell you what… I’ll take a screen capture of it and post it as an image. That way the bots won’t see it.

  5. kiwi Says:

    bastards, that all i can say about it

  6. bedford_golf Says:

    Sorry to hear that . . . did you say you noticed after you switched hosts? Did you notify them? how did they inject the code? Was it in a serverside script? SQL injection?

  7. Cal Says:

    “I’ll take a screen capture of it and post it as an image. That way the bots won’t see it.”

    Cheers for that.

    Now let’s hope you get your ranking back soon!

  8. Tony Korologos a.k.a. mediaguru Says:

    No I didn’t say it was after I changed hosts. I said that my bandwidth was so heavy because of all the traffic here I had to upgrade (with the same host).

    Not an sql injection, thankfully. But I have a zillion sql backups so I wouldn’t be down too long if it was. I don’t know how they got to it but it was a php file with script they’d added.

Leave a Reply

You must be logged in to post a comment.

HOG Golf Blog Pages

Golf Blog Categories

tattoo golf

Search Golf Blog

Currently Reading

Last Sunday In April Masters Augusta Book
The First Sunday in April: Masters Stories

My Favorite Golf Books

Golf Blog Stats

17002003

There are currently 2,035 posts and 2,084 comments, contained within categories.

Golf Blog Archives

December 2006
S M T W T F S
« Nov   Jan »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

In my iPod right now:

Feeds And Misc

Disclaimer

the golf space golf social networking

Photo Gallery

Golf Equipment
Golf Courses
Tiger Woods
Golf Players
Golf Apparel
Lifestyle
Travel
Instruction & Fitness
Golf Accessories
Random
Mediaguru's Pics
Masters/Augusta National

Latest Golf Reviews

GolfDotz Golf Ball Markers
Tattoo Golf Belt
Identipen Ball Marker
Bushnell TourV2 Rangefinder
Boggy Golf Gloves
FootJoy ProDry Golf Polo
FootJoy MyJoys Golf Shoes
Greg Norman PlayDry Polo
Embassy Suites Lake Tahoe
BallBrite Golf Ball Cleaner
Frogger Amphibian Towel
Bobby Jones Wedges
Divot Tees
Sweet & Saucy
Amphibian Golf Ball Towel
Gatorade Tiger
Bullfrog Sunscreen
Club Count Electronic Golf Bag
Covert Cooler
Adidas Adivista Sunglasses
Bridgestone TreoSoft Golf Ball
Tattoo Golf Cart Bag
Cigar Caddy 2-Stick
Fiz Cleaner
Golf Video Caddy
Perfect Pendulum
Lamkin Golf Shoe Inserts
ClubZup
Shaftix Shaft Wraps
O-In-One Apparel
MacGregor MT 3-Wood
OtterBox 3500 Case
Hidden Valley Golf Soaps
Tattoo Golf Driver Cover
Golfing Caddy Drink Holder
Tattoo Golf Blade Cover
Cigar Caddy
Tattoo Golf Mallet Cover
New MacGregor MT Irons
JKruz Tornado Sunglasses
Duffix Swing Trainer
King Golf Royal T
Golf Video Camera Perch
Precept Distance iQ 180 Ball
Golf Hold 'em Poker Cards
Lucky 7 Golf Hold 'em
King Golf Ball Warmer
Stick To Golf Learning System
Cart cooler & ball washer
CBUK Golf Apparel
First Class Travel Bar
Bobby Jones Hybrids
Gigantic Book of Golf Quotes
GRIP Hot Steel 3-Wood
Kaenon Polarized Sunglasses
Zen Oracle RDE Putter
4-in-ONE travel short game set
Elmer Golf M1 Putter
The Scorecard Always Lies
Bernardus Lodge & Winery
Mazda MX-5 Miata Sports Car
S&J 18th Junior Golf Apparel
Putt Right Putting Aid
Flog Dog Improvement
Tattoo Golf Glove
Versus Interchangeable Driver
Titleist NXT Extreme Golf Ball
Tattoo Golf poly-dri golf shirt
Ogio Terminal Luggage Bag
Foozle Golf Game
Scorecard Caddie
Titleist NXT Tour Golf Ball
The Glove Grabber
Windage Wind Tester
GEL Emerald Putter
Fat Bastard Driver
Elite Sport Dead On Putter
GRIP 460cc Driver
A-BALANCE Golf Tees
Fancy Golf Tees
Brush-t Golf Tees
Zero Friction Golf Tees
Golf's Three Noble Truths
GRIP Wide Sole Irons
Skins Game Golf Apparel
Flog Dog Golf Art
Frogg Toggs Golf Rain Suit
Callaway HX Tour 56 Review
Brushpro Groove Cleaner
The Ultimate Golf Journal
Chiliwear Golf Shirts
Tifosi Dolomite Sunglasses
Tiger Woods PGA Tour 2007 Nintendo Wii
OGIO Golf Shoe Bag
GRIP Hypersteel 3H Hybrid
RedEye i330 Laser Putter
Divix switch blade
GRIP Hypersteel 4H Hybrid
Basic Golf Apparel
Tifosi Gavia Sunglasses
Sun Mtn. Micro-J Jacket
EI Short Game DVD
Tifosi Slip Sunglasses
Alpha C830.2 Plasma Driver
Winn G8 Grips
Titleist Vokey Spin Milled Wedges
Ogio Monster Travel Bag
Velocity Wipes
The Shoe Tool
Pop Up Protector
GRIP Sweetness Putter
Golf Stretching DVD
Callaway Eyewear S205
Callaway Eyewear 401
TaylorMade TP Red Golf Ball
Dunlop Loco Tour D Ball
Ping G5 Hybrid
Callaway Eyewear 602
Green Friendly Golf Belts
Mizuno MP T Wedges
Mark Mender
Firethorn Golf Apparel
Rain Wedge
The Golf Space
Biosport by Bite Shoes
OGIO Grom Golf Bag
MacGregor V-Foil M5K GT Putter

Golf Course Reviews

Primm Valley Lakes Course
Black Mesa Golf Club
Primm Valley Desert Course
Sky Mountain Golf Course
The Ledges Golf Course
Ballyneal Golf Course
The Club at Pradera
Fossil Trace Golf Course
Red Hawk Ridge
Hobble Creek Golf Course
Burning Tree - Maryland
Wolf Creek Mesquite NV
Green Spring Golf Course
Coral Canyon Golf Course

Sponsors (click now!)

Golf Property
Buy Golf Balls

2008 Masters
BlogCapsule
masters logo augusta national

2008 Masters TV Times
2008 Masters/Augusta Photos
Online Masters Coverage
Best Part Of The Masters?
Stupid Press Questions 1
Masters Thursday Blogs
Masters Friday Blogs
Masters Saturday Blogs
Sunday Pairings & Times
Masters Sunday Blogs

2007 Golf Time Capsule

2007 Year In Review
2007 Masters
2007 PGA Show
2007 HOG Turkey Awards
The Golf Space - golf social netowrk community

Countdown

In My Golf Bag

My Backup Golf Bag

SPECIAL SECTION:
2008 PGA SHOW BLOG


400 PGA SHOW PHOTOS
2008 PGA SHOW VIDEOS
Sundog Eyewear Video
PGA Fashion Show
DiXX Blue Computerized Putter
Golden Plane
Zone 22 Range Equipment
Accu Length Junior Clubs
Royal Albatross Golf Shoes
Bobby Jones Driver Video
Bagboy
Bobby Jones Wedges Video
Day 2 recap
Puma Golf Shoes
EEZ-Read Green Reader
Ontic Golf Video
Day 1 recap
I met Greg Norman
Jesse Ortiz /Bobby Jones
Nicklaus Golf
OGIO Video

The Mac Space

Got an iPhone, iPod or Mac?

Check out The Mac Space

HOG Friends

free fantasy golf

The best wood in most amateurs’ bags is the pencil.