|
Bitdefender Hypervisor Memory Introspection
|
This file handles command line scanning. More...
Go to the source code of this file.
Functions | |
| INTSTATUS | IntWinInspectCommandLine (PWIN_PROCESS_OBJECT Process) |
| Send a command line scan request to the scan engines. More... | |
| static INTSTATUS | IntWinSendCmdLineViolation (PENG_NOTIFICATION_CMD_LINE EngineNotification) |
| Send a command line violation event. More... | |
| INTSTATUS | IntWinHandleCmdLineCallback (PENG_NOTIFICATION_CMD_LINE EngineNotification) |
| Handle a command line scan response. More... | |
This file handles command line scanning.
Introcore may request the AV engines to scan the command line of certain processes (for example, Powershell). Unfortunately, the scheduling of a command line scan could bring a considerable performance penalty so the scan will be carried out in an asynchronous fashion. If the scan scheduling was successful, the integrator must invoke the registered callback (PFUNC_IntEventEnginesResultCallback) in order to provide the scan result. For now, if a malicious command line is being used, the process will not be blocked (since the scan is asynchronous, blocking it would require the injection of an agent).
Definition in file wincmdline.c.
| INTSTATUS IntWinHandleCmdLineCallback | ( | PENG_NOTIFICATION_CMD_LINE | EngineNotification | ) |
Handle a command line scan response.
| [in] | EngineNotification | The engine notification containing the scan result. |
| INT_STATUS_SUCCESS | On success. |
Definition at line 151 of file wincmdline.c.
Referenced by IntEnginesResultCallback().
| INTSTATUS IntWinInspectCommandLine | ( | PWIN_PROCESS_OBJECT | Process | ) |
Send a command line scan request to the scan engines.
If this function succeeds, the integrator must call the PFUNC_IntEventEnginesResultCallback, otherwise a memory leak will occur.
| [in] | Process | The process structure (it contains the command line and other fields). |
| INT_STATUS_SUCCESS | On success. |
Definition at line 24 of file wincmdline.c.
Referenced by IntWinGetProcCmdLineHandleBufferInMemory().
|
static |
Send a command line violation event.
| [in] | EngineNotification | The engine notification containing the scan result. |
| INT_STATUS_SUCCESS | On success. |
Definition at line 97 of file wincmdline.c.
Referenced by IntWinHandleCmdLineCallback().