Metadata Block ChangesPermissions ChangeDeleting .exe FileRenaming .exe FileCopying .exe File

Copy File

The two metadata blocks that differ from the original ones after the .exe file has been copied are at offsets 0x07B0000 and 0x07B4000. The eighth bytes is one of the only difference at the former, with it being set to 14 rather than 0C. The other differences (as expected) are MACE times. The latter offset has a similar number of changes, but after the initial, common, metadata there is an entry for "helloworld-Copy.exe" and "sayitagain.exe" underneath that. This is shown 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

0007B4AC0  04 00 28 00 38 00 00 00 20 00 00 80 00 00 00 00 00 06 00 00 00 00 00 00 03 00 00 00 00 00 00 00  ..(.8... ..€....................

0007B4AE0  00 00 00 00 00 00 00 00 0C 00 2A 00 68 00 65 00 6C 00 6C 00 6F 00 77 00 6F 00 72 00 6C 00 64 00  ..........*.h.e.l.l.o.w.o.r.l.d.

0007B4B00  20 00 2D 00 20 00 43 00 6F 00 70 00 79 00 2E 00 65 00 78 00 65 00 FF FF 40 04 00 00 10 00 20 00   .-. .C.o.p.y...e.x.e.ŸŸ@..... .

0007B4B20  00 00 30 00 10 04 00 00 30 00 01 00 73 00 61 00 79 00 69 00 74 00 61 00 67 00 61 00 69 00 6E 00  ..0.....0...s.a.y.i.t.a.g.a.i.n.

0007B4B40  2E 00 65 00 78 00 65 00 A8 00 00 00 28 00 01 00 00 00 00 00 10 01 00 00 10 01 00 00 02 00 00 00  ..e.x.e.¨...(...................

0007B4B60  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9B 07 00 04 B7 47 D0 01 B4 45 42 1B 80 2B D0 01  ................›...·GÐ.´EB.€+Ð.

0007B4B80  BB 3C 5F 06 B7 47 D0 01 9B 07 00 04 B7 47 D0 01 20 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00  »<_.·GÐ.›...·GÐ. ...............

0007B4BA0  03 00 00 00 00 00 00 00 2B 4F FA FB 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ........+Oúû....................

 

In the block above, the MACE times are highlighted in green, the copied filename in blue, the new filename in orange and then the permissions bytes in red.

Further down after this block, there is again another entry for "sayitagain.exe". Coloured in orange is the filename. There is no file pointer found in the blocks above or below, because the file has no contents.

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

0007B4F60  00 00 28 00 28 00 00 00 20 00 00 80 00 00 00 00 00 06 00 00 00 00 00 00 03 00 00 00 00 00 00 00  ..(.(... ..€....................

0007B4F80  00 00 00 00 00 00 00 00 0C 00 1C 00 73 00 61 00 79 00 69 00 74 00 61 00 67 00 61 00 69 00 6E 00  ............s.a.y.i.t.a.g.a.i.n.

0007B4FA0  2E 00 65 00 78 00 65 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  ..e.x.e.........................