-
Notifications
You must be signed in to change notification settings - Fork 481
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
Fix: get VAD
parent offset format for x64
tree structure.
#731
Fix: get VAD
parent offset format for x64
tree structure.
#731
Conversation
…lity3 into fix/vad-parent
This PR related to another PR #727 |
@digitalisx won't this be a problem for 32 bit systems if you just subtract |
Hello @paulkermann, Thank you for interest in my PR. > python3 vol.py -f 32.vmem -r pretty windows.vadwalk --pid=4708
Volatility 3 Framework 2.1.1
Formatting...0.00 PDB scanning finished
| PID | Process | Offset | Parent | Left | Right | Start | End | Tag
* | 4708 | rundll32.exe | 0x9db10a00 | 0x0 | 0x9db10168 | 0x9db110e0 | 0x75df0000 | 0x76001fff | Vad
* | 4708 | rundll32.exe | 0x9db10168 | 0x9db10a00 | 0x9db10110 | 0x9d0c14a0 | 0xa70000 | 0xa83fff | Vad
* | 4708 | rundll32.exe | 0x9db10110 | 0x9db10168 | 0x9db10bb8 | 0x9654d6a0 | 0x890000 | 0x893fff | Vad
* | 4708 | rundll32.exe | 0x9db10bb8 | 0x9db10110 | 0x9db10b08 | 0xa1ccaaf0 | 0x830000 | 0x84cfff | Vad
* | 4708 | rundll32.exe | 0x9db10b08 | 0x9db10bb8 | 0x0 | 0xa1ccb0c0 | 0x810000 | 0x81ffff | Vad
* | 4708 | rundll32.exe | 0xa1ccb0c0 | 0x9db10b08 | 0x0 | 0x0 | 0x820000 | 0x823fff | VadS
* | 4708 | rundll32.exe | 0xa1ccaaf0 | 0x9db10bb8 | 0x0 | 0x0 | 0x850000 | 0x88ffff | VadS Please let me know if you have any other good idea, I will check it! |
Could you please consider submitting the |
@ikelos Thank you for your interest in this PR. |
|
With the help of @ikelos, we can clearly use addresses without touching the core. Thank you to all the contributors who commented and reviewed. 🙌 |
PR #905 has been opened to allow converting between canonicalized and decanonicalized addresses, this doesn't shift the underlying means that some will rely on for how volatility works (notably address space scanning, etc), but will allow those that wish to work in a purely canonical space to do so. |
Description
Hello, everyone in the community. 🙂
I discovered one peculiarity while implementing the
VADWalk
plugin andVADTree
plugin (incomplete).The offset of the
VAD
parent node (get_parent
method) is returned in a different format in thex64
environment.Below is an example.
Running on
x86
memory dumpRunning on
x64
memory dumpIn order to have the form of
VADTree
that we think and intuitively reach the user, we think it is necessary to match the output form of the address equally. So I added bitwise operation to satisfy bothx86
andx64
.Fix result
Tree Example