AbstractIntroductionMethodologyInitial ComparisonReFS MBRReFS VBRFSRSMACE TimesReFS Metadata BlockReFS MFTReFS Folder Naming ProcessDrive LabelsRecycle BinDesktop.ini FileSecurity IdentifierFolder Analysis.doc Analysis.txt Analysis.exe AnalysisReferencesAboutMisc ForensicsCPU Reballing StencilsItems For Sale

Drive Labels

The table below shows where on each file system the drive labels were found. The left hand side of the table shows where the drive labels were found originally and on the right it shows where the drive labels were found after being changed. The NTFS drive label was changed to "Photo Storage", ReFS to "Video Storage" and the FAT32 drive was changed to "GAMES STORA" (the reason for this will be explained in the FAT Section). It is interesting to note that upon changing, the drive label can be found one more time in NTFS, but found three times less on ReFS.

Drive Label

 

Original Drive Label

Changed Drive Label

 

NTFS

ReFS

FAT32

NTFS

ReFS

FAT32

Offset

0x0102C00

0x0710000

0x0D00000

0x0102C00

0x0710000

0x0D00000

 

0x040100C00

0x0714000

 

0x03C9D5658

 

 

 

 

0x0718000

 

0x040100C00

 

 

 

 

0x071C000

 

 

 

 

 

Between each instance in ReFS is 0x04000 in hexadecimal, which in decimal is 16,384 bytes. This shows that the drive label on the original drive is stored in four different metadata blocks.

NTFS

Having analysed and compared the NTFS drives, on the original drive there are two blocks where the drive label "NTFS Drive" is found. The second metadata block, the one at offset 0x040100C00 is actually an exact copy of that at 0x0102C00. When the drive label has been modified, the label is found one extra time.

At offset 0x0102C00 the $Volume file attribute can be found (highlighted in yellow). On the original drive "NTFS Drive" can be seen within this attribute twice, but after the drive label has been changed, the new drive label is seen only once. Below the before and after can be seen. Each time the "FILE0" part of the MFT header can be seen (red). The drive labels have been highlighted in aqua.  

Original $Volume attribute.

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000102C00  46 49 4C 45 30 00 03 00 E0 65 80 00 00 00 00 00 03 00 01 00 38 00 01 00 78 01 00 00 00 04 00 00  FILE0...Àe€.........8...x.......

000102C20  00 00 00 00 00 00 00 00 06 00 00 00 03 00 00 00 02 00 00 00 00 00 00 00 10 00 00 00 60 00 00 00  ............................`...

000102C40  00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01  ........H.......°_´X3$Ɖ.°_´X3$Ɖ.

000102C60  BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °_´X3$Ɖ.°_´X3$Ɖ.................

000102C80  00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00  ........................0...h...

000102CA0  00 00 18 00 00 00 01 00 50 00 00 00 18 00 01 00 05 00 00 00 00 00 05 00 BA 5F B4 58 33 24 D0 01  ........P...............°_´X3$Ɖ.

000102CC0  BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 00 00 00 00 00 00 00 00  °_´X3$Ɖ.°_´X3$Ɖ.°_´X3$Ɖ.........
000102CE0  
00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 07 03 24 00 56 00 6F 00 6C 00 75 00 6D 00 65 00  ..................$.V.o.l.u.m.e.

000102D00  60 00 00 00 30 00 00 00 00 00 18 00 00 00 04 00 14 00 00 00 18 00 00 00 4E 00 54 00 46 00 53 00  `...0...................N.T.F.S.

000102D20  20 00 44 00 72 00 69 00 76 00 65 00 00 00 00 00 70 00 00 00 28 00 00 00 00 00 18 00 00 00 05 00   .D.r.i.v.e.....p...(...........

000102D40  0C 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 03 01 80 00 00 00 00 00 80 00 00 00 18 00 00 00  ..................€.....€.......

000102D60  00 00 18 00 00 00 03 00 00 00 00 00 18 00 00 00 FF FF FF FF 00 00 00 00 14 00 00 00 18 00 00 00  ................ŸŸŸŸ............

000102D80  4E 00 54 00 46 00 53 00 20 00 44 00 72 00 69 00 76 00 65 00 00 00 00 00 70 00 00 00 28 00 00 00  N.T.F.S. .D.r.i.v.e.....p...(...

000102DA0  00 00 18 00 00 00 05 00 0C 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 01 02 84 00 00 00 00 00  ..........................„.....

000102DC0  80 00 00 00 18 00 00 00 00 00 18 00 00 00 03 00 00 00 00 00 18 00 00 00 FF FF FF FF 00 00 00 00  €.......................ŸŸŸŸ....

000102DE0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00  ................................

 

$Volume attribute after the drive label change.

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000102C00  46 49 4C 45 30 00 03 00 C0 5E 00 01 00 00 00 00 03 00 01 00 38 00 01 00 A8 01 00 00 00 04 00 00  FILE0...À^..........8...¨.......

000102C20  00 00 00 00 00 00 00 00 07 00 00 00 03 00 00 00 04 00 00 00 00 00 00 00 10 00 00 00 60 00 00 00  ............................`...

000102C40  00 00 18 00 00 00 00 00 48 00 00 00 18 00 00 00 BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01  ........H.......°_´X3$Ɖ.°_´X3$Ɖ.

000102C60  BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  °_´X3$Ɖ.°_´X3$Ɖ.................

000102C80  00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 68 00 00 00  ........................0...h...

000102CA0  00 00 18 00 00 00 01 00 50 00 00 00 18 00 01 00 05 00 00 00 00 00 05 00 BA 5F B4 58 33 24 D0 01  ........P...............°_´X3$Ɖ.

000102CC0  BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 BA 5F B4 58 33 24 D0 01 00 00 00 00 00 00 00 00  °_´X3$Ɖ.°_´X3$Ɖ.°_´X3$Ɖ.........

000102CE0  00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 07 03 24 00 56 00 6F 00 6C 00 75 00 6D 00 65 00  ..................$.V.o.l.u.m.e.

000102D00  40 00 00 00 28 00 00 00 00 00 00 00 00 00 06 00 10 00 00 00 18 00 00 00 18 DB 78 CD CA FB B2 43  @...(....................ûx˜êû²C

000102D20  BC 82 77 E1 87 B2 FE 4A 60 00 00 00 38 00 00 00 00 00 18 00 00 00 04 00 1A 00 00 00 18 00 00 00  ¼‚wᇲþJ`...8...................

000102D40  50 00 68 00 6F 00 74 00 6F 00 20 00 53 00 74 00 6F 00 72 00 61 00 67 00 65 00 00 00 28 00 00 00  P.h.o.t.o. .S.t.o.r.a.g.e...(...

000102D60  70 00 00 00 28 00 00 00 00 00 18 00 00 00 05 00 0C 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00  p...(...........................

000102D80  03 01 80 00 00 00 00 00 80 00 00 00 18 00 00 00 00 00 18 00 00 00 03 00 00 00 00 00 18 00 00 00  ..€.....€.......................

000102DA0  FF FF FF FF 00 00 00 00 0C 00 00 00 18 00 00 00 00 00 00 00 00 00 00 00 01 02 84 00 00 00 00 00  ŸŸŸŸ......................„.....

000102DC0  80 00 00 00 18 00 00 00 00 00 18 00 00 00 03 00 00 00 00 00 18 00 00 00 FF FF FF FF 00 00 00 00  €.......................ŸŸŸŸ....

000102DE0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00  ................................

 

The extra instance of the drive label being found when the label has been changed is at offset 0x03C9D5658. At this offset, both the old and new drive label are found within an $I30 attribute. As identified earlier, this is an index attribute which can be used by forensic examiners to find evidence and metadata of deleted and overwritten files on NTFS drives.

* Note - The reason there are 2 sets of MACE times associated with each of the blocks above, is because one is the Standard Information Attribute (SIA) and the other is the Filename Attribute (FNA). Both the SIA and FNA can be very useful in digital forensics. More information can be found in these excellent articles about the SIA and FNA:

- The Internal Structures of a File Name Attribute
- SIA Timestamps and FNA Timestamps in Action

ReFS

Drive labels aren't stored in an attribute like they are in NTFS, they are stored in a similar manner to files and folders on the file system, using a metadata block. Originally "ReFS Drive" was found in four metadata blocks, but when changed to "Video Storage" the new label was found only once. The previous drive label was still found in all the locations it was originally.

The hexadecimal sections below show the drive labels. The top block was found in the middle of the metadata block, with MACE times and other data both before and after the drive label. The byte highlighted in yellow was the only difference (in the displayed section) between the original drive and the one with the drive label changed. Originally the byte was set to 00, whereas after a changed it became 04 (as can be seen).

The bottom block of the two below shows "Video Storage" - the new drive label. This was appended to the end of the same metadata block, with no data following it. In addition to the byte in yellow, highlighted in red are changes that occurred between the two. It can be seen that the drive label no longer in use has 04 at offset 0x08 and the one in use has 00.

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000710320  30 00 00 00 10 00 08 00 04 00 18 00 14 00 00 00 10 05 00 00 00 00 00 00 52 00 65 00 46 00 53 00  0.......................R.e.F.S.

000710340  20 00 44 00 72 00 69 00 76 00 65 00 00 00 00 00 78 01 00 00 10 00 08 00 08 00 18 00 60 01 00 00   .D.r.i.v.e.....x...........`...

 

 

000710640  38 00 00 00 10 00 08 00 00 00 18 00 1A 00 00 00 10 05 00 00 00 00 00 00 56 00 69 00 64 00 65 00  8.......................V.i.d.e.

000710660  6F 00 20 00 53 00 74 00 6F 00 72 00 61 00 67 00 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  o. .S.t.o.r.a.g.e...............

  

On the original drive with no changes, the same metadata block with the drive label was found four times within the entire drive, with only one common change between each one. The first byte in each block was different; the first block being 84, the second 85, the third 86 and the fourth 87. This is just a number which increments with each metadata block.

FAT32

In the FAT32 file system, the drive label is only found once, with very little data attached to it. The hexadecimal below shows the drive label in FAT32. There is no information either side of this row; this is all the data attached to it.

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000D00000  46 41 54 33 32 20 44 52 49 56 45 08 00 00 00 00 00 00 00 00 00 00 8D 6A 9E 45 00 00 00 00 00 00  FAT32 DRIVE............jžE......

 

After finding this, the next experiment was to change the drive label of the FAT32 drive. The attempt to change it to "Games Storage" didn't work completely. Firstly FAT only allows labels in capital letters and secondly, the label length is limited to 11 characters, thus restricting the drive label to being "GAMES STORA". After changing the FAT32 drive label the block above changed and can be seen below.

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

000D00000  47 41 4D 45 53 20 53 54 4F 52 41 08 00 00 00 00 00 00 00 00 00 00 CC 7C 45 46 00 00 00 00 00 00  GAMES STORA...........Ì|EF......

000D00020  24 52 45 43 59 43 4C 45 42 49 4E 16 00 2E 43 7C 45 46 45 46 00 00 44 7C 45 46 03 00 00 00 00 00  $RECYCLEBIN...C|EFEF..D|EF......


 

Registry Reference in ReFS

Shown (and highlighted yellow) in the block of data below is what appears to be a reference to a key in the registry. This is only found on the ReFS drive (found once on the blank drive) and cannot be found anywhere in the hexadecimal of the NTFS or FAT32 drives. The full path to the registry key is not complete and having searched through the hexadecimal of the drive, it wasn't possible to locate the remainder of the path.

Having researched this, looking through the official Microsoft documentation amongst other places, there was only one useful piece of information found. A number of articles were found which document how to modify the Windows 8.1 registry, allowing the user to format a drive with ReFS, but this is doesn't appear to be related to the entry in the hexadecimal below.

The useful information, found in the Microsoft Windows Server TechNet pages, confirms a new registry entry brought in with ReFS. The key is called "RefsDisableLastAccessUpdate" and has an equivalent in NTFS called "NtfsDisableLastAccessUpdate". This entry is used for determining whether NTFS will update the last-accessed timestamp on directories when they are listed. For example, if a user brought up a directory listing, all the directories/folders displayed would have their last-accessed timestamp updated.

This registry key can be found on a Windows 8.1 machine at "Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\FileSystem\" but was not found in the test Windows Server 2012 virtual machine.

The default behaviour is to update the timestamp, but a simple change of the registry key from 0 to 1 would mean that the timestamps didn't update. This is interesting to note from a forensic investigation point of view, as forensic investigators would likely expect the default behaviour and could be surprised or led down a different path if the behaviour had been modified.  

Offset(h)  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F

0007542C0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 00 00 00 10 00 0E 00  ........................ˆ.......

0007542E0  00 00 20 00 64 00 00 00 64 00 00 00 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 54 00 00 00  .. .d...d.......8...........T...

000754300  0C 00 01 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 5C 00 52 00 45 00 47 00 49 00 53 00  ....................\.R.E.G.I.S.

000754320  54 00 52 00 59 00 5C 00 4D 00 41 00 43 00 48 00 49 00 4E 00 45 00 5C 00 53 00 59 00 53 00 54 00  T.R.Y.\.M.A.C.H.I.N.E.\.S.Y.S.T.

000754340  45 00 4D 00 5C 00 43 00 6F 00 6E 00 01 00 00 00 6F 00 30 00 00 00 2E 00 00 00 00 00 00 00 00 00  E.M.\.C.o.n.....o.0.............

000754360  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................................