WEBVTT
Kind: captions
Language: en

00:00:00.760 --> 00:00:07.880 align:start position:19%
Wi-Fi hacking is awesome. Here, for
example, I have my Flipper Zero with a

00:00:05.440 --> 00:00:12.840 align:start position:19%
Wi-Fi dev board that can kick any device
out of any 2.4 GHz network indefinitely.

00:00:10.960 --> 00:00:16.480 align:start position:19%
And the best part is that you don't need
the Wi-Fi password to do a thing like

00:00:14.680 --> 00:00:20.280 align:start position:19%
that. It can also generate a lot of
bogus SSIDs, so you can have the time of

00:00:18.880 --> 00:00:24.120 align:start position:19%
your life trying to find your home
Wi-Fi. And tell me about finding a

00:00:22.200 --> 00:00:27.360 align:start position:19%
needle in a haystack. If you wanted, you
could also make an evil twin of a

00:00:25.520 --> 00:00:31.400 align:start position:19%
network that tries to steal user
information once they join. And a bunch

00:00:29.400 --> 00:00:35.360 align:start position:19%
of other stuff of that like kind of
scared me. Not because of what they do,

00:00:33.320 --> 00:00:39.320 align:start position:19%
but really more because anyone could do
it. I'm not even kidding. You can pull

00:00:37.160 --> 00:00:44.400 align:start position:19%
all this off with a $10 device you can
buy from Amazon. So, yeah, anyone could

00:00:41.560 --> 00:00:48.440 align:start position:19%
do it, but not everyone understands it.
That's why they end up in jail. But not

00:00:46.640 --> 00:00:52.000 align:start position:19%
you though, because no subscriber of
mine is ever going to jail for

00:00:49.920 --> 00:00:56.360 align:start position:19%
cybercrimes. And if you're here, it's
because you want to learn. So, let's get

00:00:53.840 --> 00:01:00.080 align:start position:19%
you ahead of 95% of people and learn
networking basics. So, let's say you

00:00:58.560 --> 00:01:03.960 align:start position:19%
looked for a cute kittens on the
internet, First, you'll make a request

00:01:02.280 --> 00:01:08.760 align:start position:19%
to your router that then turns into a
local packet that amongst a lot of

00:01:06.000 --> 00:01:13.320 align:start position:19%
information has two important things: IP
address and MAC address. A MAC address

00:01:11.120 --> 00:01:18.080 align:start position:19%
is an identifier that's burned into your
network card and looks like this. It's

00:01:15.600 --> 00:01:22.200 align:start position:19%
like your name inside your local network
and helps your router know who you are.

00:01:20.200 --> 00:01:26.000 align:start position:19%
But this only works inside your local
network. So, if it were to get leaked to

00:01:24.040 --> 00:01:30.040 align:start position:19%
someone outside, you probably shouldn't
worry unless you're like a journalist or

00:01:27.920 --> 00:01:33.400 align:start position:19%
something. IPs, on the other hand, can
be either public or private. Every

00:01:31.960 --> 00:01:37.760 align:start position:19%
single device you connect to the
internet has a private IP address that

00:01:35.480 --> 00:01:41.526 align:start position:19%
your router uses to locate the device.
With that private IP, your router knows

00:01:40.120 --> 00:01:45.840 align:start position:19%
where to send all of those unholy
[music] things you watch on internet.

00:01:43.520 --> 00:01:49.680 align:start position:19%
Now, don't get it twisted. Private IPs
and MAC addresses have a lot in common,

00:01:47.880 --> 00:01:53.840 align:start position:19%
but they are not the same. Take it like
this. If we were in a house, right, and

00:01:51.720 --> 00:01:57.720 align:start position:19%
I told you to bring me the red ball from
the attic, the MAC address would be the

00:01:55.680 --> 00:02:02.200 align:start position:19%
identifier of what I want, and the
private IP address would be where to

00:01:59.680 --> 00:02:06.680 align:start position:19%
find what I want. But now let's say we
are out of town, and I told you to bring

00:02:04.280 --> 00:02:10.119 align:start position:19%
me the same red ball from the attic. How
are you supposed to know what house I'm

00:02:08.160 --> 00:02:14.400 align:start position:19%
talking about? Well, the funny thing is
that just like everything inside Linux

00:02:12.360 --> 00:02:18.520 align:start position:19%
is a file, every device connected to the
internet has an IP address, including

00:02:16.720 --> 00:02:22.840 align:start position:19%
your router. That's right. Your router
has a public IP address with which it

00:02:20.720 --> 00:02:27.440 align:start position:19%
connects to the outside world. That
public IP address is a global identifier

00:02:25.440 --> 00:02:31.520 align:start position:19%
to where your router is. So, if you
wanted to make a request to youtube.com

00:02:29.760 --> 00:02:35.520 align:start position:19%
to subscribe to my channel, the site
would know where the request was sent.

00:02:33.720 --> 00:02:40.160 align:start position:19%
But please have in mind your router
isn't just a box that shoots Wi-Fi

00:02:37.920 --> 00:02:43.520 align:start position:19%
everywhere. It's basically your gateway.
It's like your main door between your

00:02:41.920 --> 00:02:47.240 align:start position:19%
private network and the big old
internet. Basically, everything that has

00:02:45.320 --> 00:02:51.360 align:start position:19%
to go in or out of your network has to
go through it, kind of like an airport

00:02:49.120 --> 00:02:54.200 align:start position:19%
security for data packets. So, if your
packets don't have the right

00:02:52.520 --> 00:02:58.800 align:start position:19%
documentation, they're not going
anywhere. Now, there's also this thing

00:02:56.160 --> 00:03:02.720 align:start position:19%
called DHCP, which basically it's the
system that gives every device its own

00:03:01.000 --> 00:03:07.120 align:start position:19%
IP address automatically. Because
imagine if we manually had to put IP

00:03:04.800 --> 00:03:11.600 align:start position:19%
addresses for every phone, television,
smart fridge, and smart toilet we had.

00:03:09.280 --> 00:03:15.200 align:start position:19%
There are also subnets. Think about them
as the neighborhoods of your local

00:03:13.240 --> 00:03:19.200 align:start position:19%
network. They keep all of your devices
organized and prevent traffic from

00:03:16.840 --> 00:03:23.880 align:start position:19%
turning into complete chaos. That's why
most of your little IPs at home start

00:03:21.520 --> 00:03:29.720 align:start position:19%
with 192.168
or 10.0 or something. Your router also

00:03:27.320 --> 00:03:34.400 align:start position:19%
does something called NAT. Think of it
as the post office in our little

00:03:31.720 --> 00:03:39.080 align:start position:19%
scenario. Many private IP addresses get
sent under one public IP address. So,

00:03:37.040 --> 00:03:43.760 align:start position:19%
when Google replies to it, packets are
sent to your router's public IP address,

00:03:41.720 --> 00:03:48.800 align:start position:19%
and then the router forwards them back
to the correct device inside your house.

00:03:46.000 --> 00:03:53.280 align:start position:19%
And DNS, the hero we never thank. It's
basically like the phone book for the

00:03:50.920 --> 00:03:57.400 align:start position:19%
internet. It turns google.com into the
actual IP address your computer needs to

00:03:55.520 --> 00:04:01.920 align:start position:19%
find it. Without it, you'd have to
remember long chains of numbers just to

00:03:59.520 --> 00:04:06.600 align:start position:19%
watch cat videos. So, yeah, DNS is
basically the one thing standing between

00:04:04.040 --> 00:04:10.160 align:start position:19%
you and total insanity. Now, I know
these are a lot of terms and it feels

00:04:08.360 --> 00:04:13.280 align:start position:19%
like I'm just throwing them around, but
we'll get more in-depth in future

00:04:11.800 --> 00:04:17.600 align:start position:19%
videos. And in case you didn't
understand, you can Google them. I mean,

00:04:15.040 --> 00:04:21.320 align:start position:19%
just investigate, okay?
You can put the tomatoes down now. The

00:04:19.359 --> 00:04:25.200 align:start position:19%
thing is, anyone can get your IP
address, and it's not that hard, either.

00:04:23.360 --> 00:04:28.760 align:start position:19%
Private IPs, for example, are the
easiest to pull off. You just have to

00:04:26.960 --> 00:04:33.720 align:start position:19%
type this into the command line, and
look, there it is. Your IP could also be

00:04:30.920 --> 00:04:37.760 align:start position:19%
dynamic or static. A dynamic IP gets
assigned automatically when you connect

00:04:35.480 --> 00:04:42.760 align:start position:19%
to a network and can change with time.
And a static IP, you guessed it, gets

00:04:40.240 --> 00:04:48.320 align:start position:19%
assigned manually and never changes. But
there's this little tiny problem. See,

00:04:45.720 --> 00:04:53.520 align:start position:19%
we kind of ran out of IP addresses in
like 2015. The thing is that this set of

00:04:50.960 --> 00:04:58.200 align:start position:19%
numbers only has like 4.3 billion
combinations, which sounded like a lot

00:04:55.720 --> 00:05:02.600 align:start position:19%
in the 1980s. But nowadays, the human
population almost doubles that. And as

00:05:00.560 --> 00:05:06.800 align:start position:19%
more and more continents run out of IP
addresses, we, as the ever-evolving

00:05:04.720 --> 00:05:13.320 align:start position:19%
creatures we are, invented a new breed
of IP addresses called IPv6. Now, this

00:05:10.040 --> 00:05:17.400 align:start position:19%
bad boy over here has over 340
undecillion combinations, so we will

00:05:15.680 --> 00:05:20.960 align:start position:19%
never face this problem again. This
entire video I've been talking about the

00:05:19.000 --> 00:05:25.160 align:start position:19%
previous generation of IP addresses
called IPv4, because they are not that

00:05:23.280 --> 00:05:29.720 align:start position:19%
different. However, they are not the
same. IPv6 offers an enormous address

00:05:27.880 --> 00:05:33.760 align:start position:19%
space, so it doesn't need NAT. And it
also supports automatic address

00:05:31.400 --> 00:05:38.680 align:start position:19%
configuration and privacy extensions. In
plain words, reduces tracking. So, yeah,

00:05:36.040 --> 00:05:42.760 align:start position:19%
it's basically like an IPv6, but with
way more addresses, built-in privacy,

00:05:40.720 --> 00:05:47.680 align:start position:19%
and no need for NAT. But unfortunately,
not all ISPs or routers fully use IPv6

00:05:45.760 --> 00:05:51.600 align:start position:19%
yet, so we're still stuck with this.
Now, a lot of people will be wanting

00:05:49.560 --> 00:05:56.000 align:start position:19%
your public IP address, because with the
right tools and info, they can do port

00:05:53.600 --> 00:05:58.560 align:start position:19%
scanning, credential stuffing, session
hijacking,

00:05:59.600 --> 00:06:06.640 align:start position:19%
and well, sad enough, there are a lot of
ways your public IP address can get

00:06:03.720 --> 00:06:11.720 align:start position:19%
exposed. Tools like Grabify or IP logger
makes fake URLs that grab your public IP

00:06:09.360 --> 00:06:15.640 align:start position:19%
address. You could also get malware that
does it, but let's be honest. If you

00:06:13.800 --> 00:06:19.240 align:start position:19%
were to get malware, having your IP
address leaked would be the least of

00:06:17.480 --> 00:06:22.880 align:start position:19%
your concerns. You could fall for
phishing, expose your IP while

00:06:21.080 --> 00:06:27.280 align:start position:19%
downloading torrents, because I know
you. And you could get a VPN, but not

00:06:25.440 --> 00:06:30.640 align:start position:19%
everyone can afford it. And let's be
honest, if something is free, it's

00:06:29.000 --> 00:06:34.600 align:start position:19%
because you're the product. So, my
advice for this is the usual. Avoid

00:06:32.800 --> 00:06:38.360 align:start position:19%
peer-to-peer connections, don't connect
on suspicious links, don't download

00:06:36.400 --> 00:06:42.520 align:start position:19%
malware, and don't eat anything from the
floor. But let's just say you woke up

00:06:40.280 --> 00:06:47.280 align:start position:19%
stupid and your IP address got leaked.
What now? Well, I'm going to be honest,

00:06:44.680 --> 00:06:51.040 align:start position:19%
kid. There's no hope for you. Now you'll
need to fake your own death, move to

00:06:49.040 --> 00:06:56.240 align:start position:19%
North Korea, and live the rest of your
life looking above your shoulder. I

00:06:53.000 --> 00:06:56.240 align:start position:19%
mean, it is what it is.

00:06:56.360 --> 00:07:02.880 align:start position:19%
Nah, for real though. The worst thing
that can happen is that the attacker now

00:07:00.160 --> 00:07:08.560 align:start position:19%
knows what your ISP is and a rough idea
of your city/region. Sometimes, very

00:07:05.960 --> 00:07:13.880 align:start position:19%
rarely, an approximate location. It may
also reveal online services your home

00:07:11.240 --> 00:07:18.720 align:start position:19%
connects to, but a single IP address
alone rarely gives a full identity or a

00:07:16.560 --> 00:07:22.640 align:start position:19%
street address. And have in mind that
what I said can only be done if they

00:07:20.800 --> 00:07:26.240 align:start position:19%
observe your traffic, which in most
cases they

00:07:24.040 --> 00:07:30.840 align:start position:19%
real danger appears when an IP address
is combined with open services, default

00:07:28.400 --> 00:07:35.520 align:start position:19%
passwords, or malware. Mix those, and
now an IP address alone won't hurt you.

00:07:33.240 --> 00:07:38.760 align:start position:19%
So, if a script kiddie sends you your IP
address alone without anything else to

00:07:37.560 --> 00:07:42.720 align:start position:19%
threaten you, you tell them,
"Congratulations. Now tell me the

00:07:40.640 --> 00:07:46.920 align:start position:19%
definition of a MAC address." And I know
it might be intimidating at first, but

00:07:44.920 --> 00:07:51.120 align:start position:19%
let's be honest, that guy would have to
nuke half your country if you wanted to

00:07:49.040 --> 00:07:54.960 align:start position:19%
end you. So, yeah, just block them. But
yeah, I hope you learned something with

00:07:53.160 --> 00:07:59.080 align:start position:19%
this video, because next one is going to
be a lot more complex.

00:07:57.280 --> 00:08:03.080 align:start position:19%
First, your request turns into your
First, you make your request payment.

