1
00:00:00,510 --> 00:00:06,240
Another thing that might prevent you from connecting to the target network even if it's an open network

2
00:00:06,540 --> 00:00:14,460
or if you know the key to that network is if the network uses MAC filtering MAC filtering as a way to

3
00:00:14,520 --> 00:00:22,440
allow or prevent devices from connecting into the network based on their MAC address filtering can be

4
00:00:22,440 --> 00:00:24,510
implemented in two ways.

5
00:00:24,540 --> 00:00:27,390
The first method is used in a blacklist.

6
00:00:27,390 --> 00:00:33,330
So the network will prevent any device that's listed in that blacklist from connecting to the network

7
00:00:33,510 --> 00:00:36,910
but allow everybody to connect to it.

8
00:00:36,930 --> 00:00:42,870
This can be easily bypassed by changing your MAC address to a random MAC address and then you'll be

9
00:00:42,870 --> 00:00:45,070
able to connect to the network.

10
00:00:45,690 --> 00:00:52,260
The second method which is the trickier one is if the network uses a wife list this is the opposite

11
00:00:52,320 --> 00:00:53,310
of a blacklist.

12
00:00:53,340 --> 00:00:59,160
So the network will prevent everybody from connecting to the network even if the network is open and

13
00:00:59,160 --> 00:01:03,060
it will only allow the devices listed in that list.

14
00:01:03,060 --> 00:01:09,060
So changing your MAC address to a random MAC address will not allow you to connect because the network

15
00:01:09,120 --> 00:01:13,260
only allows specific devices to connect to it.

16
00:01:13,260 --> 00:01:18,470
Now in this video I'm going to show you how to bypass white lists because blacklists are really easy

17
00:01:18,480 --> 00:01:21,270
and all you have to do is just change your MAC address to a random one.

18
00:01:21,270 --> 00:01:23,780
Like I said and you'll be able to bypass it.

19
00:01:24,950 --> 00:01:30,150
Right here I have my router and it's not hidden anymore so it's broadcast in its name.

20
00:01:30,170 --> 00:01:31,510
It's called Test AP.

21
00:01:31,640 --> 00:01:33,180
It's not using any encryption.

22
00:01:33,260 --> 00:01:38,980
But again MAC filtering can be used with hidden networks and it can be used with encryption bypass and

23
00:01:38,980 --> 00:01:42,050
it is the same though so we can bypass its use and make changer.

24
00:01:42,350 --> 00:01:48,920
Regardless of whether the network is hidden or not and regardless of the encryption used on the network.

25
00:01:49,100 --> 00:01:56,060
So I have the network to none not using encryption and I'm using a white list and I only added the MAC

26
00:01:56,060 --> 00:02:01,670
address for this specific my machine so any other machine cannot connect to this network.

27
00:02:01,670 --> 00:02:08,450
All the computers that have the MAC address this MAC address can connect and my Mac computer right here

28
00:02:08,660 --> 00:02:10,060
has this MAC address.

29
00:02:10,070 --> 00:02:15,310
That's why if I go on Wi-Fi here you'll see that it's connected to test AP.

30
00:02:15,680 --> 00:02:22,910
So if I go to the Windows machine and try to connect to the network now as I said it's an open network

31
00:02:22,940 --> 00:02:25,880
as you can see year doesn't require any passwords or anything.

32
00:02:25,880 --> 00:02:28,510
All you have to do is just click it and connect to it.

33
00:02:28,730 --> 00:02:30,760
And we should be able to connect.

34
00:02:31,010 --> 00:02:36,470
But in this case because the target network is using MAC filtering you'll see that the Windows machine

35
00:02:36,470 --> 00:02:42,640
will literally just get stuck at this and then it tells us that it can't connect to this network.

36
00:02:42,650 --> 00:02:49,070
So to bypass this we're going to first of all the run aero dump and against all networks around us just

37
00:02:49,070 --> 00:02:53,710
to see information about them.

38
00:02:53,930 --> 00:02:58,970
And I'm doing it real quick here because I've done this a lot by now so I'm just doing our angry 1 zero

39
00:02:59,150 --> 00:03:01,200
to list all the networks around me.

40
00:03:01,490 --> 00:03:05,070
And of course one zero is my wireless card in monitor mode.

41
00:03:06,730 --> 00:03:10,840
And as you can see here I can see my target network which is called Test AP.

42
00:03:11,050 --> 00:03:15,410
It's an open network and we can see its MAC address.

43
00:03:15,520 --> 00:03:21,190
The next step is going to be for me to run arrowed up and G against this specific network so we can

44
00:03:21,190 --> 00:03:25,570
get more information about it and see if there is any clients connected to it.

45
00:03:25,570 --> 00:03:28,020
So again we did this a lot by now.

46
00:03:28,120 --> 00:03:29,840
So I'm going to do it a little bit quickly.

47
00:03:29,860 --> 00:03:37,870
I'm going to do don't Pendu I'm going to specify the BSA as I do the MAC address of the target network

48
00:03:41,890 --> 00:03:43,570
and I'm going to specify the channel

49
00:03:47,360 --> 00:03:50,970
and the target network is running on six.

50
00:03:51,260 --> 00:03:56,600
And then I'm going to specify the name of the wireless card in Miter mode and it's called year for me.

51
00:03:59,130 --> 00:04:04,500
And I misspelled this idea here there should be no.

52
00:04:04,710 --> 00:04:07,740
And as you can see now where I am against this network only.

53
00:04:08,070 --> 00:04:12,470
And what we're going to do is we're going to wait for someone to connect to this network.

54
00:04:12,480 --> 00:04:14,660
Now we know that the Mac machine is already connected.

55
00:04:14,660 --> 00:04:18,980
So this just might take a few seconds for it to show up.

56
00:04:19,080 --> 00:04:24,810
And as you can see here we see the Mac machine we can see that we have a client connected because as

57
00:04:24,810 --> 00:04:29,820
we said the second part of dump and shows the connected clients.

58
00:04:30,090 --> 00:04:36,270
And because this client right here is connected to the network that means that this network is allowing

59
00:04:36,300 --> 00:04:37,760
this client to connect to it.

60
00:04:37,890 --> 00:04:42,680
So the MAC address of this client must be included in the whitelist.

61
00:04:43,200 --> 00:04:49,260
So for us now if we wanted to connect to that network all we have to do is change our MAC address to

62
00:04:49,260 --> 00:04:55,680
this specific MAC address and once we do that we'll be able to connect to the network because our MAC

63
00:04:55,680 --> 00:04:58,680
address is going to be listed in the whitelist.

64
00:04:59,400 --> 00:05:01,890
So I'm going to copy this.

65
00:05:02,280 --> 00:05:04,380
And what I'm going to do next is very simple.

66
00:05:04,380 --> 00:05:05,400
We've done it before.

67
00:05:05,400 --> 00:05:07,700
All I'm going to do is I'm going to use Mac changer.

68
00:05:07,890 --> 00:05:13,050
I'm going to change my MAC address to the MAC address of this computer to the MAC address of the OS

69
00:05:13,080 --> 00:05:18,600
X machine and because I'm going to do this the network is going to allow me to connect because it's

70
00:05:18,600 --> 00:05:24,140
going to think that my wireless card is actually the wireless card that my machine is using.

71
00:05:24,300 --> 00:05:27,460
So it's going to think that I'm allowed to connect to that network.

72
00:05:27,720 --> 00:05:34,410
So I'm going to stop here on punji and I'm going to have to put my wireless card in management and as

73
00:05:34,410 --> 00:05:39,740
I said in previous lectures this is different depending on the way that you enabled monitor mode.

74
00:05:39,750 --> 00:05:46,860
The simplest way to do that is just to physically disconnect my card and then reconnect with back now

75
00:05:46,860 --> 00:05:49,770
I'm going to have to go to the devices.

76
00:05:50,020 --> 00:06:01,490
You be and attached the device from here on my device is called Atheros and if I do ifconfig I can see

77
00:06:01,490 --> 00:06:04,500
my device connected now it's called line zero.

78
00:06:04,520 --> 00:06:08,230
So now we're just going to change the MAC address that we'd like we did before.

79
00:06:08,230 --> 00:06:11,160
And again this is going to be a chance for you to revise it.

80
00:06:11,330 --> 00:06:13,200
So I'm going to put the wireless card down

81
00:06:17,330 --> 00:06:24,610
then I'm going to use my changer to change the MAC address so we're going to do my changer and and the

82
00:06:24,610 --> 00:06:30,520
previous video we actually use D-minus or argument just to get a random mac address.

83
00:06:30,700 --> 00:06:36,520
But in this video we want to use a specific MAC address which is the MAC address of the client that's

84
00:06:36,520 --> 00:06:38,260
connected to that network.

85
00:06:38,260 --> 00:06:44,770
So I'm just going to use that with the minus argument to tell change changer that I just want this specific

86
00:06:44,770 --> 00:06:51,430
MAC address and then I'm going to give the wireless card names that I want to change its Mike and for

87
00:06:51,430 --> 00:06:53,660
me it's called an 0.

88
00:06:53,870 --> 00:06:56,370
Remember the wireless card now is in managed mode.

89
00:06:56,450 --> 00:06:58,310
It's not in monitor mode.

90
00:06:58,520 --> 00:07:03,440
So we did this command before it's very simple we're doing Mac changer which is the program that changes

91
00:07:03,440 --> 00:07:04,960
the MAC address for us.

92
00:07:05,030 --> 00:07:05,860
We're still on that.

93
00:07:05,870 --> 00:07:11,760
I want to use a specific Mac and this is the specific Mac that I want to use and then I'm giving it

94
00:07:11,780 --> 00:07:13,810
the name of my wireless card.

95
00:07:14,180 --> 00:07:16,880
I'm going to hit enter.

96
00:07:17,090 --> 00:07:22,230
Now this shouldn't happen so I'm just going to try to do if config land 0 down again.

97
00:07:23,680 --> 00:07:28,890
And then set up the MAC address to the new one.

98
00:07:29,010 --> 00:07:33,900
And as you can see now the MAC address changed to the ones that I want to use the one that's allowed

99
00:07:33,960 --> 00:07:36,010
to connect to the network.

100
00:07:36,070 --> 00:07:40,440
And now if we go and try to connect to the network we should be able to do that.

101
00:07:40,500 --> 00:07:44,400
So I'm going to go to my network manager

102
00:07:50,420 --> 00:07:58,270
and we can see that test AP is here is trying to connect and we managed to connect.

103
00:07:58,540 --> 00:08:02,860
And if you look at the settings again we can see that we're getting a good signal.

104
00:08:02,890 --> 00:08:07,450
We have an IP address and we know the IP address of the gateway.

105
00:08:07,450 --> 00:08:13,350
So we basically have full access to the network and we can use it just like any other device.

106
00:08:13,390 --> 00:08:20,170
So the main idea to take from this is if the if the target network does not use a password or if the

107
00:08:20,170 --> 00:08:26,320
target network uses encryption It uses a password but you know the password but it's you still can't

108
00:08:26,320 --> 00:08:27,340
connect to it.

109
00:08:27,400 --> 00:08:32,590
Then there's a high chance that you are blacklisted from connecting to that network.

110
00:08:32,590 --> 00:08:38,390
So what you should do is change the MAC address of your wireless card and get back and try to connect.

111
00:08:38,530 --> 00:08:43,720
If you still can't connect then there is a very high chance that they're using a whitelist instead of

112
00:08:43,720 --> 00:08:44,580
a blacklist.

113
00:08:44,770 --> 00:08:49,990
So in this case you're going to have to put the wireless card in monitor mode look for connected clients

114
00:08:50,230 --> 00:08:53,820
and change your MAC address to one of these clients.

115
00:08:53,980 --> 00:08:59,170
Once you do that you can come back and try to connect and you should be able to connect because your

116
00:08:59,170 --> 00:09:04,050
MAC address is going to be included in the white list and you'll be able to connect to the network.

