1
00:00:00,470 --> 00:00:00,950
Hello.

2
00:00:00,950 --> 00:00:06,590
In this lecture we're going to install and configure Metasploitable two as a target system.

3
00:00:18,400 --> 00:00:20,530
Then building a penetration testing lab.

4
00:00:20,530 --> 00:00:25,410
It's important to include vulnerable systems that will act as our targets.

5
00:00:25,420 --> 00:00:32,170
So these systems contain intentional, vulnerable services and applications so that we can practice

6
00:00:32,170 --> 00:00:38,050
and build our skills to understand how to discover and exploit vulnerabilities.

7
00:00:38,080 --> 00:00:42,550
A very popular, vulnerable machine is known as Metasploit, able to.

8
00:00:42,760 --> 00:00:50,050
So this vulnerable machine contains a lot of vulnerabilities that can be exploited and is good for learning

9
00:00:50,050 --> 00:00:51,460
about penetration testing.

10
00:00:51,460 --> 00:00:52,600
So let's get started.

11
00:00:52,600 --> 00:00:58,600
Firstly, we're going to install the Metasploitable two from the SourceForge.

12
00:00:58,600 --> 00:01:01,900
So firstly go to HTTPS.

13
00:01:02,920 --> 00:01:04,130
SourceForge.

14
00:01:04,150 --> 00:01:12,580
Actually we can just metasploitable two download and here we're going to go to metasploitable two files

15
00:01:12,580 --> 00:01:21,460
Metasploitable two and click on the search efforts for SourceForge link and download the Metasploitable

16
00:01:21,490 --> 00:01:24,220
2.0.0.

17
00:01:24,250 --> 00:01:30,880
This is almost one gigabyte file, so I don't think it should take more time than five minutes depending

18
00:01:30,880 --> 00:01:33,010
on your internet access of course.

19
00:01:33,010 --> 00:01:34,960
So I have already downloaded it actually.

20
00:01:34,960 --> 00:01:36,400
So let's.

21
00:01:37,080 --> 00:01:40,320
Let's move it to here.

22
00:01:42,320 --> 00:01:46,070
As you can see, this is our metasploitable two machine.

23
00:01:46,070 --> 00:01:47,660
So now let's.

24
00:01:48,490 --> 00:01:49,210
Here.

25
00:01:49,210 --> 00:01:52,600
Drag and drop and extract it from the zip file.

26
00:01:54,120 --> 00:01:57,930
So we can actually stop this so we don't need it anymore.

27
00:01:58,620 --> 00:01:59,520
Here.

28
00:02:00,950 --> 00:02:11,300
So then open our virtual machine and here click on the player, click on the file and click on the new

29
00:02:11,300 --> 00:02:13,910
virtual machine here.

30
00:02:14,000 --> 00:02:15,140
So.

31
00:02:16,250 --> 00:02:19,700
And then create, uh, the actually.

32
00:02:20,540 --> 00:02:21,380
One minutes.

33
00:02:21,920 --> 00:02:22,580
Yeah.

34
00:02:22,940 --> 00:02:26,000
As you can see, this is a VMware virtual disk machine.

35
00:02:26,000 --> 00:02:31,700
So I will click on the I will install the operating system later and click on next.

36
00:02:31,700 --> 00:02:43,160
And here click on Linux, Choose Linux here and choose the other Linux kernel 64 bit here and click

37
00:02:43,160 --> 00:02:44,120
on next.

38
00:02:44,900 --> 00:02:45,860
Next.

39
00:02:46,720 --> 00:02:51,580
Eight gigabyte is okay for metasploitable or not actually.

40
00:02:51,670 --> 00:02:52,480
Let's check.

41
00:02:52,510 --> 00:02:53,020
Yeah.

42
00:02:53,050 --> 00:02:55,180
Eight gigabyte is okay for metasploitable.

43
00:02:55,630 --> 00:03:04,180
We are actually we are not going to create a new disk here, so I just need 0.2GB.

44
00:03:05,480 --> 00:03:07,940
Uh, higher hard disks, uh, 200MB.

45
00:03:07,940 --> 00:03:10,130
Memory is okay.

46
00:03:10,190 --> 00:03:12,020
And click on finish.

47
00:03:15,050 --> 00:03:21,980
After that, click on edit Actually let's, let's change this Linux four point uh, kernel to.

48
00:03:23,260 --> 00:03:24,010
Here.

49
00:03:24,850 --> 00:03:25,990
Metasploitable.

50
00:03:26,200 --> 00:03:28,180
Metasploitable.

51
00:03:30,160 --> 00:03:30,790
Here.

52
00:03:37,030 --> 00:03:40,840
And after click on the hardware, click on Add disk.

53
00:03:41,020 --> 00:03:45,070
Here, click on Hard disk next.

54
00:03:46,650 --> 00:03:58,170
Next and use and click on use an existing virtual disk and browse and show the VMware or VMware virtual

55
00:03:58,170 --> 00:04:01,260
disk image file and click on Finish.

56
00:04:02,040 --> 00:04:04,110
Click on keep existing formats.

57
00:04:05,160 --> 00:04:05,850
Okay.

58
00:04:06,950 --> 00:04:08,810
And play virtual machine.

59
00:04:09,810 --> 00:04:15,120
Since we are already installed the virtual machine window.

60
00:04:15,120 --> 00:04:20,760
So I'm going to go to main Machine now and see what happens next.

61
00:04:22,650 --> 00:04:23,280
Here.

62
00:04:29,290 --> 00:04:30,760
Main here.

63
00:04:31,690 --> 00:04:34,930
This is our Metasploitable Linux.

64
00:04:35,260 --> 00:04:39,220
Go to drag and drop here.

65
00:04:41,490 --> 00:04:42,270
Here.

66
00:04:45,860 --> 00:04:47,750
And this was an nvram here.

67
00:04:47,780 --> 00:04:48,230
Oops.

68
00:04:48,350 --> 00:04:49,100
We actually.

69
00:04:55,140 --> 00:04:55,860
Just.

70
00:04:58,510 --> 00:05:00,430
Create a new folder.

71
00:05:01,910 --> 00:05:04,190
And drag and drop it here.

72
00:05:05,180 --> 00:05:06,890
Open our VMware.

73
00:05:07,820 --> 00:05:10,520
By the way, this is my main machine, VMware.

74
00:05:10,550 --> 00:05:17,240
We got that error because we already installed the VMware, um, inside it, so.

75
00:05:19,110 --> 00:05:20,610
Click on Player.

76
00:05:21,770 --> 00:05:23,180
File new virtual.

77
00:05:23,930 --> 00:05:25,550
And here we're going to.

78
00:05:27,480 --> 00:05:31,500
Get the Oxley desktop.

79
00:05:33,250 --> 00:05:33,610
Here.

80
00:05:33,610 --> 00:05:34,780
This is, uh, the disk.

81
00:05:34,780 --> 00:05:37,930
We're gonna choose properties.

82
00:05:40,550 --> 00:05:41,420
Yes.

83
00:05:43,660 --> 00:05:44,230
Here.

84
00:05:45,400 --> 00:05:48,090
Desktop as.

85
00:05:49,540 --> 00:05:50,610
I will click on.

86
00:05:50,640 --> 00:05:52,510
I will install operating system later.

87
00:05:53,110 --> 00:05:57,070
Linux Linux 464 bit.

88
00:05:57,790 --> 00:05:58,870
Next.

89
00:06:00,630 --> 00:06:02,520
Do not create any disc.

90
00:06:03,570 --> 00:06:05,700
And yes, so here.

91
00:06:06,240 --> 00:06:12,390
Edit Virtual Machine is again as always and click on add hard disk.

92
00:06:13,910 --> 00:06:26,860
SC use an existing virtual disk and here show the metasploitable vmdk here and keep existing format.

93
00:06:26,870 --> 00:06:27,290
Click.

94
00:06:27,290 --> 00:06:27,920
Okay.

95
00:06:27,920 --> 00:06:31,810
And let's get, uh, let's start our Metasploitable.

96
00:06:31,820 --> 00:06:33,080
Yes.

97
00:06:38,160 --> 00:06:40,110
So we need to actually.

98
00:06:42,280 --> 00:06:48,400
Delete our first disk that we created because, uh, no system installed in it.

99
00:06:54,580 --> 00:06:55,420
Remove.

100
00:06:58,150 --> 00:06:58,840
Okay.

101
00:07:02,150 --> 00:07:02,660
Yes.

102
00:07:04,650 --> 00:07:10,320
As you can see, the group loading and our metasploitable is installed.

103
00:07:10,320 --> 00:07:11,940
So I'm going to go to.

104
00:07:12,660 --> 00:07:16,440
Change the weave to our metasploitable disk.

105
00:07:18,070 --> 00:07:19,720
Windows captures.

106
00:07:21,100 --> 00:07:22,000
Notable.

107
00:07:23,580 --> 00:07:24,810
And here.

108
00:07:29,270 --> 00:07:32,840
This is our metasploitable system.

109
00:07:33,730 --> 00:07:38,440
As you can see here, the admin and password is right here.

110
00:07:38,470 --> 00:07:39,850
MSF admin.

111
00:07:40,060 --> 00:07:41,680
MSF admin.

112
00:07:42,100 --> 00:07:45,970
And here we log it into Metasploit tables.
