100 likes | 319 Views
Anti-Hacker Tool Kit. Chapter 13 Port Redirection. Roy Chang. I nformation N etworking S ecurity and A ssurance LAB Department of Communications Engineering National Chung Cheng University. Introduction. Listen on a port Client/Server method. WEB. SSH. SMTP. FTP.
E N D
Anti-Hacker Tool Kit Chapter 13 Port Redirection Roy Chang Information Networking Security and Assurance LABDepartment of Communications EngineeringNational Chung Cheng University
Introduction • Listen on a port • Client/Server method WEB SSH SMTP FTP
Port Redirection 80 5050 4023 80
DataPipe • Pass TCP/IP traffic • http://www.bovine.net/~jlawson/coding/datapipe/datapipe.c
Fpipe • Out band source port and UDP support • http://www.foundstone.com/resources/proddesc/fpipe.htm Port:5678 Port:4433 Port:80
Port Hopping- Local Redirection Host 1234 80 C:\fpipe –l 1234 –r 80 localhost ./datapipe localhost 1234 80
Port Hopping- Client Redirection Spork, IIS exploit code on Port 80 <host A> IIS Port 7070 80 80 8080 C:\fpipe –l 80 –r 7070 <host A> ./datapipe <host A> 80 7070
Port Hopping- Dual Redirection FTP+mail SQL Host A Host B Host C Host D fpipe –l 1433 –r 25 <Host C> ./datapipe 25 1433 <Host D>
Summary • Host security • Ingress filter • Allow what you want • Deny all • Egress filter • Proxy firewall
Reference • RFC 1700