# Given the files and their parsed content how can I reverse engineer the file format?

I have access to a few thousand files binary files and I don't have the program that generated them. The files have been parsed and I also have access to the database where the parsed fields are stored. What techniques can be used to figure out the format of the files, given this information?

• That's difficult!! Does the files have some associate information, like when they were created, the compiler or something like that? Dec 26 '15 at 17:20
• Yes, the file name has creation date embedded in it and the records in the database can be approximately mapped to the source file using this date. Dec 26 '15 at 17:51

I have had to perform that type of operation on so-called .DAT files. You need a good hexadecimal editor, that allows you to display char, binary and hex contents from binary, and some patience. And probably a digit-probe friend you can talk with, to help decipher the riddle.