WEBVTT

00:00.920 --> 00:06.470
If you are coming from we know some white woman, the way that Lennox represents the major storage devices

00:06.480 --> 00:07.730
will look rather different to you.

00:08.210 --> 00:13.490
So you won't know the scene that defines them has no physical representation of the drive.

00:13.970 --> 00:24.230
Like C, D or E system in windows, but rather has a file with structure starts with sludge at the top

00:24.800 --> 00:28.220
here, uh, or the root here of it.

00:29.150 --> 00:35.120
So this chapter takes a look at how Linux represents two rookie devices, such as hard drives, flash

00:35.120 --> 00:36.890
drives and other storage devices.

00:38.350 --> 00:45.130
But first, look how far additional drivers, drought and other storage devices are mounted upon the

00:45.250 --> 00:54.310
fire system leading up to the root here and root directory monitoring in its context, simply meaning

00:54.310 --> 00:57.610
attaching drives or disk to the fire system.

00:58.550 --> 01:04.090
You know, to make them accessible to the operating system, so for you as a hacker, it's necessary

01:04.090 --> 01:10.500
to understand the finance through the waste management system, but you own your own system and often

01:10.510 --> 01:12.100
the system of your target.

01:13.270 --> 01:19.750
So hackers commonly used external media to load data, hacking tools or even their operating system.

01:20.140 --> 01:24.220
Once you are on your target system, you need to understand what you are working with.

01:24.730 --> 01:31.480
Where to find confidential or other critical files after Mount to drive to the target, and whether

01:31.480 --> 01:34.300
and where you can put those files on your system.

01:35.330 --> 01:43.300
So we will cover all of these topics, so players have to manage and monitor three devices in this lecture.

01:43.310 --> 01:50.180
So actually, I think this lecture will be one or two lectures or no more than two lecture series and

01:50.690 --> 01:52.070
in five system about Linux.

01:52.640 --> 01:59.030
So, yeah, actually, I want to show you an image from internet here.

01:59.510 --> 02:06.740
So we begin with directory known as Dave here DuckDuckGo.

02:10.970 --> 02:11.360
Here.

02:13.250 --> 02:20.600
So we begin with the director known as Dave, which you probably already noticed in the directory structure.

02:20.840 --> 02:28.460
So there is short for device and every device in Linux is represented by its own file within the directory.

02:28.790 --> 02:30.500
So let's start by working with them.

02:30.500 --> 02:33.680
But I firstly, I want to show you the Linux file structure.

02:34.040 --> 02:37.160
Linux fast true here.

02:40.450 --> 02:42.340
Can you see my screen, actually?

02:42.490 --> 02:42.940
Yes, right?

02:43.030 --> 02:43.300
Yes.

02:44.230 --> 02:52.030
So here I want to show you a little representation for presentation for better understanding here.

02:55.480 --> 02:55.810
It.

03:02.580 --> 03:04.200
Actually, it's good to hear.

03:04.500 --> 03:08.310
So I choose two pictures for you here.

03:09.260 --> 03:11.330
So it's opening this film here.

03:14.600 --> 03:23.870
So here, as you can see here, we have the root directory, all of this and all of these folders here.

03:24.230 --> 03:25.310
And we have both.

03:25.810 --> 03:31.110
So as I said to you earlier, all things your Linux is fire.

03:31.220 --> 03:34.770
So we have food directory being there.

03:34.910 --> 03:45.920
It see home leap lost fund media Mont OpEd Spin Serve TNP, we have user, which is the usernames of

03:45.920 --> 03:52.340
our users and we have another local here as well, and we have one here.

03:53.060 --> 04:00.740
So but as written here, what is a system files including kernel being, is binary for Gouzer.

04:01.220 --> 04:01.880
There is.

04:02.450 --> 04:04.400
There is device files and drivers.

04:04.790 --> 04:08.630
Etsy here is host specific configuration.

04:08.630 --> 04:11.680
File Home is user home directories.

04:12.050 --> 04:14.900
Lib is shared libraries kernel modules here.

04:16.240 --> 04:19.870
Our lowest fund is unknown files, so media is here.

04:20.140 --> 04:25.630
Man points for removable media, Monte Mount point for temporary file systems.

04:25.840 --> 04:26.650
We have helped.

04:26.740 --> 04:28.840
Here is optional software packages.

04:29.670 --> 04:36.910
Espin here, name system binaries, etc. We hear data for services provided by the system here.

04:36.940 --> 04:40.480
A temp temporary storage space.

04:40.810 --> 04:46.030
User user applications like source code, images and etc. We have in user.

04:46.030 --> 04:50.050
We have local respin bin and live folders inside.

04:50.240 --> 04:51.340
It did so.

04:51.340 --> 04:53.710
Local is the installer for local users.

04:53.710 --> 04:57.490
Share is config files graphics for user applications.

04:57.820 --> 05:07.480
It's been essential system applications that for user, uh, here and we have been user commands and

05:07.480 --> 05:09.490
lib is shared libraries by user.

05:10.150 --> 05:10.720
So we have.

05:10.780 --> 05:13.690
Lastly, I one title that you is what here.

05:13.750 --> 05:16.780
What we have are run local log tap here.

05:17.320 --> 05:18.760
So we are here.

05:18.760 --> 05:23.130
Valuable data used by the system run is info about current position.

05:23.620 --> 05:25.870
Lock his log files log.

05:25.960 --> 05:30.970
He's log fires and temp long term or large temporary files here.

05:31.390 --> 05:36.710
So we have another representation here as well that I want to show you is a boot.

05:37.510 --> 05:43.810
Here we talk about them and as you can see, we have these shaheem here.

05:43.810 --> 05:44.140
So.

05:45.230 --> 05:48.920
First, I want to talk about this Active Directory here.

05:49.220 --> 05:56.540
So Linux has a special directory that contains file files actually representing each attached to each

05:56.540 --> 06:01.460
attached device, so the appropriate name is the directory here.

06:01.880 --> 06:03.340
So actually lists it.

06:03.350 --> 06:08.920
So we are the top of all file system here, as as we discussed earlier, been built there.

06:08.930 --> 06:13.400
ATC Home Leap like media M.A. Root Run.

06:13.400 --> 06:19.010
If you are using not using Kali or Ubuntu or another system, you yeah, these folders might different

06:19.010 --> 06:20.000
on your system here.

06:20.390 --> 06:28.040
So as as your first introduction navigated the directory, see the view here and elsewhere.

06:28.250 --> 06:33.190
So as you can see here, we have so many folders in it, so I will explain all of this here.

06:33.710 --> 06:37.400
So, um yeah, you should see something like that.

06:37.640 --> 06:41.090
Or let's else L.A. here as we can all in this.

06:41.510 --> 06:43.610
Uh, actually, this is OK.

06:44.270 --> 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,

06:52.190 --> 06:53.990
uh, PC Alex here.

06:54.290 --> 06:56.330
So I will talk about all of them.

06:56.600 --> 07:01.460
So the devices are displayed in alphabetical order by default.

07:02.120 --> 07:06.440
So you may recognize some of the devices such as c d rom here.

07:06.440 --> 07:08.630
Uh, see the ROM here.

07:12.580 --> 07:17.080
See the room here and we have keep you here as well.

07:18.460 --> 07:25.760
Uh, cause, uh, here, see, Putin may let in Latin see here, so.

07:27.110 --> 07:32.660
Mothers have read in cryptic names here, so each device on your system is represented by a file in

07:32.790 --> 07:34.250
the directory here.

07:34.520 --> 07:40.680
We have brokenhearted, so including devices you have probably never used or even realized and not realized

07:40.680 --> 07:41.540
they exist up to you.

07:41.930 --> 07:44.000
So now they're offering you too.

07:44.510 --> 07:48.650
So there is a device file waiting to be used for it.

07:48.860 --> 07:55.610
So if you scroll down the screen image, you should see more listings of the words of particular interest.

07:56.060 --> 07:59.720
Are the devices starters, SD or SD?

07:59.720 --> 08:00.230
Be here?

08:00.560 --> 08:05.720
Is it like SD, a SDB and other here?

08:06.200 --> 08:12.590
As you consider SD one is to SD 162 SD A1 five actually.

08:12.860 --> 08:17.510
So SD, a SD, A1, SD, A2 and a five.

08:17.930 --> 08:22.760
So which are the hard drive and protections used and used?

08:22.760 --> 08:25.630
B flash drive and special partitions here.

08:27.320 --> 08:32.270
So I am I have not attached was b drive to the system.

08:32.270 --> 08:40.160
So if you attached and use B system, um, I think it will show you SD b here.

08:40.190 --> 08:41.960
So is TB one or two c v two?

08:43.350 --> 08:43.680
So.

08:46.380 --> 08:53.100
How learning sort of since storage devices, so Linux user theological labels for drives that are then

08:53.100 --> 08:54.600
mounted on the file system.

08:55.140 --> 09:03.290
So these logical labels will vary depending on where the drives are monitored, meaning the same hard

09:03.300 --> 09:10.070
drive might have different labels at different times, depending on where and when it's mounted or generally

09:10.080 --> 09:13.140
in Linux represents on a floppy drives.

09:13.290 --> 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

09:22.590 --> 09:23.850
see these drives.

09:24.690 --> 09:31.050
Representational legacy a Linux system But today, most prolific drives are gone, and thank goodness.

09:31.740 --> 09:32.900
And even so on.

09:32.910 --> 09:41.040
The legacy that hard drives that use the idea or idea is interface are still represented in the form

09:41.040 --> 09:42.210
of the A.

09:42.540 --> 09:51.750
So a new serial ATA or SATA interface drives and small computer system interface is CSI.

09:52.500 --> 09:55.860
Hard drives are represented, as is the AAA here.

09:56.490 --> 10:02.820
So drivers are sometimes split up into section known as partitions, which are represented in the labeling

10:02.820 --> 10:05.910
system with numbers, as you will see here.

10:06.600 --> 10:13.320
So when systems are more than one hard drive, Linux simply names them cellular by incrementing the

10:13.320 --> 10:15.840
last letter in alphabetical order.

10:16.080 --> 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.

10:21.750 --> 10:29.340
So and the second driver's SDB, if you have, um, UCB and or drivers, STC and so on.

10:29.920 --> 10:35.000
So the serial letter after SD is often referred to as the merger.

10:35.010 --> 10:35.580
No.

10:36.980 --> 10:40.190
So we have the right politicians here as well.

10:40.460 --> 10:42.190
Now let's look at actually.

10:42.500 --> 10:44.360
So I will stop with you here.

10:44.830 --> 10:47.510
Uh, so I'm rating you in this lecture.
