Answer the question
In order to leave comments, you need to log in
How did the shell get on the server?
Hello.
We got a shell on the server, which connected some file to all index php files. The site is made on bitrix and the connected file was in the upload folder.
I'm assuming that the file was just uploaded by a simple form.
Answer the question
In order to leave comments, you need to log in
php_flag engine 0
AddType "text/html" .php .cgi .pl .fcgi .fpl .phtml .shtml .php2 .php3 .php4 .php5 .asp .jsp
You are guessing wrong. Most likely:
1) Picked up the password for FTP
2) Picked up the password for SSH
3) Picked up the password for the admin panel
4) Uploaded the file to the folder for uploading pictures, for example
Use auditd to know where Shell came from and who is modifying files. Keep audit logs as long as possible.
In this situation, in order to find out where the shell came from, you will most likely have to guess on the coffee grounds and search the web server logs by the date the shell file was modified.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question