Post on 14-Mar-2022
transcript
Outline
Command line Network tools05.12.2013
Jose Irigon de Irigon
Dec 5, 2013
Jose Irigon de Irigon Command line Network tools
Outline
Intro
About me
What is this lecture about?
Why this topic?
Jose Irigon de Irigon Command line Network tools
Outline
Network tools
Multipurpose (Schweizer Taschenmesser)
Widely distributed
Well tested
Open source
Jose Irigon de Irigon Command line Network tools
Outline
UC2 - Port Scanning
Nmap (pictures taken from http://nmap.org/movies/)
Jose Irigon de Irigon Command line Network tools
Outline
UC5 - ssh:Remote command execution
Execute one command on a remote machine
On several machines?
Perform a change on /etc/network/interfaces?
Jose Irigon de Irigon Command line Network tools
Outline
UC7 - nc: telnet, simple server
nc mail exchange
nc dict.org 2628, define wn
listen tcp/udp
Jose Irigon de Irigon Command line Network tools
Outline
UC8 - nc: Transfering data
Nc for data transmission
remote transfer: cat testfile.avi | nc -l 3333
remote dd: dd if=/dev/hdb5 | gzip -9 | nc -l 3333
remote backup: tar -czf - /etc/ | nc -l 3333
Jose Irigon de Irigon Command line Network tools
Outline
UC9 - nc: Simple backdoor
Goal: come back later
Jose Irigon de Irigon Command line Network tools
Outline
UC10 - nc: One shot webserver
Nc local webserver
Could it be done anywhere else?
Jose Irigon de Irigon Command line Network tools
Outline
UC14 - ssh: X forwarding
Present locally the work being done remotely
Jose Irigon de Irigon Command line Network tools
Outline
UC15 - ssh: SOCKS proxy
Reconfiguring your home internet remotely
Send the 1022 to 22 instead of 1022
Free internet from Studentenwerk
Jose Irigon de Irigon Command line Network tools
Outline
UC16 - ssh+tcpdump: Remote debugging with wireshark
Remote debugging with tcpdump and wireshark
Jose Irigon de Irigon Command line Network tools