* IPTBLE rule for Slapper" Linux Worm
@ 2002-09-20 2:56 Sundaram
2002-09-20 4:44 ` Joel Newkirk
0 siblings, 1 reply; 2+ messages in thread
From: Sundaram @ 2002-09-20 2:56 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 174 bytes --]
What is the IP rule, I have set for following worm??
Security Alert: Eradicating the "Slapper" Linux Worm
http://www.extremetech.com/article2/0,3973,538734,00.asp
[-- Attachment #2: Type: text/html, Size: 1102 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: IPTBLE rule for Slapper" Linux Worm
2002-09-20 2:56 IPTBLE rule for Slapper" Linux Worm Sundaram
@ 2002-09-20 4:44 ` Joel Newkirk
0 siblings, 0 replies; 2+ messages in thread
From: Joel Newkirk @ 2002-09-20 4:44 UTC (permalink / raw)
To: netfilter
On Thursday 19 September 2002 10:56 pm, Sundaram wrote:
> What is the IP rule, I have set for following worm??
>
>
> Security Alert: Eradicating the "Slapper" Linux Worm
>
> http://www.extremetech.com/article2/0,3973,538734,00.asp
(rules example below)
Inbound 443 is the most useful of these, IF you can do it, since the others depend
on the machine already being infected, which you can easily and quickly determine
yourself just after you start blocking inbound port 443, the infection vector.
Just "ls -a /tmp" and make sure there's no ".bugtraq" or ".bugtraq.c" there.
If they are you're already infected.
ExtremeTech tells us:
Delete the files if they are already present. Do "mkdir -m a= /tmp/.bugtraq" and
"mkdir -m a= /tmp/.bugtraq.c", then reboot if you were already infected.
The permissionless directories prevent an incoming infection from taking up residence.
They fails to mention that three seconds with an editor will create a version that
saves itself under different names, but still partakes of the same DDoS network.
(Symantec tells us: * Run LiveUpdate, which is the easiest way to obtain virus definitions :^)
If we want to be helpful, we can log any attempt to connect to us on UDP 2002,
meaning the source is infected and thinks we are/were, and notify those servers
that they appear to be infected.
# Block "Linux.Slapper.Worm" or "apache/mod_ssl worm"
#
# log & drop any inbound packets for UDP port 2002,
# prevents already infected system receiving instructions.
# this should only happen if we are/were infected.
# If we're feeling charitable, let the source of any 2002
# packets know that they are probably infected as well. :^)
/sbin/iptables -A INPUT -p UDP --dport 2002 -j LOG
/sbin/iptables -A INPUT -p UDP --dport 2002 -j DROP
#
# Block inbound port 443 (Infection point) ONLY if you don't
# need to serve HTTPS from machine.
/sbin/iptables -A INPUT -p TCP --dport 443 REJECT
#
# Block outbound port 443 ONLY if you don't need to browse
# to HTTPS from this machine.
# This blocks an already infected system from propogating.
/sbin/iptables -A OUTPUT -p TCP --dport 443 -j REJECT
#
# j
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-20 4:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-20 2:56 IPTBLE rule for Slapper" Linux Worm Sundaram
2002-09-20 4:44 ` Joel Newkirk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox