Improve post/windows/gather/checkvm#18179
Improve post/windows/gather/checkvm#18179jheysel-r7 merged 14 commits intorapid7:masterfrom jvoisin:improve_vm
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 :) |
jheysel-r7
left a comment
There was a problem hiding this comment.
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