r/lowlevel • • 12d 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 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 or terminal utilities, the repository is here:

👉 **https://github.com/error0941/sysarmor**

I’d love to hear your feedback, code reviews, or suggestions!

NOT:Başlıkta Assembly yazmışım ama şu anki sürüm tamamen saf C ve POSIX sistem çağrıları ile çalışıyor. İlerleyen sürümlerde kritik syscall'lar için inline assembly ekleyeceğim.

NOT:Assembly eklenmiştir.

0 Upvotes

15 comments sorted by

6

u/UniqueNamesAreOut 12d ago

Is this an out of season Aprils fool joke?

3

u/karchnu 12d ago

It's not a JOKE, IT'S IN C (so that's very serious for some reason)!!

0

u/Apart_Case4994 12d ago

Nope, no April Fools here—just pure C, Assembly, and a bit of system paranoia! 🐧

1

u/Wenir 12d ago

Where do you think the assembly is in this project?

1

u/Apart_Case4994 12d ago

Fair point—no explicit .s files here, just standard C compiled straight down to assembly. Fixed the title/README mental note, thanks for checking the repo

1

u/Apart_Case4994 12d ago

şimdi incele kodu istersen gözüne birşey çarparsa yazabilirsin

1

u/Wenir 12d ago

Lol, you forgot to update the version! Terrible mistake! 

1

u/Apart_Case4994 11d ago

I updated

1

u/Wenir 11d ago

you did not

1

u/Apart_Case4994 11d ago

Yaptım kardeşim indirip bakabilirsin

1

u/[deleted] 12d ago

Nobody really knows what assembly is, it's like gluten, it's just everything that's not Java. - Seth Rogan probably.

0

u/Apart_Case4994 12d ago

şimdi incele kodu istersen gözüne birşey çarparsa yazabilirsin

0

u/Apart_Case4994 12d ago

şimdi incele kodu istersen gözüne birşey çarparsa yazabilirsin

3

u/popraxret 12d ago

Another fool showcasing his ai slop...