Lawliet usage guide
This guide describes Lawliet 1.6.3.b (the current release, a beta: earlier releases are beta. The first stable release will be 2.0.0). Screens, commands and procedures may change in later versions; the usage guide is updated with each release. Check the version your server runs under Settings > Platform or with ./lawliet version, and see the Releases page for what changed.
Step-by-step instructions for the people who install and run Lawliet: server administrators, security officers and analysts. It covers the server and its ./lawliet command, the agents, and every area of the web console, for release 1.5.13.s.
The guide is complete on its own: you should not need any other document to install, operate, update or recover Lawliet. Where a reference document has more background, the chapter links to it.
How to read this guide#
Start here. If you are installing, read 1. Overview and concepts, then follow 2. Installation from top to bottom. Everyone else can go straight to the chapter for their task (see I want to... below).
Each procedure has the same parts:
| Part | What it tells you |
|---|---|
| You need | The access required: root on the server, the console permission, and whether a second administrator must approve (four-eyes) |
| Numbered steps | Do them in order |
| What you see | The output or screen that shows the step worked |
| If it fails | The messages you may get, what they mean and what to do |
| Risk and Rollback | For anything that changes a server or a monitored host: what can go wrong, and how to undo it |
Commands. Everything in a code block is typed exactly as shown, except text in angle brackets, which you replace: <address>, <version>, <file>. Server commands are run in the installation directory (for example /opt/lawliet-1.5.13.s), as root or with sudo.
Console paths. Written as Sidebar entry > Page or tab > Section > Button, using the exact labels on screen, for example Settings > Platform > Platform updates > Check for updates.
Four-eyes. A procedure marked Four-eyes is held after you submit it until a second person approves it under Approvals; then you execute it. See 1.3 Four-eyes approval.
The console sidebar#
| Group | Entries |
|---|---|
| Overview | Overview, Review queue, Approvals, Stories |
| Detect | SIEM (search, dashboards, alerts, rules, Sigma, entities, ATT&CK, sources, and the Telemetry tab), Honeypots, DLP, FIM |
| Respond | Under attack, Defense, Blocklist, Playbooks, Forensics, Evidence |
| Harden & comply | Compliance, Hardening, Operations |
| Assets | Environment, Assets, Network, Firewall, AD assessment, vSphere, AWS |
| Administration | Settings (tabs: Platform, Setup, Notifications, Users, Access control, Authentication, API keys, SIEM forwarding, Audit trail, and Sandbox where demo data is allowed) |
You see only the entries your role allows and your licence includes.
Chapters#
Part A: the server and the ./lawliet command#
| Chapter | Covers |
|---|---|
| 1. Overview and concepts | What runs where, roles and permissions, four-eyes, the licence, the air-gapped model |
| 2. Installation | Requirements, download and checksum, install by IP or name, certificate choices, first sign-in, two-factor, second approver, licence activation |
| 3. CLI reference | Every ./lawliet command and option, with examples and what the output means |
| 4. Updates, rollback and delta updates | Updating from a file or the console, post-update steps, rolling back, deltas |
| 5. Backup and restore | What a backup holds, scheduling, off-server copies, restore, restore onto a new server, testing |
| 6. TLS and certificates | Checking, replacing and re-issuing certificates with agents online, hand-over, cancel, encryption on and off |
| 7. Doctor, diag and support | Findings and safe fixes, the redacted diagnostics archive, health endpoints, contacting support |
| 8. Troubleshooting | Symptom, cause, fix: start-up, console access, certificates, agents, clocks, WinRM, sign-in |
| 9. Security hardening of the server | Ports, host firewall, shell access, secret files, console accounts, settings to keep |
Part B: agents and identity#
| Chapter | Covers |
|---|---|
| 10. Agents overview | What the agent does, how it talks to the server, the Environment page, host configuration, clocks, removal, versions and upgrades |
| 11. Install agents on Linux (and macOS) | Copy-paste command, offline package, installer options, managing and uninstalling the agent, macOS |
| 12. Install agents on Windows | Copy-paste command, offline package, Group Policy (MSI and startup script), preparing hosts for WinRM, uninstall, installer parameters |
| 13. Remote deployment from the console | Permissions and four-eyes, credentials, testing a credential, Kerberos realms, deploying agents |
| 14. Active Directory | Directory sign-in, directory sync, Windows sign-in (Kerberos single sign-on), AD assessment |
| 15. Users, roles, two-factor, API keys, approvals and the audit trail | Day-to-day account and approval administration |
| 16. Agent security | Self-protection, uninstall codes, the recovery key, agent tokens, enrolment secret and codes, certificate changes |
Part C: the console, area by area#
| Chapter | Covers |
|---|---|
| 20. Console basics, the Overview and the wall | Layout, banners, the Overview page, the wall |
| 21. Review queue | The shared work list |
| 22. Compliance: scans, results and the fix plan | Running scans and reading results |
| 23. Compliance: schedules and drift | Scheduled scans, drift |
| 24. Compliance: heatmap and trends | Control-by-scan view, history |
| 25. Compliance: attestations, exceptions and reports | Attestations, exceptions, scheduled reports |
| 26. Hardening | Fix plans, executions, rollback |
| 27. Evidence bundles | Creating and exporting evidence |
| 28. Network: discovery, devices, flows, reachability and exposure | Discovery, the map, the device baseline and new-device alerts, flows, reachability and critical paths, exposure |
| 29. Firewall | Supported firewalls, devices, findings, optimisation plans, applying a plan, versions, monitoring |
| 30. SIEM: search, dashboards and sources | Search, dashboards, what agents send, log sources |
| 31. SIEM: detection rules, alerts, Sigma, entities and ATT&CK | Detection rules, alerts, Sigma import, entities, ATT&CK coverage |
| 32. Data loss prevention (DLP) | Incidents, policies, discovery of data at rest, where a file is, enforcement status |
| 33. File integrity monitoring (FIM) | FIM policies, baselines and verification, working the changes |
| 34. Forensics and IOC hunts | Cases, collecting evidence, artifacts and chain of custody, the super-timeline, IOC hunts |
| 35. Honeypots (deception) | Decoy kinds, creating and deploying decoys, handling a trip, auto-contain |
| 36. Active defense and containment | Containment actions, dispatching and undoing them, running a command on a host |
| 37. Playbooks | How a playbook runs, creating one, approving a containment step |
| 38. Assets and Stories | The asset inventory and the incident stories |
| 39. Operations and Settings | Operations, every Settings tab, outbound email, notifications, SIEM forwarding, sandbox |
Part D: the hardening and compliance program, and the integrations#
| Chapter | Covers |
|---|---|
| 40. The control catalog, profiles and frameworks | The 1,401 controls, role profiles and their levels, framework mappings, where a control applies, customer profiles |
| 41. The hardening planner | Plans for a host or group, priority, breakage prediction, guards and "unknown", audit then enforce, overrides with four-eyes, lockout risk, management paths behind NAT |
| 42. The do-not-disrupt host baseline and host groups | Learning, approving, pin and unpin, modes strict/warn/off, deviations, overrides, group-wide items, auto-baseline for new hosts |
| 43. Framework scores, manual evidence and signed reports | Scores per framework and group, manual evidence with a second person, signed PDF/HTML reports and evidence packs, verifying them, the evidence key |
| 44. Compliance exports | GPO backup for GPMC import, Ansible role, signed shell bundle, importing its report |
| 45. Agent 2.1.10.s: hardening telemetry, host inventory and audit setup | What the agents collect, the audit settings they change and how they revert them, the DC log-volume rule, server settings |
| 46. VMware vSphere | Connections, inventory, compliance, remediation and rollback, agents into guest VMs |
| 47. AWS | Read and write roles, inventory, exposure, the five fixes, agent rollout through Systems Manager |
| 48. Under Attack mode | Plans and drills, break-glass start and the confirmation window, the change ledger, two-person exit, never-touch and the blast-radius cap |
| 49. Under Attack: what BASELINE does on a host | The safe hardening set applied at once, refused changes, keeping or rolling back at the end |
| 50. Under Attack: suggestions, automatic start, kill switch | What detections count, the confidence score, suggestion cards, the gates of an automatic start, the kill switch |
| 51. Under Attack in the console | Plans per segment, approving and drilling a plan, break-glass start and the confirm window, the war room, ending with keep or exact rollback, the wall banner, never-touch lists, suggestion cards and the automatic-start kill switch in the console |
| 55. Endpoint telemetry in the console | Hunt across hosts, process trees, attack stories from an alert, host-group profiles and retention, agent telemetry health and the Sysmon upload |
| 52. Windows endpoint telemetry: Sysmon and ETW | What the Windows agent sends from Sysmon and ETW, how it gets Sysmon onto a host (built-in feature, your Sysmon64.exe upload, a site's own Sysmon), uploading, activating and withdrawing Sysmon64.exe, the Sysmon settings, the Lawliet Sysmon configuration |
| 53. Under Attack: endpoint telemetry chains and automatic isolation | The four chains, two observers before any isolation, isolation inside and outside an activation, affected hosts in the war room, the telemetry copied into the incident record, the chain-isolation settings |
| 54. Blocklist | Every blocked address and network from every block path, blocking at one host or every host, expiry, per-host state, unblock everywhere, what is never blocked |
| 56. Restart after hardening | Hosts whose hardening waits for a restart, restarting one or all of them with a warning to logged-in users (four-eyes), cancelling, the review-queue reminder, what is never restarted |
| 57. Hardening batches | Many controls on many hosts in one request: selection tools (all failing, sections, filter, profile), what each host skips and why, one four-eyes approval, per-host results, restart pending, rolling back a batch or one host; Lockdown (every control that can be rolled back, one approval) |
| 58. Maintenance windows | When approved hardening may change hosts: weekly or one-off windows in a time zone over a host group or hosts, batches approved now and applied in the window, missed hosts and re-queueing, restart in window (opt-in, never domain controllers unless ticked), editing a window batches wait for (four-eyes) |
| 59. Verbose mode | The header's Verbose switch and what every run's timeline shows (commands, signing, delivery, raw output, the line that decided a verdict, skip reasons, approvals), downloading a whole output, who sees what, and ./lawliet --verbose |
| 60. Agent health | Why a host is offline or slow: the fleet sorted most unhealthy first with plain-language reasons, the 24 h heartbeat timeline, the agent's own CPU and memory, queue backlogs, last errors, upgrade state, crash loops, clock skew and transport |
| 61. Scheduled hardening | A saved hardening plan that runs every week in its window after one four-eyes approval, valid until edited: saving, approving, what each run does per host (busy and offline hosts wait, never two runs on one host), the window end, skip next run, pause, audit log and review-queue summary |
| 64. AD remediation: tiered admin model, Windows LAPS, hygiene | The AD assessment Remediate tab: staged actions (preview, four-eyes apply, verify, exact rollback); Tier 0/1/2 OUs, groups and logon-restriction GPOs (audit, then enforce); Windows LAPS prerequisites, schema extension (irreversible), rollout, view a password once and rotate; stale-account quarantine and deletion, password never expires, unconstrained delegation, privileged group members, LDAP signing and channel binding |
| 65. Active Directory: Kerberos-only and Kerberos hardening | The staged NTLM migration (audit GPOs, NTLM users with a fix each, one approval with exceptions, automatic enforcement, rollback) and the Kerberos actions (AES, RC4 off, krbtgt double rotation, Protected Users, kerberoastable accounts) |
| 66. Rollback, clones and clock jumps | Server restored from a snapshot (rollback detection, agents hold, ./lawliet fleet resync --confirm, --rotate), a rolled-back endpoint (pending re-admit, approve), a cloned host (new pending agent), clock-jump tolerance |
Exceptions and drift on enforced controls are in 25.2 and 23.3.
Appendices#
| Appendix | Covers |
|---|---|
| A. Action index | Every action in the CLI, on the hosts and in the console, with where it is, the permission, four-eyes, and the section with its procedure; the lifecycle of every object you can create |
| B. Permissions, roles and four-eyes | Every permission, what it allows, which built-in roles hold it, and the critical actions that need a second administrator |
| C. Glossary | The words the guide and the console use |
I want to...#
| Task | Go to |
|---|---|
| Install Lawliet on a new server | 2. Installation |
| Install the licence I received | 2.10 Activate the licence |
| Add agents | 10. Agents overview |
| Give a colleague access, or create the second approver | 2.9 First sign-in, step 5, 15. Users and roles |
| Apply an update | 4. Updates |
| Undo an update | 4.6 Roll back |
| Take or restore a backup | 5. Backup and restore |
| Replace or renew the certificate | 6. TLS and certificates |
| Find out why something is broken | 8. Troubleshooting, then 7. Doctor and diag |
| Send diagnostics to the vendor | 7.2 diag |
| Recover a locked-out administrator | 3.17 passwd |
| Remove or delete a host | 10.7 Removing a host, then uninstall it (11.6, 12.9) |
| Uninstall a protected agent | 16.3 Uninstall codes |
| Recover after restoring the server from a snapshot | 66.1 The server was rolled back |
| Disable or delete a user, or reset a forgotten password | 15.2 Users |
| Decide what to harden first on a host, and what it will break | 41. Hardening planner |
| Protect what a host needs from hardening | 42. Host baseline |
| Accept the risk of a control for a while | 25.2 Exceptions |
| Give an auditor a signed framework report | 43.4 Signed reports |
| Harden with Group Policy, Ansible or a script | 44. Compliance exports |
| Connect vCenter or AWS | 46. vSphere, 47. AWS |
| Find any button or command | Appendix A. Action index |
| Find out what a permission allows | Appendix B. Permissions |
Contacts#
- Help and support: [email protected]. Quote the build id from
sudo ./lawliet status. - Security vulnerabilities only: follow the security disclosure page.
Reference documents#
Background and design notes behind the procedures: the lawliet command, networking, access control, diagnostics, certificate and licence health.