Over the last two days we have had two separate servers hacked and two different users have their websites trashed. After investigating we have found they used the cPanel password reset function to gain access.
access_log
After looking into /var/cpanel/passreset we found
We have used the tweak settings to turn off password reset for cPanel users to fix it in the mean time.
On the seconds server we stopped it midway and found some files still there.
The first one is /home/hackedsite/.contactemail inside it has an email - Removed - which we did not set.
Secondly we found a folder called /home.hackedsite/public_html/security-team/Login-webapps-mpp-account-selection.
See attached for a preview of that folder.
If anyone could put some light on how they were able to get in we would be appreciative.
access_log
Code:
41.111.119.117 - - [06/07/2018:01:43:15 -0000] "GET /resetpass?start=1 HTTP/1.1" 200 0 "[URL]https://www.example.com:2083/[/URL]" "Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36" "-" "-" 2083
Code:
-rw-------. 1 root root 111 Jun 7 11:13 _fake_user_12
-rw-r--r--. 1 root root 13 Jun 7 14:17 .floodprotect-oursite_default
-rw-r--r--. 1 root root 13 Jun 7 14:17 .floodprotect-oursite_puzzle
-rw-r--r--. 1 root root 13 Jun 7 11:13 .floodprotect-_fake_user_12_default
-rw-r--r--. 1 root root 13 Jun 7 11:13 .floodprotect-_fake_user_12_puzzle
-rw-r--r--. 1 root root 13 Jun 7 11:14 .floodprotect-hackedsite_default
-rw-r--r--. 1 root root 13 Jun 7 11:14 .floodprotect-hackedsite_puzzle
-rw-r--r--. 1 root root 13 Jun 7 11:19 .floodprotect-hackedsite_resend
-rw-r--r--. 1 root root 13 Jun 7 11:21 .floodprotect-hackedsite_reset
On the seconds server we stopped it midway and found some files still there.
The first one is /home/hackedsite/.contactemail inside it has an email - Removed - which we did not set.
Secondly we found a folder called /home.hackedsite/public_html/security-team/Login-webapps-mpp-account-selection.
See attached for a preview of that folder.
If anyone could put some light on how they were able to get in we would be appreciative.
Attachments
-
78.2 KB Views: 10
Last edited by a moderator: