Solved

Virus on website

Posted on 2010-11-21
10
343 Views
Last Modified: 2012-05-10
My website shows
Reported Attack Page!
Linux server
PHP and html files

What do I do now ?
Plz advice
0
Comment
Question by:whspider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
10 Comments
 
LVL 2

Accepted Solution

by:
soulreaver1 earned 250 total points
ID: 34183327
Some virus scanners analising php/html code to find possible viruses/danger code. Usually there isn't any virus, however somtimes some files on your site could be infected, example: http://www.prelovac.com/vladimir/warning-website-virus-attack .Do you have any log generated by this antivirus? It would be helpfull.
0
 
LVL 7

Assisted Solution

by:stephen_c01
stephen_c01 earned 250 total points
ID: 34183339
The last page that got hacked that i worked on, they modified the .htaccess and index.php/html and put redirect in there to the true virus site. The virus was never on the hacked site.
0
 

Author Comment

by:whspider
ID: 34183602
How do I avoid this .............. i can't be monitoring this all the time
0
Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

 
LVL 7

Expert Comment

by:stephen_c01
ID: 34183661
make sure you have secure passwords and if you do you probably have a bug in a script. The site i worked on was a bug in Joomla 1.0 to gain access.

Make sure you are running the latest version of any scripts or CMS.
0
 
LVL 2

Expert Comment

by:soulreaver1
ID: 34183662
Read antyvirus log and then find the reason.
0
 
LVL 25

Expert Comment

by:madunix
ID: 34195893
0
 
LVL 2

Expert Comment

by:koffu
ID: 34238432
at first, change all you application, system and FTP passwords.
analyse ftp logs: most problem is unsecured ftp clients, which save passwords in plain text. Often this user click "save pw" and local workstation viruses found it.
look and analyse .htaccess files for rewrites, delete or fix necessary lines.
after analysis of logs, your will see which info was changed. For example, most viruses add own body as <IFrame> directly in the end of php files. If you'll find it, simple delete with text editor, preserving php code structure.
0
 

Author Comment

by:whspider
ID: 34358052
The iframe gets injected often eventhough i change the ftp passwords and all ,,, how do i avoid all that ?
0
 
LVL 38

Expert Comment

by:younghv
ID: 34580792
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question