WEBVTT

00:00.850 --> 00:07.570
Hey everyone welcome to the section artifacts extraction and analysis with Selye tools in the previous

00:07.570 --> 00:12.490
section we covered the image acquisition phase of the digital forensic process.

00:14.070 --> 00:19.080
In this section we'll focus on the extraction and analysis phase taking advantage of the appropriate

00:19.080 --> 00:22.200
command line tools installed on Kalli Linux.

00:22.200 --> 00:27.920
First we'll take an overview of the sleuth kit a set of CSI tools to analyze file systems.

00:28.080 --> 00:34.170
We will cover Reg Ripper a tool specifically written to analyze the Windows registry will also show

00:34.170 --> 00:40.080
various tools to extract and analyze browser and e-mail artifacts and various tools to analyze different

00:40.080 --> 00:41.610
kinds of files.

00:41.610 --> 00:47.470
Finally we'll see how to build a super timeline with log to timeline Plaxo.

00:47.480 --> 00:53.180
Let's move on to the first video the section overview of the sleuth kit and file system analysis in

00:53.180 --> 00:56.030
the previous video introduction to forensic imaging.

00:56.030 --> 00:59.750
We covered the physical structure and addressing of a hard disk.

00:59.840 --> 01:05.740
We're going to recall the most important concepts about disk partitioning volumes and biosystems.

01:05.870 --> 01:10.790
We're also going to introduce the sleuth kit explaining the function of its categories of tools.

01:10.790 --> 01:16.370
Finally we're going to show their usage to analyze the file system of an acquired image.

01:16.370 --> 01:22.330
The first sector of a hard disk is called Master Boot Record or MVR which contains the bootstrap code.

01:22.370 --> 01:27.200
And the partition table which contains the entries with the information about each partition on the

01:27.200 --> 01:32.870
disk a partition can be defined as a set of contiguous sectors of the disk that are formatted with the

01:32.870 --> 01:34.060
same file system.

01:34.070 --> 01:40.430
Older computers that rely on MPR can have a maximum of four primary partitions though extended partitions

01:40.430 --> 01:41.540
can be created.

01:41.570 --> 01:48.440
Newer computers that come with the unified extensible firmware interface or UGF I use is globally unique

01:48.500 --> 01:55.270
ID or ID partition table that allows up to 128 primary partitions.

01:55.430 --> 02:00.740
The partition table itself is not usually of great interest to the forensic examiner unless there are

02:00.740 --> 02:04.460
some partitions to be recovered due to the partition table corruption.

02:04.460 --> 02:10.880
A great tool to recover partitions is test disk installed on Kelly Linux which also works on raúl disk

02:10.910 --> 02:18.150
images a volume can be defined as a logical set of data formed by one or more disk partitions of all

02:18.160 --> 02:23.550
you may even span several physical disks while a partition can only reside on a single disk.

02:23.660 --> 02:29.570
Each volume is associated with a file system a file system defines the storage organization and management

02:29.630 --> 02:35.090
of the data on the volume data on a file system is structured in files and directories.

02:35.090 --> 02:40.970
A file can be formed by one or several blocks or clusters which are the smallest data units available

02:41.060 --> 02:43.070
generally on modern file systems.

02:43.070 --> 02:49.700
Blocks have a size of over 4 kilobytes the furbished associated with a file or directory is associated

02:49.760 --> 02:51.260
on three layers.

02:51.320 --> 02:56.690
The file main data and meta data the file names stores the name of the file and the pointers to the

02:56.690 --> 03:02.570
relative metadata the metadata contains all the other information about the file or directory such as

03:02.570 --> 03:06.730
the owner timestamps permission and the pointers to the data blocks.

03:06.740 --> 03:09.980
These are where the actual contents of the file is stored.

03:09.980 --> 03:15.020
Having introduced the fundamental concepts about disk partitioning volumes of Biosystems Let's show

03:15.020 --> 03:18.590
how to practically analyze a file system using sleuthed kit.

03:18.740 --> 03:25.450
The sleuth kit or TS K is a suite of biosystem forensic Seelye tools developed by Brian carrier one

03:25.450 --> 03:29.270
of the major experts in biosystem forensic analysis.

03:29.270 --> 03:36.080
It's based on part of the code of the coroner's toolkit or TCT created in the late 90s by wheat's Venetia

03:36.290 --> 03:44.120
and Dan farmer while TCT can only run and be used to analyze Unix derived osis TS K is multi-platform

03:44.300 --> 03:46.760
and now supports many different file systems.

03:46.970 --> 03:52.620
It can analyze different image formats like raw disk DWF And at that than the edges.

03:52.800 --> 03:59.880
DSK is installed by default on Kelly Linux and the latest version at the moment is for Dot 3.0.

03:59.880 --> 04:05.180
The tools included in TS k are divided into groups depending on the layer on which they operate and

04:05.180 --> 04:11.270
the type of function they carry on the prefixes of the names of the tools indicate the letters and M

04:11.630 --> 04:13.640
is for tools that operate at the volume.

04:13.640 --> 04:21.410
Media management layer f s operates on file system structures be L.K. operates at the data unit or block

04:21.410 --> 04:22.420
layer.

04:22.610 --> 04:25.950
I operates the metadata or inode layer.

04:26.150 --> 04:29.720
F operates at the file name layer.

04:29.730 --> 04:34.990
Now the suffixes indicate their function and take the names of the respective Unix commands.

04:35.100 --> 04:41.910
For example stat displays general information about the queried item LS list the contents of the query

04:41.930 --> 04:42.700
layer.

04:42.780 --> 04:48.030
Cat dumps and extracts dumps or extracts the content of the query letter.

04:48.030 --> 04:51.230
There are also other tools that don't follow this naming convention.

04:51.240 --> 04:53.420
Now we're ready to analyze the file system.

04:53.430 --> 04:58.110
Now we're ready to analyze a file system and we're going to use the image of the disk that we acquired

04:58.170 --> 05:02.660
in the video drive imaging with DC 3D from the previous section.

05:02.670 --> 05:09.510
As a practical example remember that the image we acquired was split in 13 files so we could ask ourselves

05:09.840 --> 05:11.370
how to deal with this issue.

05:11.460 --> 05:12.290
Don't worry.

05:12.360 --> 05:15.640
TS K tools can also work on split images.

05:15.720 --> 05:20.200
Don't worry because TS K tools can also work on split images.

05:20.250 --> 05:25.860
The highest layer is the volume layer and the first tool we introduce is and then LS which displays

05:25.860 --> 05:31.380
the layouts of the partitions in a volume we move in the directory where the split image files are stored

05:31.530 --> 05:33.310
and list the content of the directory.

05:33.330 --> 05:39.210
We then execute and then ls with the argument which is the name of the image followed by an asterisk

05:39.600 --> 05:41.980
to include all the split image files.

05:44.960 --> 05:53.600
As you can see the output shows the partition type D.O. S until the sector size 512 bytes and the partition

05:53.600 --> 05:54.440
table.

05:54.440 --> 06:01.330
The output is very similar to that of the F disk tool with the difference and then LS also shows unallocated

06:01.400 --> 06:06.490
sectors of the disk and displays the partition offsets in number sectors.

06:07.340 --> 06:12.310
In this case we have only one partition formatted with the NTFS file system.

06:12.410 --> 06:18.690
We leave the analysis of the unallocated sectors of the disk when we will cover file carving and data

06:18.690 --> 06:25.680
recovery to display information about the file system a tool the prefix can help us at the stat

06:28.850 --> 06:30.450
from the MLS output.

06:30.470 --> 06:37.990
We see that the NTFS file system starts at sector number 63 so we have to specify the offset with the

06:38.020 --> 06:38.960
o option.

06:46.430 --> 06:55.040
The stat output shows very detailed information about the file system such as the type volumes name

06:55.220 --> 06:55.760
ID

06:58.380 --> 07:06.780
OS version and the last written checked amount of times the second part of the output shows the file

07:06.780 --> 07:15.510
systems metadata that's the location of the master file table or NFTE the size of the MFT entries the

07:15.510 --> 07:22.860
entry associated with root directory which is number five is shows other information such as the sector

07:22.890 --> 07:30.880
and cluster size and below the dibber file attributes the NFTE contains the file systems metadata and

07:30.880 --> 07:33.340
the entries for each file and directory.

07:33.550 --> 07:38.950
These meta data are stored in special files in the root directory that begin with a simple dollar sign

07:39.190 --> 07:43.540
which are not visible using Windows Explorer to list these files.

07:43.550 --> 07:45.480
We can use F.L. stool instead

07:51.640 --> 07:52.320
by default.

07:52.330 --> 07:54.490
It lists the root directory.

07:54.580 --> 07:59.560
The output shows one row for each file or directory on the very left of the row.

07:59.650 --> 08:01.090
We had the file type.

08:01.090 --> 08:05.970
The R stands for regular file while the D for directory.

08:06.080 --> 08:23.290
Next we have the metadata address Bearse number on the left indicates the NFTE entry.

08:23.420 --> 08:25.250
Next is the attribute type.

08:25.260 --> 08:30.080
1:28 is for data which means the corresponding files are deleted.

08:30.590 --> 08:37.910
The first 16 entries are reserved for special files starting with dollar sign for example entry number

08:37.910 --> 08:39.720
0 is the dollar sign.

08:39.740 --> 08:44.720
NFTE file that stores the meta data about the MFT itself.

08:45.620 --> 08:52.840
At the OS is also able to display only deleted files and to recurse into directories to extract all

08:52.840 --> 08:54.710
the deleted entries of the file system.

08:54.790 --> 08:56.170
We execute this command

09:00.930 --> 09:06.240
where the option is for also displaying the full path of each file and the output is redirected to the

09:06.240 --> 09:07.840
deleted text file.

09:11.000 --> 09:17.040
There's also an option to create a body file for the generation of a timeline with a Mack time tool.

09:35.220 --> 09:41.610
Another tool that could generate a body file is I guess that list the structure of the MFT entries.

10:01.020 --> 10:08.910
To display the details about a single MFT entry we can execute the ice at tool for example we could

10:08.910 --> 10:14.030
display the metadata of the MFT entries 0 the dollar sign and F.T. file

10:28.390 --> 10:37.070
else that shows information such as the ownership SIMD time stamps file attributes and also the nonresident

10:37.080 --> 10:40.230
resident data clusters associated.

10:40.260 --> 10:51.400
We can also stream to the output data.

10:51.440 --> 10:56.220
We can also stream to the data output of a single cluster with the real k cat tool.

11:01.630 --> 11:05.920
And then pipe the output to the X XTi data viewer to display the contents

11:09.240 --> 11:12.210
another useful tool the block layer is be L.K..

11:13.470 --> 11:19.020
By default it copies the content of all unallocated blocks the volume the output should be redirected

11:19.080 --> 11:26.590
a file and used as input for data carving tools to recover deleted files as we'll see later in the course.

11:26.670 --> 11:31.900
The recovery of deleted files could also be done manually with the TS K tools.

11:31.950 --> 11:34.710
Finally just a few words about the Mac type tool.

11:34.860 --> 11:42.030
It generates a timeline of a file system activity taking as input a body file created as as we've seen

11:42.060 --> 11:44.610
with FLSA and or eyeless.

11:44.610 --> 11:50.970
For example we execute MacT time with the body file previously created with less we would execute this

11:50.970 --> 11:51.600
command.

12:11.140 --> 12:16.100
We'll see another way to generate a timeline later in the course.

12:16.720 --> 12:17.770
Well done.

12:17.980 --> 12:23.750
In this video we've covered the most important concepts about disk partitioning volumes and biosystems.

12:23.920 --> 12:25.110
We introduced ourselves.

12:25.150 --> 12:30.880
The sluffed kit explaining the function of its categories of tools then how to use the most important

12:30.880 --> 12:37.600
ones to analyze the NTFS file system of a Windows image in the next video will cover another important

12:37.600 --> 12:44.590
topic in Windows forensics registry analysis will use a tool designed for this reg Ripper.
