HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- script to analyze web logs for intrusion attempts?
Operating System - HP-UX
1825771
Members
2018
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2005 11:35 AM
11-18-2005 11:35 AM
script to analyze web logs for intrusion attempts?
I'm looking for a perl module or script that can analyze web logs. In particular, I want to analyze the number of 404 errors generated from any particular host in my web access log. For example, if example.com does 300 accesses to my website and 200 of those are 404, I want to know that. Either the user from example.com is finding a bunch of broken links (highly unlikely) or is attempting a hack (more likely).
I want to capture each unique IP/domain, the number of accesses for each in the period defined by the web access log, and the number of 404 errors for the particular IP/domain. If the ratio of 404 errors to total accesses per IP/domain is too high, then I'll block the suspect IP/domain.
Is there something like this already available?
TIA,
Anna
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2005 04:41 AM
11-19-2005 04:41 AM
Re: script to analyze web logs for intrusion attempts?
It is hard to be certain that someone is trying to hack your web servers.
There are telltale signs and there is software to help you check:
http://www.thefreecountry.com/webmaster/loganalyzers.shtml
Here is a potentially helpful blog.
http://www.sysinternals.com/blog/2005/10/sony-rootkits-and-digital-rights.html
You can probably do a good job with open source tools.
Attempting to access a broken link or file that does not exist is not necessarily a hack attempt.
A non-hacking attack example is manipulating the httpd server to send out browser like sessions to websites outside the domain of the httpd server. This seems to be an attempt to make money off pay per click vendors.
SEP
There are telltale signs and there is software to help you check:
http://www.thefreecountry.com/webmaster/loganalyzers.shtml
Here is a potentially helpful blog.
http://www.sysinternals.com/blog/2005/10/sony-rootkits-and-digital-rights.html
You can probably do a good job with open source tools.
Attempting to access a broken link or file that does not exist is not necessarily a hack attempt.
A non-hacking attack example is manipulating the httpd server to send out browser like sessions to websites outside the domain of the httpd server. This seems to be an attempt to make money off pay per click vendors.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP