Add 7.61 HV exploit.

This commit is contained in:
Andy Nguyen
2026-06-30 10:44:21 +02:00
parent 5a5aab694b
commit 975e57ccd2
16 changed files with 421 additions and 6 deletions

View File

@@ -20,7 +20,8 @@
// This is used as transitional storage from ProsperoOS to Kernel shellcode
#define kernel_cave 0xFFFF800000000000
#define kernel_cave_shellcode kernel_cave
#define kernel_cave_files kernel_cave_shellcode + PAGE_SIZE + PAGE_SIZE
#define kernel_cave_shellcode_0761 kernel_cave_shellcode + PAGE_SIZE + PAGE_SIZE
#define kernel_cave_files kernel_cave_shellcode_0761 + PAGE_SIZE
#define kernel_cave_linux_info kernel_cave_files
#define kernel_cave_bzImage kernel_cave_linux_info + PAGE_SIZE

8
include/hv_defeat_0607.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef HV_DEFEAT_0607_H
#define HV_DEFEAT_0607_H
#include <stddef.h>
int hv_defeat_0607(void *shellcode_kernel, size_t shellcode_kernel_len);
#endif

View File

@@ -20,10 +20,13 @@ typedef struct _offset_list {
uint64_t FUN_MEMCPY;
uint64_t GAD_ADD_RSP_28_POP_RBP_RET;
uint64_t GAD_IRETQ;
uint64_t GAD_POP_RAX_RET;
uint64_t GAD_POP_RDI_RET;
uint64_t GAD_POP_RSI_RET;
uint64_t GAD_POP_RDX_RET;
uint64_t GAD_POP_RCX_RET;
uint64_t GAD_POP_RSP_RET;
uint64_t GAD_WRMSR_RET;
uint64_t GAD_MOV_QWORD_PTR_RDI_RSI_POP_RBP_RET;
/* Shellcode Kernel */
uint64_t HOOK_ACPI_WAKEUP_MACHDEP;
@@ -63,5 +66,6 @@ extern offset_list off_0510;
extern offset_list off_0550;
extern offset_list off_0600;
extern offset_list off_0602;
extern offset_list off_0761;
#endif