Solved

My php webpage got hacked ! please help

Posted on 2009-07-01
9
342 Views
Last Modified: 2013-12-09
Hello i have my main webpage consist of a index.php and a main.php included that have additional information to display and the permission of these files 0644 i was suprised when i found that my website didn't display correctly i open these files and i saw a strange hidden iframe inserted and it have a suspicious link think it is a spam !

So how can i prevert from such hacking ! and how these get to my file , however now i changed my cpanel password but i think they got from another hole !

So please help me and advice about your experience in such hack and how can i secure myself

www.audiominds.net 
0
Comment
Question by:Styleminds
[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
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 2

Accepted Solution

by:
MKlefasStennett earned 200 total points
ID: 24754324
It would seem as though they got in through a vulnerability somewhere within your host's setup. Are you hosting the webpage yourself?
0
 

Author Comment

by:Styleminds
ID: 24754472
Well i am using helpinghandhost.com hosting.! can anyone explain why they did this ! is this an bot spamming or a human spaming and how it get to my file !
0
 
LVL 2

Expert Comment

by:MKlefasStennett
ID: 24754605
There was a recent mass hack originating from china called the Gumblar Hack. They got their link inserted on as many sites as possible to increase their search rankings and drive large amounts of traffic onto their pages. In so doing they are able to collect tiny payments from advertisers millions more times than usual and make some money.

The below threads contains links to a script that can be used to clean up after this infection, and also a more in-depth analysis of the attack

http://www.danielansari.com/wordpress/2009/05/automatic-removal-of-gumblarmartuz-trojan/

http://www.webpayments.ie/blog/Gumblar-What-is-it-How-to-I-remove-it-.html
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:Styleminds
ID: 24754947
Thanks MKlefasStennett for the info but how technically they got into my file thru my ftp connection !
0
 
LVL 7

Assisted Solution

by:rcflyr
rcflyr earned 200 total points
ID: 24755115
The attack was probably through the cpanel and not your ftp connection - I don't know how many times I've seen attacks to or from hosting companies with improper or out of date cpanel installations.
0
 
LVL 11

Assisted Solution

by:BrianMM
BrianMM earned 100 total points
ID: 24755125
Would'nt necesarily be thru ftp... as somone above stated, your hosting provider may be unsecure and was/is vulnerabilities on the server which will allow somone to ultimatley ssh as root (or similar) and effectivley take over the box, and runa  scrip affecting all sites hosted.

I would inform your host that their server has been compromised.... that's what you pay them for!
0
 

Author Comment

by:Styleminds
ID: 24755146
So how can we prevent this hack and how can we check if we are safe!
0
 
LVL 7

Expert Comment

by:rcflyr
ID: 24755212
Your hosting provider is going to have to prevent this - it doesn't sound like you have much control over the system.  If you really want to have control over access to your system, you should look into a VPS server and configure it yourself.  I like slicehost - of course you have to learn how to install and configure all of the systems you want to use, but I think that's valuable information anyways.

Of course, this is all based on the assumption that they got in through your cpanel.
0
 

Author Comment

by:Styleminds
ID: 24755285
well i don't want to get into this headache so what i want is a secured shared system i don't have that deep access and even i don't have a SSH access , so what you suggest me to do to check if there still other spamms in my webpage or in my whole hosting ?
0

Featured Post

Is your NGFW recommended by NSS Labs?

Ours is! NSS Labs Next Generation Firewall Test gives the WatchGuard Firebox M4600 a "Recommended" rating! Curious where your NGFW landed on the  Security Value Map? See the map and download the full report today!

Question has a verified solution.

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

Ready for our next Course of the Month? Here's what's on tap for June.
Email attacks are the most common methods for initiating ransomware and phishing scams. Attackers want you to open an infected attachment or click a malicious link, and unwittingly download malware to your machine. Here are 7 ways you can stay safe.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

707 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