Metadata Block ChangesPermissions ChangeFolder DeletionsRenaming FolderCopying FolderAdding ContentCompressing Folder

ReFS Folder Renamed

For this experiment, the folder was renamed from "hellofolder" to "importantinformation". When the first folder was created, it created a "New folder" entry and then that was renamed. It is expected that the behaviour of the renaming process will mimic this, leaving a similar trail in the file system.

The table below shows the folder name and the eighth byte value from the metadata blocks. The table highlights that the two metadata blocks that have changed, now have 15 as the eighth byte. As the ticks in the right-most column show, the other four metadata entries are identical; they haven't changed when the file has been renamed.

Metadata Block Offset

Starting Bytes

hellofolder

Eighth Byte

Renamed

Eighth Byte

Identical?

0x0750000

94 01

 

0A

importantinformation

15

 

0x0754000

95 01

hellofolder

0D

hellofolder

0D

✔

0x0758000

96 01

hellofolder

0E

hellofolder

0E

✔

0x075C000

97 01

New folder

0C

New folder

0C

✔

0x07B0000

AC 01

New folder

0C

importantinformation

15

 

0x07B4000

AD 01

hellofolder

0D

hellofolder

0D

✔

 

 

 

 

 

 



The first offset shown in the table did not have a "hellofolder" entry, but an entry for "importantinformation" was created when the folder was renamed. Originally the metadata block at this offset just had the registry reference and an entry for Recycle Bin, but when the file name was changed, "importantinformation" was added towards the bottom of the metadata block, just underneath the Recycle Bin.

The table below shows all the changes in the metadata at offset 0x07B0000, excluding the file name changes.

Offset

Old

After Renaming

Comments

0x07B0008

0C

15

 

0x07B01FC

78 01

90 01

Pointer (see analysis below).

0x07B0200

E0

F8

 

0x07B02D8

98

B0

 

0x07B02E4

74

8C

 

0x07B02E8

74

8C

 

0x07B02FC

66

7A

 

0x07B034C

0A

14

Folder name length. 11 to 20 (in decimal)

0x07B034F

00

10

 

0x07B0351

00

20

 

0x07B0356

4E 00 65 00 77 00 20 00 66 00 6F 00 6C 00 64 00 65 00 72

69 00 6D 00 70 00 6F 00 72 00 74 00 61 00 6E 00 74 00 69 00 6E 00 66 00 6F 00 72 00 6D 00 61 00 74 00 69 00 6F 00 6E

Folder name

"hellofolder" to "importantinformation"

 

The two bytes, both before and after the changes, at offset 0x07B01FC appear to be a pointer. Before the change, they were set to 78 01, which pointed to 6E0000, a block which contained a number of timestamps amongst other information. When the pointer changed to 90 01, it pointed to offset 0x0740000 (shown below). This is all the information in that metadata block. There are two timestamps (highlighted in green) and four consecutive bytes set to 01 (orange). Having found the offset that 40 01 addresses, the bytes highlighted in blue are not a pointer (or if they are they don't point to any content).

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

000740000  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  ................................

000740020  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  ................................

000740040  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  ................................

000740060  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  ................................

000740080  01 01 01 01 00 00 00 00 00 00 00 00 00 00 00 00 D7 65 16 55 33 24 D0 01 00 00 00 00 00 00 00 00  ................×e.U3$Ð.........

0007400A0  68 69 33 2C 8D 2B D0 01 00 00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 40 01 00 00 00 00 00 00  hi3,.+Ð.......... ......@.......