spoof attack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi there,

I got the following log in my /var/messages:

----
zeus kernel: sp00f attempt: IN=eth0 OUT= MAC=00:04:75:a0:c8:51:00:c0:df:ee:1d:dd:08:00 SRC=192.168.0.189 DST=XXX.XXX.XXX.XXX LEN=1500 TOS=0x00 PREC=0x00 TTL=43 ID=17351 DF PROTO=TCP SPT=80 DPT=41971 WINDOW=57920 RES=0x00 ACK URGP=0
----

where:
       XXX.XXX.XXX.XXX is my public IP.
       eth0 is my EXTERNAL_DEVICE
       eth1 is my INTERNAL_DEVICE
       192.168.0.0/24 is my network

the attack duration was about 10 minutes. It happens 2 times in the last 3 months.


my firewall rules to prevent this are as below:

----
$iptables -A PREROUTING -t nat -i ${EXTERNAL_DEVICE} -s ${INTER_IPADDR} -j LOG --log-level ${LOGLEVEL} --log-prefix "sp00f attempt: "

$iptables -A PREROUTING -t nat -i ${EXTERNAL_DEVICE} -s ${INTER_IPADDR} -j DROP
----

My questions:

1) How to understand the MAC logged by iptables since MAC has 6 bytes long?
   00:04:75:a0:c8:51:00:c0:df:ee:1d:dd:08:00

2) Is there some way to get the real IP where its come from?

3) Are my rules enough to avoid spoof?



thanks in advance,

D. Fadel Jr.
Computing Science Student




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux