mirror-ac/driver/integrity.h

34 lines
605 B
C
Raw Normal View History

2023-08-22 19:32:25 +02:00
#ifndef INTEGRITY_H
#define INTEGRITY_H
#include <ntifs.h>
2023-09-02 15:47:15 +02:00
#include "common.h"
2023-08-22 19:32:25 +02:00
2023-09-04 15:36:26 +02:00
#define SMBIOS_TABLE 'RSMB'
#define SMBIOS_SYSTEM_INFORMATION_TYPE_2_TABLE 2
#define NULL_TERMINATOR '\0'
#define MOTHERBOARD_SERIAL_CODE_TABLE_INDEX 7
2023-08-22 19:32:25 +02:00
NTSTATUS CopyDriverExecutableRegions(
_In_ PIRP Irp
);
2023-08-23 14:14:20 +02:00
NTSTATUS GetDriverImageSize(
_In_ PIRP Irp
);
2023-08-31 18:42:38 +02:00
NTSTATUS VerifyInMemoryImageVsDiskImage(
2023-09-01 13:46:31 +02:00
//_In_ PIRP Irp
2023-08-31 18:42:38 +02:00
);
NTSTATUS RetrieveInMemoryModuleExecutableSections(
_In_ PIRP Irp
);
2023-09-04 15:36:26 +02:00
NTSTATUS ParseSMBIOSTable(
_In_ PVOID ConfigMotherboardSerialNumber,
_In_ SIZE_T ConfigMotherboardSerialNumberSize
);
#endif