Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

168 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/check_rwx4.py

Python · 1,542 bytes
import sys
sys.path.insert(0, 'pylibs')
import struct

with open('kernel_raw.bin', 'rb') as f:
    data = f.read()
BASE = 0xC0008000

# Dump the protection region table around 0xc1b13940
print("=== Protection region table ===")
for i in range(0xc1b13940-BASE, 0xc1b13a00-BASE, 4):
    val = struct.unpack('<I', data[i:i+4])[0]
    addr = BASE + i
    # Try to interpret as string
    s = ""
    if 0xc1000000 <= val < 0xc1c00000:
        off = val - BASE
        if 0 < off < len(data):
            end = data.find(b'\x00', off)
            if 0 < end - off < 80:
                try:
                    s = data[off:end].decode('ascii')
                    if s.isprintable():
                        s = f' "{s}"'
                except:
                    s = ""
    print(f"  0x{addr:08x}: 0x{val:08x}{s}")

# Also look for "NX" protection regions
print("\n=== Searching for NX region names ===")
for pattern in [b'pre-text NX', b'text NX', b'data NX', b'kernel NX', b'module NX',
                b'vmalloc NX', b'NXR', b'RO', b'RWX', b'NX ']:
    idx = 0
    while True:
        idx = data.find(pattern, idx)
        if idx < 0 or idx > 0x1800000:
            break
        start = idx
        while start > 0 and data[start-1] >= 0x20 and data[start-1] < 0x7f:
            start -= 1
        end = data.find(b'\x00', idx)
        if end - start < 80:
            s = data[start:end].decode('ascii', errors='replace')
            if 'NX' in s or 'RO' in s:
                print(f"  0x{BASE+start:08x}: \"{s}\"")
        idx = end + 1