Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit 2162e5a

Browse files
author
Oliver Old
authored
Update fix for 32-bit Windows
1 parent a55be9c commit 2162e5a

File tree

1 file changed

+5
-3
lines changed
  • volatility/plugins/overlays/windows

1 file changed

+5
-3
lines changed

volatility/plugins/overlays/windows/win10.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,14 @@ def findcookie(self, kernel_space):
223223

224224
addr = nt_mod.getprocaddress("ObGetObjectType")
225225
if addr == None:
226-
if not has_yara or model == "32bit":
226+
if not has_yara:
227227
debug.warning("Cannot find nt!ObGetObjectType")
228228
return False
229229
# Did not find nt!ObGetObjectType, trying with YARA instead.
230-
# TODO: Need signature for 32-bit.
231-
s = "48 8D 41 D0 0F B6 49 E8"
230+
if model == "32bit":
231+
s = "8B FF 55 8B EC 8B 4D 08"
232+
else:
233+
s = "48 8D 41 D0 0F B6 49 E8"
232234
rules = yara.compile(sources = {
233235
'n': 'rule r1 {strings: $a = {' + s + '} condition: $a}'
234236
})

0 commit comments

Comments
 (0)