# m0nad/Diamorphine

LKM rootkit for Linux Kernels 2.6.x/3.x/4.x/5.x/6.x (x86/x86_64 and ARM64)

Repository: https://github.com/m0nad/Diamorphine
Canonical: https://ross.abutalabs.com/products/diamorphine
Language: C
License: NOASSERTION
License Family: other
Topics: rootkit, lkm-rootkit, c, kernel, kernel-module, security-tools, linux, linux-kernel, hacking, hacking-tool, backdoor, malware, pentesting, pentest, redteam, redteaming, security-audit, security, advanced-persistent-threat, stealth
Last push: 2026-04-27T07:51:50+00:00

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

## Adoption (not part of the score)
Stars 2442, forks 486 (observed 2026-08-28T04:06:52.456729+00:00)

## What it is
Diamorphine is a loadable kernel module (LKM) rootkit for Linux kernels 2.6.x through 6.x on x86/x86_64 and ARM64. It demonstrates rootkit techniques such as module invisibility, process and file hiding, and privilege escalation via signals.

## Use cases
- study how linux kernel rootkits hide processes and files
- test rootkit detection tools against a real lkm rootkit
- red team training on kernel-level stealth techniques
- security research on syscall hooking in modern kernels
- learn linux kernel module hacking

## When to choose
- you need a well-known reference rootkit for detection testing or security research
- you are studying LKM rootkit techniques across many kernel versions including 5.7+ and ARM64

## When to avoid
- you need a defensive or monitoring tool - this is offensive research code
- you want something safe for production systems - loading it hides itself and grants root

## Facets
- artifact type: library
- maturity: active
- function: security, penetration-testing
- domain: security, penetration-testing, operating-systems
- platform: cli
- tags: rootkit, lkm, kernel-module, redteam, malware-research, stealth, backdoor, linux

## Member repositories
- m0nad/Diamorphine (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.456729+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-30T02:30:42.340347+00:00, confidence not recorded.
  - readme: https://github.com/m0nad/Diamorphine (fetched 2026-08-28T04:06:52.456729+00:00, sha d65615931371)
- Data as of 2026-08-30T08:39:29.467469+00:00.
