25 #define AGENT_HCALL_FETCH_CMD 1 26 #define AGENT_HCALL_FETCH_CHUNK 2 27 #define AGENT_HCALL_MOD_BASE 3 28 #define AGENT_HCALL_OWN_BASE 4 29 #define AGENT_HCALL_VE 5 30 #define AGENT_HCALL_PT 6 31 #define AGENT_HCALL_VCPUID 7 32 #define AGENT_HCALL_SYS_LNK 9 36 #define AGENT_HCALL_ERROR ((DWORD)-1) 38 #define AGENT_MAX_COMMAND_LINE_LENGTH 1024 39 #define AGENT_MAX_AGENT_NAME_LENGTH 32 60 #define AGENT_COMMAND_VERSION 3 A single breakpoint will be injected.
#define AGENT_MAX_AGENT_NAME_LENGTH
unsigned int Agid
Internal use; IT'S NOT the agent tag.
unsigned int Size
The size of the agent.
unsigned int Type
The agent type. One of AGENT_TYPE.
A driver will be injected and started inside the kernel. NOT USED!
unsigned long long Pointer
A pointer to the agent contents in guest memory.
struct _AGENT_COMMAND * PAGENT_COMMAND
A DLL will be injected inside a process. NOT USED!
enum _AGENT_TYPE AGENT_TYPE
unsigned int Flags
Note used.
A binary blob of code will be injected and started in the kernel. NOT USED!
char Args[AGENT_MAX_COMMAND_LINE_LENGTH]
Command line arguments used by the injected process. It is limited to AGENT_MAX_COMMAND_LINE_LENGTH b...
unsigned int Version
Structure version. Check out AGENT_COMMAND_VERSION.
char Name[AGENT_MAX_AGENT_NAME_LENGTH]
The agent name. This will be the file name or the process name.
#define AGENT_MAX_COMMAND_LINE_LENGTH
Process agent. A process will be injected & started inside the guest.
unsigned int Pid
The process PID from which to start a process agent.
unsigned int Synched
Always FALSE for now. Will not wait for the process agent to finish.
File agent. A file will be dropped inside the guest.
struct _AGENT_COMMAND AGENT_COMMAND