Because of the scope of our network, and the randomness of SQL's choice of IP addresses to infect, we have used DNAT to manipulate the traffic on the fly, and have it sent to our other vulnerable machine.
The infected machine is on IP address 192.168.1.5 and the non infected vulnerable machine is on 12.9.5.6. The Linux machine sits between the two switched networks and passes traffic.
The iptables rule that was used to manipulate the packets was as follows:
iptables -t nat -A PREROUTING -p udp -d 0/0 --dport 1434 -j DNAT --to-destination 12.9.5.6
The problem here is that the Linux machine is forced to change the IP header of approximately 26,000 packets per second, and the computer becomes completely unusable (mouse and keyboard are non responsive). As we develop a more advanced snort detection rule, and a script that parses the snort log, we have to consider that it is possible the DNAT may cause snort to crash or perform so slow it is not useful.
Wednesday, December 5, 2007
Tuesday, December 4, 2007
Gnuplot VLC and Snort
This week we added streaming video with the worm infection into the mix in our test network. The video is streaming from a Windows 2003 Machine to a client Windows XP machine using VLC (Video Lan Client). Surprisingly when using the IPCOP Linux router, the video is not completely dropped when all 100mbps connections are used, but noticable artifacts are in the video as a result of traffic on the network. All TCP based services are completely disrupted, including SSH and HTTP.
Additionally we have a rule configured for snort to detect traffic from a SQL Slammer infection. This rule will generate a log event that will be parsed by a script that will take down the host that is causing the disruption and cause normal activity to continue on the network.
Additionally we have a rule configured for snort to detect traffic from a SQL Slammer infection. This rule will generate a log event that will be parsed by a script that will take down the host that is causing the disruption and cause normal activity to continue on the network.
Subscribe to:
Posts (Atom)