One of my clients has a shared hosting account with a major hosting company. Their site was recently hacked by the "Turkish Hacker."
A quick web search indicates that this is a well known attacker, going back several years. (Of course, it could just be a copycat.)
The hosting company provided no help in identifying how the site was hacked, or how to prevent it in the future, other than saying "change your passwords."
Is there any information available on how this particular hacker penetrates a site? Are there precautions the hosting company should have taken and did not? Are their things the client can do, other than using secure passwords and changing them regularly?
For those who are still under the softlayer hacker abuse please note you will need to re-load your server. We got hit a 2nd time after thinking everything was clean. Anyhow, for those who got hit again, my team and another from WHT - forgot who made the original clean.php script...
anyhow, here is a tool to clean all the data for all of your users:Copy fixit.pl and clean4.php to a directory. IE: /home/yourusername
Change username "changeme" in fixit.pl to the username where clean4.php is located execute fixit.pl: IE: perl fixit.pl. If you want to test this on one user uncomment the die statement. When you are ready to do the entire server comment the die statement.
i've got a couple of vps accounts and one got hacked today, i received a domain creation email for a domain i didn't create, password was "hackedonlyhost" and contact was not my email but someone elses. Root password was changed etc etc, but i managed to get control of the vps again.
Why am i posting this in the ded forum? because the email in the account setup was for a hosting company. I traced the ip to LT. I've found this guy on a couple of hacker forums (arabic, he's in egypt) also using his email at his hosting company.
So, whilst he may not be breaking LT rules at all do i bother contacting them to say they are providing services to hacker?
There Is Some Way That Hacker use a .htaccess file to change the php Version On The Server To use the Exploit Look I Run A php Shell From My Server [url] You Can See From The picture that my php version is 5.2.6 then I Have upload the .htaccess To My server the Version has been changed look to other picture [url] You Can see The .htaccess file And This Way Only Work If I have More Than one php Version on my server How Can I Secure My server From This Way
I'm still trying to figure this one out. I got an email last night about 10:30pm that a weird IP had logged with root. I thought it was a guy that helps with tech things but I ran the IP... it came back from Korea and I knew I was in trouble. I immediately logged into WHM and changed the root password then sent the server down for a reboot. He was only in there for about 3 minutes before I nailed him. I've banned the IP from the server and have been watching it for nearly 12 hours now and they haven't came back yet.
Now comes the task of trying to figure out how he got the password. This is mind boggling to me. He knew the password, like someone gave it to him... there were no incorrect guesses or brute force. The password was a series of random letters, both upper and lower case. Is it possible he got it through getting to /etc/passwd via a PHP script? I have open basedir restrictions in place, can they get around that? I noticed at the time he logged in there were several IPs trying to exploit PHP scripts on my server, you know, setting the parameters to txt files but I assumed with shell functions disabled (except exec) and with open basedir this wouldn't be possible. Is there a hole in cpanel / PHP / kernel recently I may have missed?
As with many sites. my site was hacked recently. my host was so negative about this. they didn't notice the hack attempt although it took the hacker 9 hours to break through.
after that I made some search on my host to find that it is not a real host at all. they are just resellers to another company. I was very disappointed, Then I decided to go to a better host who can protect me from hackers.
I read some threads about 'hacker safe host' but they all in general don't give a real name of trusted 'anti-hackers' companies.
can you guide me to some of the famous hosts?
if you can't my friends got a VPS hosted with WestHost. he offered me to move my site to his VPS. is west host trusted about hackers?
I was checking my business server's IIS errors logs when I ran across the following error:
2007-05-19 08:21:10 00.000.000.00 2243 00.000.000.000 80 HTTP/1.1 GET
/w00tw00t.at.ISC.SANS.DFind 400 - Hostname -
Additional information about the those responsible for the hack attempts are as follows
(retrieved from domaintools.com):
CustName: ----------------(hidden by me) Address: Private Address City: Plano StateProv: TX PostalCode: 75075 Country: US RegDate: 2005-08-27 Updated: 2005-08-27
Apparently this person was trying to use the dfind hacker tool to find vulnerabilities on my server. The IP address belongs to AT&T Yahoo; and I've already contacted them by email. I believe that subsequent hack attempts have originated from this IP, however, the IP address has been masked by the use of proxies. I think that this may be someone I know because the IP is only about an hours drive from me. I'm starting to suspect a disgruntled former client who has friends living where that IP's from.
Has anyone here had any similar experiences?
What do you think AT&T Yahoo's response will be?
Is there anything else I can do or should not do?
I am also considering reimaging my server because of system issues but I am concerned that would erase any information needed for investigative purposes. I have saved my log files, though, on a CD but I'm thinking that AT&T Yahoo or whoever investigates this needs the server as it is.
I want to ask about some tips to prevent my blog from hacker attack. My friends experience this and i dont want this happen to me. Is web hosting technical support can fix my host server if hacker break it out?
Sometime ago the DC told me there was too many files on server and I started to investigate what is was and i got info that some one hacked the server and was sending spam from it.
When I looked at the accounts in Direct Admin some of them had the contact email to some hacker so i deleted the emails and changed password on the DA account and the email of those accounts.
Still I got too many files all the time so the server goes down so i have to delete the spoolfile all the time like 10 times a day
Please help how do I detect from what account do the hacker operate?
Can I detect that somehow?
Is it possible to do some small script to detect this?
Is there any advanced module to DA that gives me the info?
I have a client that is certain someone is trying to hack her web-portal. I need to set up something that will alert me on suspicious activity on the server. For example someone fiddling with requests trying to make SQL / shell .. injection and similar threats.
Does any tool (for example bash script with grep) exist that would parse the raw apache logs and report if something is suspicious. Apache logs don't show the POST data so I am talking to admin to setup dump_io apache mod that enables this.
Or am I going into wrong direction here and there is whole another way to do this? I searched the web and forums for anything like this and didn't find anything.
I'm having a problem with a hacker...using insecure scripts on my user's accounts he changes Cpanel passwords. I do not understand how a script running as user nobody would change a Cpanel password. Any ideas on that ?
I am using mod security (rules from gotroot.com), register_globals are disabled. I also disabled the password reset feature as I thought the hacker may be resetting the passwords and then reading the new password from the email account on the server using the insecure script.
Unfortunately this guy simply doesn't stop...he seems to have a reverse DNS list or something. He is only attacking accounts on one specific server of mine but I am pretty sure he doesn't have root access.
It seems like someone has hacked into my server, and all of the pages for one of my domains are showing errors.
Each page on my site is showing a PHP inclusion error, each file on my site is trying to include an unknown file /tmp/blah.php for example which doesn't exist on my site, therefore creating errors and not showing my site.
I checked my site in ftp, it isn't in the code. So it is definitely in a server file somewhere.
What could be doing this? Its for a single domain only, I've created the file it is trying to include as a temporary fix, I have checked php.ini and there seems no reference to the included file there.
I have two reseller accounts with Innohosting and a hacker has got into several sites on both accounts. I have contacted Innohosting and hopefully will get an explanation soon.
But as this is very serious, I want to put it out on this forum also.
At first I thought they must have cracked my FTP access, but they have got into several sites on both reseller accounts so they must have gained access to the server itself, I suspect.
my VPS hosted by Strato was hacked and seems to be part of a botnet now. Until now I thought that the automatic backups of the provider would be enough and I did no separate backups using pleskbackup. Unfortunately the hacker attack was earlier than my oldest backup.
Now I want to move the complete server content including the configuration of approx. 10 domains to a new one. Therefore I want to make a backup of the plesk 9.5 server using pleskbackup to import it on the new server running plesk 12.I can access the old server in recovery mode only, which means, that a recovery system runs with the content of the old server mounted under /repair. Is there a possibility to tell pleskbackup, that the content to backup is mounted under /repair? Otherwise it seems, that I have to move the content manually...(I tried starting the old server in normal mode, but it immediately starts doing evil things, so this doesn't seem a good option...)
we have been having a strange hacking problem on our server that we can not seem to find how they are managing to accompish. I am just wondering if anyone here may be able to offer any suggestions on this?
The problem:
On our server, a hacker has managed to add malicious code to all html and php files on two hosting accounts that we operate. These two accounts are seperate and do not share login information. This is the 2nd time this has happened within the past two weeks.
Originally it was suspected that we needed to add SuPhp to prevent insecure permissions. This has been done, yet the problem continues.
On all html pages, malicious javascript has been added, and on all php files malicious php code has been added.
We have a lot of accounts on this server, and as mentioned only the two accounts seem to have been affected by this.
What we have done to attempt to secure the server: 1) We have installed SuPhp.
2) We have ensured that all scripts on the affected websites are updated and running the latest versions.
3) We have changed all the passwords.
Our server is a managed server, and our server company has been very helpful, however at the moment can not seem to pinpoint the problem. There also does not appear to be any indication via the access logs of the infected files being altered, yet they have been altered.
The computers used to access these websites are clean, and do not have any malware running, which would allow a hacker to obtain any passwords. It also does not appear that the hacker was able to obtain root access.
One other thing I noticed, we run Kayako on one of the sites. When this problem occurs we receive a message that Zend Optimizer is not installed on our server when attempting to login to Kayako, when in fact it is.
Searching Google, I found the following link on the Zend site in which the symptoms seem to be very similar. What are the odds this could be a Zend vulnerabilty?
I've been trying to fight off a hacker's attack for the past 24 hours. Chronologically, this is how the events evolved:
- Yesterday, I tried SSH-ing into my server as usual and I got an error saying that the host's key was not recognized, which made a bit suspicious
- I tried logging into my VPS' PowerPanel, but my root password did not work, which I found disturbing. I reached out to support and they reset the password
- I ignored Putty's warning and SSH-ed into the server and was greeted by this, which I've never seen before:
Code: Last login: Wed Mar 14 2007 14:13:35 -0500 No mail. This made even more conscious and I started actively searching for indicators of a breach.
- The following processes were running, and I did not recognize them:
Code: named 15756 0.0 0.4 36088 2256 ? S Mar14 0:00 /usr/sbin/named -u named -t /var/named/chroot
dmorg 26360 0.0 0.1 2264 872 pts/2 T 20:40 0:00 sh -c (cd /usr/share/man && (echo ".ll 14.2i"; echo ".pl 1100i"; /usr/bin/gunzip -c '/usr/share dmorg 26361 0.0 0.1 2264 512 pts/2 T 20:40 0:00 sh -c (cd /usr/share/man && (echo ".ll 14.2i"; echo ".pl 1100i"; /usr/bin/gunzip -c '/usr/share - Then I found a user called 'pma' in the /home directory, which I had never created. I could not find any suspicious files in the user's directory
- I finally spotted the point of breach in /var/log/messages:
Code: Mar 15 15:05:25 xxxxxxxxx passwd(pam_unix)[28121]: password changed for root Mar 15 15:06:34 xxxxxxxxx su(pam_unix)[30182]: session opened for user news by (uid=0) Mar 15 15:07:16 xxxxxxxxx su(pam_unix)[30182]: session closed for user news Mar 15 15:22:04 xxxxxxxxx sshd[20118]: Listener created on port 22. Mar 15 15:22:04 xxxxxxxxx sshd[20119]: Daemon is running. Mar 15 15:28:01 xxxxxxxxx su(pam_unix)[32568]: session opened for user pma by (uid=0) Mar 15 15:28:45 xxxxxxxxx su(pam_unix)[32568]: session closed for user pma Somehow they had gotten in as root and then opened sessions for news and pma.
- This morning I finally found where the hacker's files are hiding. He had created a new user overnight and a directory in there called "...". The folder contains various files:
Code: [root@xxxxxxxxx root]# cd "..." [root@xxxxxxxxx ...]# ls -al total 420 drwxr-xr-x 2 1004 1004 1024 Dec 17 08:57 . drwxr-x--- 8 root root 1024 Mar 16 15:48 .. -rwxr-xr-x 1 1004 1004 141817 Sep 3 2001 init -rw-r--r-- 1 1004 1004 113482 Mar 15 15:09 log -rw------- 1 1004 1004 640 Feb 18 05:34 messages -rw-r--r-- 1 1004 1004 664 Feb 27 01:12 muhrc -rwxr-xr-x 1 1004 1004 165596 Nov 2 2004 pico -rw------- 1 1004 1004 5 Mar 15 15:09 pid [root@xxxxxxxxx ...]# - Here's what's in the log file:
Code: [root@xxxxxxxxx ...]# less log
[Thu 08 May 08:03:27] + ---------- NEW SESSION ---------- [Thu 08 May 08:03:27] + muh version 2.05d - starting log... [Thu 08 May 08:03:27] + listening on port 6667. [Thu 08 May 08:03:27] + muh's nick is 'StefanG'. [Thu 08 May 08:03:27] + trying server 'geneva.ch.eu.undernet.org' on port 6667... [Thu 08 May 08:03:28] + tcp-connection to 'geneva.ch.eu.undernet.org' established! [Thu 08 May 08:03:29] + connected to 'Geneva.CH.EU.Undernet.org'. [Thu 08 May 08:03:30] + caught client from 'pcp02588223pcs.shlb1201.mi.comcast.net'. [Thu 08 May 08:03:45] + authorization successful! [Thu 08 May 08:03:45] + reintroducing channels...
[Thu 08 May 08:07:54] + ---------- NEW SESSION ---------- [Thu 08 May 08:07:54] + muh version 2.05d - starting log... [Thu 08 May 08:07:54] + listening on port 6667. [Thu 08 May 08:07:54] + muh's nick is 'StefanG'. [Thu 08 May 08:07:54] + trying server 'eu.undernet.org' on port 6667... [Thu 08 May 08:07:55] + tcp-connection to 'eu.undernet.org' established! [Thu 08 May 08:08:05] + connected to 'Diemen.NL.EU.Undernet.org'. [Thu 08 May 08:08:05] + caught client from 'pcp02588223pcs.shlb1201.mi.comcast.net'. [Thu 08 May 08:08:05] + authorization successful! [Thu 08 May 08:08:05] + reintroducing channels... There is a whole lot of these in that log file, and the timestamps look odd. I am not sure what all this is.
- This is where I am at right now. Can you guys help figure this thing out? How did they get in? What sort of vulnerability are they using? How can I patch things up?
- Here is my server info:
Code: [root@xxxxxxxxx ...]# uname -a Linux xxxxxxxxx.org 2.6.9-023stab033.9-enterprise #1 SMP Tue Dec 5 14:40:57 MSK 2006 i686 athlon i386 GNU/Linux
[root@xxxxxxxxx httpd]# vmstat 5 5 procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 0 390688 0 0 0 0 0 0 0 8365 1 0 99 0 0 0 0 390524 0 0 0 0 0 0 0 0 0 0 100 0 0 0 0 390524 0 0 0 0 0 0 0 0 0 0 100 0 0 0 0 390528 0 0 0 0 0 0 0 0 0 0 100 0 0 0 0 390528 0 0 0 0 0 0 0 0 0 0 100 0
- I have Apache & MySQL & PHP running. I host 3 websites. They run Simple Machines Forum 1.1.2, phpMyAdmin, phpcollab, awstats and that's about it.
All index.php and index.html files on my server have been replaced with the "JaMaYcKa" hackers page. I was reading on WHT, and just about 10 days ago this happened to another member here.
I am using seeksadmin for system administration, and coincidently the guy who was hacked 10 days ago was also using seeksadmin. I believe there was another member here a month ago who was also hacked by "JaMaYcKa", and he was also a seeksadmin customer. I am not blaming seeksadmin in any way, they have helped a lot and I hope they can get this resolved.
Does anyone have any information on how to reverse/fix this issue? I am no system admin, just to put that out there, hence the reason I hired seeksadmin.
Here is the .bash_history from what the "JaMaYcKa" hacker did,
Quote:
cd / pwd /usr/sbin/useradd -o -u 0 -g 0 r00t -p ****************** passwd r00t rm -rf tmp/ cd tmp ls -a unzip 1.zip perl mass.pl /tmp/index.html exit
According the the history, he ran some mass.pl script which would cause all index.php/html files to be changed (I am assuming). I have already removed the user "r00t" as seen above is what he created.
Any info on how to get this reversed (and if anyone else was using seeksadmin, let me know if they resolved your issue). I am currently waiting for an update from seeksadmin, so I'll update you guys once they reply to the ticket. Also to note I am using whmcs which contained the root password to this server; another user mentioned in another thread that if you were using whmcs/mb/ce/etc a hacker could get your root password, which of course if the password was not encrypted or the script had a glitch, the hacker could easily get your root password.
i have decide to buy hosting plan on dreamhost with a discount coupon of 24$ per year, i want to know whether this offer is valid for year or for ever.
any idea on this error,? my fiend is having pb with fileinfo after his installation
Warning: finfo_open() [function.finfo-open]: Failed to load magic database at '/usr/share/file/magic.mime'. in /home/tomita/public_html/ff/fileinfo.php on line 2
Warning: finfo_file(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 3
Warning: finfo_close(): supplied argument is not a valid file_info resource in /home/tomita/public_html/ff/fileinfo.php on line 4
these are the errors he see when he use the following code
i have a strange problem, i use a VPS with CentOs 5 linux and i noticed when i look on the php info page that my email adresss is there and i need to change that email to another one but i don`t know where to do that
I have looked in my HyperVM control panel and in Plesk 9 control panel but i don`t find that adress...where is that set ?
I made a couple of search on this forum but that did not fetch me what i exactly wish to know.
Obviously, the first question which has been asked millions of times 1. How good is their server performance?I have my site hosted from Godaddy.com. When i go for speed test of my site i always found the speed to be about 0.40 seconds while google and yahoo being 0.01 and 0.04 respectively.
2. I am need JAVA hosting. enom.com seems to offer every thing under one hosting plan which is really good for me.
3. I tried seeing their help files to find out how many times their TOMCAT restarts a day but i guess their help files are restricted to only registered user. Can some one please tell me is there a way to manually restart Tomact in enom.com?
4. The number of MySQL database is not important for me. What i am looking for is how much data can i save into each database. Godaddy.com offered 25 databases, for which i was pretty happy but latter on i figured out that the amount of data i can store is limited to 200 MB only. which is really sad!