mirror of
https://github.com/wavestone-cdt/EDRSandblast.git
synced 2026-06-11 01:41:20 +00:00
D3FC0N 30 release: Obj callbacks, firewalling, symbols w/ internet, and more
Co-authored-by: Maxime Meignan <maxime.meignan@wavestone.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#include <Windows.h>
|
||||
#include <tchar.h>
|
||||
|
||||
#include "../EDRSandblast.h"
|
||||
#include "Undoc.h"
|
||||
|
||||
typedef struct _MODULE_INFO {
|
||||
struct _MODULE_INFO* next;
|
||||
ULONG64 dllBase;
|
||||
ULONG32 ImageSize;
|
||||
WCHAR dllName[256];
|
||||
ULONG32 nameRVA;
|
||||
ULONG32 timeDateStamp;
|
||||
ULONG32 checkSum;
|
||||
} MODULE_INFO, * PMODULE_INFO;
|
||||
|
||||
typedef struct _MEMORY_PAGE_INFO {
|
||||
struct _MEMORY_PAGE_INFO* next;
|
||||
ULONG64 startOfMemoryPage;
|
||||
ULONG64 dataSize;
|
||||
DWORD state;
|
||||
DWORD protect;
|
||||
DWORD type;
|
||||
} MEMORY_PAGE_INFO, * PMEMORY_PAGE_INFO;
|
||||
|
||||
PVOID GetRVA(ULONG_PTR baseAddress, ULONG_PTR RVA);
|
||||
|
||||
// Return a pointer to the target process PEB Ldr (as a pseudo LDR_DATA_TABLE_ENTRY).
|
||||
PLDR_DATA_TABLE_ENTRY getPebLdrAddress(HANDLE hProcess);
|
||||
|
||||
// Return a module info list of loaded moduler in InMemoryOrder.
|
||||
PMODULE_INFO getModulesInLdrByInMemoryOrder(HANDLE hProcess);
|
||||
|
||||
PMEMORY_PAGE_INFO getMemoryPagesInfo(HANDLE hProcess, BOOL filterPage);
|
||||
Reference in New Issue
Block a user