POV: You Learn Networking For Fun — Transcript
Full transcript
- 0:00Do you want to get into cybersecurity?
- 0:02Do you want to be let epic hacker? Well,
- 0:05hack the algorithm by liking and
- 0:07commenting. Do you want to get into
- 0:08self-hosting? The most [music] important
- 0:10thing you can learn before learning
- 0:12Linux, before learning a language like
- 0:14Python, is networking. Do you not want
- 0:16to waste time doing pointless Cisco
- 0:18stuff like anding and subnetting by hand
- 0:22when you already understand math?
- 0:24Seriously, like why why they even make
- 0:26us do that in networking class? Are you
- 0:28tired of learning absolutely nothing
- 0:31from boring CompTIA labs that you spent
- 0:33hundreds of dollars on just to force
- 0:35yourself through them with YouTube
- 0:37tutorials like these?
- 0:38>> config. make
- 0:41>> [laughter]
- 0:41>> What is this [ __ ] Why Why is there
- 0:44Subway Surfers gameplay and just a
- 0:46random black guy licking his lips in the
- 0:49top left corner? What the [ __ ] is going
- 0:51on?
- 0:52>> Well, fret not. I am here. The OSI
- 0:55model, corporate slop. CompTIA labs,
- 0:58boring classes. Who needs them? Paying
- 1:01money to learn? As if. There's an
- 1:04open-source alternative to everything,
- 1:06even learning. The only way to learn is
- 1:08to want to learn and most importantly,
- 1:10to have fun and to apply yourself. By
- 1:12the end of this video, you're going to
- 1:14understand basic networking. You're
- 1:16going to learn how to manually set up a
- 1:18simple network with a router and
- 1:20switches. You're going to learn all the
- 1:21basics all the way from DHCP, DNS, IPs,
- 1:26ports, firewalls, all of it. You're
- 1:27going to learn and actually perform
- 1:30basic networking attacks as well as
- 1:32learning networking security to put
- 1:34yourself ahead of like 90% of people.
- 1:44>> [music]
- 1:58[music]
- 2:08[music]
- 2:21>> I hated my networking class and going
- 2:24through my education in the past in the
- 2:26vast majority of my classes, I was
- 2:28constantly sitting there thinking that
- 2:30there must be a better way to learn. A
- 2:33way that's actually fun. Everything
- 2:35valuable that I've ever learned was
- 2:37completely self-taught and I had fun
- 2:39while doing it. Yes, I did go to school,
- 2:41but I found myself bored out of my mind
- 2:44and struggled to retain anything useful.
- 2:46At some point, I realized that I am just
- 2:48simply incapable of learning in a
- 2:51structured classroom setting. I've a
- 2:53passion for teaching others and through
- 2:55the years, I've developed my own
- 2:57philosophy on learning and teaching. The
- 3:00majority of you watching this video were
- 3:01sci-op'd into the belief that learning
- 3:03is boring because of a fundamental flaw
- 3:06in the educational systems. The modern
- 3:08education framework was designed during
- 3:10the Industrial Revolution to train
- 3:12obedient factory workers rather than
- 3:14creative thinkers. My learning
- 3:16philosophy is a complete contradiction
- 3:18to the structured classroom lecture and
- 3:20textbook way of learning where students
- 3:22are forced to sit through a boring
- 3:24lecture and at the end of it, they
- 3:25barely retain anything since they didn't
- 3:27actually do anything aside from
- 3:29listening to a guy read a pre-existing
- 3:32slideshow made by some mega-corporation
- 3:34like Cisco. Learning isn't a checklist,
- 3:37nor can it be structured in a rigid
- 3:39manner because that's just not how the
- 3:41brain learns and I completely disagree
- 3:44with trying to restrict something as fun
- 3:46and free as learning a new skill into a
- 3:48specific pre-structured corporatized
- 3:50road to follow that seeps all of the
- 3:52passion and exploration out of
- 3:54everything. Learning should be fun and
- 3:56it should allow room for exploring and
- 3:59getting sidetracked and making mistakes.
- 4:01If you scare a student with the
- 4:03possibility of a failing grade, they're
- 4:05going to focus more on not failing
- 4:07rather than focusing on actually
- 4:09learning something new. If you do thrive
- 4:11in a structured classroom setting, good
- 4:13for you. You're awesome. I'm not trying
- 4:15to be condescending towards you. I'm
- 4:17just proposing a new way for people like
- 4:19me. My way of learning is a new way that
- 4:22I have used on every skill that I know,
- 4:25and I will teach you since you can use
- 4:27this on any skill. It's very simple. The
- 4:29core concept is just to throw yourself
- 4:32in the water and figure it out. My
- 4:34philosophy to learning is just throwing
- 4:36a student into the water, kind of like
- 4:38teaching a duck to swim by throwing it
- 4:40in the water because its instincts won't
- 4:42let it drown, even if it's never swam
- 4:44before. And then by giving the student a
- 4:46goal to achieve, and naturally through
- 4:49trying to accomplish that goal, many
- 4:50questions will arise from trying to do
- 4:52that, and you can do stuff like use the
- 4:55infinite collection of information that
- 4:58is the internet to answer those
- 4:59questions to achieve that goal. By the
- 5:02end of it, you will learn the same stuff
- 5:04as you would with a lecture, except
- 5:06you'll actually retain it because it
- 5:08wasn't boring, and you were actually
- 5:10doing something rather than just
- 5:12listening to some guy explain it. So,
- 5:14the first thing we're going to do is
- 5:15install Cisco Packet Tracer. Believe me,
- 5:18if there was an open source alternative
- 5:20that was as good as this, I'd use it.
- 5:22Install it on whatever operating system
- 5:24you have, and just open it. It's going
- 5:26to ask you to log in. If you're an opsec
- 5:29bro like me, and don't want to make an
- 5:31account just for your data to be sold,
- 5:32just disabling your internet when
- 5:34opening it bypasses this screen
- 5:36entirely. Once you open it, you're going
- 5:38to be left with this blank white screen.
- 5:40Your task is to set up a router, two
- 5:422960 switches, and two computers, and
- 5:45then get the two computers to
- 5:46communicate with each other. That is the
- 5:48assignment and your goal. Every time you
- 5:50get stuck or have a question, just look
- 5:52it up. I'm going to walk you through it
- 5:54real quick. If you're following along
- 5:55with me, try to pause the video and do
- 5:57it yourself as often as you can without
- 5:59just doing everything I'm doing.
- 6:01Naturally, the first question is
- 6:03probably, "How do I place a router?"
- 6:05Well, you can either explore the UI
- 6:07until you figure it out or just look it
- 6:09up. Shout out for get meta search engine
- 6:11by the way. This is the most important
- 6:13core foundational skill in your arsenal
- 6:15when it comes to learning. It's
- 6:17seriously just as simple as looking it
- 6:19up every time you get stuck. That might
- 6:21be obvious to a lot of you, but you'd be
- 6:23surprised at how many people exist that
- 6:25just don't know that this is an option.
- 6:28People in my IRL life think I'm a genius
- 6:30of some kind, but the only thing
- 6:32separating me from them is not
- 6:33intelligence. It's the ability to solve
- 6:36problems by using the resources that I
- 6:38have, and the most important resource is
- 6:40a search engine. The more questions you
- 6:42ask yourselves during this entire
- 6:44process, the more you can look up, and
- 6:46the more you can learn. It's literally a
- 6:48snowball effect because the more
- 6:49questions you answer, the more questions
- 6:51will arise, and you'll just keep
- 6:52learning infinitely. Anyways, let's go
- 6:54through this network setup.
- 6:59>> [music]
- 7:03>> Okay, we're looking at network devices,
- 7:06and we want a router. I guess um
- 7:09anyone works. I'm just going to go with
- 7:11this one. Then, we want two switches.
- 7:14We're just going to use these 2960
- 7:16switches, and then
- 7:18two PCs.
- 7:22Now, how do we get all of these to
- 7:24communicate with each other?
- 7:26Well, we have to plug them into each
- 7:29other, right? Via Ethernet. So, we're
- 7:31going to go to connections. Okay, the
- 7:33lightning bolt automatically chooses the
- 7:36best option, but we're not we're we're
- 7:38avoiding the lightning bolt. All you
- 7:40need to know is that this solid black
- 7:41line is just the copper straight through
- 7:43cable. So, we're going to use that.
- 7:46So, by clicking on this, go into the
- 7:48router, and then we'll just use Gigabit
- 7:50Ethernet 0/1, and then you can connect
- 7:53it to the switches.
- 7:54And we're also just going to do Gigabit
- 7:56Ethernet. Boom, now these are connected,
- 7:58so let's do the same thing
- 8:01over here.
- 8:03And then, from the switch to the PC.
- 8:08Okay, now they're all physically
- 8:09connected. Step one is complete.
- 8:12Okay, the next step, naturally, is
- 8:15getting all of these to communicate. How
- 8:17do we do that? Are addresses
- 8:19automatically assigned already? Do we
- 8:22What the hell do we do? Since there is
- 8:24no DHCP server, we have to manually
- 8:27configure an IP address on each PC,
- 8:29manually assign an IP address on every
- 8:32router, and we need to put a no shutdown
- 8:34on each router interface. So, let's see
- 8:36if Let's see if we have an IP. When we
- 8:39IP config, we have no address. And like
- 8:42I said before, that's because there's no
- 8:43DHCP server. So, we're just going to
- 8:45assign addresses to them. So, we're
- 8:47going to start with the PCs. We're going
- 8:48to assign an address to this one first.
- 8:51To do that,
- 8:53when you click on the PC, you just go to
- 8:54desktop and then IP configuration. You
- 8:57can set up a DHCP server for this [ __ ]
- 8:59to do it automatically, but we're going
- 9:01to do it manually because we're starting
- 9:03from the very basic foundational aspects
- 9:05of this stuff. Okay, so for IPv4, we're
- 9:08going to put 192.168.10.10.
- 9:11And why this? Why Why this specific
- 9:13address? Well, 192.168
- 9:17is a private address space intended for
- 9:18internal networks, and these addresses
- 9:20are
- 9:21never directly routed across the public
- 9:23internet. Also, it's a subnet mask that
- 9:25was automatically assigned when I type
- 9:27this in. It's also commonly written like
- 9:29/24 at the end of this. /24 and this
- 9:33subnet mask basically mean the same
- 9:34thing. The first three little numbers
- 9:37here identify the network, and the final
- 9:40number identifies the device within that
- 9:42network. It doesn't have to be 10. It
- 9:44could be 5, 25, or even 200, as long as
- 9:47it's not one, which is commonly assigned
- 9:49to the router or default gateway, or
- 9:51255, which is the broadcast address and
- 9:54cannot normally be assigned. So, just
- 9:56use whatever works for you as this last
- 9:58number. Okay, so let's ensure that this
- 10:00actually works. Let's go into the
- 10:01command prompt, IP config again, and
- 10:03just like that, we now have an IPv4.
- 10:06Let's do the same thing for the other
- 10:07PC.
- 10:10PC A and PCB are on opposite sides of
- 10:13the router and connected different
- 10:14switches. So, instead of putting 10 here
- 10:16like before, I put 20. That is because
- 10:19you can see this as another network. Why
- 10:21didn't we do something like this? Why
- 10:23didn't we do like 10.11? Well, if we did
- 10:26this, PCA would believe PCB was on the
- 10:29same local network and then they would
- 10:31then send an ARP broadcast looking for
- 10:33PCB instead of sending traffic to the
- 10:35router because routers do not normally
- 10:37forward ARP broadcast. The computers
- 10:40wouldn't find each other and we wouldn't
- 10:41be able to ping each other. Making
- 10:43mistakes is how you learn this stuff.
- 10:44That's how I learned the first time. If
- 10:46both PCs were connected to the same
- 10:48switch, then we could do that, but
- 10:50they're not, so we're doing 20 here. And
- 10:52I also accidentally put zero here
- 10:54instead of 10, so make sure you make
- 10:56sure you don't do the same thing I did.
- 10:58Okay, now that we have that set up,
- 11:00let's actually go into the router and
- 11:01open up the command line. Okay, we're
- 11:03just going to skip the initial
- 11:05configuration dialogue. We don't really
- 11:07need to we don't really need our hand
- 11:08held through this. Anytime you don't
- 11:10know what to do, just type question mark
- 11:12and a bunch of commands are going to
- 11:14show up. It's kind of like typing help
- 11:16or {dash}h for like [ __ ] on Linux. So,
- 11:19to set up the router, we're just going
- 11:21to enable. Okay, why did this arrow turn
- 11:24into a [ __ ] hashtag? Well, this
- 11:26little [ __ ] carrot pointer thing is
- 11:29exact mode. When we type enable, that
- 11:32puts us into privileged exact mode. I
- 11:34know, it's confusing as [ __ ] but you
- 11:36can thank Cisco for that. That's just
- 11:37how they do stuff. They have like four
- 11:39different privilege modes and it's all
- 11:41so stupid. So, once we enter a new
- 11:43privilege level, we have different
- 11:45commands available to us. What we're
- 11:47going to do is type show IP interface
- 11:50brief and that's going to tell us that
- 11:52we have every all these IP addresses
- 11:54unassigned and that their status is
- 11:56down. Now, you might have some questions
- 11:58arising from this. Like, what is an
- 12:00interface? Why does one router have
- 12:01multiple interfaces? Why do they have no
- 12:03addresses? What does administratively
- 12:06down mean? And what is the difference
- 12:08between status and protocol because they
- 12:09both say down. An interface is one of
- 12:13the router's network connections. Each
- 12:15interface belongs to a different network
- 12:16and therefore receives its own IP
- 12:18address. Administratively down means
- 12:20that that interface has been
- 12:21deliberately disabled by its
- 12:23configuration. Cisco router interfaces
- 12:25are disabled by default. So, we're going
- 12:27to enter a new mode. Oh my god, I hate
- 12:30how Cisco does this. If we type
- 12:32configure terminal, we are now [music]
- 12:34in config what is called configuration
- 12:37mode. Why can't everything just be in
- 12:39this [ __ ] privilege mode? I don't
- 12:41know. I don't know. There's also a
- 12:43config if mode, a config router mode, a
- 12:46config line mode. I don't know why it's
- 12:48like this. You just have to deal with it
- 12:50because in the IT world, everybody uses
- 12:54Cisco for some reason. Okay, well, we we
- 12:57want to select the left interface. I
- 13:00I messed something up earlier, so I
- 13:01deleted the router and put in a new one.
- 13:04Just remember what you connected to
- 13:06what. I connected I connected gigabit
- 13:08Ethernet 0/0 to the left switch and
- 13:10gigabit Ethernet 0/1 to the right
- 13:12switch. We're going to start with the
- 13:13left switch first. Just in this command,
- 13:16use whatever interface you used. So,
- 13:19interface gigabit Ethernet 0/
- 13:230 0/0.
- 13:25We are now inside config interface mode.
- 13:28Hooray, a new mode. You might be asking,
- 13:31why are we configuring an interface
- 13:33instead of assigning one IP to the
- 13:35entire router? A router does not have
- 13:37one universal IP address. Each routed
- 13:39interface receives an address belonging
- 13:41to the network connected to that
- 13:43interface. And to give it an address,
- 13:45we're just going to type IP address
- 13:47192.168.10.1
- 13:51and the subnet mask 255.255.255.0.
- 13:56Now, why are we using .1 here? And why
- 13:59here? Because the left side, if you
- 14:01remember with the PC, we're using 10 on
- 14:03the left side as as as as the thing. And
- 14:06.1 is typically always assigned to the
- 14:09router. I don't think it had to be .1,
- 14:12but that is standard for pretty much
- 14:14every network topology ever. So, we're
- 14:16just going to go for it. Now, to enable
- 14:18this, guess what the command is? Because
- 14:20it's not enable. It's no shutdown. I
- 14:23don't know what genius thought of that,
- 14:26but to enable this router, you type no
- 14:28shutdown. They [music] change state to
- 14:30up. There we go. If you inspect the link
- 14:32here, you there should now be a green
- 14:34arrow instead of these red ones. That
- 14:36proves that the physical and and the
- 14:38data link connection is operational. It
- 14:40does not prove yet that the PCs are are
- 14:43addressed correctly and can communicate
- 14:44to each other. But, this green line is a
- 14:46good sign. So, after we assign the first
- 14:49address, we're just going to exit and
- 14:51now we're back to config mode. And now
- 14:53we want to select the other interface.
- 14:55Now, what I want you to do is pause the
- 14:56video and then assign the other IP
- 14:58address to the other switch. You should
- 15:01know exactly what to do from here.
- 15:05>> [music]
- 15:05>> Okay, I I I hope you did it. If you're
- 15:07just watching for fun, we're going to do
- 15:09interface gigabit ethernet 0/1
- 15:14and then IP address 192.168.20.1
- 15:20and then the same subnet mask. I already
- 15:22explained why it can't be .10 here
- 15:25before and why we're using .1 here. So,
- 15:27I'm not going to rephrase. Let's just
- 15:29enter. And then to enable it, no
- 15:31shutdown again. That is so stupid. I'm
- 15:33never going to get over that. There's
- 15:35also multiple ways to get out of of this
- 15:38config if mode. Typing exit just takes
- 15:40you back to regular config mode, but
- 15:42typing end takes you all the way
- 15:45takes you all the way back to privilege
- 15:47mode. So, green lines everywhere. That I
- 15:49I think that means that it works, but to
- 15:51verify, show IP interface brief. Okay?
- 15:55IP address, they now have IP addresses
- 15:58and status and protocol are both up.
- 16:00We're basically done. Now, you might
- 16:01have some questions. Did the
- 16:02configuration actually work? Can we
- 16:04trust this? Is this lying to us? Is this
- 16:07all sci-op? Well, let let's let's verify
- 16:10everything. First, we're just going to
- 16:11show IP route. We don't have to do this,
- 16:13but we're just it just says it gives us
- 16:17some useful information. This makes
- 16:19another useful question. How does the
- 16:21router know where these networks are
- 16:23when we never created a route aside from
- 16:25just physically plugging them in? That
- 16:27is because assigning an address to an
- 16:29active interface automatically adds that
- 16:31interface's network to the routing
- 16:33table. You don't need static routes
- 16:35because both networks connect directly
- 16:37to the router. Once everything works,
- 16:39make sure to do this. You copy running
- 16:42config and startup config. For a file
- 16:46name, just press enter and then we're
- 16:49basically done. Running config is the
- 16:51configuration currently in memory and
- 16:53startup config is the saved
- 16:55configuration that is loaded every time
- 16:57this thing is started. So, now let's
- 16:59check if the
- 17:00Terry cameo. We have a Terry cameo going
- 17:03over the opsec folder. W Terry. Okay, uh
- 17:06command prompt. We're going to try
- 17:08pinging the other computer.
- 17:09192.168.20.10.
- 17:13Request timed out. What happened? Why
- 17:15didn't it work? Why is our stupid
- 17:17request timing out? What did we do
- 17:19wrong? Do we have to restart everything
- 17:21from scratch? Let's just nuke this
- 17:23stupid router and start
- 17:25>> [music]
- 17:28>> Well,
- 17:29it didn't work because I deliberately
- 17:32didn't put the default I didn't assign
- 17:34the computers a default gateway. I
- 17:37wanted to make this mistake to
- 17:38demonstrate that mistakes often lead to
- 17:41you learning something new. If you ran
- 17:43into this problem, you'd go through a
- 17:45checklist. You say, "Okay, all the
- 17:47addresses are correctly assigned.
- 17:49There's green lines running. Why is it
- 17:50still not connecting?" Eventually,
- 17:52you'll look at the IP configuration and
- 17:55you'll see that the default gateway is
- 17:57just 0.0.0.0.
- 17:59So, we want to make the default gateway
- 18:01the same address as the router. And we
- 18:04want to use and we want to use the
- 18:06specific left side network and the right
- 18:08side network for for both PCs. So, if
- 18:11this is .10, the third number, then
- 18:13we're going to use .10 here and then .1
- 18:15cuz that's the router. Let's do the same
- 18:17thing on the other one. 192.168.20.1.
- 18:21Now, if all goes well, I should be able
- 18:24to ping the other computer.
- 18:26Reply. I thought I thought it was over
- 18:28for a sec cuz request timed out, but we
- 18:30got a reply. It's working. Objective
- 18:32complete. Computers are now
- 18:34communicating and you should now have a
- 18:36basic understanding of how all this
- 18:39works. This is the very basic foundation
- 18:42of everything. It's normal if you do not
- 18:45yet understand every packet level
- 18:47detail, but this is a strong foundation
- 18:50for everything we're about to talk
- 18:51about. We learned that just physically
- 18:54connecting stuff doesn't mean that
- 18:55they're always going to be able to
- 18:57communicate with each other. Nowadays,
- 18:59nine times out of 10, just connecting
- 19:01something, it means it's going to be
- 19:02able to communicate with each other like
- 19:03any
- 19:04like basically any home network. But, I
- 19:06wanted to demonstrate manually setting
- 19:08up a network from scratch because I
- 19:11think it's just something important to
- 19:13know. Whether you get into networking as
- 19:15a career or not, it is something very
- 19:17valuable to know, especially if you're
- 19:19into cybersecurity. We learned very
- 19:22foundational stuff like a computer needs
- 19:24a unique IP address, a subnet mask
- 19:26determines which address belongs to the
- 19:28same network, a router connects
- 19:29different networks together, which are
- 19:31these switches, router interfaces must
- 19:33be enabled before they operate, switches
- 19:36can forward the local traffic without
- 19:38having IP addresses because if you
- 19:40remember, we did no actual configuration
- 19:42on these, communication also requires a
- 19:44return path, so both PCs need gateways,
- 19:47and without those gateways, we weren't
- 19:49able to communicate with each other. And
- 19:51we learned that DHCP is what allows
- 19:54automatic IP address assignment, which
- 19:56many people take for granted or don't
- 19:58even know exists because they're just so
- 20:00used to everything working
- 20:01>> [music]
- 20:01>> right out of the box. Congratulations.
- 20:04You have made two computers communicate
- 20:06across two separate networks, but you
- 20:08probably have a lot of questions after
- 20:10all that. And that's good. That means
- 20:12you have a curiosity about this stuff,
- 20:14and curiosity is what sparks the desire
- 20:16to learn. Let's start with the basics.
- 20:19How did computer A ping computer B? What
- 20:22is a ping? How does it work? Ping uses
- 20:25ICMP echo request and echo reply
- 20:27messages and it basically tests whether
- 20:30another IP host can be reached and if
- 20:32the IP host can respond. How does
- 20:34computer A decide where to send the
- 20:36ping? Well, it compares its own address
- 20:38to the destination address and since its
- 20:40number is 20, meaning it's outside of
- 20:43its own network, it sends the packet
- 20:44through the default gateway, which is
- 20:46just the IP for the router. How does it
- 20:48know to send it to the router? Because
- 20:50the 20 here tells the computer that the
- 20:52destination is outside of its network.
- 20:54To find the gateway, it knows its IP
- 20:57address, but it still needs the MAC
- 20:59address. What is a MAC address? Well,
- 21:01it's kind of like a legal name. Everyone
- 21:03has a name and your MAC address is
- 21:05completely unique to your device's
- 21:07hardware level network card. This is not
- 21:09taking into account things like MAC
- 21:11address spoofing and and stuff like
- 21:12that, by the way. It's like trying to
- 21:14send a package of a phallic-shaped
- 21:16object and having an address, which is
- 21:18represented by the IP, but not having
- 21:20the name, aka the MAC address. You can't
- 21:22send the package. It's like a mailman
- 21:24arriving to your apartment building, but
- 21:26there is no specific name or unit on the
- 21:28package, so he just doesn't know what to
- 21:30do with it. So, to get the missing
- 21:31information, computer A sends an ARP
- 21:33broadcast, which introduces its IP, MAC
- 21:36address, [music]
- 21:37ARP broadcast and ARP caches and switch
- 21:40A stores the MAC address in the MAC
- 21:42address table and forwards that packet
- 21:44to the router. What is an ARP broadcast?
- 21:46It's basically like your computer
- 21:48standing in a room full of people with a
- 21:50package addressed to 192.168.20.10
- 21:53and since [music] the room is full of a
- 21:54bunch of other IPs, your computer
- 21:56naturally can't just walk directly to
- 21:58the recipient because they don't know
- 22:00who they are, so they [music] just stand
- 22:02up and say, "Yo, who the [ __ ] has IP
- 22:04address 192.168.20.10?
- 22:07Tell me your MAC address so I can give
- 22:09you this packet." Everybody in the room
- 22:11sees the message, but 192.168.20.10
- 22:15says, "Yo, that's me, dude. Here's
- 22:18Here's a Here's my MAC address." After
- 22:21switch A forwards the packet to the
- 22:22router, it examines the destination IP,
- 22:25checks the routing table it has stored
- 22:26locally, sees the destination in its
- 22:28routing table, and sends the packet
- 22:30through to switch B, which it then
- 22:32forwards it to computer B. An echo reply
- 22:34is sent back through the chain all the
- 22:36way back up to PC A. Why did we do
- 22:39something as barbaric as manually
- 22:41configuring the IP address? We did that
- 22:43just to understand how IP addresses are
- 22:45assigned because it's important [music]
- 22:47to know. Nine times out of 10, the IP
- 22:49address will be assigned in a different
- 22:51way. If the IP address isn't manually
- 22:53assigned by me, how is it assigned?
- 22:55Well, let me introduce you to DHCP.
- 22:58DHCP, or the Dynamic Host Configuration
- 23:00Protocol, automates the boring process
- 23:02of manually assigning IP addresses on
- 23:04the network. In the era of instant
- 23:06gratification, you can't manually learn
- 23:08or do anything without the required
- 23:10black guy in the corner and Subway
- 23:12Surfer gameplay on the side. That is why
- 23:15DHCP is there to do it for you so you
- 23:17could continue to fritter away scrolling
- 23:19Instagram Reels and lose time [music]
- 23:21you'll never truly get back. A DHCP
- 23:23server maintains a pool of addresses
- 23:25that it is allowed to distribute, and on
- 23:27most home networks, the router usually
- 23:28acts as a DHCP server, which is why you
- 23:31usually don't manually set one up. Large
- 23:33organizations in the IT world may use
- 23:35dedicated DHCP servers rather than
- 23:38having them integrated directly into the
- 23:39router. Think of DHCP kind of like
- 23:42renting a room in the Bannered [music]
- 23:43Mare in Skyrim. You walk into the
- 23:45Bannered Mare with the sole intention of
- 23:47getting drunk off Honningbrew Mead so
- 23:49you can get a little too handsy with
- 23:51Saadia. The DHCP server is kind of like
- 23:53the innkeeper Hulda, who assigns you a
- 23:55room, tells you where the exits are,
- 23:57tells you how to contact the front desk,
- 23:59and gives you the room temporarily
- 24:01rather than you owning it forever. All
- 24:03right, she doesn't do like half of those
- 24:05things I just said, but like just for
- 24:06the analogy, just pretend like she does.
- 24:09The room is your IP address, and the
- 24:11exit is your default gateway, and the
- 24:13information on how to contact the front
- 24:15desk is a DNS server. Okay, so how can a
- 24:18computer request an address when it
- 24:19doesn't have one? It broadcasts a DHCP
- 24:22message to everyone on the local network
- 24:24through a process [music] called Dora.
- 24:25Dora stands for Dora the Explorer Dora
- 24:28stands for discover, offer, request, and
- 24:31acknowledge. Discover is discovering
- 24:33whether there is a DHCP server. Offer is
- 24:36the DHCP server offering a specific
- 24:38address to a computer. And request is
- 24:40your computer being like, "Sure, I'll
- 24:42take that address." Then finally,
- 24:43acknowledge is just both parties
- 24:45acknowledging that the transaction
- 24:47happened. The DHCP server gives
- 24:49everything that is needed like an IP
- 24:51address, subnet mask, default gateway,
- 24:53DNS servers, etc. Now that we know how
- 24:56devices communicate with each other
- 24:58locally, how does communicating with the
- 25:00internet outside of your network work?
- 25:02So, let's say you go to Rule 34 to
- 25:05research art. First, your computer will
- 25:07make a request to your router. It
- 25:09packages this request into a digital
- 25:10envelope called a packet that contains a
- 25:12bunch of stuff like this. Let's just
- 25:14ignore all of that for now because like,
- 25:16ew, look at it. And let's just direct
- 25:19our small attention spans onto the two
- 25:21main things we need to know. The MAC
- 25:22address and the IP address for both the
- 25:24source and the destination. Your router
- 25:26has its own public IP address which it
- 25:28uses to connect to the outside world.
- 25:30Think of the router like the portal to
- 25:32the nether. The overworld is your local
- 25:34network, and you can enter the nether
- 25:37aka the outside internet through the
- 25:39router aka the portal. Okay, but how
- 25:42does my computer know that Rule 34 is
- 25:44Rule 34? Well, that is through the
- 25:46magical thing that is known as DNS. What
- 25:49the hell is DNS and why do you keep
- 25:50mentioning it? DNS stands for Domain
- 25:53Name System. Say you're trying to buy my
- 25:55merch and you type in zooma.shop into
- 25:57your browser and you go on my website to
- 25:59buy my awesome merch. Every website
- 26:01needs their own IP. But us as humans,
- 26:04we're not going to [ __ ] manually type
- 26:06down and remember a million IP addresses
- 26:09for every website that we like. So, that
- 26:11is where DNS comes in. DNS turns
- 26:13zooma.shop into an IP that your network
- 26:16needs to know to communicate with it
- 26:17properly. The way it works is that when
- 26:19you type zooma.shop into your browser,
- 26:21your computer is going to go check its
- 26:23own DNS cache, host file, and previous
- 26:25local configurations. And if it cannot
- 26:27find the IP that matches the domain in
- 26:29there, the computer is going to ask,
- 26:31"Hmm, where should I ask about this
- 26:33site?" Well, I'll send a request to a
- 26:35DNS resolver ran by the ISP. If the DNS
- 26:38resolver doesn't have the answer, it
- 26:40then asks a root name server about
- 26:42zumda.shop, and the root name server
- 26:44reads the top-level domain, aka the TLD,
- 26:47which is basically just this end part of
- 26:49any given domain. You more commonly see
- 26:52.com or .org, but in this case it is
- 26:54.shop. Each TLD has its very own TLD
- 26:57registry, and the root name server asks
- 27:00the TLD registry for the IP address of
- 27:02the domain, and that IP is sent all the
- 27:04way back to your computer. That's all
- 27:06you need to know for now. I'm not going
- 27:07to get into poisoning DNS responses and
- 27:09TLS certificates yet. I should probably
- 27:11mention that one machine can run several
- 27:13network programs simultaneously. Whether
- 27:16that be a website, SSH server, Jellyfin
- 27:18server, or Minecraft server all under
- 27:21the same IP address. When traffic
- 27:23reaches that computer, how does it know
- 27:25which program should receive it? This is
- 27:27where ports come in. Say you're
- 27:29self-hosting a Minecraft server on TCP
- 27:31port 25565,
- 27:33and you host a Jellyfin server on TCP
- 27:35port 8096.
- 27:37Those ports would be open, meaning that
- 27:39there is a socket that is actively
- 27:41listening for traffic on that port. The
- 27:43operating system on the computer reads
- 27:45the destination port in the TCP [music]
- 27:47header, and delivers the data to the
- 27:48socket listening on that port. For that
- 27:50port to be reachable by the broader
- 27:52internet, you [music] can forward those
- 27:53packets doing something called port
- 27:55forwarding, but this comes with a myriad
- 27:57of risks that I'll get into later. What
- 27:59is TCP and UDP? You can think of TCP and
- 28:02UDP like delivery service providers.
- 28:04[music]
- 28:04So, think like FedEx or Amazon shipping
- 28:07or some [ __ ] like that. TCP is focused
- 28:09on reliable delivery. First, to deliver
- 28:11data, TCP uses a three-way handshake.
- 28:13[music] So, the client basically goes to
- 28:15the server and says, "Yo, what's up?"
- 28:18The server then says, "Hey, man, what's
- 28:20up?" Then the client says, "Nothing
- 28:22much. Let's talk." And communication is
- 28:24established, and then [music] they
- 28:25passionately start making out right in
- 28:27front of you. Typically, by default, TCP
- 28:29is not encrypted, but modern HTTPS
- 28:32places TLS above TCP, so it's
- 28:34transported in a way that is invisible
- 28:36to literally anybody that is watching.
- 28:38If data is missing or something doesn't
- 28:40arrive, TCP retransmits that data, and
- 28:42if data arrives out of order, TCP can
- 28:45reassemble the byte stream before
- 28:46delivering it to the application.
- 28:47[music] UDP is like minimal transport.
- 28:50Instead of establishing a handshake or
- 28:52anything, UDP is a chad. It doesn't care
- 28:54if the recipient is ready or
- 28:56or even exists. It just fires the data
- 28:59and sends it regardless of anything. And
- 29:01unlike TCP, the packets have no disaster
- 29:03protocol in case things go wrong. TCP
- 29:05basically sits in the corner and is
- 29:07like, "Well, what if this goes wrong? We
- 29:09need a plan. What if my girlfriend
- 29:11leaves me? Oh my god, what am I going to
- 29:13do? Let's halt the entire network and
- 29:16figure this out right now." UDP's
- 29:18philosophy is that having a plan B is
- 29:20basically admitting to yourself that
- 29:22you're going to fail. In UDP's mind,
- 29:24failure is not even a possibility. So,
- 29:27if packets are dropped along the way,
- 29:28they're just forgotten to time and
- 29:30become hollow like in Dark Souls. These
- 29:32both serve specific purposes. When
- 29:34something goes wrong with TCP, usually
- 29:36the network pauses and makes sure
- 29:38everything is in order before keeping
- 29:40data flowing. With UDP, speed is the
- 29:42number one priority. If you're playing
- 29:44something like Counter-Strike, you don't
- 29:45want the entire connection to freeze
- 29:47just because your opponent has bad
- 29:49internet, which is why something like
- 29:50UDP would be better suited for that than
- 29:53TCP. TCP is more suited to something
- 29:55like downloading Counter-Strike.
- 29:57Everything needs to be sent, and if UDP
- 29:59is used, you risk corrupted game files.
- 30:01[music] Maybe that whole every copy of
- 30:03Mario 64 is personalized meme was
- 30:05because of UDP downloading a slightly
- 30:07different game for every host. Okay, we
- 30:09now know how a device can communicate
- 30:11with the broader internet. [music]
- 30:12How can hundreds of devices all share
- 30:15the same public IP address? Welcome to
- 30:17NAT and PAT. NAT and PAT are like the
- 30:20RAM and ROM of networking. [music]
- 30:22Who the [ __ ] is RAM?
- 30:24Uh oh [ __ ] I don't know.
- 30:28A lot of people confuse PAT and NAT
- 30:30since they both translate your device's
- 30:32private internal addresses into a single
- 30:34public address so they can access the
- 30:36wider internet. That means network
- 30:38address translation. Basically, a router
- 30:40strips the private IP off the packet and
- 30:42replaces it with your house's public IP
- 30:44address. You can think of NAT like
- 30:46Indiana Jones replacing that golden idol
- 30:49thing with the bag of sand. NAT is
- 30:51fairly limited, though. Basic NAT
- 30:52requires a unique public IP for every
- 30:55single individual device that wants to
- 30:57go online at the same time. If you have
- 30:5920 devices, but only one public IP, only
- 31:01one device can use the internet at a
- 31:03time. If NAT is a one-to-one swap, you
- 31:05can think of PAT,
- 31:06>> [music]
- 31:06>> or port address translation, as a
- 31:08many-to-one swap. It's kind of like how
- 31:10One For All is technically one quirk,
- 31:12and All For One lets you take on as many
- 31:15quirks as he want. Instead [music] of
- 31:16just changing the IP address like like
- 31:19basic NAT, PAT utilizes source port
- 31:21numbers on top of this to keep track of
- 31:23who asked for what, so it knows to send
- 31:25the Rule 34 traffic to your device,
- 31:27instead of your mom's device. So, say
- 31:29you and your mom both click a link at
- 31:31the exact same time. To avoid mixing
- 31:34that data, the router assigns a source
- 31:36port to both packets and uses a
- 31:38different source port number for each
- 31:39packet. Then, it writes this down in a
- 31:41translation table. So, say the port for
- 31:43your packet is one, and the port for
- 31:45your mom's packet is two. Traffic
- 31:47returning on port one goes to you, and
- 31:49traffic returning on port two goes to
- 31:51your mom. All of what I just discussed
- 31:52combined is what allows the modern
- 31:54internet to exist and allows you to
- 31:56interact with it. There is other stuff I
- 31:58didn't mention like like switching
- 32:00centers, deep sea routing cables, but
- 32:03whatever, all of that's not important. I
- 32:04just want to know, how did we bang a
- 32:06couple rocks together thousands of years
- 32:08ago and end up with this? I have no
- 32:10[ __ ] idea. It's best not to think
- 32:12about it. If you had fun with the
- 32:13hands-on thing we did with Packet
- 32:15Tracer, I'm going to link a GitHub
- 32:16repository that includes a collection of
- 32:18already set up network topologies, each
- 32:21with a specific problem that needs to be
- 32:23fixed, that covers everything I just
- 32:24discussed. They range between beginner
- 32:26[music] to intermediate in difficulty.
- 32:28I'll also link some labs from Witty
- 32:29Networks that are more advanced that
- 32:31each present a broken network where
- 32:33something isn't working correctly. It
- 32:35doesn't tell you what's wrong. It only
- 32:37gives you a specific objective, so you
- 32:39are completely on your own with these.
- 32:40They're actually pretty hard. I tried
- 32:42three of them and only completed one of
- 32:44them. I highly recommend doing these if
- 32:46you plan on getting into a career in
- 32:48actual networking and network
- 32:49maintenance. If you just want to be an
- 32:51anonymous hacker man that hacks into the
- 32:53main frame, you can get by with just
- 32:55knowing the basics, but I still
- 32:56recommend you at least do one or two of
- 32:58these things since the knowledge you'll
- 33:00get is instrumental. Okay, with most of
- 33:02the basics done, let's get into network
- 33:04attacks and network security.
- 33:12>> [music]
- 33:19[music]
- 33:29>> This video is sponsored by Hacker
- 33:31Blueprint. More information on them in
- 33:34the pinned comment. Much like what I did
- 33:36with networking basics, we're just going
- 33:38to throw ourselves into the water with
- 33:39this one. So, download Wireshark on
- 33:41whatever operating system you're on and
- 33:43just start capturing packets. Spend some
- 33:46time getting familiar with what you're
- 33:47looking at and what is actually
- 33:49happening. Wireshark is not illegal, but
- 33:51[music] what you do with Wireshark can
- 33:53be illegal. So, make sure you're only
- 33:54using this on a network you have
- 33:56permission to be doing this on. Okay,
- 33:58boring disclaimer out of the way. Once
- 33:59you're kind of familiar with Wireshark,
- 34:01go to a site like this, which is HTTP
- 34:03only. This is a demo site where you can
- 34:05log in with any credentials. Whatever
- 34:07you do, do not type in your real login
- 34:09or password for anything. [music] If
- 34:11you're scared, don't do anything and
- 34:13just watch. I typed in a username and a
- 34:15password. Okay, nothing happened. Now
- 34:16what? Well, let's filter by HTTP and
- 34:19inspect the packets. After searching for
- 34:21about 2 seconds, I was able to find this
- 34:23get request and there is this little
- 34:25authorization header that is just this
- 34:27random string of encoded text. The
- 34:29entire thing absolutely reeks of a
- 34:32password to me. This string of text is a
- 34:34base 64 encoding, not to be confused
- 34:37with an encryption. Encoding changes the
- 34:39representation of the text and is
- 34:41designed to be reversible. It's just one
- 34:43small thing that prevents the human eye
- 34:45from immediately seeing passwords in
- 34:46plain text. Encryption requires a key to
- 34:49unlock, which this does not have.
- 34:51Wireshark automatically decodes this,
- 34:53and just by clicking this little arrow
- 34:55here, oh look, and my username and
- 34:58password visible in plain text. This is
- 35:01why nobody uses HTTP anymore. Despite
- 35:04HTTPS being introduced in 1994, HTTP
- 35:08remained the dominant internet standard
- 35:10until around 2015, when free HTTPS
- 35:13certificates were introduced by a
- 35:14nonprofit called Let's Encrypt, with the
- 35:16final nail in the coffin happening in
- 35:182018 with Google Chrome's not secure
- 35:21update, which introduced this red
- 35:23warning every time you try connecting to
- 35:25a non-HTTPS site. Since Chrome is the
- 35:27browser with the highest market share in
- 35:29the entire world, every site was scared
- 35:32of users being frightened away by the
- 35:33warning, which forced a global migration
- 35:36to HTTPS. [music]
- 35:37In the modern day, modern browsers no
- 35:39longer allow you to connect to a
- 35:40non-HTTPS site without explicitly
- 35:43clicking like four buttons to allow it.
- 35:44And a lot of HTTP sites automatically
- 35:47redirect you to an HTTPS version of it,
- 35:49which is exactly what my merch site
- 35:51does. If you type in HTTP zuma.shop,
- 35:55it's going to redirect you to HTTPS
- 35:57zuma.shop. Nowadays, we have things like
- 36:00HTTPS and TLS, which prevent this from
- 36:02happening this easily. But, I wanted to
- 36:04demonstrate it to help you understand
- 36:06networking. Let's break down the actual
- 36:08HTTP request. Let's start all the way
- 36:10with the source IP and destination IP.
- 36:13The source IP is my computer's local
- 36:15IPv4, which is why I'm not blurring it
- 36:17because it really doesn't matter if
- 36:18somebody sees your local IP. The
- 36:20destination IP is just a website in IP
- 36:22form. The source port is this very high
- 36:25number. Your computer has 65,535
- 36:28possible ports you can open. When making
- 36:30a request through HTTP or HTTPS, your
- 36:33computer typically opens up a random
- 36:35high port number, typically between
- 36:3749,152
- 36:39and 65,535
- 36:41for like a split second to make the
- 36:43request. Why? Because a port is like a
- 36:45door and a door needs to be open for
- 36:47information to pass through it. But why
- 36:49not just leave the port open the entire
- 36:51time? There is a bunch of risks that
- 36:53come with exposing [music] ports to the
- 36:54open internet which can lead to your
- 36:56computer getting hacked depending on if
- 36:57there are any vulnerable services
- 36:59exposed. [music] The destination port is
- 37:0180, which is the standard for HTTP.
- 37:04There are different types of HTTP
- 37:05requests. Get is to retrieve something
- 37:08like a webpage or image. Post is to
- 37:10submit something for processing. Put is
- 37:12to replace something. Patch is to change
- 37:14part of a resource like a profile
- 37:16picture. Delete is requesting something
- 37:18to be removed like deleting a comment.
- 37:20Head is to get the response headers like
- 37:22if you're checking the file size of
- 37:23something. Options is to ask what
- 37:25method/features are supported. Connect
- 37:27[music] is for creating a tunnel through
- 37:29a proxy. Trace is to ask the server to
- 37:32echo the request. In this case, we are
- 37:34covering a get request. Get is the
- 37:35request line. Host is this IP and URL
- 37:38form and we are able to reach it because
- 37:40of DNS. User agent is your user agent,
- 37:42so your browser and your system
- 37:44information like your operating system.
- 37:46Authorization here is where the
- 37:47credentials actually are since this
- 37:49specific packet is the packet that
- 37:51transmitted the credentials from my
- 37:52computer to the web [music] server. I
- 37:54want to clarify that this site uses the
- 37:56browser's built-in HTTP basic
- 37:58authentication prompt. Most modern
- 38:00websites send credentials in a post or
- 38:03JSON request and then verify that on the
- 38:05server, return [music] a session cookie
- 38:07or token, and use that token or cookie
- 38:08for later requests. Without HTTPS, the
- 38:11password, cookie, and token can all be
- 38:13captured. Post by itself doesn't really
- 38:15make it any harder. You might be asking,
- 38:17"Would a VPN protect us from happening?"
- 38:19Um, it could and it could not. A VPN
- 38:22would hide the HTTP request from
- 38:24observers between the device and the VPN
- 38:27server, but the HTTP traffic becomes
- 38:29plain text after leaving the VPN towards
- 38:31the website. So, the VPN provider or
- 38:34anyone on that end of the network will
- 38:35still be able to see that information
- 38:37even if [music] you can't. But you are
- 38:39still safe from local level attackers
- 38:41exploiting this. Can HTTPS traffic ever
- 38:44be observed and opened like this in
- 38:45Wireshark? only if the person observing
- 38:48possesses the session keys to that
- 38:49connection, which is unlikely. It can be
- 38:51captured and viewed, but normally cannot
- 38:53be decrypted without the session keys I
- 38:55mentioned or TLS interception. A TLS
- 38:58interception is basically a
- 38:59man-in-the-middle attack that replaces
- 39:01two legit encrypted connections with
- 39:03malicious ones. With TLS interception,
- 39:05your traffic is routed through an
- 39:07inspection proxy. The proxy connects to
- 39:09the real website. The proxy then creates
- 39:11its own certificate pretending to be the
- 39:12website. The certificate is signed by a
- 39:15private root CA installed in your
- 39:16device's certificate store. Then your
- 39:18browser trusts it and establishes TLS
- 39:20with the proxy, and the proxy can
- 39:22decrypt and inspect all of your HTTPS
- 39:25traffic. It re-encrypts it on the way
- 39:27back to your device, so you can't tell
- 39:29that it was decrypted along the way.
- 39:30Legitimate examples of entities who use
- 39:33TLS interception include employers,
- 39:35parental control software, schools, and
- 39:38corporate companies. But these are
- 39:40limited to those entity-specific
- 39:42in-house devices, not a network-wide
- 39:44thing that applies to your personal
- 39:45computer. To remain safe, just be
- 39:47careful, and you can always check this
- 39:49little padlock to see who is issuing the
- 39:51TLS certificate. If you're on Linux, you
- 39:53can also inspect your CA certificates
- 39:55pretty easily. I'm not sure how to do it
- 39:57on Windows. I don't use it, so figure it
- 39:59out if you think you're at risk. Just
- 40:01know that simply downloading a random
- 40:02sketchy free non-reputable VPN can
- 40:05install trusted root certificate for TLS
- 40:07interception, which is part of the
- 40:08reason of why I've always repeatedly
- 40:11stressed the importance of auditing your
- 40:12VPNs on my channel. So we just saw what
- 40:15can happen when an adversary can observe
- 40:17your traffic. But for most network-based
- 40:19attacks, the attacker has to answer a
- 40:20few questions. The main ones being, what
- 40:23machines can I reach? Which ports are
- 40:25open? What programs are listening behind
- 40:27those ports? And are any of them
- 40:28vulnerable? These four questions is like
- 40:3190% of what people refer to as hacking,
- 40:33and our beautiful Nmap answers pretty
- 40:35much all of those questions. To
- 40:37demonstrate my point, I'm going to use
- 40:39the Kioptrix box from the Terry the Fly
- 40:41video. If you want to follow along,
- 40:43download Kioptrix level one and a Kali
- 40:46Linux virtual machine, and put them on
- 40:48their own isolated network. It doesn't
- 40:50have to be Kali, by the way. It could be
- 40:51any Linux distro. Kali just comes
- 40:53pre-installed with everything that we
- 40:55need for this demonstration and I'm too
- 40:57lazy to download everything manually.
- 40:59The first step is to see your own IP,
- 41:01then the other IPs on your network. To
- 41:03do that, the IP adder command shows the
- 41:06address assigned to each interface on
- 41:08your device. You can also run IP route
- 41:10to display the routing table. The first
- 41:1224 bits of this IP identify the network.
- 41:15So, in this case, any IP starting with
- 41:17192.168.150
- 41:20are treated as part of that local
- 41:21network. So, anything between
- 41:22192.168.150.1 to 192.168.150.254
- 41:28are usable devices and reachable devices
- 41:31on the network as long as they exist.
- 41:33192.168.150.0
- 41:35is the network address and
- 41:37192.168.150.255
- 41:41is the broadcast address. You might be
- 41:43asking, "Why do we need to know our own
- 41:45address?" Well, that is because it tells
- 41:47us which network to investigate since
- 41:48the only thing we know about the target
- 41:50machine is that it is on this current
- 41:52network. The next thing to do is to
- 41:54actually find the target machine and
- 41:56since we already have the address of the
- 41:58network, we can just type Nmap and then
- 42:00the IP address. Optionally, you can also
- 42:02use the {dash} sn tag for Nmap which
- 42:05performs host discovery without scanning
- 42:07ports. [music]
- 42:08192.168.150.0/24
- 42:12is telling Nmap to check every reachable
- 42:14address in that specific subnet. How
- 42:16does Nmap even discover hosts on a
- 42:18networking level? Some people say it's a
- 42:20ping sweep, but in this case, it's not.
- 42:23A ping sweep checks a range of IP
- 42:25addresses to determine which ones appear
- 42:27to have active devices. When scanning
- 42:29outside of a local network, ARP cannot
- 42:31cross routers. So, Nmap usually combines
- 42:33ICMP echo and ICMP timestamp, which is
- 42:36basically just pinging along with TCP
- 42:38syn, meaning synchronize, to port 443
- 42:41and TCP ack, meaning acknowledgement, to
- 42:44port 80. All of this combined is used to
- 42:46discover hosts. On a local Ethernet
- 42:48network, Nmap typically discovers hosts
- 42:51using ARP, which I explained earlier. If
- 42:53all goes well, we should now have the
- 42:55address of the Kioptrix machine. In this
- 42:58case, the address is 192.168.150.121.
- 43:02All that's left now is to discover the
- 43:04versions of the services running on the
- 43:05Kioptrix machine. Running the same Nmap
- 43:08scan, but this time with the SV flag,
- 43:10which SV sends protocol-specific probes
- 43:13to identify listening software and
- 43:14versions to discover the exact version
- 43:16numbers of the services. After letting
- 43:18it run for a couple seconds, you should
- 43:20now see the version numbers of
- 43:21everything on the open ports. After
- 43:24this, it's time to do the most important
- 43:26part of hacking, which is taking the
- 43:29version numbers and services and looking
- 43:31up if any vulnerabilities exist. I'm not
- 43:33even kidding. This is like a huge part
- 43:35of a penetration test. Hacking a
- 43:37computer in the literal sense in the
- 43:39simplest terms that I can possibly put
- 43:41it is discovering which services to
- 43:44reach, which ports are open, then seeing
- 43:46which services are running, and seeing
- 43:48the version number of those services
- 43:50running, then just looking up exploits
- 43:52and vulnerabilities. So, port 22 has
- 43:54OpenSSH version 2.9p2 running. So, just
- 43:57go to a search engine and just look up
- 43:59OpenSSH 2.9p2 vulnerability. I'm not
- 44:03even kidding. It's that easy. Obviously,
- 44:05this is a deliberately vulnerable system
- 44:07explicitly made to be hacked, and I'm
- 44:09simplifying it drastically. There's a
- 44:11lot more that goes into it like like
- 44:13[ __ ] finding zero-day vulnerabilities
- 44:15that has no searching like this
- 44:17involved. But, this exact methodology is
- 44:19performed on actual real systems to some
- 44:22degree or another during actual real
- 44:24penetration tests. It's just usually a
- 44:26little more complicated. I spent like an
- 44:28hour researching every version number of
- 44:30every service running for exploits and
- 44:32chose to exploit the Apache
- 44:33vulnerability. Why no OpenSSH? Well, the
- 44:36results I found were mostly username
- 44:38enumeration or attacks that required
- 44:40credentials or like some sort of local
- 44:42access or some sort of weird special
- 44:44configuration. I was looking for
- 44:46unauthenticated root access here, and I
- 44:49had two ways I can go about doing it. I
- 44:51can exploit a Samba vulnerability, which
- 44:53is running on port 139, or the Apache
- 44:56vulnerability. I chose Apache because I
- 44:58already did the Samba exploit in my Fly
- 45:00Brain Hacking video, and I already know
- 45:02the correct steps, so it wouldn't really
- 45:04be as fun. You can click the top right
- 45:06if you want to watch that one. Does an
- 45:08old version number always automatically
- 45:10prove something is vulnerable? No. On
- 45:13real systems, sysadmins sometimes
- 45:15backport security fixes manually without
- 45:17changing the visible version, which is
- 45:19why in a real penetration test, just
- 45:21seeing the version number isn't enough
- 45:23to actually prove a vulnerability
- 45:24exists. You can think of these as a lead
- 45:27inside of an investigation. In any given
- 45:30investigation, for say a journalist,
- 45:32private investigator, or like some
- 45:34police detective, there will be multiple
- 45:36leads for a specific case. The
- 45:38investigator will follow all of those
- 45:40leads until they achieve their goal and
- 45:41solve that case. In this specific case,
- 45:44the goal that we want to achieve is root
- 45:46access on the Kioptrix machine, and the
- 45:48lead we currently have is the Apache
- 45:50vulnerability we just researched. I'm
- 45:52doing this to demonstrate how
- 45:53instrumental networking is in
- 45:55cybersecurity. None of this would be
- 45:57possible without networking. The first
- 45:59step is literally only networking, and
- 46:01then researching exploits is only
- 46:03possible because networking exists. In
- 46:05fact, you being able to watch this video
- 46:07is only possible because of networking.
- 46:09I also wanted to mention that the
- 46:10specific exploit I already needed
- 46:12existed built into Kali with a tool
- 46:15called SearchSploit, which is another
- 46:17way you can search exploits. You just
- 46:19type SearchSploit, then the service
- 46:21version number in quotes, and you get of
- 46:23existing exploits. [music]
- 46:25I'm going to run through the rest of
- 46:26this really quickly because the main
- 46:27goal was to demonstrate how important
- 46:29networking knowledge is when it comes to
- 46:30cybersecurity, and not how to actually
- 46:33like hack a [ __ ] system like this.
- 46:35But, we already made it this far, so
- 46:37let's just go. I was able to take the
- 46:38remote exploit from SearchSploit, or or
- 46:41alternatively download it off Exploit
- 46:43DB, which is a database of existing
- 46:45exploits, and then compile it with GCC,
- 46:48which GCC just compiles C source code,
- 46:51and the exploit was made with C. Then,
- 46:53all I had to do was simply run the a
- 46:56exploit, which is the correct exploit
- 46:57for the corresponding version, and point
- 46:59it towards the IP of the Kioptrix
- 47:01machine we got from the Nmap, along with
- 47:03the port running the service we are
- 47:05exploiting. -c40 here is optional. I
- 47:08just used this 40 connections to make it
- 47:09more reliable. Within seconds, I had a
- 47:12reverse shell on the target machine. I
- 47:14say this calls for celebration.
- 47:17But, what happened on the networking
- 47:19level? Well,
- 47:20well, first, the attacker machine
- 47:22checked its routing table and saw that 1
- 47:24121 of the target machine is local.
- 47:27Then, the attacker machine uses ARP to
- 47:29discover the MAC address of the Kioptrix
- 47:31box if it needs to. In this case, it
- 47:33didn't since we already have it cached
- 47:35from the Nmap scan we did earlier. When
- 47:37a TCP handshake is performed, the
- 47:39exploit exchanges specially constructed
- 47:42SSLv2/mod_ssl
- 47:44data with Apache that the vulnerable
- 47:46Apache process mishandles, leading to
- 47:48its memory getting corrupted. Through
- 47:50that corruption, execution is redirected
- 47:52into the exploit's shellcode, and the
- 47:54shellcode attaches a command shell to
- 47:57the existing network socket, letting
- 47:58your keystrokes and the shell output
- 48:00travel through that TCP connection. It's
- 48:03like a comically more complex version of
- 48:05how the image XSS payload works that I
- 48:08demonstrated in the fly video, where an
- 48:10image is called with a non-existent
- 48:11source, and since that source doesn't
- 48:13exist, an error happens. And that is
- 48:15where on error equals comes in, which
- 48:17will let you run a command when that
- 48:19error happens. And you can get creative
- 48:21with these commands to do pretty much
- 48:22whatever. The attacks work extremely
- 48:24differently, and the exploit we used
- 48:25here is much more complex, but on a
- 48:27conceptual level, both exploits provide
- 48:31invalid input that leads to the
- 48:32attacker's code being executed. To
- 48:34explain it very simply and briefly, the
- 48:37exploit converts the buffer overflow
- 48:39into a targeted pointer override.
- 48:41Basically, it replaces Apache's address
- 48:43for the free function, which is just
- 48:45used to free up memory, with the address
- 48:47of the shellcode. And when Apache later
- 48:50calls the free function, the CPU runs
- 48:52the shellcode that we want. You might be
- 48:53asking, "Would a firewall have stopped
- 48:55this?" It could have if it was
- 48:57configured to deny access to port 443.
- 48:59[music] And I believe I haven't
- 49:00mentioned this yet, what exactly is a
- 49:02firewall? A firewall is basically like a
- 49:04bouncer standing between a device or
- 49:06network and everyone trying to
- 49:08communicate with it. Depending on how
- 49:09you configured it, the traffic that
- 49:11wants to come in has to fit a certain
- 49:13criteria to be allowed entry into the
- 49:15door that the bouncer is guarding. Every
- 49:16packet has information like where it
- 49:18came from, where it's going, which
- 49:20protocol it uses, and which port it
- 49:22wants to reach. The firewall compares
- 49:23the information in the packet against a
- 49:25set of rules you determine and decides
- 49:27to either allow it through, drop it
- 49:29silently, or reject it and report that
- 49:31it was blocked. Is hacking really this
- 49:33easy? Well, it could be. In this case,
- 49:35the machine is a deliberately vulnerable
- 49:37system, which makes this process
- 49:39extremely easy. Modern systems use an
- 49:41entire myriad of mitigations like
- 49:44address space randomization,
- 49:45non-executable memory, stack
- 49:47protections, and more strictly hardened
- 49:49services. However, the core concept is
- 49:51the same for real hardened systems. It's
- 49:53just drastically more complex and
- 49:56requires more work. At this point, I had
- 49:58a shell, but running commands like ID
- 50:00and who am I, I was still not root. Even
- 50:03without root access, a reverse shell is
- 50:05still a huge vulnerability, but I wanted
- 50:07root access, so I'm going to go get it.
- 50:09Through researching the specific kernel
- 50:11version using uname -a, I saw the kernel
- 50:13version and through researching exploits
- 50:15on that kernel version, I found that an
- 50:17exploit existed that would let me
- 50:18escalate my privileges to root. I
- 50:20compiled the exploit I found from
- 50:22searchsploit and just simply ran it and
- 50:24I had root access within a couple
- 50:25seconds. I'm not going to go too deep
- 50:27into it as it's not really networking
- 50:29related in this video. It's about
- 50:30networking and I kind of just got
- 50:32sidetracked here. But for those of you
- 50:33that are curious, the exploit used a
- 50:35race condition that exploited a specific
- 50:38kernel version's module loading process
- 50:40to manipulate the timing to access a
- 50:42privileged process during that unsafe
- 50:44window. And like I said earlier, all of
- 50:46this ties back into networking
- 50:47fundamentals. The subnet told us where
- 50:50machines could exist, host discovery
- 50:51discovered the IP, a port scan
- 50:53identified reachable entry points,
- 50:55version detection identified the program
- 50:57and version beyond those ports. TCP
- 50:59carried the exploit and returned the
- 51:01initial shell, which allowed us to
- 51:03execute commands on the target machine
- 51:05and gain root access. Literally
- 51:07everything ties back into networking, so
- 51:09you should really learn it. For the blue
- 51:11teamers out there, how do we prevent
- 51:13this from happening [music] to our
- 51:14systems? Well, simply updating all of
- 51:16the services to the latest versions
- 51:18would have made this exploit impossible,
- 51:20and updating the Linux kernel on the
- 51:21actual machine would have prevented
- 51:23privilege escalation. Other mitigations
- 51:25could have been closing port 443 if it
- 51:27isn't necessary, restricting which
- 51:29networks can reach those services
- 51:31depending on their purpose for existing,
- 51:33keeping the services under low privilege
- 51:34accounts in better isolation with the
- 51:36usage of compartmentalization, and
- 51:38setting up some sort of firewall that
- 51:40restricts traffic. There is other
- 51:41things, but those are some basics I can
- 51:43think of on the top of my head.
- 51:45>> [sighs]
- 51:45>> All right, let's move on to cracking
- 51:47Wi-Fi passwords.
- 51:53>> [groaning]
- 51:53>> Okay, first things first. Only do this
- 51:55on networks you either own or have
- 51:57explicit permission to do this on. Wink,
- 52:00wink. There are multiple security
- 52:02generations when it comes to this stuff.
- 52:03WEP is completely broken, and if you see
- 52:05any network with that is under WEP, you
- 52:08can get in pretty much guaranteed. It
- 52:10repeatedly encrypts traffic using a
- 52:11static shared key combined with small
- 52:13initialization vectors that repeat
- 52:15themselves, which allows statistical
- 52:16attacks to recover the key. Even with
- 52:19the world's strongest passwords with
- 52:20[ __ ] 7 trillion entropy, that won't
- 52:23prevent a WEP network from being
- 52:25compromised. WPA is completely obsolete,
- 52:28and cracking them is easy. It was
- 52:29designed as an emergency replacement
- 52:31that could run on older hardware, and it
- 52:33introduced the modern four-way handshake
- 52:35we see with WPA2, but its encryption is
- 52:38obsolete and pretty easy to crack. The
- 52:40two main types that you see nowadays are
- 52:42WPA2 and WPA3. WPA2 is still used today,
- 52:46and it's relatively secure as long as
- 52:48you have a strong password for your
- 52:49network that is like at least 12
- 52:52characters. The encryption is still
- 52:54relatively good by today's standards,
- 52:56and the main fault with WPA2 networks
- 52:58being cracked is because of human error
- 53:00via weak passwords. WPA2 typically uses
- 53:03AES-CCMP
- 53:05and a four-way handshake that is easy to
- 53:07interpret. WPA3 is the current gold
- 53:10standard and is designed to resist
- 53:12handshake captures. WPA3 replaces WPA2's
- 53:15password derived shared key
- 53:17authentication with SAE followed by a
- 53:19four-way key installation handshake.
- 53:21Okay Zima, you keep drawing around these
- 53:23terms like I'm supposed to understand
- 53:25them. What is a four-way handshake? A
- 53:27four-way handshake is a short
- 53:28conversation between the client and
- 53:30access point to prove that they possess
- 53:32the same secret that creates fresh
- 53:34encryption keys without transmitting the
- 53:35Wi-Fi password itself. Basically, you
- 53:37can think of the Wi-Fi network as a frat
- 53:39bro standing in front of the door to a
- 53:41party. First, a phone or other similar
- 53:44client device walks up to the Wi-Fi and
- 53:46is like, "Yo, could I uh could I come
- 53:48in?" Then the Wi-Fi is like, "I don't
- 53:50know, man. You got any [ __ ] grass,
- 53:52or cash?" Then the phone is like, "Nah,
- 53:54sorry." So then the Wi-Fi says, "All
- 53:57right, you can get in if you solve this
- 53:59challenge to prove you're worthy." The
- 54:01phone that did its research before
- 54:03approaching the frat bro then goes like,
- 54:04"All right, I'll just use my cheat
- 54:06sheet, aka the Wi-Fi password, to solve
- 54:09this challenge." Then after solving the
- 54:11challenge, the network goes like, "Damn,
- 54:12you really know ball, bro. Come come on
- 54:15in." And then the router gives the phone
- 54:17a beer. In this case, the beer is the
- 54:19necessary information to create
- 54:21encryption keys and the phone takes that
- 54:23and enjoys a party. Now you can picture
- 54:25yourself being the little attacker you
- 54:27are who captures a handshake as the
- 54:29weirdo with meta glasses who records the
- 54:31entire conversation that the phone
- 54:33[music] and frat bro just had. You
- 54:35basically record the challenge being
- 54:37given to the phone [music]
- 54:38and you take it home and try to make
- 54:40thousands of different cheat sheets, aka
- 54:42passwords, that would solve that
- 54:43challenge. If you successfully get the
- 54:45password, you go back to the frat bro
- 54:47and get entry to the party. To capture a
- 54:49handshake, you need a Wi-Fi adapter
- 54:51capable of packet injection/monitor
- 54:54mode. Then a network which you own or
- 54:56have permission to do this on. In this
- 54:58case, I just created the basic little
- 55:00WPA2 network using airmon-ng, you start
- 55:03your network card which puts it into
- 55:05monitor mode, then you run airodump.ng
- 55:08on that network card, and after that
- 55:10it'll scan all the nearby networks,
- 55:12listed types, BSSIDs, and all this other
- 55:14[ __ ] And then you run airodump.ng with
- 55:17the BSSID on channel 6, and write the
- 55:20results to a capture file with that
- 55:21network adapter. From here, you either
- 55:23just wait for somebody to connect to the
- 55:25network, which will initiate a four-way
- 55:26handshake that you can capture, or you
- 55:28can deauthenticate a client with
- 55:30airplay-ng, which will force a client to
- 55:32disconnect, and nine times out of 10,
- 55:34it'll automatically reconnect to the
- 55:36network pretty much immediately, [music]
- 55:38which allows you to capture the
- 55:39handshake. Then you can now crack the
- 55:41password with your preferred cracking
- 55:42method. Here's a simple dictionary
- 55:44attack using the rockyou wordlist. There
- 55:46are also wordlists that are specifically
- 55:48designed to target default Wi-Fi
- 55:49credentials. I'm just using rockyou for
- 55:51demonstration purposes. You can also try
- 55:54a brute force, but I recommend
- 55:55converting it into a hash that hashcat
- 55:57can crack, since hashcat allows GPU
- 55:59acceleration, so the actual cracking
- 56:02will be significantly faster. However,
- 56:04even with this weak 14-character
- 56:05password, the potential guesses were
- 56:07this absurd number. So, I supplied 10 of
- 56:10the characters just for demonstration
- 56:11purposes. We now have the password and
- 56:13can connect to the network. You might
- 56:15have some questions, like what is
- 56:17actually inside a handshake, and how is
- 56:19a password able to crack it? The
- 56:20password is never actually transmitted
- 56:22through the air. The handshake contains
- 56:24the access point and client MAC address,
- 56:26a random value from the access point
- 56:28called the A nonce, a random value from
- 56:30the client called the S nonce, EAPOL
- 56:32handshake data, and message integrity
- 56:35code. Both the access point and the
- 56:37client use the same Wi-Fi password,
- 56:39SSID, nonces, and addresses to derive
- 56:42the same session keys, and the message
- 56:44integrity code proves that the client
- 56:45derived the correct key without
- 56:47revealing the actual password. When you
- 56:49capture a handshake, you can perform all
- 56:51of those calculations completely offline
- 56:53and compare the message integrity code
- 56:55you generate with the captured message
- 56:57integrity code. When both integrity
- 56:59codes match, that confirms that the
- 57:00correct password was guessed. Now, how
- 57:02do we defend against this? Simply using
- 57:04a strong password that is a minimum of
- 57:0612 characters and doesn't exist on any
- 57:08wordlist floating around on the internet
- 57:09is a good first step. Also, using WPA3
- 57:12over WPA2 is also a good countermeasure
- 57:15if you're not competent enough to come
- 57:16up with a strong password. In the
- 57:18description, I'll leave a link to some
- 57:20handshakes that are already captured
- 57:21with weak passwords that you can just
- 57:23crack to learn the various Wi-Fi
- 57:25cracking techniques. Okay, next is a
- 57:28man-in-the-middle.
- 57:29>> [music]
- 57:34>> Once again, to preface this, I just
- 57:35wanted to say that everything in this
- 57:37demonstration runs completely on one
- 57:39computer that I own and have permission
- 57:41[music] to experiment on. There is no
- 57:42real third-party Wi-Fi network, account,
- 57:44or credentials being attacked. Only
- 57:46perform security testing on systems that
- 57:48you own or have explicit permission to
- 57:49test on. Okay, let's go. First, I built
- 57:51a little isolated network and verified
- 57:53connectivity within the three virtual
- 57:55machines that I made. I established HTTP
- 57:58traffic on the gateway VM and requested
- 58:00a page as the victim machine. You can
- 58:02see here a message received by the
- 58:03server from the victim. Then, I started
- 58:05observing HTTP traffic as the attacker
- 58:08VM. After that, I poisoned both ARP
- 58:10caches that basically tells the victim
- 58:12that the gateway's IP belongs to the
- 58:13attacker's MAC address. I did the same
- 58:15for the gateway by telling it that the
- 58:17victim's IP belongs to the attacker's
- 58:18MAC. So, now both the gateway and the
- 58:20victim believe that the corresponding IP
- 58:22they have to reach belongs to the MAC
- 58:24address of the attacker. This is
- 58:26confirmation that both the gateway and
- 58:28victim associate each other's IPs with
- 58:29the attacker's MAC address. Now, if some
- 58:31sort of password or login is transmitted
- 58:33between these, the attacker would be
- 58:35able to see that in Wireshark in plain
- 58:37text since ARP has no authentication.
- 58:39The IPs remain unchanged, only the
- 58:41Ethernet destination MAC address changes
- 58:43for each local hop, and the switch sends
- 58:45the frames to the attacker because the
- 58:46machine's ARP caches were poisoned in a
- 58:48way that directs that traffic to the
- 58:51attacker's MAC address. Even once it
- 58:52reaches the attacker machine, packet
- 58:54forwarding relays them to the real
- 58:56destination, so it's hard to detect
- 58:57something like this happening. This
- 58:59entire attack worked because the
- 59:00attacker basically lied about who owned
- 59:03the IP address at the Ethernet layer.
- 59:05The attack isn't that good since it can
- 59:07be easily mitigated with something like
- 59:09HTTPS, and the attacker [music] would
- 59:11have to decrypt something using a like a
- 59:13TLS certificate or some sort of endpoint
- 59:15compromise of some kind. To mitigate
- 59:17this, you can either use HTTPS or
- 59:19dynamic ARP inspection with DHCP
- 59:21snooping on any switches on your
- 59:23network. Anyways, that was like an
- 59:24extremely simplified demonstration of
- 59:26ARP poisoning. Let's move on to the last
- 59:28basic networking attack, an evil twin.
- 59:31>> [music]
- 59:36>> I'm going to keep this one extremely
- 59:37brief because the last time I did
- 59:39anything with any sort of login panel
- 59:41involved, YouTube uh didn't like it very
- 59:44much. An evil twin is exactly what it
- 59:46sounds like. You take an existing Wi-Fi
- 59:48network and set up an identical clone
- 59:50with the exact same SSID, channel, and
- 59:53security configuration. The only
- 59:55difference is typically the BSSID, but
- 59:57it is possible to spoof the BSSID to
- 59:59match the actual network as well.
- 1:00:01Typically, with evil twin attacks, the
- 1:00:02most common demonstration I see on
- 1:00:04YouTube is a network with the same name,
- 1:00:06but it appears as two completely
- 1:00:08different networks when you're looking
- 1:00:09to connect to it. That's some basic
- 1:00:11slop. It is possible to set up the twin
- 1:00:13in such a way that it is so similar to
- 1:00:16the original network that they literally
- 1:00:18show up as the same network if you're
- 1:00:20looking for Wi-Fi. Typically, this is
- 1:00:21done, and then the target is sent
- 1:00:23deauthentication packets from the real
- 1:00:25network, and then their device
- 1:00:26automatically reconnects to the evil
- 1:00:28twin, and at that point they're pretty
- 1:00:29much cooked, and you can set it up so
- 1:00:31that they're sent to a login panel.
- 1:00:33monitor the traffic, poison the ARP,
- 1:00:35whatever. Just get creative. I'm not
- 1:00:36going to show you explicit ways to
- 1:00:38exploit this attack. I just wanted to
- 1:00:40demonstrate how this attack works. The
- 1:00:41easiest way to do an evil twin is with
- 1:00:43an existing tool called Airgeddon, which
- 1:00:45has multiple different types of
- 1:00:47networking-based attacks from denial of
- 1:00:49service, handshake capturing and
- 1:00:50cracking, evil twin, and all of this
- 1:00:52[ __ ] Another way is manually setting up
- 1:00:54everything yourself without the usage of
- 1:00:56a tool. With Airgeddon, it's comically
- 1:00:58straightforward. You just click through
- 1:00:59a couple prompts, and you're pretty much
- 1:01:01done. For my demonstration, I just made
- 1:01:03it go to this little webpage when I
- 1:01:04connected to the evil twin and to
- 1:01:06YouTube. This was all done on my own
- 1:01:08network and hardware, and I had
- 1:01:09permission to do this. To defend [music]
- 1:01:11from this, never enter passwords into a
- 1:01:13webpage that appeared right after you
- 1:01:15connected to a network unless you
- 1:01:16manually audited the fact that it's real
- 1:01:19and a real legitimate reason exists for
- 1:01:21needing that password. Pay attention to
- 1:01:23certificate warnings, disable automatic
- 1:01:25connections, and just just use common
- 1:01:27sense. Okay, that's it. Now spread your
- 1:01:30wings and fly, dear viewer. You should
- 1:01:32now know enough about networking to do
- 1:01:34most things that you want to do like
- 1:01:37self-hosting, home labbing, messing
- 1:01:39around with cybersecurity stuff. The
- 1:01:40possibilities are endless and it's up to
- 1:01:43you what you want to do. [music] I
- 1:01:44really recommend self-hosting stuff
- 1:01:46since that'll force you to learn more
- 1:01:48and you get something valuable out of
- 1:01:49it. If you want to learn more, give
- 1:01:51yourself a goal, throw yourself into it
- 1:01:52without any preparation, and get stuck.
- 1:01:55Pay attention to exactly how you got
- 1:01:56stuck, break things, fix them, and
- 1:01:58explain what happened and why it
- 1:02:00happened in your notes. And I promise
- 1:02:02that you'll learn significantly more
- 1:02:03than you would in any textbook or
- 1:02:05classroom or YouTube course. [music]
- 1:02:06I assembled this 10-day little road map
- 1:02:09for those of you who need direction. Day
- 1:02:11one, just focus on finding your
- 1:02:13interface, MAC address, IP, prefix,
- 1:02:15gateway, and DNS server, and define them
- 1:02:17in your own words in your in your own
- 1:02:19notes. Day two, observe ARP and perform
- 1:02:22a basic ping and just play around with
- 1:02:23stuff. Day three, solve at least one of
- 1:02:25the challenges on Packet Tracer that are
- 1:02:27linked in the description and take notes
- 1:02:29on things that you learn. Day four,
- 1:02:30[music]
- 1:02:31install Wireshark and play around with
- 1:02:32it. Download some Wireshark captures
- 1:02:34online that are centered on achieving a
- 1:02:36task and achieve that task. Day five,
- 1:02:38run traceroute and try to explain each
- 1:02:40hop, then capture a TCP handshake from
- 1:02:42your own WPA2 network that you set up
- 1:02:45and try to crack it. Day six, host a
- 1:02:47basic webpage locally. Day seven, try
- 1:02:50hosting a metasearch engine like SearXNG
- 1:02:52or Forget. Day eight, set up a
- 1:02:54man-in-the-middle or evil twin lab and
- 1:02:56try it out. Day nine, scan services on a
- 1:02:58vulnerable box like Kioptrix and try to
- 1:03:01find an exploit a vulnerability through
- 1:03:02looking up the service version numbers
- 1:03:04and whether they are vulnerable or not.
- 1:03:05Day 10, reflect on all your notes and be
- 1:03:08happy that you learned so much and came
- 1:03:09so far while having so much fun and it
- 1:03:11was all in 10 days. At the beginning of
- 1:03:13the video, I threw you into [music]
- 1:03:15Packet Tracer and told you to make two
- 1:03:16computers communicate across separate
- 1:03:18networks. At the time, depending on your
- 1:03:20knowledge, you might have had no idea
- 1:03:21what the hell's going on or even which
- 1:03:23cables to even use or how anything
- 1:03:25works. Look how far you've come. You
- 1:03:27should be proud of yourself. Learning
- 1:03:29can be fun and it's up to you to get
- 1:03:31yourself far in whatever you want to
- 1:03:32learn. Don't rely on pre-existing
- 1:03:34courses and classroom lectures to learn
- 1:03:36something. Just explore, experiment,
- 1:03:38break things, fix them, and improvise,
- 1:03:40and most importantly, have fun [music]
- 1:03:43and never stop learning. There's going
- 1:03:45to be some resources in the in the
- 1:03:47description for those of you who want to
- 1:03:48keep skill maxing. Just know that I
- 1:03:50believe in all your individual
- 1:03:52potentials to become [music] something
- 1:03:53great. Thank you for watching everybody.
- 1:03:55It's time for the channel membership
- 1:03:57battle. I'm currently mid rabbit hole
- 1:03:59investigation on some privacy stuff
- 1:04:01regarding the medical industry. I found
- 1:04:03some interesting things. It's too early
- 1:04:05to like actually say anything
- 1:04:06definitive, but depending on how it
- 1:04:08goes, it might be a crazy video. I also
- 1:04:10wanted to thank you for 100,000
- 1:04:12subscribers. I truly never saw the day
- 1:04:15that something like like this can happen
- 1:04:17to an idiot like me. But here we are. I
- 1:04:19guess I chose the right dialogue options
- 1:04:21and got the good ending. If you want to
- 1:04:22support the channel, buy the merch,
- 1:04:24become a channel member to join in on
- 1:04:26these battles, and visit the description
- 1:04:28to see other ways to support. If you
- 1:04:30don't want to spend any money, your view
- 1:04:33and the fact that you learned something
- 1:04:34is more [music] than enough for me.
- 1:04:36Thank you all for getting me this far.
- 1:04:38Congratulations to this guy on screen
- 1:04:40for for winning. I'm not relaxing
- 1:04:42running the attack yet. I'm I'm just I'm
- 1:04:45going to do it [music] during editing.
- 1:04:46Shout out to whoever's name is listed on
- 1:04:48screen. If you want to fight amongst our
- 1:04:50members, you know what to do. That's
- 1:04:52pretty much Let's go back to the
- 1:04:55original outro for hitting [music] 100K.
- 1:04:57So until then, I'll see you.
- 1:05:00Thank you.
- 1:05:01>> I'll be waiting for
- 1:05:03>> [music]
- 1:05:03>> the sunrise
- 1:05:07in the desert
- 1:05:08>> [music]
- 1:05:09>> of my heart.
- 1:05:10But still
- 1:05:11the desert
- 1:05:12come alive.
- 1:05:14My
- 1:05:15soul was [music] run dry.
- 1:05:20Sun wish for happiness. [music]
About this transcript
This page contains the full transcript of POV: You Learn Networking For Fun by dzuma, generated from the public captions YouTube serves with the video. The transcript has 12,213 words across 1,864 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.