r/lowlevel • u/Apart_Case4994 • 11d ago
SysArmor: A lightweight Linux system hardening tool written in pure C and Assembly (zero dependencies)
Hey everyone! I built **SysArmor**, a zero-dependency system hardening and security miffing tool written entirely in pure C and Assembly.
It uses POSIX system calls (like `open` with `O_NOFOLLOW` and `fstat`) to protect critical system paths against symlink attacks, race conditions, and unauthorized modifications across all standard Linux distros (Ubuntu, Debian, Fedora, Arch, etc.).
If you're into low-level systems programming, terminal utilities, or want to check it out, the repository is here:
👉 **https://github.com/error0941/sysarmor**
I’d love to hear your feedback, code reviews, or suggestions!
1
u/minektur 11d ago
This .... checks the permissions of 3 files.... and changes it if they're not what expected? skipping the use of libc by making raw syscalls? Thats it?
What is the threat model that you're trying to detect? How does this address that threat?