• Stars
    star
    1,342
  • Rank 33,804 (Top 0.7 %)
  • Language
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Best Practice Auditd Configuration

Actively Maintained

    ___             ___ __      __
   /   | __  ______/ (_) /_____/ /
  / /| |/ / / / __  / / __/ __  / 
 / ___ / /_/ / /_/ / / /_/ /_/ /  
/_/  |_\__,_/\__,_/_/\__/\__,_/   

Best Practice Auditd Configuration

Idea

The idea of this auditd configuration is to provide a basic configuration that

  • works out-of-the-box on all major Linux distributions
  • fits most use cases
  • produces a reasonable amount of log data
  • covers security relevant activity
  • is easy to read (different sections, many comments)

Sources

The configuration is based on the following sources

Gov.uk auditd rules alphagov/puppet-auditd#1

CentOS 7 hardening https://highon.coffee/blog/security-harden-centos-7/#auditd---audit-daemon

Linux audit repo https://github.com/linux-audit/audit-userspace/tree/master/rules

Auditd high performance linux auditing https://linux-audit.com/tuning-auditd-high-performance-linux-auditing/

Further rules

Not all of these rules have been included.

For PCI DSS compliance see: https://github.com/linux-audit/audit-userspace/blob/master/rules/30-pci-dss-v31.rules

For NISPOM compliance see: https://github.com/linux-audit/audit-userspace/blob/master/rules/30-nispom.rules

Video Explanations by IppSec

IppSec captured a video that explains how to detect the exploitation of the OMIGOD vulnerability using auditd. In that video, he walks you through the audit configuration maintained in this repo and explains how to use it. I highly recommend this video to get a better understanding of what is happening in the config.

https://www.youtube.com/watch?v=lc1i9h1GyMA

Contribution

Please contribute your changes as pull requests

More Repositories

1

Loki

Loki - Simple IOC and YARA Scanner
Python
3,180
star
2

signature-base

YARA signature and IOC database for my scanners and tools
YARA
2,257
star
3

yarGen

yarGen is a generator for YARA rules
Python
1,425
star
4

Raccine

A Simple Ransomware Vaccine
C++
933
star
5

munin

Online hash checker for Virustotal and other services
Python
793
star
6

log4shell-detector

Detector for Log4Shell exploitation attempts
Python
733
star
7

Fenrir

Simple Bash IOC Scanner
Shell
653
star
8

yarAnalyzer

Yara Rule Analyzer and Statistics
Python
335
star
9

vti-dorks

Awesome VirusTotal Intelligence Search Queries
320
star
10

Fnord

Pattern Extractor for Obfuscated Code
Shell
293
star
11

BlueLedger

A list of my personal projects
164
star
12

DLLRunner

Smart DLL execution for malware analysis in sandbox systems
Python
141
star
13

god-mode-rules

God Mode Detection Rules
YARA
123
star
14

YARA-Performance-Guidelines

A guide on how to write fast and memory friendly YARA rules
117
star
15

evt2sigma

Log Entry to Sigma Rule Converter
Python
103
star
16

yaraQA

YARA rule analyzer to improve rule quality and performance
Python
95
star
17

Cyber-Search-Shortcuts

Browser Shortcuts for Cyber Security Related Online Services
78
star
18

exotron

Sandbox feature upgrade with the help of wrapped samples
Python
75
star
19

ImpHash-Generator

PE Import Hash Generator
Python
73
star
20

Loki2

LOKI2 - Simple IOC and YARA Scanner
Rust
67
star
21

radiocarbon

Leak File Analyzer
Python
63
star
22

Rewind

Immediate Virus Infection Counter Measures
C#
62
star
23

panopticon

A YARA Rule Performance Measurement Tool
YARA
58
star
24

tiny-shells

All kinds of tiny shells
58
star
25

LOLSecIssues

Cybersecurity's lighter side: a collection of the most amusing misunderstandings and missteps from newcomers to offensive security tools. A repository where naivetΓ© in infosec is met with humor.
55
star
26

ti-falsepositives

A collection of typical false positive indicators
Python
53
star
27

webshell-intel

Scan web server for known webshell names and responses
50
star
28

xorex

XOR Key Extractor
Python
47
star
29

Talks

Slides of my public talks
43
star
30

cyber-chef-recipes

Recipes for GCHQ's CyberChef Web App
32
star
31

sysmon-version-history

An Inofficial Sysmon Version History (Change Log)
31
star
32

SkeletonKeyScanner

Scanner for the SkeletonKey Malware
Python
30
star
33

littlesnitch-log-exporter

LittleSnitch Log Statistics Exporter
Python
30
star
34

prisma

Command Line STDOUT Colorer
Python
28
star
35

ThreatResearch-Reporting-Guide

Offensive Research Guide to Help Defense Improve Detection
28
star
36

ReginScanner

Scanner for Regin Virtual Filesystems
Python
26
star
37

YARA-Style-Guide

A specification and style guide for YARA rules
26
star
38

space-id

Invisible Watermarks with Space Characters in ASCII Files
Python
22
star
39

neolog

Windows Syslog Command Line Client
16
star
40

narsil

Spy Agency Teasing
Python
14
star
41

yara-uuid-generator

A tool that adds reproducible UUIDs to YARA rules
Python
12
star
42

WPWatcher

Wordpress Watcher is a wrapper for WPScan that manages scans on multiple sites and reports by email
Python
11
star
43

defensive-project-ideas

Ideas for projects for defensive research or blue teaming
10
star
44

agile-hacking

Collection of hacks that make use of the least available on victim systems
Visual Basic
8
star
45

CredsSpreader

A tool to spread canary credentials in your organisation
8
star
46

PowerMemory

Exploit the credentials present in files and memory
PowerShell
6
star
47

language-thor

Syntax Theme for THOR APT Scanner log files
5
star
48

yara-type-selectors

YARA rules to certain types of files without using YARA modules to avoid the performance impact
YARA
5
star
49

PassTweaker

Tweaks password files to match modern password requirements
Python
5
star
50

speedy

(Demo) - Only used to demonstrate a memory leak caused by Golang regexp
Go
4
star
51

loki-cloud

A flexible and lightweight way to execute LOKI on end systems
3
star
52

imphash-go

Imphash Generator
1
star
53

100DaysOfYARA2023

Rules Shared by the Community from 100 Days of YARA 2023
YARA
1
star