Skip to content

Instantly share code, notes, and snippets.

View X99874's full-sized avatar
🧠
Signal encrypted. System in stealth mode with adaptive threat intel opr engaged

ByteOverflow X99874

🧠
Signal encrypted. System in stealth mode with adaptive threat intel opr engaged
View GitHub Profile
@X99874
X99874 / RootKit_Scanner.py
Last active October 11, 2025 12:28
A lightweight, auditable Python script for detecting user-space rootkit indicators on Linux systems. Designed for forensic analysts, system administrators, and security engineers operating in constrained or high-assurance environments.
import os
import subprocess
import datetime
LOG_FILE = "rootkit_scan.log"
def log(message):
timestamp = datetime.datetime.now().strftime("[%Y-%m-%d %H:%M:%S]")
with open(LOG_FILE, "a") as f:
f.write(f"{timestamp} {message}\n")