|
Bitdefender Hypervisor Memory Introspection
|
This file handles command line scanning. More...
Go to the source code of this file.
Functions | |
| static INTSTATUS | IntLixCmdLineSendViolationEvent (ENG_NOTIFICATION_CMD_LINE *EngineNotification) |
| Send a command line violation event. More... | |
| INTSTATUS | IntLixCmdLineInspect (LIX_TASK_OBJECT *Task) |
| Send a command line scan request to the scan engines. More... | |
| INTSTATUS | IntLixHandleCmdLineCallback (ENG_NOTIFICATION_CMD_LINE *EngineNotification) |
| Send a command line violation event. More... | |
This file handles command line scanning.
Introcore may request the AV engines to scan the command line of certain processes. 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 lixcmdline.c.
| INTSTATUS IntLixCmdLineInspect | ( | LIX_TASK_OBJECT * | Task | ) |
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] | Task | The process structure (it contains the command line and other fields). |
| INT_STATUS_SUCCESS | On success. |
| INT_STATUS_INSUFFICIENT_RESOURCES | If the allocation fails. |
Definition at line 70 of file lixcmdline.c.
Referenced by IntLixTaskHandleExec().
|
static |
Send a command line violation event.
| [in] | EngineNotification | The engine notification containing the scan result. |
| INT_STATUS_SUCCESS | On success. |
Definition at line 23 of file lixcmdline.c.
Referenced by IntLixHandleCmdLineCallback().
| INTSTATUS IntLixHandleCmdLineCallback | ( | ENG_NOTIFICATION_CMD_LINE * | EngineNotification | ) |
Send a command line violation event.
| [in] | EngineNotification | The engine notification containing the scan result. |
| INT_STATUS_SUCCESS | On success. |
Definition at line 140 of file lixcmdline.c.
Referenced by IntEnginesResultCallback().