linker-fake-load-unwrapper
БесплатноЗапускает вложенные скриптыНе проверенUse when analyzing Android AArch64 ELF files protected by a special linker-style fake PT_LOAD wrapper, impossible high-address LOAD segments, entry-point…
от alicewe1★ 66 звёзд на GitHubОб этом скилле
Linker Fake-Load Unwrapper
Core idea
This protector abuses ELF program headers so the visible entry and memory layout look abnormal. Do not guess fixed offsets. Derive the real file entry from PHDR evidence, decode the entry stub, recover XOR ranges/key, then reconstruct the runtime image.
Fast path
python <skill-dir>\scripts\linker_static_unwrap.py <target> --out-dir <out>
Expected outputs:
<target>.linker_xor_runtime.bin— reconstructed runtime image.linker_static_unwrap_report.json— PHDRs, fake LOAD, true entry offset, XOR ranges, carved embedded ELFs, interesting strings.embedded_elfs/— candidate inner ELF payloads/interpreters.
The script intentionally refuses to proceed if it cannot find the fake LOAD or recover XOR ranges; do not hardcode offsets unless you first write down why the PHDR-derived method fails.
Static analysis procedure
- Parse ELF64 little-endian AArch64 header and PHDRs.
- Find fake LOAD candidate:
p_type == PT_LOADp_offset == 0p_filesz > file_size- high
p_vaddrsuch as0xffff0000or hugep_filesz e_entryfalls insidep_vaddr .. p_vaddr + p_filesz
- Translate true entry:
true_entry_file_offset = e_entry - fake.p_vaddr + fake.p_offset
- Disassemble AArch64 stub at real file entry.
- Recover repeated decrypt calls:
- key usually arrives in
w3/x3as an immediate byte. - target pointer and size are often loaded through PC-relative
ldrliterals intox2andx1. - each
blafter those loads applies XOR to a runtime range.
- key usually arrives in
- Map target VAs through normal LOADs, not the fake one, then XOR file bytes.
- Carve embedded
ELFblobs and inspect sections/PHDRs/UPX markers. - Validate runtime by string diff, embedded ELF parse, and dynamic dump comparison when possible.
Dynamic confirmation procedure
Use dynamic dumping when:
- Capstone cannot recover stub ranges.
- The key/ranges are computed instead of literal-loaded.
- The runtime later decrypts another stage.
- Static runtime and device behavior disagree.
On Android:
- Run the target in a controlled directory.
- Monitor
/proc/<pid>/mapsfor file-backed or anonymous executable mappings. - Dump relevant mappings through
/proc/<pid>/memas root. - Prefer parent-child dumpers for short-lived children.
- Compare dump SHA256/strings/ELF offsets with static runtime.
Validation gates
A result is not “done” until these checks can fail and pass:
- Original hash recorded.
- Fake LOAD and true entry offset recorded.
- XOR ranges/key recorded or dynamic replacement evidence recorded.
- Runtime image exists and has hash.
- Embedded ELF offsets or absence thereof documented.
- If business logic is expected, stack/heap/memfd plaintext search performed.
Reference routing
Read references/linker-fake-load-principles.md for the detailed protector model, failure modes, dynamic fallback, and reporting template.
Установить linker-fake-load-unwrapper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл linker-fake-load-unwrapper?
Use when analyzing Android AArch64 ELF files protected by a special linker-style fake PT_LOAD wrapper, impossible high-address LOAD segments, entry-point translation such as e_entry minus fake p_vaddr, XOR runtime decryptors, embedded ELF carving, shell-looking ELF second stages, or when a user mentions linker 加固/脱壳/通杀. Provides static and dynamic workflows, tools, and principles for recovering the real runtime image.
Как установить скилл linker-fake-load-unwrapper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл linker-fake-load-unwrapper запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic