Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

164 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files678
gitchw/ghostlock-cve-2026-43499Revision 96acd93156f6
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

analysis/disasm_8b28.py

Python · 1,289 bytes
import 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)

def dec_imm(w):
    im = w & 0xFF
    r = (w >> 8) & 0xF
    if r:
        im = ((im >> (r*2)) | (im << (32-r*2))) & 0xFFFFFFFF
    return im

# Full disassembly of 0xc01c8b28
print("=== 0xc01c8b28 FULL ===")
addr = 0xc01c8b28
code = data[addr-BASE:addr-BASE+0x400]
for ins in md.disasm(code, addr):
    w = struct.unpack('<I', data[ins.address-BASE:ins.address-BASE+4])[0]
    print(f'  0x{ins.address:08x}: {ins.mnemonic}\t{ins.op_str}')
    if ins.mnemonic in ('pop', 'ldm') and 'pc' in ins.op_str:
        break
    if ins.mnemonic == 'bx' and 'lr' in ins.op_str:
        break

# Also check 0xc01c8980 (syscall 79) to identify it
print("\n=== 0xc01c8980 (syscall 79) - first 0x100 bytes ===")
addr = 0xc01c8980
code = data[addr-BASE:addr-BASE+0x200]
for ins in md.disasm(code, addr):
    w = struct.unpack('<I', data[ins.address-BASE:ins.address-BASE+4])[0]
    print(f'  0x{ins.address:08x}: {ins.mnemonic}\t{ins.op_str}')
    if ins.mnemonic in ('pop', 'ldm') and 'pc' in ins.op_str:
        break
    if ins.mnemonic == 'bx' and 'lr' in ins.op_str:
        break