News for hackers. Stuff that matters.
Re:Hookworm Stealth PHP Backdoor by OstiaAntica on Sunday May 01, 2011 @07:14PM (#2504340)
How did you get hit by it? I don't understand the attack vector, unless you are allowing php file uploads?
Re:Hookworm Stealth PHP Backdoor by dibarra on Sunday May 01, 2011 @07:28PM (#2504373)
A common way is just script vulnerabilities, allowing execution of arbitrary code. I work at a popular webhosting company, and I've seen cases where apps will execute PHP code inserted as a sooofed User-Agent, POST data, and other weird places. The idea is that you send a payload that executes on the remote host, GETs your shell from some free webhost or another compromised account, and then saves it on the target machine. At that point, you're set.

mod_security can help for people running Apache, and so will using maintained and up to date scripts.

Re:Hookworm Stealth PHP Backdoor by Joakal on Sunday May 01, 2011 @07:41PM (#2504408)
Another is don't run PHP scripts in the uploads directory. [0].

[0] "Pass Non-PHP Requests to PHP." http://wiki.nginx.org/Pitfalls