kAFL icon indicating copy to clipboard operation
kAFL copied to clipboard

Execute loader binary as root but VM didn't freeze

Open cirrus528 opened this issue 6 years ago • 3 comments

Hi, have followed the steps provided to configure kAFL. However, I have encounter problems.

Current Host Architecture: Ubuntu 16.04 64-bit

On the "executing loader binary" step, I execute loader binary as root but VM didn't freeze.

When i boot into Kernel 4.6.2 (Stated in the ./install.sh), I tried running the VM with compiled QEMU, it shows the following error: image

However, if I use back my original kernel, I can run the VM successfully, but face the same problem as stated in #7. I'm using the patched QEMU-PT executable in "/qemu-2.9.0/x86_64-softmmu/qemu-system-x86_64".

Can I check with you on the command to show whether KVM-PT kernel is loaded?

Much appreciated for someone's help thanks!

cirrus528 avatar Jan 02 '19 07:01 cirrus528

You can check if KVM-PT is loaded through the output of dmesg as in vmx-pt.c

chitoge avatar Jan 09 '19 02:01 chitoge

I encounter the same problem, do you solve it? If ok, how? Much appreciated for someone's help thanks!

gitubee avatar Oct 28 '20 08:10 gitubee

The situation I encountered is exactly the same as yours, I don't know how you can solve it?

IronmanJay avatar Jun 04 '23 03:06 IronmanJay