Closed BrunoPujos closed 4 years ago
Hello,
The problem was also present on the LKD
project, the commit : https://github.com/w4kfu/LKD/commit/6dc8ba20422493e395d49946fd3c4bc8f9b5dd4e solved the issue.
Thx,
Hello,
Thank you both for the issue and fix. I was able to reproduce and fix the issue on my side, I also added a test. The commit is 7921e7464, feel free to test it before I close this issue.
Also, I recommand the use of the new windows.system.modules
to retrieve the information.
windows.utils.get_kernel_modules()
will now print a DeprecationWarning
.
Thank you,
Hello,
ok on my side, issue can be closed.
Thx,
Hello,
There is apparently a problem with the refcount when getting the module using the
windows.utils.get_kernel_modules
function. The_SYSTEM_MODULE64
objects seems to not be correctly kept in memory. This leads to invalid data being recuperated when accessing members of the objects.The following code allow to reproduce:
Python version:
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
, test done using thedev
branch commit5c3b0cd
.