Metadata Block ChangesModify .doc ContentPermissions ChangeDeleting .doc FileRenaming .doc FileCopying .doc File

.doc Metadata Block Changes

The table below identifies the changes which occur to the metadata blocks in the file system. The table also identifies the eighth byte of each offset, as this was found to vary when folder modifications took place on the drive. Each of the blocks is at the same position as they were when folders were added to the system, but there are less in use.

The top row identifies that none of the blocks stay the same after the respective changes. The block where the contents have been changed is very similar to the one where the permissions have been changed, with only the Modified and Accessed times and the file size differing.

The second row shows the content at offset 0x0754000 and that only the drives with contents and permissions changed are different from the others. The only changes on these two drives are the Modified, Accessed and Entry Modified times. If these had stayed the same, the metadata block at this offset would have been identical across all drives.

Beginning at offset 0x0758000 all the data is identical, there are no changes across all drives. This suggests it is the original and when modifications have been made, the block has been copied (to offset 0x0750000 for example) before being modified.

It is interesting to note, that unlike during the tests with folders, there is no metadata at offsets 0x07B0000 and 0x07C0000, instead being replaced with content and a file reference (in the deleted file's case).

Metadata Block Offset

Starting Bytes

helloworld.doc

Content Changed

Permissions Changed

File Deleted

Shift & Delete

Rename

Copy File

0x0750000

94 01

 

0D

 

16

 

16

 

16

 

16

 

16

 

16

0x0754000

95 01

Identical

0E

 

16

 

16

Identical

0E

Identical

0E

Identical

0E

Identical

0E

0x0758000

96 01

Identical

0F

Identical

0F

Identical

0F

Identical

0F

Identical

0F

Identical

0F

Identical

0F

0x075C000

97 01

Identical

0C

Identical

0C

 

17

Identical

0C

Identical

0C

Identical

0C

Identical

0C

0x07B0000

AC 01

* File Contents - not metadata

0x07C0000

B0 01

No Data

No Data

No Data

Deleted file reference

No Data

No Data

Copied content

 

When analysing the drives after the .doc file had been added, at offset 0x07A0000 the desktop.ini file contents were found ([.ShellClassInfo.]). On each of the drives the file contents were found at offset 0x07B0000 (shown below - highlighted in orange), surrounded by zeros, with the last data being found at offset 0x07A0000 ([.ShellClassInfo.] part, described above) and the next data found at 00340C000.

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

0007B0000  68 65 6C 6C 6F 77 6F 72 6C 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  helloworld......................

 

The file contents being stored this way are very clear and easy to see. In the event of a file having a bad signature, it would be easy for an examiner to identify the file contents simply by looking in the hexadecimal. In NTFS the file contents (if small enough) will fit in an MFT entry, with other pieces of information such as the filename. This can be seen in the block below. The file contents are in orange, the filename is blue, file size is red and MACE times are green.

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

04010A000  46 49 4C 45 30 00 03 00 B7 63 00 01 00 00 00 00 02 00 01 00 38 00 01 00 40 01 00 00 00 04 00 00  FILE0...·c..........8...@.......

04010A020  00 00 00 00 00 00 00 00 03 00 00 00 28 00 00 00 02 00 00 00 00 00 00 00 10 00 00 00 60 00 00 00  ............(...............`...

04010A040  00 00 00 00 00 00 00 00 48 00 00 00 18 00 00 00 CE E5 1D 83 7F 2B D0 01 CE E5 1D 83 7F 2B D0 01  ........H.......Îå.ƒ.+Ð.Îå.ƒ.+Ð.

04010A060  CE E5 1D 83 7F 2B D0 01 CE E5 1D 83 7F 2B D0 01 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  Îå.ƒ.+Ð.Îå.ƒ.+Ð. ...............

04010A080  00 00 00 00 0C 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 00 78 00 00 00  ........................0...x...

04010A0A0  00 00 00 00 00 00 02 00 5E 00 00 00 18 00 01 00 05 00 00 00 00 00 05 00 CE E5 1D 83 7F 2B D0 01  ........^...............Îå.ƒ.+Ð.

04010A0C0  CE E5 1D 83 7F 2B D0 01 CE E5 1D 83 7F 2B D0 01 CE E5 1D 83 7F 2B D0 01 00 00 00 00 00 00 00 00  Îå.ƒ.+Ð.Îå.ƒ.+Ð.Îå.ƒ.+Ð.........

04010A0E0  00 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 0E 00 68 00 65 00 6C 00 6C 00 6F 00 77 00 6F 00  ........ .........h.e.l.l.o.w.o.

04010A100  72 00 6C 00 64 00 2E 00 64 00 6F 00 63 00 00 00 80 00 00 00 28 00 00 00 00 00 18 00 00 00 01 00  r.l.d...d.o.c...€...(...........

04010A120  0A 00 00 00 18 00 00 00 68 65 6C 6C 6F 77 6F 72 6C 64 00 00 00 00 00 00 FF FF FF FF 82 79 47 11  ........helloworld......ŸŸŸŸ‚yG.