spi-flash
In-circuit and out-of-circuit SPI/NAND flash dumping and writing using flashrom and CH341A/FT232H.
v2026.11.13-21cd5683 instalações+3 em 7 dias39 Estrelassincronizado há 10 horas
Instalar
Ainda não tem a CLI da NotHoly? Instale primeiro.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/spi-flashGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacote96823dca…0ef16f49
96823dca88f9…d17a0ef16f492 arquivos · 1.6 KBVarreduraMédio1 achado
- Nenhuma licença encontrada
Fontegithub.com/AeonDave/malskill/tree/main/offensive-hardware/spi-flash@21cd568
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
Use when UART is unavailable, or a full firmware extraction/patching loop is required.
1. Identification and connection
- Look for 8-pin or 16-pin SOIC chips near the SoC (e.g., Winbond
W25Q*, MacronixMX25L*or GigaDeviceGD25Q*). - In-circuit: Attach a SOIC clip. Ensure the target board is completely powered off to prevent SoC interference.
- Out-of-circuit: Desolder using hot air, clean pads, mount in programming socket. (Safest for signal integrity, but destructive).
2. Reading firmware (flashrom)
Rule: Read at least twice, and ensure hashes match before proceeding. Variance indicates bad clip contact or SoC contention.
# Read attempt 1
flashrom -p ch341a_spi -r fw_dump1.bin
# Read attempt 2
flashrom -p ch341a_spi -r fw_dump2.bin
# Verification
md5sum fw_dump1.bin fw_dump2.binIf hashes differ, reseat the clip, shorten cables, or power the target board VCC slightly if SoC is draining programmer current.
3. Writing firmware
Rule: Always backup original raw dump offline before writing.
# Write modified firmware back
flashrom -p ch341a_spi -w fw_patched.bin4. Flash layout verification
Use binwalk to verify the read was successful and contains expected headers (not just 0xFF or 0x00).
binwalk fw_dump1.bin
# Expect: U-Boot header, Squashfs, JFFS2, TRX, or CramFSReferences
- references/ch341a-voltage-fix.md — Load when using a CH341A programmer on 1.8V or 3.3V target flash chips.
Arquivos desta versão
references/11.3 KB
- ch341a-voltage-fix.md1.3 KB
- SKILL.md1.6 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Sim | Sim |
| Usa a rede | Não | Não |
| Usa conectores | Não | Não |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
- MédiaLicença · Nenhuma licença encontrada
Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.
| Versão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 de nov. de 2026 | 21cd568 | 96823dca | Assinada | – |
Mais de AeonDave
Tudo deste publicadorMais em Mobile, firmware e hardware
Ver a categoriaPergunte tudo o que o seu escopo permite.
Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.
- 1/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login