Exploit databaseDownload repository ZIP
GH-14fb583d3d1bd2da10251bb1a37b93d6
gitchw/ghostlock-cve-2026-43499
Sources for CVE-2026-43499
166 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_config.py
Python · 1,961 bytesimport sys
sys.path.insert(0, 'pylibs')
import struct, re
with open('kernel_raw.bin', 'rb') as f:
data = f.read()
BASE = 0xC0008000
# Search for mark_rodata_ro or related functions
# In ARM32, this function modifies PTE entries to make rodata read-only
# It typically iterates over page tables and changes permissions
# Search for strings related to rodata protection
for pattern in [b'rodata', b'write protect', b'KERNEL_RWX', b'strict_kern',
b'set_pte_at', b'pmd_populate', b'section mapping']:
for m in re.finditer(pattern, data):
off = m.start()
addr = BASE + off
s = b''
for b in data[off:off+80]:
if 32 <= b < 127:
s += bytes([b])
else:
break
if s and len(s) > 5:
print(f" 0x{addr:08x}: {s.decode('ascii', errors='replace')}")
# Let's check the kernel's build configuration
# Search for "CONFIG_DEBUG_RODATA" or "CONFIG_STRICT_KERNEL_RWX" in embedded config
for pattern in [b'CONFIG_DEBUG_RODATA', b'CONFIG_STRICT_KERNEL_RWX',
b'CONFIG_DEBUG_ALIGN_RODATA', b'CONFIG_CPU_SW_DOMAIN_PAN']:
for m in re.finditer(pattern, data):
off = m.start()
addr = BASE + off
s = b''
for b in data[off:off+80]:
if 32 <= b < 127:
s += bytes([b])
else:
break
print(f" 0x{addr:08x}: {s.decode('ascii', errors='replace')}")
# Also search for PAN/SMAP related configs
for pattern in [b'CONFIG_CPU_TTBR0', b'CONFIG_CPU_SW_DOMAIN', b'CONFIG_CPU_PABRT',
b'CONFIG_ARM_PATCH']:
for m in re.finditer(pattern, data):
off = m.start()
addr = BASE + off
s = b''
for b in data[off:off+80]:
if 32 <= b < 127:
s += bytes([b])
else:
break
if s:
print(f" 0x{addr:08x}: {s.decode('ascii', errors='replace')}")