# MatheuZSecurity/Singularity

Stealthy Linux Kernel Rootkit for modern kernels (6x)

Repository: https://github.com/MatheuZSecurity/Singularity
Canonical: https://ross.abutalabs.com/products/singularity
Language: C
License: MIT
License Family: permissive
Topics: ftrace, hooking, kernel, linux, lkm, rootkit, syscall, hidden, poc
Last push: 2026-06-11T17:22:31+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 35, longevity 24
- inputs: {"age_days": 345, "days_push": 83, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1736, forks 193 (observed 2026-08-28T04:05:29.751964+00:00)

## What it is
Singularity is a stealthy Linux kernel module (LKM) rootkit targeting modern 6.x kernels, using ftrace-based syscall hooking to hide processes, files, network connections, and itself. It is a proof-of-concept offensive security research tool that also demonstrates evasion of eBPF-based runtime security tools, LKRG, audit, and memory forensics mechanisms.

## Use cases
- study ftrace-based syscall hooking on modern kernels
- test EDR and eBPF runtime security tools like Falco and Tracee against kernel rootkits
- research rootkit stealth techniques for red team engagements
- evaluate LKRG and audit subsystem detection capabilities
- learn Linux kernel module development and hooking internals
- demonstrate process, file, and network connection hiding in a lab environment

## When to choose
- you need a modern, actively maintained kernel rootkit PoC for 6.x kernels
- you are researching EDR/eBPF evasion at the kernel level
- you want to benchmark kernel runtime guards like LKRG
- you need a reference implementation of ftrace syscall hooking

## When to avoid
- you want to hide activity on systems you do not own or have authorization to test
- you need a defensive detection tool rather than an offensive PoC
- you target kernels older than 6.x
- you need production-grade, supported software

## Facets
- artifact type: library
- maturity: active
- function: security, penetration-testing, reverse-engineering
- domain: security, penetration-testing, operating-systems
- platform: c, cli
- tags: rootkit, lkm, ftrace, syscall-hooking, edr-evasion, ebpf-bypass, proof-of-concept, kernel-module, red-team, linux

## Member repositories
- MatheuZSecurity/Singularity (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:29.751964+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:30:39.856638+00:00, confidence not recorded.
  - readme: https://github.com/MatheuZSecurity/Singularity (fetched 2026-08-28T04:05:29.751964+00:00, sha 4110e5dec000)
- Data as of 2026-08-30T08:39:29.467469+00:00.
