h3xduck d5478ed7a0 Added more communication utils between userspace and kernel:
* Included maps and kernel ring buffer communication
* Extended the ebpf structure to include more modules
* New utils in both user and kernelspace
* Other changes
* This update precedes a great effort on researching and learning and linux kernel tracing and studing ebpfkit from defcon. More functionalities should come rather quickly now.
2021-12-29 14:44:09 -05:00
2021-10-27 22:29:57 +02:00
2021-11-10 11:03:36 +01:00
2021-11-10 14:02:36 +01:00
2021-11-28 02:01:56 +01:00

TFG

Build and run

cd src
make
sudo ./bin/xdp_filter -t <network interface>

Network interface used for PoC: lo

PoC 0 - Modifying incoming traffic

Option 1: With netcat

Terminal 1:

nc -l 9000

Terminal 2:

echo -n "XDP_PoC_0" | nc 127.0.0.1 9000

Option 2: With the in-built client

cd src/client
sudo ./injector -S 127.0.0.1
Description
Languages
C 95.5%
Shell 3.3%
Makefile 0.6%
CMake 0.4%