I do wonder if this can be combined with something like whitelisting based on some criteria. A _very_ unthought-through version would be checking a SHA-512 sum of a binary or some such.
Either way, a neat tool in the toolbox.