Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
164 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/check_css_frame.py
Python · 2,041 bytes#!/usr/bin/env python3
"""Get exact frame of core_sys_select and check all high stack accesses."""
from capstone import Cs, CS_ARCH_ARM, CS_MODE_ARM
import re
KERNEL = r"F:\phone\ow251\全量包\kernel_raw.bin"
BASE = 0xC0008000
with open(KERNEL, "rb") as f:
data = f.read()
md = Cs(CS_ARCH_ARM, CS_MODE_ARM)
# core_sys_select prologue
print("=== core_sys_select prologue ===")
off = 0xc031d980 - BASE
for i, insn in enumerate(md.disasm(data[off:off+32], 0xc031d980)):
print(f" 0x{insn.address:08x}: {insn.mnemonic:10s} {insn.op_str}")
if i > 10:
break
# Find epilogue
print("\n=== core_sys_select epilogue ===")
off = 0xc031d980 - BASE
for insn in md.disasm(data[off:off+0x2000], 0xc031d980):
if insn.mnonym if hasattr(insn, 'mnonym') else insn.mnemonic == 'add' and 'sp, sp, #' in insn.op_str:
print(f" 0x{insn.address:08x}: {insn.mnemonic:10s} {insn.op_str}")
if insn.mnemonic == 'pop' and 'pc' in insn.op_str:
print(f" 0x{insn.address:08x}: {insn.mnemonic:10s} {insn.op_str}")
break
# All stack accesses >= 0x300
print("\n=== core_sys_select all sp accesses >= 0x300 ===")
off = 0xc031d980 - BASE
for insn in md.disasm(data[off:off+0x2000], 0xc031d980):
m = re.search(r'\[sp, #(0x[0-9a-f]+|\d+)\]', insn.op_str)
if m:
val = int(m.group(1), 0)
if val >= 0x300:
print(f" 0x{insn.address:08x}: {insn.mnemonic:10s} {insn.op_str}")
if insn.mnemonic == 'pop' and 'pc' in insn.op_str:
break
# Also check add rX, sp, #>=0x300
print("\n=== core_sys_select 'add rX, sp, #>=0x300' ===")
off = 0xc031d980 - BASE
for insn in md.disasm(data[off:off+0x2000], 0xc031d980):
if insn.mnemonic == 'add' and 'sp' in insn.op_str and '#' in insn.op_str:
m = re.search(r'#(0x[0-9a-f]+|\d+)', insn.op_str)
if m:
val = int(m.group(1), 0)
if val >= 0x300:
print(f" 0x{insn.address:08x}: {insn.mnemonic:10s} {insn.op_str}")
if insn.mnemonic == 'pop' and 'pc' in insn.op_str:
break