Enhancing System Security Using Dynamic Hardware