Lawliet LAWLIET
Book a demo

Lawliet usage guide

This guide describes Lawliet 1.5.13.s (the current release). 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
OperationsOverview, Environment, Assets, Compliance, Evidence, Hardening, Operations
InvestigationStories, Forensics, Defense, Honeypots, FIM, Logs, Review queue, Playbooks, Approvals
Network & DataNetwork, Firewall, DLP, AD assessment
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, topology map and exposureDiscovery, the map, exposure
29. FirewallSupported firewalls, devices, findings, optimisation plans, applying a plan, versions, monitoring
30. Logs: search, dashboards and sourcesSearch, dashboards, what agents send, log sources
31. Logs: 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

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
Disable or delete a user, or reset a forgotten password15.2 Users
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.