Critical hardware towards software security enforcement