IntelLabs / IntelLabs/kAFL

TNT decoder returned: decoder_error

Open
#236 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
814
Forks
109
PR merge metrics
No merged PRs in 30d

Description

The fuzzer is working and reports coverage and finds the bug from the windows kernel example.

When I perform `fuzz cov` I receive the following error coming from [[here]](https://github.com/nyx-fuzz/libxdc/blob/master/src/decoder.c#L930)

My system has a i7-1360P and I do not know if intel has done some updates on the instructions or in general they have start using know an unknown or somewhat not used "pt-instruction" more?

Is it possible to give me a hint on what might be the fault, so I can look for it ? The error is 90% coming from libxdc ? Should I check how Intel-PT works ?

Thank you !

Also check this commits from libipt [[here](https://github.com/intel/libipt/commit/c91ee4faeec3fde5440fcfca8b15bb418142a065)][[here](https://github.com/intel/libipt/commit/64780d0a6d2e1e303785663eae599857b3ae2587)]

```
0xfffff803444d0000 0xfffff803444d7000 \??\C:\Users\vagrant\Desktop\src\kafl_vulnerable_driver\x64\Debug\kAFL vulnerable driver\kAFLvulnerabledriver.sys
herecess-1: 0%| | 0/6 [00:00
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

Processing payload_00002..
ptdump of payload_00002 failed with return code 1. Output:

ERR: TNT 12 at position <0xfffff803444d1574,0xfffff8033a02a6b5>
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

Processing payload_00003..
ptdump of payload_00003 failed with return code 1. Output:

ERR: TNT 12 at position <0xfffff803444d1574,0xfffff8033a02a6b5>
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

Processing payload_00004..
ptdump of payload_00004 failed with return code 1. Output:

ERR: TNT 9 at position <0xfffff803444d1574,0xfffff8033a02a6b5>
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

Processing payload_00005..
ptdump of payload_00005 failed with return code 1. Output:

ERR: TNT 13 at position <0xfffff803444d1574,0xfffff8033a02a6b5>
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

Processing payload_00006..
ptdump of payload_00006 failed with return code 1. Output:

ERR: TNT 14 at position <0xfffff803444d1574,0xfffff8033a02a6b5>
[*] decoder returned: decoder_error
[*] page fault addr: 0x0

```

```
/home/user/kAFL/kafl/qemu/x86_64-softmmu/qemu-system-x86_64
-enable-kvm
-machine kAFL64-v1
-cpu kAFL64-Hypervisor-v1,+vmx
-no-reboot
-net none
-display none
-chardev socket,server,id=nyx_socket,path=/dev/shm/kafl_user_Process-1/interface_1337
-device nyx,chardev=nyx_socket,workdir=/dev/shm/kafl_user_Process-1,worker_id=1337,bitmap_size=65536,input_buffer_size=131072,dump_pt_trace,ip0_a=0xfffff8006dc20000,ip0_b=0xfffff8006dc27000
-device isa-serial,chardev=kafl_serial
-chardev file,id=kafl_serial,mux=on,path=/dev/shm/kafl_user_Process-1/serial_1337.log
-m 4096
-drive file=/home/user/.local/share/libvirt/images/windows_x86_64_vagrant-kafl-windows.img
-monitor unix:/tmp/monitor.sock,server,nowait
-fast_vm_reload path=/dev/shm/kafl_user_Process-1/snapshot/,load=off

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.