refs #139 use _EPROCESS.ControlFlowGuardEnabled to distinguish between windows 10 <= 15063 versus >= 16299

This commit is contained in:
Michael Ligh
2019-12-04 21:19:19 +00:00
committed by ikelos
parent 1eea645da0
commit d0f9cf9a2f
@@ -35,7 +35,8 @@ class SvcScan(interfaces.plugins.PluginInterface):
is_win10_up_to_15063 = poolscanner.os_distinguisher(version_check = lambda x: (10, 0) <= x < (10, 0, 16299),
fallback_checks = [("ObHeaderCookie", None, True),
("_HANDLE_TABLE", "HandleCount", False),
("ObHeaderCookie", None, True)])
("ObHeaderCookie", None, True),
("_EPROCESS", "ControlFlowGuardEnabled", True)])
is_win10_16299_or_later = poolscanner.os_distinguisher(version_check = lambda x: x >= (10, 0, 16299),
fallback_checks = [("ObHeaderCookie", None, True),