Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I have lost some Axcrypt files on my hard drive, as I have changed the extension. Is there a way to detect those files (via header, size, etc.)

If not, are there some tools to detect discordance between a file's header and filetype?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

The encrypted files have a common header. The first 4 bytes of AXX files are C0 B9 07 2E. The static header is actually longer than this, but 4 bytes should be enough to rule out false positives.

share|improve this answer
    
Do you know a tool who scan for files with this header ? –  hotips May 22 '12 at 19:21
3  
use the command "find" with: test "$(head -c 4 $file)" = "$(echo -e '\xc0\xb9\x07\x2e')" –  Diego May 23 '12 at 22:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.