mirror of
https://github.com/benheise/TitanLdr
synced 2026-06-06 15:14:33 +00:00
43 lines
653 B
C
43 lines
653 B
C
/**
|
|
*
|
|
* Reflective Loader
|
|
*
|
|
* GuidePoint Security LLC
|
|
*
|
|
* Threat and Attack SimulatioN
|
|
*
|
|
**/
|
|
|
|
#pragma once
|
|
|
|
/*!
|
|
*
|
|
* Purpose:
|
|
*
|
|
* Resolves the required imports and fills
|
|
* in their respective entries.
|
|
*
|
|
!*/
|
|
|
|
D_SEC( E ) VOID LdrProcessIat( _In_ PVOID Image, _In_ PVOID Directory );
|
|
|
|
/*!
|
|
*
|
|
* Purpose:
|
|
*
|
|
* Relocates the PE based on its relative base.
|
|
*
|
|
!*/
|
|
|
|
D_SEC( E ) VOID LdrProcessRel( _In_ PVOID Image, _In_ PVOID Directory, _In_ PVOID ImageBase );
|
|
|
|
/*!
|
|
*
|
|
* Purpose:
|
|
*
|
|
* Applies a hook the import table of a PE.
|
|
*
|
|
!*/
|
|
|
|
D_SEC( E ) VOID LdrHookImport( _In_ PVOID Image, _In_ PVOID Directory, _In_ ULONG Hash, _In_ PVOID Function );
|