uart-console
Identification, connection, and exploitation of UART serial consoles (U-Boot/Barebox interrupt, bootargs patching) during hardware assessments.
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/uart-consoleGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacote288690fe…b218d111
288690fe3121…7355b218d1111 arquivo · 1.2 KBVarreduraMédio1 achado
- Nenhuma licença encontrada
Fontegithub.com/AeonDave/malskill/tree/main/offensive-hardware/uart-console@21cd568
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
Use when physical access is available, and you need an interactive root shell without desoldering chips or risking firmware corruption.
1. Pin identification
- Visual: Look for 3-4 unpopulated through-holes or test pads near the SoC.
- Multimeter:
GND: 0 V (continuity with shielding).VCC: 3.3 V or 5 V (constant).TX: Idle HIGH (3.3 V), fluctuates during boot.RX: High-impedance (floats to ~0 V or pull-up).
- JTAGulator: Use UART scan capability if pads are unlabeled/dense.
2. Connection
Rule: Do NOT connect VCC if the device is self-powered. This causes voltage collision.
- Connect:
GND → GND,RX → TX_pad,TX → RX_pad.
# Try standard baud rates: 115200, 57600, 38400, 19200, 9600
screen /dev/ttyUSB0 115200
# or
minicom -D /dev/ttyUSB0 -b 115200If output is garbled, cycle through baud rates. Check logic analyzer for precise rate if needed.
3. Bootloader exploitation (U-Boot)
Monitor output closely on power-on.
- Prompt:
Hit any key to stop autoboot. Press immediately.
Key U-Boot commands:
printenv # Dump environment variables (credentials, boot paths, keys)
md 0x80000000 # Hex dump memory (hunt for loaded keys/passwords)
boot # Resume boot processDrop to shell (root init bypass):
# Replace normal init with a shell to bypass authentication
setenv bootargs 'console=ttyS0,115200 root=/dev/mtdblock2 init=/bin/sh'
boot4. Secure boot bypass patterns
If U-Boot enforces verified boot (CONFIG_SECUREBOOT):
- Read signing keys from NAND/SPI mapping (sometimes unprotected).
- Patch U-Boot env locally to drop
CONFIG_SECUREBOOT(requires SPI write). - Voltage glitching on SoC VCC rail exactly during signature verification branching.
Arquivos desta versão
- SKILL.md2.0 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 | 288690fe | 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