add VMI AddressSpace#500
Conversation
|
Hello @Wenzel ,
In case 1) (ran as root) it says: i think you are not handling the "xen/" prefix in domain name, isn't it? In case 2) I get this error: i'm testing it with Volatility 2.5. Should I try with 2.6? Thank you |
|
@asabellico thanks for trying the address space ! for the case 1) Xen should be handled properly. Note that in the case 2) you are missing a I'm using
No it doesn't matter. |
|
Maybe I'm missing something as neither vmi:///[dom name] nor vmi://xen/[dom name] is working for me. Using this location: vmi://[dom name] at least it finds the domain and then fails with: (I enabled the debug for libvmi) |
|
You are hitting this issue i reported on libvmi when i was testing Rekall on Xen: I "fixed" it by calling a new API called I already implemented this call for Are these methods supposed to never fail ?
|
|
Well, actually the fail happen on a zread(). Tomorrow i'll investigate more on the topic Thank you! |
|
Ok, |
|
you are right! i was using another vmi.py version! now it works |
|
@asabellico good news :) What about my questions about the implementation details ? |
|
Sorry @Wenzel i can't help with your question.. |
|
Maybe @asabellico do you know any Volatility core developers that could help me ? |
|
Ping, |
|
Ping ? |
|
Hi, did anyone meet the same error with me like this? #libvmi/python#15 I checked the code in psxview plugin(volatility/plugins/malware/psxview.py) and found that there is a function call which translates the memory's virtual address into a physical address. This function is provided by address space plugin. However, this "translate" function is not provided in vmi.py, so I met this error. then I got results: But I'm not sure is it perfect. |
|
Any news about? |
Hi !
This PR aims to bring the support of a new address space based on virtual machine introspection.
ping @asabellico since she looked at the issue I opened a few weeks ago.
It uses libvmi to access the physical memory of a guest via the hypervisor's API.
The supported hypervisors at the moment are Xen and KVM.
Note: I would need more information about the
readandzreadmethods.Can they fail ? Because I'm raising a
RuntimeErrorfromread, and having discussed with Michael Cohen on the Rekall integration, thereadwasn't supposed to fail, but fill the buffer with zeroes instead.Usage:
Libvmi will attempt to detect the hypervisor, but you can also specify it in the URL:
Example run:
Please give some feedback !
Thanks.