+ All Categories
Home > Documents > Command line Network tools - 05.12.2013

Command line Network tools - 05.12.2013

Date post: 14-Mar-2022
Category:
Upload: others
View: 11 times
Download: 0 times
Share this document with a friend
27
Outline Command line Network tools 05.12.2013 Jose Irigon de Irigon Dec 5, 2013 Jose Irigon de Irigon Command line Network tools
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

Aoterra

Cloud

Heating

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

Use case template

Jose Irigon de Irigon Command line Network tools

Outline

UC1 - Remote access

Jose Irigon de Irigon Command line Network tools

Outline

UC1 - Remote access

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

Nmap result

Jose Irigon de Irigon Command line Network tools

Outline

Nmap result

Jose Irigon de Irigon Command line Network tools

Outline

UC3 - Fix AtomBox

Jose Irigon de Irigon Command line Network tools

Outline

UC4 - ssh:Multihop

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

UC6 - ssh:Remote Filesystem

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

UC11 - ssh: Reverse Shell

Jose Irigon de Irigon Command line Network tools

Outline

UC11 - ssh: Reverse Shell

Jose Irigon de Irigon Command line Network tools

Outline

UC11 - ssh: Reverse Shell

Jose Irigon de Irigon Command line Network tools

Outline

UC12 - ssh: Normal Shell

Jose Irigon de Irigon Command line Network tools

Outline

UC13 - ssh+nc:Remote Website

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

Outline

Thank you

Jose Irigon de Irigon Command line Network tools


Recommended