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_fpos.py
Python · 1,541 bytesimport sys
sys.path.insert(0, 'pylibs')
import struct
from capstone import Cs, CS_ARCH_ARM, CS_MODE_ARM
with open('kernel_raw.bin', 'rb') as f:
data = f.read()
BASE = 0xC0008000
md = Cs(CS_ARCH_ARM, CS_MODE_ARM)
# Search for str to [rN, #0x44] which is likely f_pos
# Also check [rN, #0x3c] which would be f_pos if f_pos_lock is 16 bytes
print("=== Searching for f_pos writes (str to [rN, #0x44] or [rN, #0x3c]) ===")
for offset in [0x3c, 0x40, 0x44, 0x48]:
count = 0
for i in range(0xc0300000-BASE, 0xc0320000-BASE, 4):
inst = struct.unpack('<I', data[i:i+4])[0]
# str rX, [rY, #offset]
if (inst & 0x0ff70fff) == (0x05800000 | offset):
addr = BASE + i
print(f" str to [r{((inst>>16)&0xf)}, #0x{offset:x}] at 0x{addr:08x}")
code = data[i-8:i+12]
for ins in md.disasm(code, addr-8):
print(f' 0x{ins.address:08x}: {ins.mnemonic}\t{ins.op_str}')
print()
count += 1
if count >= 5:
break
# Also look at default_llseek to find f_pos offset
# Search for "default_llseek" or look at the code at 0xc0305bf4
print("\n=== Code at 0xc0305bf4 (default_llseek?) ===")
code = data[0xc0305bf4-BASE:0xc0305bf4-BASE+0x100]
for ins in md.disasm(code, 0xc0305bf4):
print(f' 0x{ins.address:08x}: {ins.mnemonic}\t{ins.op_str}')
if ins.mnemonic.startswith('pop') and 'pc' in ins.op_str:
break
if ins.mnemonic == 'bx' and 'lr' in ins.op_str and ins.address > 0xc0305c00:
break