Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Script Kiddy Defence Script
- Date: Thu, 9 Jun 2005 18:39:00 +0900
- From: Shawn <bofh@example.com>
- Subject: Re: [tlug] Script Kiddy Defence Script
- References: <20050607225949.2fd16669@example.com> <20050608094344.91802.qmail@example.com> <20050608191147.613e42b4@example.com> <Pine.LNX.4.51.0506091759390.4420@example.com>
- User-agent: Mutt/1.4.2.1i
On Thu, Jun 09, 2005 at 06:02:47PM +0900, Joe Larabell wrote: > > > Yes, I'm planning to do that. Not sure yet which other attacks are > > worth considering... maybe port scans, exploit tests via http... > > well, if someone has ideas, let me know. > > I wrote a short perl script to scan a weblog in real-time looking for the > typical IIS exploits. In my case, I was less forgiving, in that I blocked > the IP until the following midnight (just because I didn't want to have to > deal with counting down timeouts and the like -- just run a cronjob to > clear out the SHITLIST chain at midnight every day. It cut down on a lot > of crud in the web logs. I'll send you the script if you're interested. I did a similar thing to Joe on FreeBSD. On FreeBSD, you get a nightly security report mailed to you, which reports failed login attempts. My cronned perl script scans those emails and adds the relevant IPs to the firewall, and also to a MySQL database with the date. Every time the script is run, the first thing it does is check the database table and clears out any entries that are more than 2 weeks old (also removing them from the firewall), then it proceeds to scan the security email, moving the mail to a separate folder after the scan is done. What this does is effectively maintains a databased firewall of IPs which are banned for 2 weeks. Like Joe, I can post my script if anyone is interested. Bes9 wish3s, Shawn
- Follow-Ups:
- Re: [tlug] Script Kiddy Defence Script
- From: Michael Reinsch
- Re: [tlug] Script Kiddy Defence Script
- From: Botond Botyanszki
- References:
- [tlug] Script Kiddy Defence Script
- From: Michael Reinsch
- Re: [tlug] Script Kiddy Defence Script
- From: Nguyen Hung Vu
- Re: [tlug] Script Kiddy Defence Script
- From: Michael Reinsch
- Re: [tlug] Script Kiddy Defence Script
- From: Joe Larabell
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Script Kiddy Defence Script
- Next by Date: Re: [tlug] Script Kiddy Defence Script
- Previous by thread: Re: [tlug] Script Kiddy Defence Script
- Next by thread: Re: [tlug] Script Kiddy Defence Script
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links