1
00:00:00,920 --> 00:00:06,470
If you are coming from we know some white woman, the way that Lennox represents the major storage devices

2
00:00:06,480 --> 00:00:07,730
will look rather different to you.

3
00:00:08,210 --> 00:00:13,490
So you won't know the scene that defines them has no physical representation of the drive.

4
00:00:13,970 --> 00:00:24,230
Like C, D or E system in windows, but rather has a file with structure starts with sludge at the top

5
00:00:24,800 --> 00:00:28,220
here, uh, or the root here of it.

6
00:00:29,150 --> 00:00:35,120
So this chapter takes a look at how Linux represents two rookie devices, such as hard drives, flash

7
00:00:35,120 --> 00:00:36,890
drives and other storage devices.

8
00:00:38,350 --> 00:00:45,130
But first, look how far additional drivers, drought and other storage devices are mounted upon the

9
00:00:45,250 --> 00:00:54,310
fire system leading up to the root here and root directory monitoring in its context, simply meaning

10
00:00:54,310 --> 00:00:57,610
attaching drives or disk to the fire system.

11
00:00:58,550 --> 00:01:04,090
You know, to make them accessible to the operating system, so for you as a hacker, it's necessary

12
00:01:04,090 --> 00:01:10,500
to understand the finance through the waste management system, but you own your own system and often

13
00:01:10,510 --> 00:01:12,100
the system of your target.

14
00:01:13,270 --> 00:01:19,750
So hackers commonly used external media to load data, hacking tools or even their operating system.

15
00:01:20,140 --> 00:01:24,220
Once you are on your target system, you need to understand what you are working with.

16
00:01:24,730 --> 00:01:31,480
Where to find confidential or other critical files after Mount to drive to the target, and whether

17
00:01:31,480 --> 00:01:34,300
and where you can put those files on your system.

18
00:01:35,330 --> 00:01:43,300
So we will cover all of these topics, so players have to manage and monitor three devices in this lecture.

19
00:01:43,310 --> 00:01:50,180
So actually, I think this lecture will be one or two lectures or no more than two lecture series and

20
00:01:50,690 --> 00:01:52,070
in five system about Linux.

21
00:01:52,640 --> 00:01:59,030
So, yeah, actually, I want to show you an image from internet here.

22
00:01:59,510 --> 00:02:06,740
So we begin with directory known as Dave here DuckDuckGo.

23
00:02:10,970 --> 00:02:11,360
Here.

24
00:02:13,250 --> 00:02:20,600
So we begin with the director known as Dave, which you probably already noticed in the directory structure.

25
00:02:20,840 --> 00:02:28,460
So there is short for device and every device in Linux is represented by its own file within the directory.

26
00:02:28,790 --> 00:02:30,500
So let's start by working with them.

27
00:02:30,500 --> 00:02:33,680
But I firstly, I want to show you the Linux file structure.

28
00:02:34,040 --> 00:02:37,160
Linux fast true here.

29
00:02:40,450 --> 00:02:42,340
Can you see my screen, actually?

30
00:02:42,490 --> 00:02:42,940
Yes, right?

31
00:02:43,030 --> 00:02:43,300
Yes.

32
00:02:44,230 --> 00:02:52,030
So here I want to show you a little representation for presentation for better understanding here.

33
00:02:55,480 --> 00:02:55,810
It.

34
00:03:02,580 --> 00:03:04,200
Actually, it's good to hear.

35
00:03:04,500 --> 00:03:08,310
So I choose two pictures for you here.

36
00:03:09,260 --> 00:03:11,330
So it's opening this film here.

37
00:03:14,600 --> 00:03:23,870
So here, as you can see here, we have the root directory, all of this and all of these folders here.

38
00:03:24,230 --> 00:03:25,310
And we have both.

39
00:03:25,810 --> 00:03:31,110
So as I said to you earlier, all things your Linux is fire.

40
00:03:31,220 --> 00:03:34,770
So we have food directory being there.

41
00:03:34,910 --> 00:03:45,920
It see home leap lost fund media Mont OpEd Spin Serve TNP, we have user, which is the usernames of

42
00:03:45,920 --> 00:03:52,340
our users and we have another local here as well, and we have one here.

43
00:03:53,060 --> 00:04:00,740
So but as written here, what is a system files including kernel being, is binary for Gouzer.

44
00:04:01,220 --> 00:04:01,880
There is.

45
00:04:02,450 --> 00:04:04,400
There is device files and drivers.

46
00:04:04,790 --> 00:04:08,630
Etsy here is host specific configuration.

47
00:04:08,630 --> 00:04:11,680
File Home is user home directories.

48
00:04:12,050 --> 00:04:14,900
Lib is shared libraries kernel modules here.

49
00:04:16,240 --> 00:04:19,870
Our lowest fund is unknown files, so media is here.

50
00:04:20,140 --> 00:04:25,630
Man points for removable media, Monte Mount point for temporary file systems.

51
00:04:25,840 --> 00:04:26,650
We have helped.

52
00:04:26,740 --> 00:04:28,840
Here is optional software packages.

53
00:04:29,670 --> 00:04:36,910
Espin here, name system binaries, etc. We hear data for services provided by the system here.

54
00:04:36,940 --> 00:04:40,480
A temp temporary storage space.

55
00:04:40,810 --> 00:04:46,030
User user applications like source code, images and etc. We have in user.

56
00:04:46,030 --> 00:04:50,050
We have local respin bin and live folders inside.

57
00:04:50,240 --> 00:04:51,340
It did so.

58
00:04:51,340 --> 00:04:53,710
Local is the installer for local users.

59
00:04:53,710 --> 00:04:57,490
Share is config files graphics for user applications.

60
00:04:57,820 --> 00:05:07,480
It's been essential system applications that for user, uh, here and we have been user commands and

61
00:05:07,480 --> 00:05:09,490
lib is shared libraries by user.

62
00:05:10,150 --> 00:05:10,720
So we have.

63
00:05:10,780 --> 00:05:13,690
Lastly, I one title that you is what here.

64
00:05:13,750 --> 00:05:16,780
What we have are run local log tap here.

65
00:05:17,320 --> 00:05:18,760
So we are here.

66
00:05:18,760 --> 00:05:23,130
Valuable data used by the system run is info about current position.

67
00:05:23,620 --> 00:05:25,870
Lock his log files log.

68
00:05:25,960 --> 00:05:30,970
He's log fires and temp long term or large temporary files here.

69
00:05:31,390 --> 00:05:36,710
So we have another representation here as well that I want to show you is a boot.

70
00:05:37,510 --> 00:05:43,810
Here we talk about them and as you can see, we have these shaheem here.

71
00:05:43,810 --> 00:05:44,140
So.

72
00:05:45,230 --> 00:05:48,920
First, I want to talk about this Active Directory here.

73
00:05:49,220 --> 00:05:56,540
So Linux has a special directory that contains file files actually representing each attached to each

74
00:05:56,540 --> 00:06:01,460
attached device, so the appropriate name is the directory here.

75
00:06:01,880 --> 00:06:03,340
So actually lists it.

76
00:06:03,350 --> 00:06:08,920
So we are the top of all file system here, as as we discussed earlier, been built there.

77
00:06:08,930 --> 00:06:13,400
ATC Home Leap like media M.A. Root Run.

78
00:06:13,400 --> 00:06:19,010
If you are using not using Kali or Ubuntu or another system, you yeah, these folders might different

79
00:06:19,010 --> 00:06:20,000
on your system here.

80
00:06:20,390 --> 00:06:28,040
So as as your first introduction navigated the directory, see the view here and elsewhere.

81
00:06:28,250 --> 00:06:33,190
So as you can see here, we have so many folders in it, so I will explain all of this here.

82
00:06:33,710 --> 00:06:37,400
So, um yeah, you should see something like that.

83
00:06:37,640 --> 00:06:41,090
Or let's else L.A. here as we can all in this.

84
00:06:41,510 --> 00:06:43,610
Uh, actually, this is OK.

85
00:06:44,270 --> 00:06:52,190
So as you can see here, we have so many folders in it, Ti here we have um port here and all part port,

86
00:06:52,190 --> 00:06:53,990
uh, PC Alex here.

87
00:06:54,290 --> 00:06:56,330
So I will talk about all of them.

88
00:06:56,600 --> 00:07:01,460
So the devices are displayed in alphabetical order by default.

89
00:07:02,120 --> 00:07:06,440
So you may recognize some of the devices such as c d rom here.

90
00:07:06,440 --> 00:07:08,630
Uh, see the ROM here.

91
00:07:12,580 --> 00:07:17,080
See the room here and we have keep you here as well.

92
00:07:18,460 --> 00:07:25,760
Uh, cause, uh, here, see, Putin may let in Latin see here, so.

93
00:07:27,110 --> 00:07:32,660
Mothers have read in cryptic names here, so each device on your system is represented by a file in

94
00:07:32,790 --> 00:07:34,250
the directory here.

95
00:07:34,520 --> 00:07:40,680
We have brokenhearted, so including devices you have probably never used or even realized and not realized

96
00:07:40,680 --> 00:07:41,540
they exist up to you.

97
00:07:41,930 --> 00:07:44,000
So now they're offering you too.

98
00:07:44,510 --> 00:07:48,650
So there is a device file waiting to be used for it.

99
00:07:48,860 --> 00:07:55,610
So if you scroll down the screen image, you should see more listings of the words of particular interest.

100
00:07:56,060 --> 00:07:59,720
Are the devices starters, SD or SD?

101
00:07:59,720 --> 00:08:00,230
Be here?

102
00:08:00,560 --> 00:08:05,720
Is it like SD, a SDB and other here?

103
00:08:06,200 --> 00:08:12,590
As you consider SD one is to SD 162 SD A1 five actually.

104
00:08:12,860 --> 00:08:17,510
So SD, a SD, A1, SD, A2 and a five.

105
00:08:17,930 --> 00:08:22,760
So which are the hard drive and protections used and used?

106
00:08:22,760 --> 00:08:25,630
B flash drive and special partitions here.

107
00:08:27,320 --> 00:08:32,270
So I am I have not attached was b drive to the system.

108
00:08:32,270 --> 00:08:40,160
So if you attached and use B system, um, I think it will show you SD b here.

109
00:08:40,190 --> 00:08:41,960
So is TB one or two c v two?

110
00:08:43,350 --> 00:08:43,680
So.

111
00:08:46,380 --> 00:08:53,100
How learning sort of since storage devices, so Linux user theological labels for drives that are then

112
00:08:53,100 --> 00:08:54,600
mounted on the file system.

113
00:08:55,140 --> 00:09:03,290
So these logical labels will vary depending on where the drives are monitored, meaning the same hard

114
00:09:03,300 --> 00:09:10,070
drive might have different labels at different times, depending on where and when it's mounted or generally

115
00:09:10,080 --> 00:09:13,140
in Linux represents on a floppy drives.

116
00:09:13,290 --> 00:09:22,590
Remember, there's like it's as if the zero and hard drives as hush the A, so you will still occasionally

117
00:09:22,590 --> 00:09:23,850
see these drives.

118
00:09:24,690 --> 00:09:31,050
Representational legacy a Linux system But today, most prolific drives are gone, and thank goodness.

119
00:09:31,740 --> 00:09:32,900
And even so on.

120
00:09:32,910 --> 00:09:41,040
The legacy that hard drives that use the idea or idea is interface are still represented in the form

121
00:09:41,040 --> 00:09:42,210
of the A.

122
00:09:42,540 --> 00:09:51,750
So a new serial ATA or SATA interface drives and small computer system interface is CSI.

123
00:09:52,500 --> 00:09:55,860
Hard drives are represented, as is the AAA here.

124
00:09:56,490 --> 00:10:02,820
So drivers are sometimes split up into section known as partitions, which are represented in the labeling

125
00:10:02,820 --> 00:10:05,910
system with numbers, as you will see here.

126
00:10:06,600 --> 00:10:13,320
So when systems are more than one hard drive, Linux simply names them cellular by incrementing the

127
00:10:13,320 --> 00:10:15,840
last letter in alphabetical order.

128
00:10:16,080 --> 00:10:21,360
So the first drive is a star, so this means I have one drive because I had I don't have SDB here.

129
00:10:21,750 --> 00:10:29,340
So and the second driver's SDB, if you have, um, UCB and or drivers, STC and so on.

130
00:10:29,920 --> 00:10:35,000
So the serial letter after SD is often referred to as the merger.

131
00:10:35,010 --> 00:10:35,580
No.

132
00:10:36,980 --> 00:10:40,190
So we have the right politicians here as well.

133
00:10:40,460 --> 00:10:42,190
Now let's look at actually.

134
00:10:42,500 --> 00:10:44,360
So I will stop with you here.

135
00:10:44,830 --> 00:10:47,510
Uh, so I'm rating you in this lecture.
