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

Folder Naming Process on ReFS

As was mentioned earlier, it was possible that a new folder was created and saved before being renamed as the user wanted. Within the hex "New Folder" was found offset 0x07B0356, in a new metadata block (exactly 16KB earlier) than the final offset position of "hellofolder" (0x07B4356). This suggests that "New Folder" was created, then when the folder was renamed it was saved in a new metadata block, using the Copy-On-Write procedure.

On the other test drives, where files were created through Notepad and saved immediately with the correct name (thus no "New File" entry), no hexadecimal value saying "New File" can be found. This is another factor which backs up the theory above. Below both hexadecimal blocks are shown. The file names are highlighted in red.

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

0007B02E0  00 00 20 00 74 00 00 00 74 00 00 00 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 66 00 00 00  .. .t...t.......8...........f...

0007B0300  0C 00 01 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 CB 15 9F 7D 2B D0 01 10 CB 15 9F  .....................Ë.Ÿ}+Ð..Ë.Ÿ

0007B0320  7D 2B D0 01 10 CB 15 9F 7D 2B D0 01 10 CB 15 9F 7D 2B D0 01 00 00 00 00 00 00 00 00 00 00 00 00  }+Ð..Ë.Ÿ}+Ð..Ë.Ÿ}+Ð.............

0007B0340  00 00 00 00 00 00 00 10 00 00 00 00 0A 00 00 00 00 00 30 00 02 00 4E 00 65 00 77 00 20 00 66 00  ..................0...N.e.w. .f.

0007B0360  6F 00 6C 00 64 00 65 00 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  o.l.d.e.r.......................

 

0007B42E0  00 00 20 00 74 00 00 00 74 00 00 00 00 00 00 00 38 00 00 00 00 00 00 00 00 00 00 00 68 00 00 00  .. .t...t.......8...........h...

0007B4300  0C 00 01 00 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 CB 15 9F 7D 2B D0 01 10 CB 15 9F  .....................Ë.Ÿ}+Ð..Ë.Ÿ

0007B4320  7D 2B D0 01 10 CB 15 9F 7D 2B D0 01 10 CB 15 9F 7D 2B D0 01 00 00 00 00 00 00 00 00 00 00 00 00  }+Ð..Ë.Ÿ}+Ð..Ë.Ÿ}+Ð.............

0007B4340  00 00 00 00 00 00 00 10 00 00 00 00 0B 00 00 00 00 00 30 00 02 00 68 00 65 00 6C 00 6C 00 6F 00  ..................0...h.e.l.l.o.

0007B4360  66 00 6F 00 6C 00 64 00 65 00 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  f.o.l.d.e.r.....................



There are only two differences in these blocks above, other than the file name. The first difference is at offset 0x01C (blue), with the data set at 66 and 68, followed by differences at 0x06C (green) where "New Folder" is 0A and "hellofolder" is 0B.

The latter change is the length of the file name. "New Folder" is 10 characters long, which in hexadecimal is 0A and "hellofolder" is 11 characters long, which is 0B in hexadecimal. The former change is currently unknown. It is unlikely to be a flag which signifies that the file is marked for deletion, as this value isn't consistent throughout other folders. No pattern has been noticed.