• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Determine file types.

eigen

Diamond Member
This question was posed on my local LUG and we dont seem to be getting anywhere any thoughts

"

I have a file that I recovered during a forensics investigation that I'm
trying to view. The original extension is .doc, but it's not a word
document. It might not be a text document at all, but rather a picture,
spreadsheet, executable... who knows.

How can I figure out what kind of file this is? More importantly, how can I
actually view it's contents? I've tried the file command in Linux, but it
just says data. I've also tried opening the file with OpenOffice, a picture
viewer, Mozilla, etc., but that's not helping.

"
 
You could whip up a C# program that calls IE's FindMimeFromData command (see link under urlmon). That might give you some insight.
 
Strings maybe? Not sure if that will pick anything up for a non-compiled file though...

You can check the magic file to see why file labels it as "data."
 
Originally posted by: eigen
The string commaned has already been suggested
What is this majic file?

In Solaris it's /etc/magic . The file command refers to it to help determine what the file really is.
 
You can check the magic file to see why file labels it as "data."

Because that's the default when it can't determine what type it is.

Personally, I would guess that he didn't really recover the file he thought he did, it's probably just random data.
 
Back
Top