Initial support for WMI spoofery - #161
Merged
Merged
Conversation
doomedraven
force-pushed
the
opt/wmi-spoofing-only
branch
2 times, most recently
from
August 16, 2026 11:00
d77a81d to
a49c765
Compare
doomedraven
force-pushed
the
opt/wmi-spoofing-only
branch
from
August 16, 2026 11:11
a49c765 to
c77b50e
Compare
Contributor
Author
|
feel free to correct/merge/reject |
KillerInstinct
added a commit
to KillerInstinct/capemon
that referenced
this pull request
Sep 2, 2026
PR kevoreilly#116 made SpoofWmiData resolve the object's WMI __CLASS directly, so the g_last_seen_disk_query / g_last_seen_physicalmemory flags PR kevoreilly#161 brought back from the old kevoreilly#97 patch are redundant. Worse, gating the LogicalDisk Size and PhysicalMemory Capacity spoofs on those flags skips spoofing whenever the class isn't reached via a SELECT on the same thread: CreateInstanceEnum (Get-CimInstance / Get-WmiObject -Class), GetObject on an instance, and async results delivered on the WMI sink thread. Remove the flags and restore both ExecQuery hooks to log-before-call. The AdapterRAM (realistic 4GB overflow value) and MaxRefreshRate spoofs from kevoreilly#161 are correct and kept.
kevoreilly
added a commit
that referenced
this pull request
Sep 2, 2026
Drop redundant g_last_seen_* WMI query gating from PR #161
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
gemini comments review and implements from #97