25.12.2013 Views

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.7 Structural and Syntactical Approach<br />

The Structural and Syntactical method relies on the information gathered about<br />

the different implementations of the thumbnail caches researched in Chapters<br />

5 and 6; in which the structure of the files are identified along with the valid<br />

syntax for each part of the structure. In order to automate the Structural and<br />

Syntactical method, a program was written which begins by checking if the<br />

fragment starts with a known file signature. If the file signature is 0x434D4D4D<br />

or 0x494D4D4D then it may be part of a thumbnail cache file; if the fragment<br />

starts with a known file signature that does not belong to a thumbnail cache file<br />

then the fragment is automatically classified as H6. This is followed by the<br />

checks described in the sub-sections below starting with those for the H1<br />

classification; processing for each classification stops as soon as a check is<br />

failed. If all checks for a classification are completed successfully the fragment<br />

is classified as that type; if the fragment fails to be classified as H1 – H5 it is<br />

automatically classified as H6 with no further checks. The following subsections<br />

describe the characteristics of each classification of fragment which<br />

were used for validation in this method.<br />

7.7.1 H1:<br />

The index files used by the Windows 7 caches (thumbcache_idx.db) store 32<br />

byte records with the first complete record starting at byte 24 of the cluster; a<br />

cluster can hold up to 127 complete records and may hold a file header and<br />

incomplete records. Figure 7.2 shows the 4 possible structures of an index file<br />

fragment; the first complete record starts 24 bytes into the fragment. Each<br />

record should either be empty or complete; therefore the first check to identify if<br />

a fragment belongs to an index file is to apply the basic structure to the<br />

fragment. It was also shown that the 4 bytes of a record which show the position<br />

of the subrecord in the thumbcache_sr.db file should either contain all 0xFF or<br />

0x00.<br />

Page<br />

177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!