Use Netcat to Spawn Reverse Shells & Connect to Other Computers [Tutorial]

  Рет қаралды 311,148

Null Byte

Null Byte

Күн бұрын

Get Our Premium Ethical Hacking Bundle (90% Off): nulb.app/cwlshop
How to Create Reverse Shells with Netcat
Full Tutorial: nulb.app/z3gcc
Subscribe to Null Byte: goo.gl/J6wEnH
Kody's Twitter: / kodykinzie
Cyber Weapons Lab, Episode 050
Netcat and Ncat are two useful tools for copying data across a network. To a hacker, the only limit to these tools utility is your imagination, and we'll demonstrate the ability to do everything from copying data across a local network to remotely controlling a computer with a reverse shell. We'll show you how it works in this episode of Cyber Weapons Lab.
To learn more, check out the article: nulb.app/z3gcc
Follow Null Byte on:
Twitter: / nullbyte
Flipboard: flip.it/3.Gf_0
Website: null-byte.com
Weekly newsletter: eepurl.com/dE3Ovb
Vimeo: vimeo.com/channels/nullbyte

Пікірлер: 275
@MrKristian252
@MrKristian252 5 жыл бұрын
Hacking doesn't need to be used in a bad way.. but it's a really good way to learn how the structure of these systems/technologies/software/code work. I love watching your videos, because it's information I've never heard about before...
@Aditya-wg3lp
@Aditya-wg3lp 4 жыл бұрын
Mr.Kristian252 im using it for scambaitin
@jahazielvazquez7264
@jahazielvazquez7264 3 жыл бұрын
Oh come on, let's be real here. Everyone here is trying to feed their evil curiosity
@paultapping9510
@paultapping9510 3 жыл бұрын
Shaper vs anarch. Or urbex vs housebreaking, I guess. Same means, different ends.
@ismaelc.e8398
@ismaelc.e8398 2 жыл бұрын
W BIG POWA CUMS BIG RESPONSABILITY
@somebody3271
@somebody3271 2 жыл бұрын
@@jahazielvazquez7264 true
@minibit0103
@minibit0103 5 жыл бұрын
Always nice to see basic techniques that are clear, keep the content flowing!
@ajopasoij9d00
@ajopasoij9d00 5 жыл бұрын
Ghost in the Shell!
@SadKris
@SadKris 5 жыл бұрын
...im so proud of this joke
@bittylifts
@bittylifts 3 жыл бұрын
DO NOT LIKE, ITS AT 69
@milathecat5454
@milathecat5454 3 жыл бұрын
I love you destiny
@Hari-888
@Hari-888 3 жыл бұрын
This video was amazing dude, I finally understood how exactly a reverse shell works
@Passive-Play
@Passive-Play Жыл бұрын
You're an inspiration and amazing teacher, found you via David Bombal and your videos have provided some of the most easiest to deliver education I have found on KZfaq
@silverhawktc
@silverhawktc 5 жыл бұрын
Great content as always, keep up the good work! I noticed you use some really good songs in the background :D. Would you please tell us which you use in the description? That would be great!
@harism0
@harism0 4 жыл бұрын
I like the cat pictures in the background, fits in well 😂👏
@kenny-kvibe
@kenny-kvibe 4 жыл бұрын
This nc is really really awesome to use if you have to copy some text to other devices running linux. I mean It's like Copy-Paste over the local network, very convenient!
@StefanRows
@StefanRows 5 жыл бұрын
Kody, amazing Video as always! Can't wait for the next one!
@fredericaveline9207
@fredericaveline9207 4 жыл бұрын
Good job! I'm hacker rookie, and I'm used to using metasploit framework without knowing the basics! So thanks.
@NullByteWHT
@NullByteWHT 4 жыл бұрын
frédéric aveline thanks for watching! Tell all of your friends about us! 😃
@lelandclayton5462
@lelandclayton5462 5 жыл бұрын
This trick has been around for a long time and harden IT security veterans know about it and have setup proper firewall rules and crap. A matter of fact this is in the book "Instant Netcat Starter" by K. C. Yerrid.
@Dave-kq7gv
@Dave-kq7gv 5 жыл бұрын
combine this with a n00b guide for cron...I'm a newb at both but see how cool it'd be! Cool content all around, good sir!
@PianoShawn
@PianoShawn 5 жыл бұрын
i've been waiting for this for a very long time
@sireatsalot398
@sireatsalot398 5 жыл бұрын
same
@craigheard2504
@craigheard2504 3 жыл бұрын
Thanks a lot. You explained this extremely well. this ability is powerful, useful and terrifying.
@kohibzoparel4657
@kohibzoparel4657 2 жыл бұрын
Great fun though remember to cover that camera that's the best way to stay safe online 😅😅😅😅😅😅
@iyeetsecurity922
@iyeetsecurity922 2 жыл бұрын
I grew up loving any form of a puzzle. Then it continued with video games. That's the reason I enjoy hacking and lock picking. They're just puzzles waiting to be solved.
@techslugz
@techslugz Жыл бұрын
I am pretty sure I have the same addiction 😮
@CaptBoykin
@CaptBoykin 5 жыл бұрын
@6:20 "nc -l -p 6996 -e /bin/bash " does not perform a reverse shell. This is a bind shell.
@krizsan0596
@krizsan0596 3 жыл бұрын
It is a reverse shell since the server is calling back to the attacker
@CaptBoykin
@CaptBoykin 3 жыл бұрын
@@krizsan0596 No. @6:10 he correctly references it as a backdoor (bindshell). A reverse shell would imply the incoming connection is running the prog (-e). The "shell" that is spawned via "-e" @6:20 is spawned on the host that is running nc (which is binding locally on that host with the "-l" option). It's doing zero 'dialing out' as it's a local listener.
@realitynowassigned
@realitynowassigned 3 жыл бұрын
@@AaronmMcLean hush child.
@realitynowassigned
@realitynowassigned 3 жыл бұрын
@@CaptBoykin thanks for pointing that out, its important. I specifically needed to look at reverse shells
@jhde9067
@jhde9067 3 жыл бұрын
So ... What is a reverse shell? What's the different types of shells and their differences? Kinda confusing.
@Mong3
@Mong3 5 жыл бұрын
Please talk about C2's (command & control) and Payloads generators with build/execution time polymorphisms.
@cy_wareye7395
@cy_wareye7395 5 жыл бұрын
Your intro helps me focus before your tut
@NullByteWHT
@NullByteWHT 5 жыл бұрын
I'm glad you like it! We shot it the one day we had a nice stabilizer
@puppyofwrath
@puppyofwrath 3 жыл бұрын
That is a big watch. This dude knows what time it is.
@Daniel_CLopes
@Daniel_CLopes 5 жыл бұрын
Great, great, great. Could you kindly upload a video explaining how to generate nmap reports, import report to metasploit framework and exploit vulnerability using scripts? I know we can find videos out there but I believe you guys can do it MUCH better.
@GoranObal
@GoranObal 3 жыл бұрын
9:03 I'm pretty sure the article was for using Windows command prompt. There the type command is like cat in linux. The type command in linux is something else.
@Cesar-dt9nl
@Cesar-dt9nl 5 жыл бұрын
If hacking wasnt good enough, now with lazerhawk this is flawless, thanks for the info
@pavelschannel-alittleoutof3532
@pavelschannel-alittleoutof3532 2 жыл бұрын
He has pictures of cats so therefore I trust him 100% :) He does explain very well without going on too much unlike others. I like his teaching methods. We need more people like this as you tube is full of useless teaching / tutorial videos that should be binned...
@VetbossOfficial
@VetbossOfficial 3 жыл бұрын
thank you. but can I save the computer connection so I can get access in the future as well? Because I want to connect to it more than once.
@jitheshkuyyalil
@jitheshkuyyalil 2 жыл бұрын
Wonderful. Thank you so much.
@rayamoooooo685
@rayamoooooo685 3 жыл бұрын
*just glad i can follow along*
@LiquidTension187
@LiquidTension187 3 жыл бұрын
Hey great video !!! Very informative (: just curious, how big of a file can you transfer on LAN using netcat ?
@oliverludwig6148
@oliverludwig6148 3 жыл бұрын
1st background track is Lazerhawk - So far away, in case anyone is wondering.
@htiguy1
@htiguy1 4 жыл бұрын
Very interesting, you have some great content. Thank you.
@NullByteWHT
@NullByteWHT 4 жыл бұрын
htiguy1 thanks for watching! Tell all of your friends about us! 😃
@kingslayer9097
@kingslayer9097 5 жыл бұрын
Love the cats behind u
@g.s.3389
@g.s.3389 5 жыл бұрын
can you please make a video on how to make an headless rpi with kali so that wifi works without the need of a GUI. thx
@biniesh7097
@biniesh7097 5 жыл бұрын
thank you for the vide0!
@matteocassino3172
@matteocassino3172 3 жыл бұрын
Love the tool and the awesome GhostInTheShell wallpaper (must have! Thx reverse pic search ;-)
@CrackerWeb
@CrackerWeb 4 жыл бұрын
To use the nc the client system(server) must have nc install, am i right?
@imrwe9691
@imrwe9691 5 жыл бұрын
Your just awesome man .We would love if you put up a video of hacking these microsoft technician scammers and shutting down their network .It would be fun.
@captainspolding6355
@captainspolding6355 3 жыл бұрын
With Quick Batch File Compiler can build an hiden .exe wit Netcat parameters same a .bat File, can use to build a small Backdoor
@nemo2225
@nemo2225 5 жыл бұрын
You can simply ping the address for ip resolving. That's more anonymous than running nmap scan, right?
@jannmoon
@jannmoon 5 жыл бұрын
really loving the new haircut bro
@jackrichards3697
@jackrichards3697 Жыл бұрын
You've been a great directory ;) for basic info over the last few years. Thank you. Keep it coming!
@dualsensedynasty
@dualsensedynasty 2 жыл бұрын
do you have anything like getting reverse shell from Public network and Public IP
@yunietpiloto4425
@yunietpiloto4425 5 жыл бұрын
very nice vid...thanks for sharing
@rayhanfoinshola7037
@rayhanfoinshola7037 Жыл бұрын
I have a question do you need net cat on both the attacking device and the device that is attacking.
@adriansony9762
@adriansony9762 2 жыл бұрын
Great content I love your channel very much
@raulcattelan4506
@raulcattelan4506 3 жыл бұрын
Thanks a lot
@RAGHAVENDRASINGH17
@RAGHAVENDRASINGH17 5 жыл бұрын
Nice tutorial
@amarchhabra2175
@amarchhabra2175 5 жыл бұрын
Thanks for the great video. The Null Byte web page seems to be down. Will it eventually be brought back online?
@GodKeks-
@GodKeks- 2 жыл бұрын
Hello thanks i have a quetschen what u using in the window? Dell-3 what is this ?
@sabrario
@sabrario 5 жыл бұрын
what laptop do you have? Do you use any other system?
@SuperAmir64
@SuperAmir64 4 жыл бұрын
Thank u
@GameChannelOfficial
@GameChannelOfficial 5 жыл бұрын
How to connect to nc session vis Windows????
@clarktrader625
@clarktrader625 5 жыл бұрын
Thks you sir.
@cheetriprem9725
@cheetriprem9725 5 жыл бұрын
thank you.
@haskeww8193
@haskeww8193 4 ай бұрын
I am very new i would love to be able to identify that a computer is compromised i don't have access to certain files despite being the administrator, i have played around downloaded comodo which at least allows me to deny processes from executing but i get lost looking threw processes, weird files, would love how to use a packet sniffer ect i really need to get a better foundation of the basics anything you recommend?
@Danieloani
@Danieloani 3 жыл бұрын
I think don't understand the concept. The point of this video is to show how to control a remote computer using netcat. However, in order to make something work, at first, you need to open a port on the "remote computer" (which as hacker' you don't have access to). Is there a way to convince the target to open a port and run the commands via a bash?
@jacoblessard8213
@jacoblessard8213 2 жыл бұрын
I know this is 3 years old but someone please help, I'm trying to figure out a way I can do exactly this but just by using a rogue access point. In theory, if someone is connected to my rogue access point shouldn't I be able to then connect to it with netcat and get a reverse shell on them. I really just want to know more about modern attacks that are done with rogue access points.
@andreimerla924
@andreimerla924 4 жыл бұрын
resource temporarily unavailable i got this error when i tried to connect to the server
@mnageh-bo1mm
@mnageh-bo1mm 5 жыл бұрын
Can you do this with metasplot ?
@asipalacios8701
@asipalacios8701 2 ай бұрын
does it still work if you dont have physical access to both computers? is it really hacking or do you show connection with netcat here?
@acostantino7624
@acostantino7624 5 жыл бұрын
what are the pros using netcat insead of ssh?
@DDBAA24
@DDBAA24 5 жыл бұрын
Well, in regards to transferring files over the network NC seems faster it could be my imagination but it does. Also to speed up SSH passing the -C flag will enable compression in the SSH session which does seem to speed things up slightly . I digress. Getting to the question, this is a chicken and the egg type question, in order to use NC on a remote system you would already have had to gain access to it , so to do that you would use SSH. So you wouldn't be able to use NC unless you had a shell already via SSH so therefore there are no pros because one doesn't exist without the other, no shell= no netcat. In order to use NC you would have to setup a listener (the server) and connect to the listener ( you the client). Hope that brings some clarity.
@romandp4742
@romandp4742 3 жыл бұрын
how do i get the terminal command thing?
@hengamez_1879
@hengamez_1879 5 жыл бұрын
dose it work 4mac?
@poopingturtle7978
@poopingturtle7978 4 жыл бұрын
So do you need to have the backdoor? If so how would you install it remotely?
@davidkostoski
@davidkostoski 2 жыл бұрын
If he knew that he wouldn't be making videos that explain BASICS. He'd then have a 500k job as a security specialist.
@TheCuriousM1nd
@TheCuriousM1nd 5 жыл бұрын
What laptop did you use sir!
@Software-ns9li
@Software-ns9li 5 жыл бұрын
I am trying to get a reverse shell on a PC with nothing more than an IP address, how do i accomplish this? i have a lab setup with different internet sources etc, all i can get is an IP, how do i get a revere shell with just an IP?, I have tried NetCat and MSFvenom but have failed
@user-om9pg9bn1w
@user-om9pg9bn1w 4 жыл бұрын
can the server get a reverse shell on the client?
@Akira29H
@Akira29H 3 жыл бұрын
can you demonstrate how to use from kali to windows?
@DSAhmed
@DSAhmed 3 жыл бұрын
why do you run nmap just to get priceline's IP address? seems a bit much. (dig, or nslookup seems to work just fine, plus you know 80/443 will be open)
@mahigiri8062
@mahigiri8062 3 жыл бұрын
*Can somebody help me please* I used 'XEEXE' to create payloads but after running it on another windows, through where should I listen to it. I tried meterpreter but no connection was established. I believe xeexe is something different and might require something else. How can I establish connection please help
@paulredman1520
@paulredman1520 2 жыл бұрын
do both of the computers have to be using kali?
@CRRonaldo-lq9os
@CRRonaldo-lq9os 5 жыл бұрын
i love your channel
@gixr5635
@gixr5635 4 жыл бұрын
great video !
@NullByteWHT
@NullByteWHT 4 жыл бұрын
Flixr506 thanks for watching!
@sinan5488
@sinan5488 5 жыл бұрын
FINALLY A GOOD TUTORIAL BY A GOOD HACKER
@roya2045
@roya2045 3 жыл бұрын
Hi Bro I have a system in my network I know its IP is there a way to access the system without using a payload I want to access its drives. Please reply
@tlouik
@tlouik 3 жыл бұрын
what laptop do u use?
@debbiedaley6989
@debbiedaley6989 5 жыл бұрын
Hello...I sent u a list of questions 4 days ago using Termux....can u please help me ?????
@skyelf4270
@skyelf4270 2 жыл бұрын
Hello, I try to connect two of my window laptop but keep getting this error message, do you know why? Ncat: An existing connection was forcibly closed by the remote host.
@younesmohssen8158
@younesmohssen8158 5 жыл бұрын
What if you wanted to get a reverse shell but you didn't have physical access to the targeted computer?
@phantomplayed
@phantomplayed 3 жыл бұрын
Same question
@shubhamtrivedi2155
@shubhamtrivedi2155 4 жыл бұрын
Dude u r perfect!!
@spiceyswag7519
@spiceyswag7519 4 жыл бұрын
Does this work Over WAN?
@geekster3092
@geekster3092 4 жыл бұрын
but how did you get the server installed on the victims pc withou them knowing?
@bj76681
@bj76681 2 жыл бұрын
Hi Null Byte, I tried this but am not getting the connection establed on the listener side. it's showing " Listening on [any] 88......" after that no results. I tried adding the IP in ufw but still no luck. can help me to resolve this issue?
@johnvardy9559
@johnvardy9559 Жыл бұрын
you are amazing,how can i see uf is activate netcat?:/
@whyarewealwaysyelling
@whyarewealwaysyelling 5 жыл бұрын
Is it true you turned down a guest appearance on mr. Robot?
@danielbenisti3664
@danielbenisti3664 5 жыл бұрын
what is reverse shell?
@zawmin470
@zawmin470 5 жыл бұрын
Great
@alice_in_wonderland42
@alice_in_wonderland42 5 жыл бұрын
tcpsvd would be also good.
@Morpheus776
@Morpheus776 5 жыл бұрын
i wish i had the computer knowledge this guy has. where should one start?
@MinerKingX
@MinerKingX 3 жыл бұрын
how can you close the listener tab without loosing the connection
@RBSRG
@RBSRG 5 жыл бұрын
Link to the anime wallpaper?
@utshabchouhan1225
@utshabchouhan1225 2 жыл бұрын
Sir, I have access to upload any file in C:\Windows\Temp folder of (IIS/Windows server) .Can I get reverse connection just by uploading a reverse shell ?
@8080VB
@8080VB 2 жыл бұрын
yes use -e
@stacyhoff8882
@stacyhoff8882 4 жыл бұрын
Why did you blurr the kali linux date at the top
@bobbynewport3332
@bobbynewport3332 4 жыл бұрын
🤓🤓no FIFO persistent backdoor? What if -e isn't available?
@xdtimetoastergaming273
@xdtimetoastergaming273 4 жыл бұрын
Hey I know this is a year old but does netcat the same as ncat. Cause I have something called ncat on my computer
@astralseeker
@astralseeker 4 жыл бұрын
Music: Swedish progressive trance project: Vibrasphere Title: Sweet September ... no credit you're welcome
@tadakiga6611
@tadakiga6611 Жыл бұрын
why did you use port 6996?
@nathanpetronzio6442
@nathanpetronzio6442 6 ай бұрын
I keep getting "protocol mismatch" when attempting to establish an SSH connection
@lux-music6321
@lux-music6321 2 жыл бұрын
3:35 if I try to connect to the server I just get (Unknown) [*my ip] 8888 (?) : Connection refused I'm running it from 2 VM's on the same computer
@debbiedaley6989
@debbiedaley6989 5 жыл бұрын
Im using termux .....so do I use apt get install or the (nc -l 8888)to install Also If doin jus a priv attack....do we need to type NC-l try.txt...ALL U TYPE INTO NETCAT COMPUTER TO TEST N INSTALL ARMEGGETON or just stay in "root" linux computer n not add lines ur putting into netcat screen ..confused as to if I'm suppose to b installing armeggeton which u didnt do in linux but u did in netcat computer .And ADD COMMANDS U PUT INTO NETCAT BUT NOT LINUX FOR TESTING ALSO ....PLEASE. HELP..BEEN TRYIN FOR DAYS WEEKS N MONTHS TO PERFORM THIS REMOTE ATTACK CUZ ITS THE M9DT IMPORTSNT THING IN MY LIFE SO I HAVE PROOF N CAN GET A DIV IN MASS U NEED PROOF ...PLEASE LMK COMMANDS FOR ONLY PRIVSTE ATTACK N WILL THIS WORK IF HE HAS A PRIV NETWORK N HAS ANTI VIRUS SOFTWARE PROTECTING HIS PHONE ?? ....THE ONLY COMMANDS I HAVE FOR PRIV IS. Line 1...APT GET INSTALLL get netcat. THEN line 2... NC THEN HIS IP 8888 THEN LINE 3 is his IP AGAIN BUT WITH 6996 ??????? DONT SOUND RIGHT...THEN LINE 4 IS NC -l -p 6996 -e /bin/bash n Line 4 nc -l -p 8888 Line 5 cat '/root/try.txt NC then IP then 8888....so 5 lines ...did not see u type any other in linic for Priv attack .that's why confused. If commands u put in netcat should have been put into termux for priv attack...please. n so sorry if I've confused the heck out of u....I dont have much time left ..PLEASS HELP
@Uneke
@Uneke 5 жыл бұрын
You really hate Priceline don’t you! 😂 I called out what site you were gonna pull an ip from before you said it 😂 Amazing! Perhaps one day you could make a video with the story behind it? Maybe call it “in the life of null byte, the shady practices of a crappy website” haha
@himalrawal7511
@himalrawal7511 3 жыл бұрын
how can we find real ip of virtual machine using nat config
Haunt a Computer Using SSH [Tutorial]
19:10
Null Byte
Рет қаралды 389 М.
catch EVERY reverse shell while hacking! (VILLAIN)
19:03
John Hammond
Рет қаралды 218 М.
Каха и суп
00:39
К-Media
Рет қаралды 5 МЛН
Хотите поиграть в такую?😄
00:16
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
From IP to Reverse Shell. What is a reverse shell?
22:00
z3nsh3ll
Рет қаралды 9 М.
Netcat Tutorial - The Swiss Army Knife Of Networking - Reverse Shell
17:02
Google Search Like a Hacker [Tutorial]
11:39
Null Byte
Рет қаралды 330 М.
Top 10 Hacking Tools In Kali Linux You Must Know.
7:31
Zilox
Рет қаралды 435 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 328 М.
Hide a Hacker's Reverse Shell in ONE Command
11:29
John Hammond
Рет қаралды 82 М.
Ten Minute Tutorials : Netcat Basics
14:14
stuffy24
Рет қаралды 3 М.
Hacker's Guide to UART Root Shells
17:40
Flashback Team
Рет қаралды 468 М.
Loop? ❤️ #behindthescenes ?
0:11
The Quinetto's
Рет қаралды 4,9 МЛН
В семье появился подросток!
0:15
Victoria Portfolio
Рет қаралды 4 МЛН
smart appliances! new gadgets, versatile utensils, tool items #shorts #gadget
0:10
Pretty Balloon Family
Рет қаралды 13 МЛН
Maa Bahar Kuch To Hai 😱🙄 | mistihappylifestyle #shorts #viral #halloween #trending #shortviral
0:41
Misti Happy Lifestyle Games & Shorts
Рет қаралды 22 МЛН