Aprender Linux

Sitio alternativo a Microteknologias.cl

2007/01/01

Camuflando la MAC de tu tarjeta de red

MAC Spoofing es la técnica utilizada para camuflar la identidad en la red. Puede haber razones muy distintas para camuflar la MAC (Media Access Control, un identificador único que posee cada tarjeta de red), acciones maliciosas, investigación, o simplemente para proteger nuestra privacidad.

Puedes averiguar cual es el MAC de tu tarjeta de red, utilizando el comando ifconfig en la consola:

alex@skynet:~> ifconfig
bash: ifconfig: command not found
alex@skynet:~> su
Contraseña:
skynet:/home/alex # ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:11:09:D9:CE:A5
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0xbc00

skynet:/home/alex #

Supongamos que queremos cambiar la MAC para proteger nuestra privacidad.

En Linux bastaa con escriir los siguientes comandos:

skynet:/home/alex # ifconfig eth1 down
skynet:/home/alex # ifconfig eth1 hw ether 00:00:00:AA:BB:CC
skynet:/home/alex # ifconfig eth1 up
skynet:/home/alex # ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:00:00:AA:BB:CC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0xbc00

skynet:/home/alex #