-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve post/windows/gather/checkvm #18179
Conversation
Testing Windows 7 running in
Testing Windows 7 running in
Testing Windows 11 running in
Testing Windows 11 running in
|
Absolutely :) |
Hey @jvoisin, after speaking with the team we think the Virtual PC (due to it's age) and JoeSandbox (due to it being a cloud based malware analysis tool and not a hypervisor) detections should probably be removed from this PR. Xen testing is still blocking this PR and the |
Sure, done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After reviewing the two untested detections Hyper-V
and Xen
I think this should be good to be landed.
The only change to Hyper-V
detection was changing all the registry_getvaldata
to get_regval_str
which we know helps prevent against an array being return instead of a string.
As for the Xen
detection looking in the reg value HKLM\\HARDWARE\\DESCRIPTION\\System\\BIOS\\SystemProductName
for the string xen
is backed by this blog titled Determine if a machine is virtual
Release NotesThis PR improves the windows checkvm post module by adding new techniques to identify the hypervisor in which the session is running. |
As suggested in rapid7#18179 (comment)
As suggested in rapid7#18179 (review)
I tried to split this PR into meaningful commits.
Verification
List the steps needed to make sure this thing works