WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:07.900
Hello everyone in

1
00:00:07.900 --> 00:00:10.500
 this video. We are going to see how we

2
00:00:10.500 --> 00:00:13.600
 can use nmap to spoof Mac addresses

3
00:00:13.600 --> 00:00:16.300
 during our scan to stay

4
00:00:16.300 --> 00:00:17.000
 anonymous.

5
00:00:17.900 --> 00:00:20.000
The syntax of doing this particular scan is

6
00:00:20.400 --> 00:00:23.100
 and map the target IP address followed by

7
00:00:23.700 --> 00:00:26.400
 - spoof - Mac, there are

8
00:00:26.400 --> 00:00:29.700
 various options that we can use to use

9
00:00:29.700 --> 00:00:32.400
 a custom Mac address to choose a random Mac

10
00:00:32.400 --> 00:00:35.600
 address and to specify the default Mac

11
00:00:35.600 --> 00:00:37.800
 addresses of different vendors.

12
00:00:38.800 --> 00:00:41.600
You can scan a Target by simply giving IP address

13
00:00:41.600 --> 00:00:44.700
 and specify The Hyphen hyphen spoof Mac

14
00:00:44.700 --> 00:00:47.800
 flag to smooth the MAC address and stay anonymous.

15
00:00:48.800 --> 00:00:51.100
You can always add hyphen V to see

16
00:00:51.100 --> 00:00:54.400
 the output and verbose mode the example of doing this scan

17
00:00:54.400 --> 00:00:55.900
 is shown below.

18
00:00:57.300 --> 00:01:00.700
So it is the Practical time and let's see how you

19
00:01:00.700 --> 00:01:03.500
 can spoof your Mac address while performing a

20
00:01:03.500 --> 00:01:05.500
 scan and stay anonymous.

21
00:01:10.800 --> 00:01:13.400
All right, as you can see over here, you can

22
00:01:13.400 --> 00:01:16.100
 specify the MAC address from a vendor. So let's

23
00:01:16.100 --> 00:01:19.000
 say you want to spoof your Mac address from Dell.

24
00:01:19.600 --> 00:01:21.300
apple or 3 com

25
00:01:21.800 --> 00:01:24.700
you can just specify Del and end map

26
00:01:24.700 --> 00:01:28.000
 will automatically take the vendors starting

27
00:01:27.200 --> 00:01:30.200
 prefix and it will

28
00:01:30.200 --> 00:01:31.400
 spoof the MAC address.

29
00:01:32.700 --> 00:01:35.300
You can also generate a random Mac address

30
00:01:35.300 --> 00:01:38.800
 if you want with specifying zero

31
00:01:38.800 --> 00:01:41.900
 at the end of - spoof -

32
00:01:41.900 --> 00:01:42.400
 Mac.

33
00:01:43.800 --> 00:01:46.700
In case you want to give your own custom Mac

34
00:01:46.700 --> 00:01:46.800
 address.

35
00:01:47.600 --> 00:01:48.500
You can also do that.

36
00:01:49.600 --> 00:01:52.200
By giving the custom Mac address as you

37
00:01:52.200 --> 00:01:53.300
 can see over here.

38
00:01:54.200 --> 00:01:58.100
Remember the MAC address that you give should be this much

39
00:01:57.100 --> 00:02:00.700
 bits long. It should be 1 2 3

40
00:02:00.700 --> 00:02:03.900
 4 5 6 7 8 9 10 11

41
00:02:03.900 --> 00:02:07.000
 12 with long followed by

42
00:02:08.300 --> 00:02:10.500
hexa decimal interpretation

43
00:02:11.200 --> 00:02:12.900
And they should be colon in between.

44
00:02:14.200 --> 00:02:18.200
So what we are going to do right now is we are going to give a

45
00:02:17.200 --> 00:02:20.800
 MAC address to the device. So as

46
00:02:20.800 --> 00:02:23.300
 you can see over here, I'm giving the

47
00:02:23.300 --> 00:02:26.300
 command which is nmap and then -

48
00:02:26.300 --> 00:02:29.200
 s t to do a TCP scan followed by

49
00:02:29.200 --> 00:02:32.300
 hyphen PN - spoof - Mac. I

50
00:02:32.300 --> 00:02:33.400
 am saying Del

51
00:02:34.800 --> 00:02:37.900
And also I am taking a custom Mac address

52
00:02:37.900 --> 00:02:40.400
 for this particular Target when I'm

53
00:02:40.400 --> 00:02:41.300
 going to scan this.

54
00:02:47.500 --> 00:02:50.500
So, let's see here. And you can

55
00:02:50.500 --> 00:02:53.600
 see I'm just giving the custom Mac address

56
00:02:53.600 --> 00:02:56.400
 over here and I'm going to scan my Local Host

57
00:02:56.400 --> 00:02:56.900
 computer.

58
00:02:58.200 --> 00:03:02.200
Important thing to remember over here you have to specify the

59
00:03:01.200 --> 00:03:04.400
 particular interface that

60
00:03:04.400 --> 00:03:07.600
 you are going to use for performing this can as

61
00:03:07.600 --> 00:03:10.600
 you can see I'm using the et80. So

62
00:03:10.600 --> 00:03:13.300
 I have specified that using hyphen e

63
00:03:13.300 --> 00:03:16.600
 if you want to know which interface your computer

64
00:03:16.600 --> 00:03:19.600
 is using just type if

65
00:03:19.600 --> 00:03:22.400
 config or ipconfig for Windows

66
00:03:22.400 --> 00:03:25.600
 and you will be able to know and check

67
00:03:25.600 --> 00:03:28.600
 the interface that you want to use first spoofing

68
00:03:28.600 --> 00:03:29.200
 the MAC address.

69
00:03:31.700 --> 00:03:34.300
So I'm going to take this particular Mac address, which is 0

70
00:03:34.300 --> 00:03:37.500
 0 0 1 0 2 25 56 a

71
00:03:37.500 --> 00:03:40.100
 this is just a random Mac address

72
00:03:40.100 --> 00:03:41.000
 that I have used.

73
00:03:41.800 --> 00:03:42.800
And I will hit enter.

74
00:03:44.800 --> 00:03:47.100
Before hitting enter what I have done is I

75
00:03:47.100 --> 00:03:49.500
 am running Wireshark to capture.

76
00:03:51.600 --> 00:03:54.200
The request the packets and you can see the

77
00:03:54.200 --> 00:03:59.000
 filter that I have used is eth.addr instead

78
00:03:58.600 --> 00:04:01.200
 of IP address this time.

79
00:04:01.200 --> 00:04:04.200
 We want to see The Ether address which is

80
00:04:04.200 --> 00:04:07.600
 the MAC address and you can see I have already specified the

81
00:04:07.600 --> 00:04:10.800
 MAC address over here. So in case there

82
00:04:10.800 --> 00:04:13.500
 comes any request to this particular machine that

83
00:04:13.500 --> 00:04:16.100
 we are going to scan it will automatically tell me

84
00:04:16.100 --> 00:04:19.700
 that there is an incoming packet with this

85
00:04:19.700 --> 00:04:21.000
 particular Mac address.

86
00:04:23.200 --> 00:04:26.900
As you can see I have started the packet capture already. I

87
00:04:26.900 --> 00:04:29.500
 will just hit enter and you can see I have

88
00:04:29.500 --> 00:04:32.100
 initiated a pink scan which means I am

89
00:04:32.100 --> 00:04:33.400
 performing a ping.

90
00:04:34.200 --> 00:04:37.300
To see if the host is up or not. You can

91
00:04:37.300 --> 00:04:40.400
 see here. I have received the icmp request

92
00:04:40.400 --> 00:04:43.400
 which is because of the pink and let's see if this

93
00:04:43.400 --> 00:04:47.400
 is the MAC address that we have received. Perfect. As

94
00:04:46.400 --> 00:04:49.800
 you can see we have received our new

95
00:04:49.800 --> 00:04:52.800
 spoofed fake Mac address into

96
00:04:52.800 --> 00:04:53.600
 the Wireshark.

97
00:04:54.400 --> 00:04:57.300
Which means the machine that we scanned received the

98
00:04:57.300 --> 00:05:00.900
 fake Mac address instead of the correct Mac

99
00:05:00.900 --> 00:05:01.100
 address.

100
00:05:05.800 --> 00:05:08.300
now I will just type ifconfig to show

101
00:05:08.300 --> 00:05:10.100
 you the correct Mac address of the

102
00:05:12.400 --> 00:05:15.300
network adapter of ET 0 the

103
00:05:15.300 --> 00:05:18.500
 ethernet adapter that we used and you

104
00:05:18.500 --> 00:05:19.900
 can see the MAC address was

105
00:05:22.100 --> 00:05:25.100
this is the same IP address and this is the same and this is the

106
00:05:25.100 --> 00:05:26.400
 MAC address that was used.

107
00:05:27.200 --> 00:05:30.300
0 0 0 c 2 9 3 0 3 7 8 6

108
00:05:30.300 --> 00:05:33.200
 the original Mac address but the MAC address that we

109
00:05:33.200 --> 00:05:36.600
 received the request was from this particular Mac

110
00:05:36.600 --> 00:05:39.600
 address, which is the fake Mac address.

111
00:05:40.900 --> 00:05:43.800
That we specified during our scan.

112
00:05:44.700 --> 00:05:48.200
So this is how an attacker can spoof

113
00:05:47.200 --> 00:05:50.200
 the MAC address and the receiving.

114
00:05:51.600 --> 00:05:54.500
Victim will see okay. The scan is coming from

115
00:05:54.500 --> 00:05:57.700
 this particular Mac address, which means it is a Dell

116
00:05:57.700 --> 00:06:00.700
 device. It is a Apple device. Also, what you

117
00:06:00.700 --> 00:06:02.000
 can do is you can take

118
00:06:02.800 --> 00:06:05.700
different Mac addresses of different computers. There

119
00:06:05.700 --> 00:06:08.000
 is also our website online where you

120
00:06:08.400 --> 00:06:11.800
 can generate fake Mac addresses and use those Mac

121
00:06:11.800 --> 00:06:13.800
 addresses to scan the particular Target.

122
00:06:14.900 --> 00:06:18.400
So I hope you guys understood how you can evade

123
00:06:17.400 --> 00:06:20.500
 the IDS and firewall. Sometimes

124
00:06:20.500 --> 00:06:23.700
 if your Mac addresses are blocked for performing

125
00:06:23.700 --> 00:06:26.500
 the scan like this and you can

126
00:06:26.500 --> 00:06:29.700
 stay Anonymous without revealing your original

127
00:06:29.700 --> 00:06:30.900
 and correct Mac address.

128
00:06:31.800 --> 00:06:33.600
I hope you guys understood. Thank you.
