Bitdefender Hypervisor Memory Introspection
|
This file contains Windows Kernel Driver and Driver Object related protection options. More...
#include "drivers.h"
#include "windrvobj.h"
#include "guests.h"
#include "winguest.h"
#include "windrv_protected.h"
Go to the source code of this file.
Functions | |
static const PROTECTED_MODULE_INFO * | IntWinDrvGetProtInfoByName (const PROTECTED_MODULE_INFO *Info, size_t InfoSize, const WCHAR *Name) |
Perform a search for a driver by name in an array of protected kernel modules. More... | |
static const PROTECTED_MODULE_INFO * | IntWinDrvObjGetProtInfoByName (const PROTECTED_MODULE_INFO *Info, size_t InfoSize, const WCHAR *Name) |
Perform a search for a driver object by name in an array of protected kernel modules. More... | |
const PROTECTED_MODULE_INFO * | IntWinDrvIsProtected (const KERNEL_DRIVER *Driver) |
Get the protected module information for a kernel driver. More... | |
const PROTECTED_MODULE_INFO * | IntWinDrvObjIsProtected (const WIN_DRIVER_OBJECT *Driver) |
Get the protected module information for a kernel driver object. More... | |
BOOLEAN | IntWinDrvHasDriverObject (const KERNEL_DRIVER *Driver) |
Check wether a kernel driver has a driver object that we care to protect. More... | |
BOOLEAN | IntWinDrvIsProtectedAv (const WCHAR *Driver) |
Check wether a kernel driver is a known and protected antivirus. More... | |
BOOLEAN | IntWinDrvObjIsProtectedAv (const WCHAR *DrvObj) |
Checks if a driver object belongs to a known and protected antivirus. More... | |
Variables | |
static const PROTECTED_MODULE_INFO | gNtModule |
Describe protection information for the NT Kernel. More... | |
static const PROTECTED_MODULE_INFO | gHalModule |
Describe protection information for HAL. More... | |
static const PROTECTED_MODULE_INFO | gCoreModules [] |
Describe protection information for the core Kernel modules. More... | |
static const PROTECTED_MODULE_INFO | gAvModules [] |
Describe protection information for antivirus Kernel modules. More... | |
static const PROTECTED_MODULE_INFO | gXenModules [] |
Describe protection information for XEN Kernel modules. More... | |
This file contains Windows Kernel Driver and Driver Object related protection options.
Definition in file windrv_protected.c.
|
static |
Perform a search for a driver by name in an array of protected kernel modules.
[in] | Info | The array of protected modules to search into. |
[in] | InfoSize | The number of elements in the array. |
[in] | Name | The name of the driver to search for. |
Definition at line 421 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected(), and IntWinDrvIsProtectedAv().
BOOLEAN IntWinDrvHasDriverObject | ( | const KERNEL_DRIVER * | Driver | ) |
Check wether a kernel driver has a driver object that we care to protect.
[in] | Driver | Pointer to a kernel driver to be checked. |
Definition at line 577 of file windrv_protected.c.
Referenced by IntWinDrvCreateFromAddress().
const PROTECTED_MODULE_INFO* IntWinDrvIsProtected | ( | const KERNEL_DRIVER * | Driver | ) |
Get the protected module information for a kernel driver.
[in] | Driver | Pointer to a kernel driver for which to search a protection information. |
Definition at line 484 of file windrv_protected.c.
Referenced by IntWinDrvCreateFromAddress(), IntWinDrvHasDriverObject(), and IntWinDrvUpdateProtection().
Check wether a kernel driver is a known and protected antivirus.
[in] | Driver | Pointer to a WCHAR string describing the drivers name. |
Definition at line 595 of file windrv_protected.c.
Referenced by IntAlertEptFillFromVictimZone().
|
static |
Perform a search for a driver object by name in an array of protected kernel modules.
[in] | Info | The array of protected modules to search into. |
[in] | InfoSize | The number of elements in the array. |
[in] | Name | The name of the driver object to search for. |
Definition at line 450 of file windrv_protected.c.
Referenced by IntWinDrvObjIsProtected(), and IntWinDrvObjIsProtectedAv().
const PROTECTED_MODULE_INFO* IntWinDrvObjIsProtected | ( | const WIN_DRIVER_OBJECT * | Driver | ) |
Get the protected module information for a kernel driver object.
[in] | Driver | Pointer to a driver object for which to search a protection information. |
Definition at line 536 of file windrv_protected.c.
Referenced by IntWinDrvObjCreateFromAddress(), and IntWinDrvObjUpdateProtection().
Checks if a driver object belongs to a known and protected antivirus.
[in] | DrvObj | Pointer to a WCHAR string describing the driver objects name. |
Definition at line 611 of file windrv_protected.c.
Referenced by IntAlertEptFillFromVictimZone().
|
static |
Describe protection information for antivirus Kernel modules.
Definition at line 177 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected(), and IntWinDrvObjIsProtected().
|
static |
Describe protection information for the core Kernel modules.
Definition at line 37 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected(), and IntWinDrvObjIsProtected().
|
static |
Describe protection information for HAL.
Definition at line 28 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected().
|
static |
Describe protection information for the NT Kernel.
Definition at line 19 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected().
|
static |
Describe protection information for XEN Kernel modules.
Definition at line 309 of file windrv_protected.c.
Referenced by IntWinDrvIsProtected(), and IntWinDrvObjIsProtected().