![]() |
Better check your JS and PHP files [new malware injects]
Just wanted to share this with you as it might affect your traffic. Funny thing is that Google doesn't report it yet as badware.
There is a new kind of JS malware virus that injects code to make 1pixel iframes and connects to certain sites. I just scanned 150 domains and some of my WP installs where infected. Here is a link from a German coder offering a workable solution. Copy the code in a php file and upload it to the root of your server. Once done type www.xxxx.xx/filename.php to start scanning your files. It also disinfects your code. Here the links: http://forum.nexoneu.com/NXEU.aspx?g=posts&m=3143118 http://blog.insidecomp.com/?p=33#more-33 PHP Code:
|
how will this virus affect your server? Will this cause load issues and eventually a mysql crash?
|
Well it will cause extra load on your server (makes more connections) plus your sites are flagged as Malware by various AV software apps
|
this is hitting Blogs or over all sites in general?
Can you find it by looking at the code of the index or is it hidden? |
Doesn't matter, all sites that are using JS files
|
OK thanks
Damn.. More work. |
Thanks, I'll add that signature to our scanner. I'll actually be interpreting and reducing the signature to catch other variations if the same thing. The posted code is awefully specific.
|
Thanks for the heads up :thumbsup
All check and clean |
Cleaning up your files is good but that doesn't fix the problem.
How did that get into your site to begin with is the question. |
Quote:
All is pretty closed now. Took me some time but all is cleaned and hope it can help others. |
crazy h4x0r5
|
Thanks for this, will have to check mine out.
|
the cleaning code itself makes my antivirus goes bananas
|
thanks for the code, i will check my domains too.
|
If you don't think you're vulnerable read about my nightmare below. It's quite embarrassing. I don't post much. No one wants to write a story like this, hopefully it helps someone.
I was hit Thanksgiving day of last year. 12 years running adult sites and never a problem. In my case, the permissions on 1 php file within openx were wide open. Permissions don't sync across servers and malware was injected on my splash redirecting to a Russian site. Multiple shells were installed and if you have ever seen your backend/library via a shell with Russian headers and tags, it's the scariest thing ever. Quite elegant too, all your folders and files are color coded, everything wide open. The second scariest thing is looking at the code injected on to the page itself. In my case the code was 7 or 8 strange characters, you can't even see the redirect buried at the very bottom of the page. The page is straight HTML, a simple warning page. Super clean. The characters look like the innocent copyright tags. That code referenced scripts buried far in my file structure. Ad Words suspended, Banned from Google. Cybercat pulling me, TJ yanked me. Kenny emailing me, Paperstreet emailing me. Pornhub video b gone. Exo paused. NIGHTMARE! That was my Thanksgiving. The good part is it didn't last long. Once clean I resubmitted to google and within 5 seconds I was approved and it was like nothing ever happened. All references to us distributing malware within google search vanished. What saved us was clonebox and Ray, having a great host and my man Konrad. The very early symptoms won't be apparent. First extremely vague warnings from Avast, then AVG then it gets wide out and the messages start rolling in from customers and partners. The nightmare really starts once you get banned from google. All paid SEO Gone, all organic SEO replaced with malware warnings. Multiple servers on lockdown, thousands of folders each with perfect permissons set and yet 1 file wide open. Looking back it's probably best it happened because other measures are now in place to ensure that never happens again. Check your permissions and and at the very least, get a script installed that alerts you to any changes on your boxes. Having a firewall on your FTP/SSH isn't enough. These new malware injections are pretty clever. Rather embarrassing, I had to learn the hard way. Hopefully you won't have to. :) |
All times are GMT -7. The time now is 07:22 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc