Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
170 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_all_104.py
Python · 1,547 bytesimport struct
from capstone import *
with open('kernel_raw.bin', 'rb') as f:
data = f.read()
BASE = 0xC0008000
md = Cs(CS_ARCH_ARM, CS_MODE_ARM)
# Search entire kernel for MOV #0x104 (260) followed within 4 instructions by a BL
# Also search for MOVW #0x104
results = []
for offset in range(0, len(data) - 4, 4):
word = struct.unpack('<I', data[offset:offset+4])[0]
val = None
rd = None
# MOV rd, #0x104
if (word & 0x0FF00000) == 0x03A00000:
imm = word & 0xFF
rot = (word >> 8) & 0xF
v = (imm >> (rot*2)) | (imm << (32 - rot*2)) if rot else imm
v &= 0xFFFFFFFF
if v == 0x104:
val = 0x104
rd = (word >> 12) & 0xF
# MOVW rd, #0x104
if (word & 0x0FF00000) == 0x03000000:
imm16 = ((word >> 16) & 0xF) << 12 | (word & 0xFFF)
if imm16 == 0x104:
val = 0x104
rd = (word >> 12) & 0xF
if val is None:
continue
# Check next 4 instructions for a BL
for j in range(1, 5):
w2 = struct.unpack('<I', data[offset+j*4:offset+j*4+4])[0]
if (w2 & 0xFF000000) == 0xEB000000:
bl_off = w2 & 0xFFFFFF
if bl_off & 0x800000:
bl_off -= 0x1000000
bl_target = BASE + offset + j*4 + 8 + bl_off * 4
results.append((BASE + offset, rd, bl_target, j))
break
print(f"Found {len(results)} MOV #0x104 followed by BL")
for va, rd, target, dist in results:
print(f" 0x{va:08x}: r{rd}=0x104 -> BL 0x{target:08x} (dist={dist})")