Nerds at Work

RSS

Grr… I Hate iFrame Injections.

Written by Brian on October 24, 2009 – 8:58 pm -

Eugh.  I hate iframe injections.

Quite some time ago, I gave up on maintaining my various sites – notably this one and Web Cash. I simply didn’t have the time to add new content, and I’d had trouble with the theme files getting infected with iframe injections.

Last month, I decided to clean up the files and, if nothing else, keep the sites alive as they were. They bring in a small bit of revenue from ad sales, and I don’t see any reason to pass up money that could be coming in if the sites were functioning properly. So, I cleaned up all the template files, changed all the passwords associated with my hosting account and FTP accounts, and thought all would be well.

But it isn’t!

For whatever reason, I can’t seem to shake this damn problem. And every time I notice it’s back, it raises my level of anger another notch.

The infections routinely affect three files in my template: index.php, header.php, and footer.php. Each file has a new line that creates an iframe, which inevitably loads some invisible links or malware. This iframe can also get your site blacklisted from Google (after cleaning up the files, my site was re-listed on Google and I’m getting some more search traffic).

I really can’t figure out how or why the files keep getting re-infected. I’ve repeatedly changed all the passwords associated with my web host and with WordPress. I’ve updated WordPress to the latest version. I’ve checked the file permissions, and they seem correct. Arg…!

Tonight, I found one potential problem that might have been the culprit. I installed the Antivirus plugin for WordPress, and it found a random script tag in my header file. I’m not entirely sure that a script tag could lead to these files being edited permanently, so I don’t know that it’s the culprit. But let’s hope… because I’m tired of checking on things and finding that the files have been tampered with yet again.

Posted in Nerds at Work, Web Design | 2 Comments »

Wednesday’s Run – Slower, but Ok

October 21, 2009 – 9:34 pm

Monday, I had a great run.  I ran a 5k loop (5200m to be more ...

No Comments »

The Evening Run – Improved 5k Time

October 19, 2009 – 8:33 pm

I got home from class tonight around 8 PM, and it was time for a ...

1 Comment »

Battling an Autorun Virus

October 17, 2009 – 3:04 pm

Eugh. I hate viruses. Even when they seemingly do nothing but implant annoying files on ...

No Comments »

Out Running in the Rain

October 15, 2009 – 12:00 pm

Last weekend, I had a couple tough running workouts. Come Tuesday, I was beat, so ...

No Comments »

Out Running – The Weekend’s Training

October 12, 2009 – 7:17 pm

I've set out some ambitious goals for myself to get back into running shape this ...

1 Comment »

Getting Back Into Running – Setting Goals

October 12, 2009 – 7:08 pm

Years ago, I ran track in high school. I didn't run with the team for ...

1 Comment »

Engrade – Another Look at the Online Grading System

October 3, 2009 – 8:15 am

Halfway through last year, I started using an online grading system - Engrade. Initially, I ...

1 Comment »

How Do I Open a Docx File?

September 28, 2009 – 12:56 pm

Before last Christmas, I wrote a post about opening .docx files.  My advice then was ...

No Comments »

Acer Netbook? Yes, Please.

April 4, 2009 – 3:13 pm

A couple months ago, I got an Acer Aspire one through an Acer promotion.  I ...

No Comments »