1
00:00:00,110 --> 00:00:02,420
So the second step is to install Colley.

2
00:00:02,690 --> 00:00:08,210
Well, since we'll use the Ova file, it'd be better to say import for this step.

3
00:00:08,930 --> 00:00:10,310
And the download is finished.

4
00:00:10,700 --> 00:00:12,770
It's under the download folder.

5
00:00:12,980 --> 00:00:15,770
Now I'll open a virtual box interface.

6
00:00:15,800 --> 00:00:17,270
Choose import.

7
00:00:18,020 --> 00:00:23,630
And choose the file under the download folder and click continue.

8
00:00:25,180 --> 00:00:31,360
So as you can see, there are the suggested settings of VirtualBox for the imported virtual machine.

9
00:00:32,439 --> 00:00:34,690
Ram is two gigs by default.

10
00:00:36,220 --> 00:00:41,440
Now just click import and agree to the license agreement in order to continue.

11
00:00:45,310 --> 00:00:46,930
And it starts to import.

12
00:00:47,290 --> 00:00:48,820
It may take a couple of minutes.

13
00:00:49,210 --> 00:00:53,740
So I want to look at the size of the empty space on my host.

14
00:00:56,740 --> 00:01:05,500
DF command simply displays the free disk space and dash h parameter makes the result human readable.

15
00:01:06,340 --> 00:01:12,790
Now I have 140GB of free space and that should be plenty for this installation.

16
00:01:23,270 --> 00:01:24,890
Installation is finished.

17
00:01:24,890 --> 00:01:27,020
And this is the summary of the VM.

18
00:01:27,650 --> 00:01:35,270
Ram is two gigabytes by default, and if you have enough Ram on your host system, I suggest you increase

19
00:01:35,270 --> 00:01:35,630
it.

20
00:01:36,350 --> 00:01:39,260
Networking is Nat just as I want.

21
00:01:40,610 --> 00:01:42,710
Now just click on the start button.

22
00:01:44,280 --> 00:01:44,670
Okay.

23
00:01:44,700 --> 00:01:47,370
The virtual machine could not be started.

24
00:01:47,610 --> 00:01:50,790
So I wonder about the details of this error.

25
00:01:50,820 --> 00:01:51,540
Don't you?

26
00:01:52,900 --> 00:01:53,500
Okay then.

27
00:01:53,500 --> 00:02:00,580
So to fix this problem, we'll need to install the Oracle VM VirtualBox extension pack.

28
00:02:01,520 --> 00:02:05,540
So I'll copy this part and I'll just search on the web.

29
00:02:06,780 --> 00:02:10,560
So now let's look at the official site of VirtualBox.

30
00:02:11,910 --> 00:02:16,950
We can download it under the title of Oracle VM VirtualBox Extension pack.

31
00:02:18,310 --> 00:02:20,920
So we'll just click on this link and Save the file.

32
00:02:22,340 --> 00:02:24,140
And it quickly downloads.

33
00:02:25,870 --> 00:02:28,270
So let's open the file and click install.

34
00:02:30,300 --> 00:02:35,730
And again, I'll accept the virtual license agreement and finally enter the password to complete the

35
00:02:35,730 --> 00:02:36,690
installation.

36
00:02:40,480 --> 00:02:42,910
And now it's been installed successfully.

37
00:02:44,230 --> 00:02:49,810
So now I'd like to go to the preferences and double check the extension packages.

38
00:02:53,390 --> 00:02:55,310
And everything is okay.

39
00:02:55,520 --> 00:02:56,240
Good.

40
00:02:56,240 --> 00:02:58,010
So now we can start again.

41
00:03:02,780 --> 00:03:06,050
Okay, so our Kali is booting for the first time.

42
00:03:06,990 --> 00:03:10,380
Click switch for the full screen mode.

43
00:03:18,670 --> 00:03:21,130
And here we are at the login screen.

44
00:03:21,640 --> 00:03:27,280
Now, in addition to the changes that I mentioned in the previous lecture, there is another important

45
00:03:27,280 --> 00:03:31,060
change in this Kali 2022 release.

46
00:03:31,180 --> 00:03:36,460
The default user account is now a standard unprivileged user.

47
00:03:37,020 --> 00:03:41,760
Kelly is no longer using the superuser account root by default.

48
00:03:42,270 --> 00:03:42,710
Right.

49
00:03:42,720 --> 00:03:47,790
So the new default credentials are Kali and Kali.

50
00:03:51,660 --> 00:03:55,170
And welcome to Cali 2022.

51
00:03:56,400 --> 00:04:02,250
Now, normally the screen resolution automatically fits your particular screen, but if you have any

52
00:04:02,250 --> 00:04:08,940
resolution problems like I appear to be having, you can change the scale for your screen.

53
00:04:09,270 --> 00:04:12,990
So first I'll just open up the display settings.

54
00:04:14,960 --> 00:04:21,950
And I can choose the resolution value to be 1920 by 1200 and click the apply button.

55
00:04:25,650 --> 00:04:26,910
Now go to preferences.

56
00:04:27,450 --> 00:04:31,590
And under the display tab, you can change the scale factor.

57
00:04:32,210 --> 00:04:36,110
So I'll set this value to be 190% of my screen.

58
00:04:36,890 --> 00:04:41,510
And you can change it whatever you want and just try different values for your screen.

59
00:04:42,440 --> 00:04:44,090
All right, so I'll click okay.

60
00:04:44,120 --> 00:04:45,950
Now let's look at the changes.

61
00:04:53,410 --> 00:04:54,940
Yeah, that's pretty good.

62
00:04:59,310 --> 00:05:03,300
So let's open a terminal screen and check the network connection.

63
00:05:05,490 --> 00:05:12,540
When I run the ifconfig command with standard user privileges, I will get an error because the ifconfig

64
00:05:12,540 --> 00:05:17,100
command is under the bin folder and requires root privileges.

65
00:05:17,760 --> 00:05:19,470
So why don't we have a look inside?

66
00:05:19,470 --> 00:05:20,910
That's bin folder.

67
00:05:22,460 --> 00:05:28,730
As you can see, I can run the CD, PWD and RLS commands without Sudo.

68
00:05:29,360 --> 00:05:32,180
These commands do not require root privileges.

69
00:05:32,600 --> 00:05:36,740
However, the commands that are under the bin folder must be run with sudo.

70
00:05:37,290 --> 00:05:38,670
If config is here.

71
00:05:39,510 --> 00:05:41,730
And let's run this command with sudo.

72
00:05:47,490 --> 00:05:48,900
And it's okay now.

73
00:05:50,660 --> 00:05:53,750
Of course there is a more practical solution.

74
00:05:54,510 --> 00:06:00,150
You can always switch the user to root so we don't have to write sudo for every command that requires

75
00:06:00,150 --> 00:06:01,170
root privileges.

76
00:06:01,920 --> 00:06:04,590
So let's run sudo su.

77
00:06:05,850 --> 00:06:06,210
Okay.

78
00:06:06,210 --> 00:06:11,940
So I'm I'm root now and I'll double check that with the who am I command.

79
00:06:13,580 --> 00:06:19,460
Well, now I can run any command which requires superuser privileges without sudo.

80
00:06:21,250 --> 00:06:23,140
And this is my IP address.

81
00:06:23,410 --> 00:06:31,480
If if config didn't obtain an IP address, that means that you have a problem with your network configuration.

82
00:06:32,180 --> 00:06:33,750
It's not a problem.

83
00:06:33,770 --> 00:06:40,870
Problems do occur and I certainly will give you some solutions to fix any possible network problems

84
00:06:40,880 --> 00:06:42,170
in the next lecture.

