Forum Moderators: coopster

Message Too Old, No Replies

PHP security

php security

         

gonny

12:24 pm on Jul 17, 2011 (gmt 0)

10+ Year Member



Hi all,

I have VPS and 2 days ago I find on my local browsering with FTP on my site some hackers file with header title "Shang1 & Neutralise" and "b374k m1n1 1.01" you can google them, and some couple other files.
Now I want to know how they have uploaded these backdoor's file?
How can increase security on my site to prevent these actions?

SteveWh

8:30 pm on Jul 17, 2011 (gmt 0)

10+ Year Member



1. Use good antivirus programs on all PCs that you use to connect to your website for control panel and FTP.

2. Keep WordPress and all other applications updated to their latest versions.

3. Use uncrackable passwords like yU*1$phN6WoD

4. If you write your own PHP code, learn how to code properly to prevent Remote File Inclusion and SQL Injection.

5. On nonencrypted wifi networks, only access your site's control panel using HTTPS and only use SFTP for file transfers. If you can't do that, wait to do those activities until you have a more secure connection.

6. Before you use any CMS, template, plug-in, gadget, or script, research it for reported security problems. If it has unfixed security problems, just don't use it.

7. In php.ini or .htaccess, make sure the PHP values register_globals and allow_url_fopen (or at least allow_url_include) are all set to Off.

lavyjohn

2:35 pm on Aug 16, 2011 (gmt 0)

10+ Year Member



Hi,

I am also having the same issue.somebody have uploaded b374k control panel in to my server.I also found shell script files with names "bcc" with full permission and "shell". Can anyone tell me how hackers uploading this file to my server without ftp credentials.

coopster

12:46 pm on Aug 18, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld lavyjohn.

Check your logs. That is your paper trail. Start there, work your way back.