When an attacker rewrites the kernel, Civilium sees it from underneath.

Civilium is a drop-in monitor that loads at EL2, below an unmodified Linux kernel that’s already running. If an attacker with root tries to change protected kernel memory, the write is blocked and logged somewhere they can’t reach.

Four thin plates stacked like a chip: EL0 where applications run, EL1 the Linux kernel, EL2 where Civilium runs, and EL3 firmware, over a field of physical memory pages. A write from the kernel heads for a protected page; it reaches the EL2 plate and breaks apart there, and the page below is untouched.

  • Late launch, no reboot
  • Stage-2 write protection
  • Keyed on the physical page
  • Irreversible seal
  • Tamper-evident log

18 syscalls hooked by PUMAKIT, a Linux kernel rootkit found in the wild in December 2024.

Elastic Security Labs, 2024[1] sourced

Security is moving out of the kernel. We already run below it.

It rewrites kernel structures to hide and persist, and it had zero antivirus detections when it was first uploaded. That kind of kernel tampering is exactly what Civilium blocks, from a level a rooted OS can't reach.

120K+ AWS customers now run on Graviton, so ARM is mainstream in the datacenter. We start with ARM64; x86 has the same hardware feature.[2] sourced

3 platforms already protect their kernel from below: Microsoft HVCI, Samsung RKP and Android pKVM. Each works only on its own OS. None covers ordinary, unmodified Linux. framing

We ran the same rootkit twice. Here’s what Civilium did.

This rootkit hooks the syscall table so an ordinary user can become root. Without Civilium, it works. With Civilium, the same write faults at EL2 and gets logged.

  1. Late-launch to EL2.

    A kernel module installs EL2 exception vectors on every CPU and hands control to a small bare-metal monitor, on a system that’s already running. No reboot. No new OS.

  2. Lock the pages that matter.

    The CPU has a second stage of address translation. Civilium uses it to lock the kernel’s trusted read-only data (.rodata, the syscall table, LSM hooks, ro_after_init data) at a level the kernel can’t unlock. It’s keyed on the physical page, so writing through an alias mapping doesn’t get around it.

  3. The rootkit goes for the syscall table.

    getroot.ko takes its own writable alias of the page holding sys_call_table[141] and writes a hook into it. Without Civilium, the next call hands an ordinary user root.

  4. The write never lands.

    It traps to EL2 as a stage-2 permission fault. The table is untouched, uid stays 1000, and the attempt is recorded below the kernel, where the compromised system can’t erase it.

The same stack in miniature. During the attack the write travels down from the kernel; with Civilium it breaks apart at the EL2 plate, without Civilium it reaches the protected page.

civilium · qemu/tcg guest · arm64

$ sudo insmod hvmon.ko protect_mask=2 seal=1

hvmon: seal engaged

hvmon: online

$ uptime

up 41 days, 03:07:12 illustrative · no reboot

stage-2 map · protect_mask=2

read-only at EL2 holds sys_call_table · =3 also locks .text

$ sudo insmod getroot.ko

write → sys_call_table[141]

without Civilium: uid 1000 → 0

$ ./trigger

uid before:  1000

uid after:   1000

uid after:   0 user is now root

/proc/hvmon/log

ts=483309317582 cpu=1 ipa=0x54a70e50 esr=0x93d4804f region=1 action=DENY Denied

/proc/hvmon/log: nothing. No monitor, no record.

Outcome. With Civilium: the write to sys_call_table faults at EL2, uid stays 1000, and the log records ts=483309317582 cpu=1 ipa=0x54a70e50 esr=0x93d4804f region=1 action=DENY. Without Civilium: uid becomes 0 and nothing is logged.

Reproducible end to end in the QEMU/TCG guest. esr=0x93d4804f decodes to EC=0x24 (data abort), WnR=1 (write), DFSC=0x0f (stage-2 permission fault).[6] sourced

Attackers will get in eventually. We make sure they can’t hide it.

Here’s what Civilium covers today, what it doesn’t, and what’s on the roadmap.

Does today

  • Makes kernel code and critical tables read-only from EL2.
  • Blocks writes to them, even from root.
  • Logs each attempt somewhere the kernel can’t reach, and counts any it had to drop.
  • Once sealed, refuses every request from the kernel to reconfigure it or switch it off.

Doesn’t do

  • Stop the initial memory-corruption bug. It acts on the kernel tampering that comes after. by design
  • Replace your EDR. It runs alongside it, one layer down. by design
  • Close every route around it yet. W^X isn’t on by default, TTBR1_EL1 isn’t trapped, and a return-oriented chain into the kernel’s own self-patching code still gets through. known gap
  • Run on physical hardware yet. Everything on this page is verified under QEMU. pre-production

Roadmap

  • Catch use-after-free and heap corruption as they happen. MTE
  • Protect writable .data and device DMA. allow-list + SMMU
  • Close the known bypass routes. default W^X · TTBR1 trap
  • Run on x86/64. VT-x/EPT
  • Validate on physical ARM64 hardware. bare metal

Everyone else is tied to one platform or runs inside the kernel.

The approach itself is proven. Samsung, Microsoft and Google have each built a version, but only for their own platforms. Independent vendors run at EL1, the same privilege level as the rootkits they’re trying to catch. Nobody covers general-purpose Linux from below the kernel. framing

How Civilium compares with other kernel-integrity approaches
ApproachRuns atBlocks the writeUnmodified LinuxEdge
LKRG · eBPF · FalcoEL1 · in-kernel DetectsYes Runs at the same privilege as the attacker, so it goes down with the kernel.
HVCI · RKP · pKVMEL2 · captive YesNo Real below-kernel integrity, but only on Windows, Samsung or Android.
Invaryattestation NoYes Detects drift and reports it; it doesn’t enforce or stop the write.
CiviliumEL2 · retrofit YesYes Enforcement from below the kernel on ordinary ARM64 Linux that’s already running. No new OS, no vendor lock-in. Nobody else is here.

Fleets where a kernel compromise is a safety event.

Automotive Where we start

UN R155 · ISO/SAE 21434

Linux domain controllers that have to meet runtime integrity rules. A kernel compromise in a car is a safety issue, and the manufacturer controls the boot chain.

Defense & autonomy

Robotics · autonomy

Robots and autonomous platforms that depend on a kernel nobody has tampered with, and where evidence from below the kernel matters after an incident.

Edge & regulated fleets

ARM64 · on-prem · edge

On-prem and edge ARM64 servers that need an integrity guarantee from below the kernel. An EDR running inside the kernel can’t provide that.

The damage runs into the billions. Kernel tampering is the step that makes it stick.

$13.82T
Projected yearly global cost of cybercrime by 2028, up from $9.22T in 2024. Statista Market Insights[3] sourced
$275B
Projected yearly ransomware damages by 2031, up from about $20B in 2021. Cybersecurity Ventures[4] sourced
$4.88M
Average cost of a data breach across all industries in 2024, a record high and up 10% from the year before. IBM Cost of a Data Breach 2024[5] sourced

These are industry-wide costs, not our addressable market. Our bottom-up market sizing, with sources, is in the technical brief.

Try it on your own hardware.

We’re taking on a few design partners running ARM64 fleets in automotive or defense, where kernel integrity is a safety or mission concern. If that’s you, request access and we’ll set up a technical evaluation.

No mailing list. Your email goes straight to the founders and we’ll reply personally. See our privacy policy.

Want to see it first? Download the evaluation kit