Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The second is the CodeRed II worm. Both are exploits for windows IIS vulnerabilities and except for the annoying log entries should be harmless. If you see a host that is making a significant number of requests and consuming resources, you can block them by ip address with IP tables:
I think if you are seeing repeated scans over days/weeks from the same IP, then it's safe to assume it's static. If the IP is changing, you can try doing some form of "fingerprinting", but IMO that is much easier said than done and is a major waste of time for Code Red scans. Plus the Code Red II scanning engine will more than likely shut off at the end of the month, at least temporarily that is
i'm getting tons of those lately, too, they're annoying as h3ll. i'd really like to block them, but they keep coming from different IPs after the first 24 (ie. 24.xxx.xxx.xxx). is there any way at all to block that without shutting out half the internet?
Track down that offender as close as possible and then drop a mail to their abuse mail telling them they have a virus contaminated computer.
As for the CodeRed II worm it uses a TCP packet that is to long. All the x:s are the allowed length of a TCP packet. The following characters are the actual virus code. The standard say to drop packets that are to long, which linux does. But Windows didn't do this. The result: Servercode was overwritten and opened up your machine.
As far as I understand these attacks should not affect a linux, unless the amout of attempts are extreme.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.