Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
165 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files678
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
- ↑..Parent directory
- analyze_copy_funcs.py
- analyze_func2.py
- analyze_select.py
- analyze_stack.py
- analyze_stamps.py
- analyze_stamps2.py
- analyze_syscall.py
- analyze_targets.py
- analyze_vector.py
- bfs_stamp_search.py
- calc_overlap.py
- chain_disasm.txt
- check_288.py
- check_4e8.py
- check_9978.py
- check_adjtimex.py
- check_adjust_call.py
- check_adjust_pi.py
- check_adjust_pi2.py
- check_adjust_prio.py
- check_after_enqueue.py
- check_ashmem_funcs.py
- check_bc24.py
- check_bfi.py
- check_bind_wrapper.py
- check_bitmap.py
- check_bugons.py
- check_caller.py
- check_candidate.py
- check_candidates.py
- check_capable.py
- check_chain2.py
- check_cleanup.py
- check_cleanup2.py
- check_cleanup_funcs.py
- check_code_ptr.py
- check_comm_tail.py
- check_commit_creds.py
- check_config.py
- check_copy_funcs.py
- check_cred_overwrite.py
- check_css_frame.py
- check_dequeue.py
- check_dequeue_funcs.py
- check_e9248_path.py
- check_e9248_path2.py
- check_e9248_safe.py
- check_edeadlk_handler.py
- check_edeadlk_path.py
- check_enqueue_full.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
analysis/find_hook_entry.py
Python · 2,061 bytesimport sys
sys.path.insert(0, 'pylibs')
import struct
with open('kernel_raw.bin', 'rb') as f:
data = f.read()
BASE = 0xC0008000
# Search for 0xc0472a40 in data section (security_hook_list entries)
target = 0xc0472a40
target_bytes = struct.pack('<I', target)
print(f"=== Searching for 0x{target:08x} in data ===")
idx = 0
while True:
idx = data.find(target_bytes, idx)
if idx < 0:
break
addr = BASE + idx
if 0xc1000000 <= addr < 0xc1c00000:
# Check if this looks like a security_hook_list (hook at offset 8 or 12)
for off in [8, 12, 0, 4, 16]:
if idx >= off:
ctx = struct.unpack('<I', data[idx-off:idx-off+4])[0]
print(f" Found at 0x{addr:08x}, context[-{off}] = 0x{ctx:08x}")
# Print surrounding data
print(f" Context:")
for j in range(-8, 24, 4):
v = struct.unpack('<I', data[idx+j:idx+j+4])[0]
tag = ""
if 0xc0008000 <= v < 0xc1000000: tag = " <code>"
elif 0xc1000000 <= v < 0xc1c00000:
tag = " <data>"
if v-BASE < len(data):
sb = data[v-BASE:v-BASE+32]
null = sb.find(b'\x00')
if null > 0 and all(32 <= b < 127 for b in sb[:null]):
tag += f' "{sb[:null].decode()}"'
print(f" {j:+4d}: 0x{v:08x}{tag}")
idx += 1
# Also search for 0xc0472a54
target2 = 0xc0472a54
target_bytes2 = struct.pack('<I', target2)
print(f"\n=== Searching for 0x{target2:08x} in data ===")
idx = 0
while True:
idx = data.find(target_bytes2, idx)
if idx < 0:
break
addr = BASE + idx
if 0xc1000000 <= addr < 0xc1c00000:
print(f" Found at 0x{addr:08x}")
for j in range(-8, 24, 4):
v = struct.unpack('<I', data[idx+j:idx+j+4])[0]
tag = ""
if 0xc0008000 <= v < 0xc1000000: tag = " <code>"
elif 0xc1000000 <= v < 0xc1c00000: tag = " <data>"
print(f" {j:+4d}: 0x{v:08x}{tag}")
idx += 1