[panda-users] assertion failure during replay

Qian, Feng fengqian at indiana.edu
Thu Jun 25 15:52:10 EDT 2015


Hello,

I am a new user to Panda, and I am reproducing the SSL/TLS key extraction experiment by following this tutorial:
https://github.com/moyix/panda/blob/master/docs/panda_ssltut.md

I'm using Ubuntu 14.10 as the guest OS in QEMU. In the key searching phase, I got an assertion failure in kvm.c (see below). My recording was successfully made with KVM turned on (otherwise it was unacceptably slow).

Thanks for help,
Feng




root at fengqian-MacBookPro:/home/fengqian/qemu# cat ./replay.sh
#!/bin/bash

echo "begin_replay ssltut" | ./qemu -m 2048 -hda ubuntu.img -net user -net nic,model=e1000 -monitor stdio -vnc :0 -panda-plugin /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_callstack_instr.so -panda-plugin /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_keyfind.so -enable-kvm

root at fengqian-MacBookPro:/home/fengqian/qemu# ./replay.sh
adding /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_callstack_instr.so to panda_plugin_files 0
adding /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_keyfind.so to panda_plugin_files 1
loading /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_callstack_instr.so
Initializing plugin callstack_instr
Success
loading /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_keyfind.so
Initializing plugin keyfind
Couldn't open keyfind_candidates.txt; no key tap candidates defined.
We will proceed, but it may be SLOW.
Unknown key: Ciphersuite
Unknown key: Session-ID
Success
QEMU 1.0,1 monitor - type 'help' for more information
(qemu) begin_replay ssltut
(qemu) loading snapshot
qemu: /home/fengqian/panda-master/qemu/target-i386/kvm.c:1421: kvm_arch_put_registers: Assertion `cpu_is_stopped(env) || qemu_cpu_is_self(env)' failed.
./replay.sh: line 3:  6326 Done                    echo "begin_replay ssltut"
      6327 Aborted                 (core dumped) | ./qemu -m 2048 -hda ubuntu.img -net user -net nic,model=e1000 -monitor stdio -vnc :0 -panda-plugin /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_callstack_instr.so -panda-plugin /home/fengqian/panda-master/qemu/x86_64-softmmu/panda_plugins/panda_keyfind.so -enable-kvm


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20150625/f9731f34/attachment.htm


More information about the panda-users mailing list