Advertisement
FlyFar

dropper_config.h

Feb 19th, 2023
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | Cybersecurity | 0 0
  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3.  
  4. #include "StdAfx.h"
  5.  
  6. // Various keys
  7. #define X_CORE_KEY      (BYTE )0x96         // Core XOR encryption key
  8. #define X_PTR_KEY       (DWORD)0xAE1979DD   // Pointer XOR key
  9. #define X_STRING_KEY    (WORD )0xAE12       // String XOR encryption key
  10.  
  11. // Module encryption config
  12. #define X_SIGNATURE     (DWORD)0xAE39120D   // Signature located before the header
  13. #define X_SECTION_NAME  ".stub"             // Section name where the module is located
  14.  
  15. // Module activation config
  16. #define ENTRY_FUNC      (LPCSTR)15          // Module's function to call in order to activate the main routine
  17.  
  18. // Macro for debug print
  19. #ifdef _DEBUG
  20. #   define DEBUG_P(s) { OutputDebugString(TEXT(s"\n")); }
  21. #else
  22. #   define DEBUG_P(s)
  23. #endif // DEBUG
  24.  
  25. #endif // CONFIG_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement