hrvolapeter / security-log

High performance, attack detection from web server logs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Security log πŸ”’πŸ”’πŸ”’

Build Status Coverage Status

Security log is a high performence access log analyzer for OWASP TOP 10 attacks (well only part that can be detected from access logs πŸ˜‰). This project was created as part of my bachelor thesis.

Download precompiled binary for Ubuntu

Contents

Features

  • analyse web access logs
  • nginx / apache format
  • reading from file or elasticsearch
  • reporting using email βœ‰οΈ
  • running as a daemon πŸ‘»

Options ⌨️

Configurable using config stored in /etc/security-log/config.yaml

Input types: πŸ•Έ

  • πŸ•΅οΈ elasticsearch
  • πŸ“‚ file path

Output types / Incident reporting #️⃣

  • βž₯ std
  • βœ‰οΈ email

Server type

  • nginx
  • apache

Apache, elasticsearch with output to std

tag: Config
serverType: Apache
input:
  tag: Elastic
  size: 10
  ip: http://localhost:9200
output:
  tag: Std
asDaemon: false

Nginx, file, with output to email runing as daemon

tag: Config
serverType: Nginx
input:
  tag: File
  content: /logs/apache/acces_log
output:
  tag: Email
  content: test@me.com
asDaemon: true

Building From Source

Install haskell stack with ```bash curl -sSL https://get.haskellstack.org/ | sh

Compile using ```bash
stack build

About

High performance, attack detection from web server logs.

License:GNU General Public License v3.0


Languages

Language:Haskell 100.0%