LawlietRequest demo ↗

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:

PartWhat it tells you
You needThe access required: root on the server, the console permission, and whether a second administrator must approve (four-eyes)
Numbered stepsDo them in order
What you seeThe output or screen that shows the step worked
If it failsThe messages you may get, what they mean and what to do
Risk and RollbackFor 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#

GroupEntries
OverviewOverview, Review queue, Approvals, Stories
DetectSIEM (search, dashboards, alerts, rules, Sigma, entities, ATT&CK, sources, and the Telemetry tab), Honeypots, DLP, FIM
RespondUnder attack, Defense, Blocklist, Playbooks, Forensics, Evidence
Harden & complyCompliance, Hardening, Operations
AssetsEnvironment, Assets, Network, Firewall, AD assessment, vSphere, AWS
AdministrationSettings (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#

ChapterCovers
1. Overview and conceptsWhat runs where, roles and permissions, four-eyes, the licence, the air-gapped model
2. InstallationRequirements, download and checksum, install by IP or name, certificate choices, first sign-in, two-factor, second approver, licence activation
3. CLI referenceEvery ./lawliet command and option, with examples and what the output means
4. Updates, rollback and delta updatesUpdating from a file or the console, post-update steps, rolling back, deltas
5. Backup and restoreWhat a backup holds, scheduling, off-server copies, restore, restore onto a new server, testing
6. TLS and certificatesChecking, replacing and re-issuing certificates with agents online, hand-over, cancel, encryption on and off
7. Doctor, diag and supportFindings and safe fixes, the redacted diagnostics archive, health endpoints, contacting support
8. TroubleshootingSymptom, cause, fix: start-up, console access, certificates, agents, clocks, WinRM, sign-in
9. Security hardening of the serverPorts, host firewall, shell access, secret files, console accounts, settings to keep

Part B: agents and identity#

ChapterCovers
10. Agents overviewWhat 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 WindowsCopy-paste command, offline package, Group Policy (MSI and startup script), preparing hosts for WinRM, uninstall, installer parameters
13. Remote deployment from the consolePermissions and four-eyes, credentials, testing a credential, Kerberos realms, deploying agents
14. Active DirectoryDirectory sign-in, directory sync, Windows sign-in (Kerberos single sign-on), AD assessment
15. Users, roles, two-factor, API keys, approvals and the audit trailDay-to-day account and approval administration
16. Agent securitySelf-protection, uninstall codes, the recovery key, agent tokens, enrolment secret and codes, certificate changes

Part C: the console, area by area#

ChapterCovers
20. Console basics, the Overview and the wallLayout, banners, the Overview page, the wall
21. Review queueThe shared work list
22. Compliance: scans, results and the fix planRunning scans and reading results
23. Compliance: schedules and driftScheduled scans, drift
24. Compliance: heatmap and trendsControl-by-scan view, history
25. Compliance: attestations, exceptions and reportsAttestations, exceptions, scheduled reports
26. HardeningFix plans, executions, rollback
27. Evidence bundlesCreating and exporting evidence
28. Network: discovery, devices, flows, reachability and exposureDiscovery, the map, the device baseline and new-device alerts, flows, reachability and critical paths, exposure
29. FirewallSupported firewalls, devices, findings, optimisation plans, applying a plan, versions, monitoring
30. SIEM: search, dashboards and sourcesSearch, dashboards, what agents send, log sources
31. SIEM: detection rules, alerts, Sigma, entities and ATT&CKDetection 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 huntsCases, 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 containmentContainment actions, dispatching and undoing them, running a command on a host
37. PlaybooksHow a playbook runs, creating one, approving a containment step
38. Assets and StoriesThe asset inventory and the incident stories
39. Operations and SettingsOperations, every Settings tab, outbound email, notifications, SIEM forwarding, sandbox

Part D: the hardening and compliance program, and the integrations#

ChapterCovers
40. The control catalog, profiles and frameworksThe 1,401 controls, role profiles and their levels, framework mappings, where a control applies, customer profiles
41. The hardening plannerPlans 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 groupsLearning, 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 reportsScores per framework and group, manual evidence with a second person, signed PDF/HTML reports and evidence packs, verifying them, the evidence key
44. Compliance exportsGPO backup for GPMC import, Ansible role, signed shell bundle, importing its report
45. Agent 2.1.10.s: hardening telemetry, host inventory and audit setupWhat the agents collect, the audit settings they change and how they revert them, the DC log-volume rule, server settings
46. VMware vSphereConnections, inventory, compliance, remediation and rollback, agents into guest VMs
47. AWSRead and write roles, inventory, exposure, the five fixes, agent rollout through Systems Manager
48. Under Attack modePlans 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 hostThe safe hardening set applied at once, refused changes, keeping or rolling back at the end
50. Under Attack: suggestions, automatic start, kill switchWhat detections count, the confidence score, suggestion cards, the gates of an automatic start, the kill switch
51. Under Attack in the consolePlans 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 consoleHunt 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 ETWWhat 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 isolationThe 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. BlocklistEvery 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 hardeningHosts 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 batchesMany 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 windowsWhen 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 modeThe 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 healthWhy 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 hardeningA 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, hygieneThe 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 hardeningThe 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 jumpsServer 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#

AppendixCovers
A. Action indexEvery 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-eyesEvery permission, what it allows, which built-in roles hold it, and the critical actions that need a second administrator
C. GlossaryThe words the guide and the console use

I want to...#

TaskGo to
Install Lawliet on a new server2. Installation
Install the licence I received2.10 Activate the licence
Add agents10. Agents overview
Give a colleague access, or create the second approver2.9 First sign-in, step 5, 15. Users and roles
Apply an update4. Updates
Undo an update4.6 Roll back
Take or restore a backup5. Backup and restore
Replace or renew the certificate6. TLS and certificates
Find out why something is broken8. Troubleshooting, then 7. Doctor and diag
Send diagnostics to the vendor7.2 diag
Recover a locked-out administrator3.17 passwd
Remove or delete a host10.7 Removing a host, then uninstall it (11.6, 12.9)
Uninstall a protected agent16.3 Uninstall codes
Recover after restoring the server from a snapshot66.1 The server was rolled back
Disable or delete a user, or reset a forgotten password15.2 Users
Decide what to harden first on a host, and what it will break41. Hardening planner
Protect what a host needs from hardening42. Host baseline
Accept the risk of a control for a while25.2 Exceptions
Give an auditor a signed framework report43.4 Signed reports
Harden with Group Policy, Ansible or a script44. Compliance exports
Connect vCenter or AWS46. vSphere, 47. AWS
Find any button or commandAppendix A. Action index
Find out what a permission allowsAppendix B. Permissions

Contacts#

Reference documents#

Background and design notes behind the procedures: the lawliet command, networking, access control, diagnostics, certificate and licence health.