Exploit database

GH-14fb583d3d1bd2da10251bb1a37b93d6

gitchw/ghostlock-cve-2026-43499

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-43499

170 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/find_proxy_calls.py

Python · 1,880 bytes
from capstone import *
import struct
data = open(r"F:\phone\ow251\全量包\kernel_raw.bin","rb").read()
BASE = 0xC0008000
md = Cs(CS_ARCH_ARM, CS_MODE_ARM)

# Search for BL instructions targeting rt_mutex_start_proxy_lock (0xc019c2d0)
target = 0xc019c2d0
print(f"=== Searching for calls to rt_mutex_start_proxy_lock (0x{target:08x}) ===")
# Search in kernel text range
for off in range(0, len(data) - 4, 4):
    word = struct.unpack_from("<I", data, off)[0]
    if (word & 0xff000000) == 0xeb000000:
        offset24 = word & 0xffffff
        if offset24 & 0x800000:
            offset24 -= 0x1000000
        bl_addr = BASE + off
        bl_target = bl_addr + 8 + offset24 * 4
        if bl_target == target:
            print(f"  BL at 0x{bl_addr:08x}")

# Also search for calls to __rt_mutex_start_proxy_lock (0xc019bea8)
target2 = 0xc019bea8
print(f"\n=== Searching for calls to __rt_mutex_start_proxy_lock (0x{target2:08x}) ===")
for off in range(0, len(data) - 4, 4):
    word = struct.unpack_from("<I", data, off)[0]
    if (word & 0xff000000) == 0xeb000000:
        offset24 = word & 0xffffff
        if offset24 & 0x800000:
            offset24 -= 0x1000000
        bl_addr = BASE + off
        bl_target = bl_addr + 8 + offset24 * 4
        if bl_target == target2:
            print(f"  BL at 0x{bl_addr:08x}")

# Also search for calls to task_blocks_on_rt_mutex (0xc019c0a8)
target3 = 0xc019c0a8
print(f"\n=== Searching for calls to task_blocks_on_rt_mutex (0x{target3:08x}) ===")
for off in range(0, len(data) - 4, 4):
    word = struct.unpack_from("<I", data, off)[0]
    if (word & 0xff000000) == 0xeb000000:
        offset24 = word & 0xffffff
        if offset24 & 0x800000:
            offset24 -= 0x1000000
        bl_addr = BASE + off
        bl_target = bl_addr + 8 + offset24 * 4
        if bl_target == target3:
            print(f"  BL at 0x{bl_addr:08x}")