Files are easy - just m5sum them and account for interlopers and changes - but the Registry is a Hard Problem, because it changes all the time.