Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

SecFlow

SecFlow is a multi-layered security hardening framework that offers a step-by-step approach (Tier 1 → Tier 5+) to gradually increase your server’s security posture.

Features

  1. Tier 1 – Basic firewall (UFW), new sudo user, simple kernel tuning.

  2. Tier 2 – Fail2Ban, optional passwordless SSH, additional kernel tuning.

  3. Tier 3 – Basic rate-limited Auditd, Rkhunter, Nginx.

  4. Tier 4 – Critical immutable files, LVM snapshot, AppArmor/SELinux.

  5. Tier 5 – Suricata IDS, Falco, honeypot integration, advanced logging.

Each layer logs its state and actions in the file /etc/secure-me.json (JSON format), so you can see which layer is loaded and what changes are made. Scripts can also automatically load missing sublayers.

Usage

  1. Clone the repository:
git clone https://github.com/imcanugur/SecFlow.git

About

SecFlow is a multi-tier script-based security framework to gradually harden servers from basic (Tier 1) to advanced (Tier 5+) defenses. It logs each tier’s setup in a central JSON file, allowing step-by-step or combined usage. Perfect for DevOps or SysAdmins wanting a layered security approach.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages