Conservación de evidencias y cadena de custodia
Aprenda a conservar correctamente las evidencias digitales durante un incidente de seguridad para que permanezcan intactas, verificables y admisibles en una investigación o acción legal.
Conservación de evidencias y cadena de custodia es una lección gratuita de Production Debugging & Incident Response Playbook en CoddyKit. Esta es la lección 4 de 4. Puedes leer la lección completa abajo gratuitamente — luego la practicas en el navegador con un editor de código integrado y un tutor de IA 24/7. Forma parte de la ruta de aprendizaje de Production Debugging & Incident Response Playbook, y tu progreso se sincroniza en la web y la app de CoddyKit. El curso de Production Debugging & Incident Response Playbook incluye 4 lecciones en total.
Partes de esta lección aún no han sido traducidas y se muestran en inglés.
Why Evidence Handling Matters
During a breach, the instinct is to fix and move on. But if evidence is altered or lost, you cannot prove what happened, and any legal case collapses.
This lesson covers preserving evidence with a defensible chain of custody.
Order of Volatility
Some evidence vanishes faster than others. Collect the most volatile first.
- CPU registers and cache
- RAM and running processes
- Network connections
- Disk files
- Backups and logs (most durable)
Don't Contaminate the Scene
Every command you run changes the system. Avoid rebooting a compromised host (RAM is lost) and prefer read-only collection tools. Document every action you take so investigators can separate attacker activity from responder activity.
Creating Forensic Images
Work from a bit-for-bit copy, never the original. Capture the full disk and, where possible, memory, so analysis never touches the source.
dd if=/dev/sda of=/evidence/host01.img bs=4M conv=noerror,syncHashing for Integrity
A cryptographic hash proves the image has not changed. Record it at collection time; anyone can re-hash later to verify integrity.
sha256sum /evidence/host01.img > host01.img.sha256What Chain of Custody Is
Chain of custody is an unbroken, documented record of who handled the evidence, when, why, and how it was stored. A single undocumented gap can render evidence inadmissible.
Recording Custody
Log each transfer with timestamp, person, and purpose. Keep it append-only.
2026-05-31 14:02 | A.Yilmaz | collected disk image from host01
2026-05-31 15:10 | A.Yilmaz -> B.Kaya | handed to analysis, sealedSecure Storage
Store evidence with restricted access, encryption at rest, and write protection. Limit who can touch it and log every access. The fewer hands, the stronger the chain.
Timestamps and Time Sync
Forensic timelines depend on accurate clocks. Record the timezone, note any clock skew on the affected host, and reference an authoritative time source so events from different systems can be correlated.
Balancing Speed and Preservation
Containment and evidence preservation can conflict: pulling a host offline stops the attacker but loses live state. The compromise is to capture volatile data first (memory, connections) and then isolate.
An Evidence Workflow
Putting it together when you detect a breach:
- Capture volatile data in order of volatility
- Image disks read-only and hash them
- Start a chain-of-custody log immediately
- Store securely with restricted access
- Then proceed with containment
Quick Check
Test your understanding of evidence preservation.
Recap
You learned to preserve digital evidence properly.
- Collect by order of volatility and avoid contamination
- Image read-only and hash for integrity
- Maintain an unbroken chain of custody
- Store securely and balance speed with preservation
Preguntas frecuentes
¿La lección «Conservación de evidencias y cadena de custodia» es gratis?
Sí — el texto completo de «Conservación de evidencias y cadena de custodia» es gratis para leer aquí en la web. Para practicarla de forma interactiva (editor de código integrado y tutor de IA 24/7) y desbloquear el resto del curso de Production Debugging & Incident Response Playbook, actualiza a CoddyKit PRO. El curso de Production Debugging & Incident Response Playbook incluye 4 lecciones en total.
¿Qué aprenderé en «Conservación de evidencias y cadena de custodia»?
Aprenda a conservar correctamente las evidencias digitales durante un incidente de seguridad para que permanezcan intactas, verificables y admisibles en una investigación o acción legal. Practicas Production Debugging & Incident Response Playbook con código real que ejecutas directamente en el navegador, y un tutor de IA 24/7 responde tus preguntas mientras trabajas en la lección.
¿Necesito experiencia previa para empezar Production Debugging & Incident Response Playbook?
No se requiere experiencia previa. Production Debugging & Incident Response Playbook en CoddyKit está estructurado para principiantes hasta estudiantes avanzados, así que puedes empezar aquí o desde el inicio y avanzar a tu ritmo. Esta es la lección 4 de 4.
¿Cuánto tiempo toma la lección «Conservación de evidencias y cadena de custodia»?
La mayoría de las lecciones de CoddyKit toman alrededor de 5–10 minutos. Cada una es compacta e interactiva, así que avanzas constantemente y retomas exactamente por donde dejaste en la web y la app.
¿Puedo escribir y ejecutar código en esta lección de Production Debugging & Incident Response Playbook?
Sí. Cada lección de Production Debugging & Incident Response Playbook incluye un editor de código integrado, así que escribes y ejecutas código real directamente en tu navegador y obtienes retroalimentación instantánea de IA — sin configuración local necesaria.
Todas las lecciones de este curso
- Reconocimiento de brechas de seguridad e indicadores
- Técnicas básicas de informática forense
- Estrategias de contención y erradicación
- Conservación de evidencias y cadena de custodia