hardware hacking
Table of Contents
- 1. hardware hacking
- 1.1. hcon 2026 hardware ctf
- 1.2. Building a 3D Printed Atomic-Resolution Scanning Tunneling Microscope (STM) | DIY STM Explained - YouTube
- 1.3. Recursos generales
- 1.4. Protocolos hardware
- 1.5. Ingeniería inversa de PCBs
- 1.6. Ingeniería inversa de silicio
- 1.6.1. Microprobing
- 1.6.2. SiO2 oxidation colors
- 1.6.3. Microscopio
- 1.6.4. righto
- 1.6.4.1. Reverse engineering CMOS, illustrated with a vintage Soviet counter chip
- 1.6.4.2. Reverse-engineering a vintage power supply chip from die photos
- 1.6.4.3. Reverse-engineering a vintage comparator chip
- 1.6.4.4. Here be dragons: Preventing static damage, latchup, and metastability in the 386
- 1.6.4.5. Examining a vintage RAM chip, I find a counterfeit with an entirely different die inside
- 1.6.4.6. How to reverse engineer an analog chip: the TDA7000 FM radio receiver
- 1.6.5. Buenos recursos
- 1.6.6. Glosario - Desentrañando el silicio
- 1.7. Decapado
- 1.8. Proyecto decapado CD4000
- 1.8.1. Cómo pegarlos
- 1.8.2. stitcheado
- 1.8.3. Cómo guardar bien los TIFF
- 1.8.4. https://github.com/Labsmore/pyuscope
- 1.8.5. Cómo importar alinear el chip
- 1.8.6. Documentación
- 1.8.7. Alineamiento de imágenes (para focus stacking o algo)
- 1.8.8. Seguridad manipulando ácidos
- 1.8.9. Etching rate HF BOE Hydroflouric acid Ácido fluorhídrico
- 1.9. sd card repair sd card repair
- 1.10. Andrew bunnie Huang - Hardware hacking
- 1.11. Fault Injection
- 1.12. Hardware Hacking Taxonomy
- 1.13. Mask ROM
- 1.14. semiconductor manufacturing
- 1.15. Hardware Hacking Valencia 2025
1. hardware hacking
1.1. hcon 2026 hardware ctf
https://github.com/therealdreg/hcon2026hwctf
screen /dev/ttyACM0 picotool info -uf
1.3. Recursos generales
1.4. Protocolos hardware
- I2C
https://www.ti.com/lit/an/sbaa565/sbaa565.pdf
Open Drain (wired AND) - SPI
https://www.ti.com/lit/ab/sboa621/sboa621.pdf
Usa CMOS, puedes tener bus contention
Permite utilizar un Chip Select (CS) que cuando es LOW activa ese dispositivo (para compartir el resto de pines)
SCK, COPI, PICO
https://www.ti.com/lit/ug/sprugp2a/sprugp2a.pdf (más largo) - UART
https://www.ti.com/lit/ug/sprugp1/sprugp1.pdf (largo) - JTAG
JTAG - Wikipedia - SWD
SWD - Wikipedia - Other
cJTAG, SWO for trace output, or vendor-specific ones like Microchip’s ICSP and Atmel’s debugWIRE/UPDI. - CAN (CAN bus)
- RS-232
- 1-wire
https://www.analog.com/media/en/technical-documentation/data-sheets/DS18B20.pdf - PCI, PCIe
- USB
- Radio
- WiFi
- Bluetooth
- LoRa
- WiFi
1.5. Ingeniería inversa de PCBs
https://pcbtracer.com/
Se podría utilizar KiCad también? Se puede actualizar un esquemático desde la PCB
mmo-chip-a quizas también
How to Reverse Engineer a Schematic From a Circuit Board – PCB HERO
1.6. Ingeniería inversa de silicio
- How I reverse engineer a chip - YouTube
- Reverse engineering a simple CMOS chip - YouTube
- Uncovering the Silicon: Demystifying How Chips are Built and How They Work - YouTube
- Reading Silicon: How to Reverse Engineer Integrated Circuits - YouTube
- How to figure out internal state: Desconecta el circuito y mira a ver si da lo mismo (no hay estado interno) o no (sí que lo hay) → Power cycle
- Uncaging Microchips - media.ccc.de
- Epoxy to schematic: leaving the cubicle and entering the lab - John McMaster - ehsm - 2012 - YouTube
- How-To: expose flip chip CPU dies - YouTube
- Creating Intel CPU die shot without the need for sanding - YouTube
- Viaje al interior de un microchip: Pedro Julián at TEDxBahiaBlanca - YouTube
1.6.1. Microprobing
- [Micro Probe System] Unique Manual Probing - YouTube
- 29C3: Low-Cost Chip Microprobing (EN) - YouTube
- 3D printed Micromanipulator demonstration - YouTube
- An Open Source Motorized XYZ Micro-Manipulator - Affordable sub µm Motion Control - YouTube
- Micro-Fabrication with a Fiber Tip – A Low-Cost 3D Micro Printing Method - YouTube
1.6.2. SiO2 oxidation colors
Los colores van con la profundidad de SiO2
- Oxidation(SiO2) Thickness.. : 네이버블로그
- Silicon Dioxide/Nitride Color vs. Film Thickness and Viewing Angle Calculator
- SiO2 color chart for thermally grown silicon dioxide, HTE Labs, sputter deposition services, thin film vacuum deposition,wafer foundry, bipolar process development, contract R&D, bipolar wafer foundry services, thin film vacuum deposition services
1.6.3. Microscopio
Mirar PUMA
https://www.photomacrography.net/forum/viewtopic.php?t=47989
https://www.youtube.com/watch?v=cAEB10K8PqI
https://www.youtube.com/watch?v=uB48D5KueU8
Para colocar el manipulador de tilt usar muchas pinzas para pasar primero hasta un lado y luego hacia el otro. Primero cojer una pinza, estirar el muelle, coger otra y trabarlo para que no baje
Añadir un “agujero negro” al otro lado del divisor de haz
Hacerlo que se puedan acoplar distintas partes (pinhole y agujero negro) para poder probar distintas cosas
No me cierra bien el tapón rosca LED pero con
Problema de cómo enganchar el LED en la estructura, mucho calor da el LED
Añadir control de luminosidad al LED?
1.6.4. righto
1.6.4.1. Reverse engineering CMOS, illustrated with a vintage Soviet counter chip
PMOS transistors are generally larger than NMOS transistors because they are weaker. Another way to distinguish them is by their connection in circuits. As will be seen below, PMOS transistors in logic gates are connected to power while NMOS transistors are connected to ground.
1.6.4.2. Reverse-engineering a vintage power supply chip from die photos
Capacitors
1.6.4.3. Reverse-engineering a vintage comparator chip
Resistors
1.6.4.4. Here be dragons: Preventing static damage, latchup, and metastability in the 386
Latchup and guard rings
1.6.5. Buenos recursos
Datasheets y databooks que vienen con el diseño del chip o el esquemático
- Databook de RCA (diseño del chip) tienen una sección que se llama “Die Layout”
- Maxim (los que son un poco antiguos) tienen una sección que se llama “Chip Topography”
- NXP (esquemático detallado)
1.6.6. Glosario - Desentrañando el silicio
Las obleas suelen estar dopadas. Bipolar usaba orientación <111> pero se pegaba mal el óxido al silicio, por lo que se pasó a <100> para CMOS. También se utilizaba en su momento cristal de zafiro para hacer crecer silicio
Epi: silicio monocristalino que crece por deposición química de vapor (CVD: chemical vapor deposition). Se utiliza para poner por ejemplo P+ en substrato para que conduzca bien pero P- en superficie
Poly: polisilicio, silicio policristalino
Por qué se ven los contactos metal-silicio se ven como dobles? Porque está en ángulo, no es una pared perfectamente vertical
Por qué hay más de un contacto en substrato y pozos? Para reducir la resistencia y que la señal vaya lo máximo posible por el metal de un sitio a otro, da caminos paralelos que no sean silicio
Butted contact: un metal que conecta a la vez dos capas de silicio distintas
Contactos metal-silicio (aluminio)
Las conexiones con aluminio se tienen que hacer o con tipo P, o con tipo N+ (N sólo no vale)
A brief period of heating to about 450C forms an extremely thin layer of aluminum-doped silicon beneath the contact openings. This process, called sintering, can achieve Ohmic contact to P-type silicon because aluminum acts as an acceptor. The aluminum-silicon alloy forms a shallow, heavily doped P-type diffusion that bridges between the metal and the P-type silicon. Less obviously, Ohmic contact also occurs when aluminum touches heavily doped N-type silicon. PN junctions form beneath the contacts, but their depletion regions are so thin that carriers can tunnel through them. Rectification will occur if the donor concentration falls too low, so Ohmic contact cannot be established directly between aluminum and lightly doped N-type silicon. The addition of a shallow diffusion will enable Ohmic contact to these regions.
The Art of Analog Layout pg99
Cuando los contactos se vuelven más pequeños de 1µm se pasa a tungsteno y se nivelan (ya no se ven las diferencias en alturan tan bien en los contactos)
Cada vez que pasa metal (o poly) sin contacto por encima de silicio corre el riesgo de generar transistores no deseados. Los anillos de guarda están en parte para eliminar estos efectos
1.6.6.1. Butted & buried contacts
Silicon Processing for the VLSI Era_ Process Integration Vol. 2 pg161
The term “butted contact” derives from the fact that the poly and the substrate edges
butt up against one another, but do not actually make electrical contact. Since the poly
is separated from the substrate by an oxide layer even when the contact window is
opened, a linking metal film must still be deposited to electrically connect the poly and
the substrate.
With the buried contact, direct contact is made between polysilicon and the substrate,
eliminating the need for a metal link to form the contact (Tig. 3-50). In this structure,
a window is opened in the thin gate oxide over the substrate area at which the contact is
to be established. When the polysilicon is subsequently deposited, it is in direct contact
with the substrate in these openings but is isolated from the substrate by the gate and
field oxides everywhere else. An ohmic contact is formed at the poly-substrate Si
interface by the diffusion into the substrate of dopant present in the polysilicon. This
in effect merges the two silicon regions. A CVD layer of insulating film is then
deposited to cover the contact. The structure is called a “buried contact” because a metal
layer can cross over the area of the substrate where a contact has been established
without making an electrical connection to it
1.6.6.2. Debiasing
The Art of Analog Layout 5.4.3
┌───────────────────────────────┬─────────────────────────────────────────┬────────────────────────────────────┐
│ Process type │ What lies under the devices │ Debiasing case │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ Basic bulk CMOS (P- wafer) │ Thick lightly doped substrate │ Thick lightly doped substrate │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ Basic bulk CMOS, N-well │ Lightly doped well, no buried layer │ Thin layer │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ Epi CMOS / BiCMOS on P+ wafer │ P+ substrate under P- epi │ Thin light layer on heavy sublayer │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ Bipolar / BiCMOS tanks │ NBL under N-epi or N-well │ Thin light layer on heavy sublayer │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ Modern CMOS, retrograde well │ Heavy well bottom under lighter surface │ Thin light layer on heavy sublayer │
├───────────────────────────────┼─────────────────────────────────────────┼────────────────────────────────────┤
│ SOI │ Buried oxide │ Thin layer │
└───────────────────────────────┴─────────────────────────────────────────┴────────────────────────────────────┘
1.7. Decapado
- Layman’s Guide to IC Reverse Engineering
- https://www.powerwaywafer.com/sio2-films-color.html
- Learn IC Decapping | Hackaday
- Practical Methods for Decapping Chips
- Safe IC decapping while preserving bond wires | Hackaday.io
- Experiment: IC deenapsulation with rosin – CCCB
- DIY Laser Scanning Microscope from Blu-ray Player #3: Increasing the Resolution - YouTube
- Metallization: Making Conductive Traces on Silicon Chips. - YouTube
- Por qué salen las imágenes en blanco y negro?
- ZeptoBars
- https://siliconpr0n.org/archive/doku.php?id=felinefriendly:bosch:b30132
- Mechanically Decapping a Chip-On-Board (COB) - YouTube
- How to Decap ICs with Sandpaper - YouTube
- http://infosecdj.net/ Decapping services
- IRIS: Non-Destructive Inspection of Silicon - media.ccc.de
- bunnie/iris-stitcher: Stitching scripts for IRIS
- bunnie/iris-hw: CAD files for IRIS hardware designs
- IRIS (Infra-Red, in situ) Project Updates « bunnie’s blog
- bunnie/iris-integration: System Integration Recommendations for IRIS Inspection
- https://siliconprawn.org/archive/doku.php?id=tag:collection_bunnie&do=showtag&tag=collection_bunnie
- Hardwear.io NL 2025: [Keynote] Towards End-User Verifiable Silicon - Andrew ’Bunnie’ Huang - YouTube
- bunnie/iris-stitcher: Stitching scripts for IRIS
- Proprietary silicon ICs and dubious marketing claims? Let’s fight those with a microscope! - media.ccc.de
- https://media.ccc.de/search?p=giulioz charlas en general de guilioz sobre ingeniería inversa
- https://media.ccc.de/v/gpn24-616-mmo-chip-from-microscope-to-verilog-in-an-hour
- Reading Silicon: How to Reverse Engineer Integrated Circuits - YouTube
- 27c3: Reverse Engineering the MOS 6502 CPU (en) - YouTube
1.7.1. Project 54/74
1.7.3. Identificación de chips
https://www.ti.com/lit/sg/sdyu001ac/sdyu001ac.pdf
6 Appendix C: Logic Part Number Naming Conventions
De momento he visto XG479 para un CD4069BE
También GI9248 para uno de aliexpress
1.8. Proyecto decapado CD4000
- Empezar por los chips serie 4000 que son grandecitos y fáciles de hacer ingeniería inversa
- Montar el microscopio en la CNC que tengo para hacer fotos buenas stitcheando varias fotos en un mosaico
Manualmente mejor utilizar bcnc que puedes cambiar el parámetro de configuración para que tenga distintos pasos en eje XY y en eje Z, además de permitir definir tus pasos (50µm por ejemplo) en ~/.bCNC
- Automatizar el tomado de imágenes
- Automatizar el recorido de la CNC y pausar para tomar una foto y enfocar
- Automatizar sacar una foto: con pyuscope puedo sacar una foto (en blanco y negro, o a menor resolución)
- Para sacar una foto con la cámara, puedo poner un fsnotify que cuando se cree una imagen en la carpeta de guardado, dispare los infrarrojos
- Para sacar una foto con la cámara, puedo poner un fsnotify que cuando se cree una imagen en la carpeta de guardado, dispare los infrarrojos
Automatizar el ajuste enfoque tomando una foto y haciendo análisis de fourierya lo hace pyuscope
- Automatizar el recorido de la CNC y pausar para tomar una foto y enfocar
- Automatizar el tomado de imágenes
- Diseñar un mecanismo de altura ajustable para el tubo. No será justo de 160mm, se pueden tomar varias imágenes a ver cuál tiene menos aberración cromática. Utilizar red de difracción y un espejo para calibrar
También puede afectar que son lentes biológicas pensadas para tener iluminación desde abajo y un portamuestras de 0.17mm - Cuando ya tenga eso creo que me meteré con el ácido fluorhídrico del demonio para quitar la capa de SiO2 y aluminio y ver lo que hay debajo, y con eso ya puedo hacer ingeniería inversa completa
- Luego con ácido nítrico (quizás ya lo envío a algún sitio) puedo decaparlo y que siga funcionando, y podría hacer microprobing (pinchar señales intermedias) y sacarlas por un osciloscopio
- Creo que para poder pinchar silicio necesitaría agujas de tungsteno ( y probablemente eliminar con una máscara de manera selectiva el óxido de silicio, quizás depositar algo de metal como níquel a partir de una sal), tengo que ver cómo montarlas (probablemente también motores para micromanipulación, puedo utilizar proyectos ya hechos)
Build a 3D Printed Micromanipulator V2 (with a Switchable Magnetic Base) : 12 Steps (with Pictures) - Instructables - semiconductor manufacturing también! Una vez que tengo algo para atacar el SiO2, puedo utilizar el láser de la CNC para fabricar máscaras (utilizando las lentes para focalizar el haz consigo más detalle incluso) y tengo todos los aparatos de tungsteno para hacer microprobing
https://www.richis-lab.de → chips explicados de este estilo
1.8.1. Cómo pegarlos
Pegar con cianocrilato, se disuelve en acetona
Especialmente las pastillas más diminutas son complicadas de pegar sin que se llegen de pegamento. Para ello, echar el CA en un destornillador plano y aplicar muuy poco
Las pastillas más diminutas también son las que más se angulan con el pegamento, lo que quiere decir que puede que necesiten ángulos un tanto extremos para estar rectas respecto al microscopio
1.8.2. stitcheado
Utilizo Fiji (no vale bajarselo de los repos de AUR, tiene que estar instalado)
Downsampleo x8 (en cada dirección, x64 en total) las fotos que me vienen, y uso la herramienta Grid/Collection Stitching con 0.15 de Regression Threshold (en vez de 0.30) y Tile Overlap 40% para movimientos de 100µm en la CNC para la foto de CD4053, con Subpixel accuracy
2.5 y 3.5 de max/avg y absolute displacement threshold que creo que son por defecto
La herramienta de MIST también está bien, para darte una idea de los overlaps en las dos direcciones, aunque los stitching no son tan buenos
Oneliners para renombrar y downsamplear
No me funcionó bien el downsampling de Fiji y tuve que hacerlo por fuera
python -c '[print("mv PIC-%.4i.jpg PIC-%.4i.jpg" % (f, f-412), end="\n") for f in range(413, 719)]' | xargs -I {} bash -c '{}'
ls PIC* | xargs -P 20 -I {} ffmpeg -i {} -vf "scale=iw/2:ih/2:flags=lanczos" downsampled/{}
CD4053 movimiento de 100µm y mosaico de 17x18 funcionó con downsampling de x2
1.8.3. Cómo guardar bien los TIFF
En Fiji: Image>Color>Stack to RGB (si no te sale una imagen en blanco y negro, con 3 distintas capas)
Convertirlos a tiff piramidal (puede que ocupen más pero cargan más rápido)
Usar vipsdisp o qupath para visualizarlos
for file in *.tif; do echo $file; vips tiffsave $file ${file%.tif}_pyr.tif --tile --pyramid --compression deflate; done # Compresión 95 for file in TMS320F28335_4x.tif; do echo $file; vips tiffsave $file ${file%.tif}_pyr.tif --tile --pyramid --compression deflate; done
Para luego pasarlos a jpg (95 suele llegar de calidad)
# Para una foto sola f="LM13700_crop_pyr.tif"; base=${f%.tif}; for i in 4 3 2 1 0; do vips copy "${f}[page=$i]" .png | cjpeg -quality 95 > "${base}_${i}.jpg"; done # Para probar el 100 también printf '%s\0' *.tif | xargs -0 -I {} bash -c ' f=$1; base=${f%.tif} echo "$f" for i in 0 1 2 3 4; do for qual in 95 100; do out="jpg/${base}_${i}_${qual}.jpg" [ -s "$out" ] && { echo -e "\tskip $out"; continue; } echo -e "\t$out" vips copy "$f[page=$i]" .png | cjpeg -quality "$qual" > "$out.tmp" && mv "$out.tmp" "$out" done done ' bash {}
1.8.4. https://github.com/Labsmore/pyuscope
1.8.4.1. Cómo lanzarlo
En KDE Wayland necesita esto:
w=$(xdotool search --name "pyuscope main" | head -1) xdotool windowunmap "$w"; sleep 0.5; xdotool windowmap "$w" Para lanzarlo todo de una vez: QT_QPA_PLATFORM=xcb app/argus.py --microscope 3018 &; sleep 5; w=$(xdotool search --name "pyuscope main" | head -1) 6s pyuscope 12:39:03 xdotool windowunmap "$w"; sleep 0.5; xdotool windowmap "$w"
Con la cámara puedo ver el feed con VLC
gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg ! jpegdec ! videoconvert ! autovideosink
v4l2-ctl --list-devices
Webcam gadget: UVC Camera (usb-0000:00:14.0-1):
/dev/video0
/dev/video1
/dev/media0
USB2.0 HD UVC WebCam: USB2.0 HD (usb-0000:00:14.0-7):
/dev/video2
/dev/video3
/dev/media1
v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 2560x1440
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 3840x2160
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Jogging con WASD, E para subir y Q para bajar
Z y C para cambiar el feed, F para movimiento fino
https://www.youtube.com/watch?v=5_XhBqsafe8
Hay que ejecutar antes de lanzarlo:
G10 L2 P1 X0 Y0 Z0
G92.1
Para resetear los ejes
Formato para stichear
c{xxx}_r{yyy}.jpg
Para MIST:
c{ccc}_r{rrr}.jpg
1.8.4.2. Mejoras que se me ocurren
- Botón para activar jogging en vez de con ratón
- Opción dry run parece que está desactivada en la interfaz
- Hay que abrirlo en las coordenadas de la CNC (0, 0) si quieres desactivar el homing automático
1.8.5. Cómo importar alinear el chip
GIMP Image>Guides>New Guide from selection y lo vas rotando hasta que se queda alineado todo el chip en todas sus esquinas
Inkscape para archivos muy grandes no vale
1.8.6. Documentación
https://gitbuilding.io/ ?
Añadir la base al repositorio y link a lo de totesalaz
Hacer fotos y un vídeo explicando cómo montar el manipulador de totesalaz
- Pinzas en ángulo para estirar el muelle
- Poner unas pinzas de pala ancha en dos segmentos muy alejados del muelle, y luego llevarlos cerca, interesa que no tenga tensión para poner la barra
- Repetir para el otro porque si no luego es más complicado
- Estirar el muelle y volver a colocar las pinzas en medio, pero esta vez en dos segmentos muy juntos y estirando bien el muelle para que llegue hasta arriba
- Coger con las otras pinzas el muelle, e ir soltando poco a poco el muelle de debajo. Si tienes tres pinzas y tres manos, puedes evitar soltar el muelle de debajo (tip: no es imprescindible que tengas tres brazos, puedes utilizar una pinza o llamar a otra persona)
- Repetir pasos 1. y 2. y repetir para el otro lado
Para que sea más sencillo se puede abrir los ganchos de los muelles, aunque a costa de que sea más fácil que se te escurra la barra
También puedes estirar los muelles a costa de que luego no esté tan tenso el micromanipulador
Hacer fotos y un vídeo explicando cómo montar la epi-iluminación
Hacer un vídeo de tilting bajo epi-iluminación
Explicar que hay problemas con el LED
Añadir tornillos y tuercas al BOM. Quiero que sean nyloc?
Colocar las piezas en 3D como tienen que ir impresas para que sea más sencillo y no tenga postprocesamiento, incluir también opciones para hacer distintas piezas, no todas
1.8.7. Alineamiento de imágenes (para focus stacking o algo)
Para instalar:
Help → Update… → Manage update sites → tick BIG-EPFL → Apply changes → restart.
Para llamarlo:
Plugins → Registration → StackReg and TurboReg.
TurboReg más avanzado
Me funcionó la transformada bilinear (te transforma un plano en una sección de un cono)
1.8.8. Seguridad manipulando ácidos
- Tipos de filtros respiratorios que necesitas conocer
- Filtros para partículas: Estos filtros están diseñados para capturar partículas sólidas y líquidas presentes en el aire, como polvo, humo, polen o aerosoles. En Europa, los filtros para partículas se clasifican según la norma EN 143 en tres clases, basadas en su eficiencia de filtración:
P1: Eficiencia de filtración mínima del 80%. Adecuados para partículas no tóxicas y de baja toxicidad.
P2: Eficiencia de filtración mínima del 94%. Protegen contra partículas de toxicidad media.
P3: Eficiencia de filtración mínima del 99.95%. Ideales para partículas tóxicas o muy finas. - Filtros para gases y vapores: Diseñados para proteger contra gases y vapores químicos específicos. Estos filtros se clasifican según la norma EN 14387 y se identifican por letras y colores específicos, dependiendo del tipo de contaminante:
Tipo A: Para vapores orgánicos con puntos de ebullición superiores a 65 °C (por ejemplo, disolventes).
Tipo B: Para gases y vapores inorgánicos (excepto monóxido de carbono), como cloro o cianuro de hidrógeno.
Tipo E: Para gases ácidos, como dióxido de azufre o ácido clorhídrico.
Tipo K: Para amoníaco y derivados orgánicos de amoníaco. - Filtros combinados: Ofrecen protección tanto contra partículas como contra gases y vapores. Se identifican combinando las letras y colores correspondientes a cada tipo de filtro. Por ejemplo, un filtro A2B2E2K2-P3 brindaría protección contra una amplia gama de contaminantes.
- Ácido nítrico: guantes de butilo
1.8.9. Etching rate HF BOE Hydroflouric acid Ácido fluorhídrico
https://www.righto.com/2026/10/ML10-switched-capacitor-filter.html#fn:acid
To remove the metal layer, I used Whink rust stain remover (1.5-3.5% HF) to remove the oxide layer and hydrochloric acid to dissolve the metal. I applied Whink for 20 minutes and HCl for 16 minutes in total. I alternated each chemical for about 3 minutes each, applying a few drops at a time. I examined the die under the microscope after each application to gauge the progress.
https://youtu.be/w_znRopGtbE?t=88
5000Å = 500nm in 15mins
https://youtu.be/UTXApNlG4Yw?t=956
10nm in 1min https://youtu.be/UTXApNlG4Yw?t=1218
1.9. sd card repair
1.10. Andrew bunnie Huang - Hardware hacking
- adventures in manufacturing
small-volume production costs are dominated by setup and assembly, not parts, so that allows you to source less quality units, throw away 20% and get them quicker the story of chumby
The end of Chumby, new adventures
The question whether it would be faster for me to doit myself or to explain it to someone else, wait for them to do it, and possibly have to re-explain it and have them change it. That’s one reason I learned mechanical design […] being able to efficiently and effectively comunicate with a mechanical engineering team using their laguage was important to getting the job done right.
- Challenges with retail sales
- Dealing with the merchant buyers
they think in terms of revenue per shelf space […] tend to look at your product in terms of so many grams of plastic and so many wires. They multiply those numbers by the commodity price of the raw materials to set expectations for how much they’ll pay to have it on the shelf - Marging
Market development funds and other slush money have to be factored in. The shelf cost of a product is about three times your BOM cost - Cash flow
Retailers are notoriously bad at paying on time
This can be partially mitigated with financial instruments such as factoring insurance - Reverse logistics and returns
- Contracts
- Dealing with the merchant buyers
- Challenges with retail sales
- hardware hacking
three copies:
- one to tear apart and never put back (fully decaped)
- one to probe (functionally decaped)
- one to keep relatively pristine: sanity-check whether a certain behavior is due to your probing or just how the hardware behaves
- one to tear apart and never put back (fully decaped)
1.11. Fault Injection
1.12. Hardware Hacking Taxonomy

- Hardware-Level Security Attacks
- Invasive Attacks
- Reverse Engineering
- Mask ROM (90s-00s)
- EEPROM/Flash reading: Reverse engineering Flash EEPROM memories using Scanning Electron Microscopy
- Mask ROM (90s-00s)
- Micro-Probing
- Focused Iob Beam (FIB) Workstation
- Disabling the Protective Circuitry
- Reverse Engineering
- Semi-Invasive Attacks
- UV Attacks
- Backside Imaging
- Active Photon Probing
- Faul Injection
- UV Attacks
- Noninvasive Attacks
- Analysis Attacks
- Timing Analysis
- Power Analysis
- Simple
- Differential
- Simple
- Electromagnetic Analysis
- Simple
- Differential
- Simple
- Manipulation Attacks
- Fault Injection
- Supply Voltage Alterations
- External CLock Alterations
- Temperature Attacks
- Laser and White Light
- Electromagnetic Flux
- Supply Voltage Alterations
- Fault Injection
- Timing Analysis
- Analysis Attacks
- Invasive Attacks
1.13. Mask ROM
- BalCCon2k23_-Travis_Goodspeed-_Photographing_Bits_of_Firmware.mp4
- Bit extractors
- Converting Physical Bits to Logical Bytes
- travisgoodspeed/maskromtool: A CAD tool for extracting bits from Mask ROM photographs.
- BalCCon2k23_-Travis_Goodspeed-_Photographing_Bits_Workshop.mp4
- BalCCon2k25_-Travis_Goodspeed-_A_Modern_Assembler_for_ROM_Reversing.mp4
- rom:mask [Silicon Prawn]
1.15. Hardware Hacking Valencia 2025
1.15.1. Black Magic Debug Probe
https://black-magic.org/supported-targets.html
Es una raspberry pi 2
El AnalysisIR te permite copiar y pegar lo que saca Bus Pirate por consola y te lo interpreta como señal
picocom
https://www.hardbreak.wiki/
1.15.2. Glitch
Para glitchear, desconecta la alimentación del chip que quieres glitchear específicamente, y le conectas el voltaje de glitch sólo a ese chip. Quitar condensadores VCC a GND para que sea más inestable
El glitcher aparece como dos dispositivos USB
el .hex es lo que va en el target
https://github.com/wicware/multitool/tree/main/00-documentation
https://www.st.com/resource/en/datasheet/stm32f103c8.pdf
Parámetros interesantes para no fastidiarlo:
ΔVDD_x
VSSX − VSS
TRSTTEMPO
1.15.2.1. Shmoo plots: diagramas de fase de comportamiento de un circuito
1.15.3. Bluetooth
https://github.com/antoniovazquezblanco/talks/blob/main/2026/2026_HwHckEs_BluetoothHacking101.pdf
lsusb -d 33fa:0012 -v
https://pypi.org/project/usbbluetooth/
https://usbbluetooth.github.io/
BR/EDR (Bluetooth Classic)
BLE (Bluetooth nuevo)
Wireshark
Edit>Configurations Profile>Bluetooth para que salga en color
El Host no ve qué canal está el Controller (hacen falta cosas más caras estilo Sniffle, nRF sniffer, Ubertooth)
https://github.com/TarlogicSecurity/BlueSpy
https://github.com/TarlogicSecurity/BSAM