Skip to content
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

Error generating Rekall/Volatility profile #102

Open
SaiHarshaK opened this issue Mar 5, 2021 · 4 comments
Open

Error generating Rekall/Volatility profile #102

SaiHarshaK opened this issue Mar 5, 2021 · 4 comments

Comments

@SaiHarshaK
Copy link

Hello, I am following the setup guide for LibVMI Rekall/Volatility profile, but I am getting the following error:

$ sudo ../../libvmi/build/examples/vmi-win-guid name ub20srv
Failed to init LibVMI library

Here, ub20srv is a ubuntu 20 server VM which I can configured according to the steps shown here.

Any suggestions on how I could resolve this?

@tklengyel
Copy link

You don't need to run win-guid on an Ubuntu VM.

@tklengyel
Copy link

You want to use dwarf2json to generate Linux jsons: https://github.com/volatilityfoundation/dwarf2json

@SaiHarshaK
Copy link
Author

I tried to do that but i was getting the following error:

$ sudo ./dwarf2json linux --elf /boot/vmlinuz-4.15.0-136-generic > output.json
Failed linux processing: could not open /boot/vmlinuz-4.15.0-136-generic: bad magic number '[77 90 234 7]' in record at byte 0x0

Do I need to download any specific version of vmlinuz?

Also, I wasn't sure where I could ask this but I'm curious if VMI works only for x86 VMs or cross-machine emulations too?

@tklengyel
Copy link

Yes, you need the kernel version with the dwarf debug symbols present. The normal kernel versions have those stripped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants