Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Incidents
[Top] [All Lists]

Re: Systems compromised with ShellBOT perl script - part 2

Subject: Re: Systems compromised with ShellBOT perl script - part 2
Date: Wed, 20 Oct 2004 23:26:32 +0200
On Wed, Oct 20, 2004 at 12:04:36AM -0500, security@kemhosting.com wrote:

They (somehow) copied it into /tmp and executed it.  This confuses
me because I have my /tmp directory mounted rw,noexec,nosuid. Does
Perl somehow bypass this?

"noexec" is a protection against accidental execution or script
kiddies. It could be circumvented by running 

$ /lib/ld-linux.so.2 /tmp/binary

or in case of perl (or any other interpretter)

$ perl /tmp/script.pl

There is probably some patch (by Ulrich Drepper?) in linux-2.6 which
makes it harder to circumvent "noexec" flag this way but my opinion
is that flagging the file as not executable in no way guarantees that
no one will read it and execute instructions written in it (in
traditional DAC/unix environment) ...

Martin Mačok
IT Security Consultant

<Prev in Thread] Current Thread [Next in Thread>