Skip to content

Rule library

Hardening rules you can read.

Every LEA Platform rule is plain JSON: what to run on each operating system, what the output must show, and how to fix it. The library is open source.

Four parts. No magic.

Validation:
the read-only command per OS and distribution, e.g. cat /proc/sys/kernel/randomize_va_space.
Expectation:
what the output must or must not match, judged on the server.
Remedy (optional):
the command that brings the setting back. It ships as _remedy, switched off; turn it on per rule and it runs only when the check fails.
Tags:
severity, category, the privilege needed and every control it supports.
uid:
a stable ID, so renamed rules keep their history and updates find them.
{
  "uid": "<stable UUID>",
  "name": "Kernel ASLR Fully Enabled",
  "category": "system_hardening",
  "cycle": 3600,
  "cmd": {
    "validation": [{ "command": "cat /proc/sys/kernel/randomize_va_space", "system": ["Linux"] }],
    "expect": [{ "system": ["Linux"], "re": { "stdout": "^2$" } }],
    "_remedy": [{ "command": "sysctl -w kernel.randomize_va_space=2 >/dev/null", "system": ["Linux"] }]
  },
  "tags": ["risk:high", "std:CIS_Controls_v8:10.5", "std:NIST_800-53:SI-16", "std:ISO27001:A.8.9", "std:SOC2:CC6.8", "std:CMMC:CM.L2-3.4.2", "std:PCI_DSS_4:2.2.6", "std:NIS2:Art21.2(e)"]
}

Written to be trusted.

  • Raw output

    Commands read files and kernel values directly; no filtering on the host.

  • Least privilege

    Each rule states the privilege it needs. Most need none.

  • Per-OS

    One rule, separate commands and expectations per operating system and distribution.

  • Safe remedies

    Remedies are optional, idempotent, off until you turn them on, and only run when the check fails.

Find the crypto that won't age well.

31 checks for legacy SSH algorithms, post-quantum key exchange support in OpenSSH and OpenSSL, system crypto policies, TLS and SChannel settings, Windows FIPS mode and .NET strong crypto, tagged to the NIST post-quantum standards (FIPS 203/204/205).

About post-quantum readiness

Signed packs. Staged changes. Your rollout.

  • The library ships as signed rule packs. LEA checks the signature before it imports anything.
  • An import only stages changes: new rules, changed rules and retired rules, side by side.
  • Apply a change to all hosts, or to new hosts only while current hosts stay on their version. Pin a group to try a version first.
  • Point LEA at a rule source and it checks for new packs on a schedule. Air-gapped sites import the pack file.
  • Run a new or changed rule as staging first: it shows PASS and FAIL on the fleet but stays out of compliance, reports and integrations until you switch it on.

Your policy, your rules.

Write rules in the console's rule editor, test them on one group, then roll them out. Tag them with your own controls and they appear in your evidence.

FAQ

CIS and CIS Controls are trademarks of the Center for Internet Security.

Try it on your own servers.

30 days, up to 25 endpoints, every feature. We help you install it and agree on success criteria first.