LawlietRequest demo ↗

28. Network: discovery, devices, flows, reachability and exposure

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.

The Network area builds one map of the estate from four sources: agent telemetry, scans run from the server, imported firewall configurations, and (when loaded) sandbox data. It shows which hosts exist, which have an agent, how they connect, how risky each is, and what the internet can reach.

Permissions:

TaskPermissionFour-eyes
See the map, nodes, runs, devices, flows, reachability, exposure; export the topology or the mapView network-
Run a server-side scan, rescan a node, remove hidden internet endpointsManage networkno
Approve, ignore or reset a device in the baseline; approve all unreviewed devicesManage networkno
Seed or clear sandbox topologyManage demo dataonly if your policy turns it on (off by default)

28.1 What the Network page shows#

Path: Network. The page title is Network topology.

  • Header actions: "N scans running" while scans run, and Export topology (28.6).
  • Tabs under the title: Map (this page), Devices (28.7), Flows (28.8), Reachability (28.9) and Exposure (28.5). On a phone the tab row scrolls sideways.
  • Tiles: Total nodes, Online, Managed (has agent), Unmanaged (known, no agent), Discovered (no agent, unconfirmed), Observed edges, Policy edges (firewall rules), and Demo when sandbox data exists.
  • Source strip: how many nodes each source contributed. Internet endpoints the agents talked to are counted separately ("internet endpoints observed (not assets)").
  • Distribution strip: Risk distribution, Node types, Zone breakdown.
  • Topology map (28.2).
  • Trigger server-side network scan (folded; 28.3).
  • Discovery run history: Run, Target, Status, Started, Duration, Result (last 20).
  • Node inventory: filter All, Managed, Unmanaged, Discovered (and Demo); columns IP address, Hostname, Device, Type, Role, Source, Confidence, Online.

If you see "N nodes created by an earlier version for internet endpoints your agents connected to are hidden from the map and counts", remove them (procedure below). They are not machines in your estate.

Procedure: remove the hidden internet endpoints#

Permission: Manage network. Four-eyes: no. Risk: none to hosts; only those hidden nodes are deleted from Lawliet. Rollback: none needed - they are not assets.

  1. Open Network. The notice is shown only when such nodes exist.
  2. Press Remove them. The button shows Removing....
  3. What you see: the notice disappears and the counts stay the same (the nodes were already hidden). If it fails, the notice says "Cleanup failed." or the server's reason; try again.

Nodes are not deleted by hand#

The console has no button to delete or edit a network node in this release. A node stays as a record of what was seen. A host that is gone shows offline (dashed outline). Sandbox nodes are removed with the sandbox (39.9).


28.2 Using the topology map#

  • Zones are drawn as areas: External, DMZ, Management, Internal, Unzoned.
  • Find a host, address or vendor highlights matching nodes.
  • Zoom in, Zoom out, Fit the map to the window. Scroll to zoom, drag to pan, double-click to reset to 100%.
  • Hover or click a node to trace its links. A dashed outline means offline.
  • Links from agents are drawn as arrows from the host that opened the connection to the host that accepted it ("connects to"). Hover a link for the hosts and the port.
  • The shape says what a device is: server, workstation, domain controller (a server with a filled band), hypervisor (stacked boxes), NAS (a box with drive lines), access point (a triangle), phone or tablet (a tall rounded box), router, firewall, switch, printer, IoT device. A small VM label marks a virtual machine (the platform is in the node panel). A red I dot marks an internet-facing host.
  • Changes since the last scan (tick box above the map): a blue ring is a new device, an amber ring a changed one (type, open ports or MAC), a dashed grey ring a device the last scan did not see. Hover the ring for what changed. Only the latest scan's changes are ringed; earlier ones are history.
  • Critical path (list above the map, when there is one): pick a path and the map draws it in red, hop by hop, from an entry point to a crown jewel, and dims everything else (28.9).
  • SVG and PNG (next to Fit) download the whole map in the colours of your current theme.
  • Zone-to-zone flows lists the traffic between zones.

Click a node to open its detail panel:

SectionContent
RiskThe node's risk score and band. Domain controllers and hypervisors score higher: their compromise is the domain's or every VM's
Type, Virtual, Baseline, Last changeWhat the device is, whether it is a VM (and on what), whether it is a known device (with a link to review it), and what the last scan changed
RolesWhat the host does (for example default gateway); a randomised MAC note for phones and laptops
Why this classificationThe evidence behind the device type and role
Open ports, Services, Detected versions, TLS certificate namesWhat the scans found
How this was discoveredThe evidence trail per technique

Buttons in the panel:

  • Rescan now (Manage network): probes this one host again and updates its ports, services and score (procedure below).
  • Deploy an agent to this host: opens Environment > Hosts with the host's address filled in for deployment (chapter 13).

"Could not load the evidence trail. This is not a statement that none exists." means the request failed; refresh. "No evidence recorded" means the node predates evidence capture or was added by hand; rescan the range to populate it.


Virtual machines and cloud instances on the map#

  • vSphere: ESXi hosts appear at their management address, each VM linked to its host with the port groups and VLANs it uses (chapter 46).
  • AWS: every EC2 instance is a node (source Cloud), every subnet a zone (DMZ when it routes an Internet-sized range to an Internet gateway, else internal), with one Internet node per connection and Internet -> instance edges for the ports the Internet reaches (chapter 47).

These nodes come from the integration's sync; remove the connection to remove them.

Procedure: rescan one host#

Permission: Manage network. Four-eyes: no. Risk: the server probes that one address (the same probes as 28.3). Rollback: not needed; only Lawliet's record is updated.

  1. Open Network and click the node on the map (or its row in Node inventory).
  2. In the detail panel, press Rescan now next to Risk. It shows Probing....
  3. What you see: the panel's online state, open ports, services and risk score update.

If it fails: "The host could not be probed from this server." (or the server's reason). The server has no route to that address; deploy an agent on the host or scan from a server that can reach it.


28.3 Procedure: run a server-side discovery scan#

The server probes a private address range and records what answers. It uses ARP and ICMP, TCP connections to the chosen ports, service banners, TLS certificates, reverse DNS, mDNS, SSDP, NetBIOS, SNMP system descriptions, the route table and the MAC vendor prefix.

Permission: Manage network. Four-eyes: no.

Risk: active probing of a subnet. Intrusion detection systems may alert, and fragile devices (old printers, industrial controllers) can misbehave under probes. Agree the range and the time with the network owner. Rollback: a scan only adds or updates nodes in Lawliet; nothing changes on the probed hosts.

  1. Open Network and expand Trigger server-side network scan.

  2. Enter Target CIDR (private ranges only), for example 10.0.1.0/24. Only private (RFC 1918) ranges are accepted, up to a /16.

  3. Choose the Port set: Identify devices (25 ports, recommended) (the default), Minimal (3 ports), Common (12 ports) or Extended (41 ports). Identify devices adds the ports that tell device classes apart - Kerberos and LDAP for a domain controller, 62078 for an iPhone or iPad, 2179/902/8006 for Hyper-V, ESXi and Proxmox, 9100/631 for printers, 5000/5001 for a NAS. Every probe is a plain TCP connection; nothing is logged into, guessed at or exploited, and the load is the same 16 hosts at a time.

  4. First tick Dry run (plan only, no writes) and press Plan scope.

    What you see: "Dry run - nothing was written. N host(s) would be probed on <range> across M port(s)."

  5. Untick Dry run and press Run scan.

    What you see: Probed, New, Updated, Services, any Gateways detected, and Discovery coverage (which techniques contributed). The run appears in Discovery run history and the nodes on the map. The run also records what changed on the range since the previous scan (new, changed, gone); devices that stopped answering are set offline. Only addresses this scan probed can be marked gone, and only devices the scanner found (a vSphere VM, a cloud instance, a firewall-imported or hand-entered node is never set offline by a scan). If the server could not read its ARP table, nothing is marked gone that run. The console probes the whole range up to 4,096 addresses; a larger range is cut and the run says "Coverage is partial".

    The address the Lawliet server itself uses is labelled Lawliet server (this host).

If it fails:

What you seeCauseFix
A message about a public rangeThe range is not privateUse a private range
A message about the range sizeLarger than /16Split the range
"No technique returned a result."Nothing answered: wrong range, or a firewall between the server and the rangeCheck routing from the server; deploy an agent inside the segment

Administrators can also start discovery from Operations (chapter 39). Agent heartbeats also feed the map, so hosts with an agent appear without a server scan.


28.4 Sandbox topology#

Seeding and clearing the whole sandbox dataset are done in Settings > Sandbox (chapter 39). Real and sandbox nodes can coexist; sandbox nodes are labelled and can be cleared on their own.

Sandbox (demo) accounts also see a Sandbox / Demo topology - Not real data panel under the map, for the network part only. Permission: Manage demo data; without it the server refuses and the panel shows the reason. Four-eyes: only if your policy turns on "Clear or seed demo data".

  1. Open Network and scroll to Sandbox / Demo topology.
  2. Press Seed sandbox topology (it shows Seeding...). The panel then says "Sandbox topology shown - N demo nodes in inventory."
  3. To remove only the sandbox nodes, press Clear sandbox topology (shown when demo nodes exist). Real nodes are not touched.

If it fails: "Seed failed." or "Clear failed." (or the server's reason) under the buttons.


28.5 The Exposure page#

Path: Network > Exposure (button in the page header).

"What the internet can reach on each host, and how hardened that host is. Worst first."

Columns: Host, Reachable from the internet, Listening, not reachable, Hardening, Verdict. The verdict reads like "Reachable from the internet on 443, and fails 12 hardening controls (3 critical or high)."

  • "Reachability unknown: no firewall rule set on file" - import or connect the perimeter firewall (chapter 29) so reachability can be worked out.
  • "never scanned" - run a compliance scan on that host (chapter 22).

28.6 Procedure: export the topology#

Permission: View network.

The file contains hostnames, IP and MAC addresses, listening services and which hosts have agents. Treat it as sensitive.

  1. Press Export topology in the Network page header.
  2. Choose the Format:
FormatContent
ReportOne self-contained page to hand to a person. Opens offline
JSONThe complete graph - hosts, connections, zones, provenance
CSVHost inventory only, for a spreadsheet
  1. Options: Redact addresses (masks host parts of IPs and MACs and replaces hostnames with stable placeholders), Include discovery provenance (how each host was found), Exclude sandbox data (shown only when sandbox data exists).
  2. Press Download <FORMAT>.

If it fails: the dialog shows the server message; Cancel closes it.


28.7 Devices and the known-device baseline#

Path: Network > Devices.

Every device discovery or an agent knows, with what it is (type, vendor, OS, model, VM), where (segment), confidence, its baseline status and the last change. Click a row for the evidence: Why we think so lists each signal (for example "NetBIOS registers the domain controller name (<1C>)", "iOS / iPadOS device service (62078) is open", "virtual machine: MAC OUI belongs to Oracle VirtualBox"); Could also be names the runner-up types, so a contested call is visible.

Baseline status:

StatusMeaning
UnreviewedNobody has said whether this device belongs
KnownApproved into the baseline
IgnoredSeen and accepted, never alerted on

New-device alerts. Once at least one device is approved, every device a scan finds that the baseline does not know raises one review item in the Review queue (chapter 21): "New device on <segment>: <name>", with what it is, its address and MAC, the segment and the technique that first saw it.

Approval belongs to the device (its MAC, host name, vendor and type), not to the address: two known laptops that swap DHCP leases, or a known laptop that comes back on a new address, stay known with no alert - provided the device confirms who it is beyond the MAC, by answering with the same host name, or as the same type from the same vendor. A device is always named by what it says itself, never from the record of the device it replaced or resembles.

What is raised instead:

SituationItem
A different device on a known device's address"New device", under the newcomer's own name; the address loses the approval
A known MAC that confirms nothing (a silent box, perhaps a copied MAC)Medium "Known MAC, unconfirmed identity"; not approved
A known MAC that looks different (vendor, type), or answers on two addresses in one scanHigh "Possible MAC clone"
A dock or USB network adapter (Realtek, ASIX) known with one laptop, now used by another laptop that is itself known (its own NIC approved, or an agent with that name)Low "Dock or USB network adapter moved", once per adapter per day; under an unknown name it stays a "Possible MAC clone"
A random or hand-set MAC on an address a known device heldHigh "Randomised or spoofed MAC on a known device's address"
A phone or laptop with a rotating private MAC, answering with a known device's nameLow "Known device on a new private MAC", one per device per day; not approved by name alone

A device that copies both the MAC and the host name of a known device that is switched off, or on a segment the scan did not cover, is taken for that device: a MAC and a host name are what the network can see, and both can be copied.

Devices an agent's connection table names before any scan has seen them are rolled up into one low-severity item per agent per day ("N new devices seen by <host>", listing the addresses); devices that used an admin service (SSH, RDP, WinRM, VNC, Telnet) on that host are listed in one high-severity item per host per day. Each gets its own item, with its MAC, when a scan first finds it. Until the first approval, nothing is raised, so a first install does not flood the queue.

Procedure: arm new-device alerts (first install)#

Permission: Manage network. Four-eyes: no. Risk: every device seen so far becomes "known"; review the list first. Rollback: open a device and press Reset to unreviewed.

  1. Run a discovery scan of each range (28.3).
  2. Open Network > Devices, filter Unreviewed, and look through the list.
  3. Press Approve all unreviewed (N).

    What you see: "N devices approved. New devices now raise a review item." The note "New-device alerts are not armed yet" disappears.

Procedure: approve, ignore or reset one device#

Permission: Manage network. Four-eyes: no. Each change is in the audit log.

  1. Open Network > Devices and click the device (or follow the link in its review item).
  2. Press Approve (known device), Ignore or Reset to unreviewed.

    What you see: the status pill changes, and "(1 review item closed)" when the device had an open new-device item (approve closes it as resolved, ignore as accepted risk).


28.8 Flows#

Path: Network > Flows.

Who connects to whom: initiator -> responder, the service (port and name), the volume, the process, first and last seen and the source.

  • Agent snapshot flows come from every agent's connection table. A connection the host accepted (its local port is one it listens on) is drawn from the remote client to the host; one it opened is drawn from the host to the remote service. Volume is the number of five-minute windows the connection was seen in.
  • EDR telemetry flows appear when endpoint telemetry is on (chapter 31); volume is the number of connections in the window chosen with 1 h, 24 h or 7 days.
  • No byte counts are collected; the page says so.

Connections to addresses outside your estate are not drawn as devices; they are listed on the host's node. An inbound connection from the internet marks the host internet-facing.


28.9 Reachability and critical paths#

Path: Network > Reachability.

Critical paths come first: routes of up to four hops from an entry point (an internet-facing host first, then workstations and phones) to a crown jewel (domain controllers, databases, hypervisors, NAS and file servers). Each path says whether every hop was observed or is only possible (allowed by a rule set, or the same subnet). Pick one on the map to draw it (28.2).

Segment to segment: rows reach columns. Each cell gives the strongest evidence, the number of services and the admin services (SSH, RDP, WinRM, ...) reachable.

VerdictMeans
ObservedAn agent or EDR telemetry saw this connection happen
Proven by scanThe Lawliet server connected to it during discovery
Allowed by policyA firewall rule set on file lets it through (first matching rule, named)
Same subnetReachable unless a host firewall drops it
Denied by policyA rule set on file denies it

"Unknown" is never shown as unreachable. If a connection is observed although a rule denies it, the evidence says so: that rule set is not between the two segments, or it is not what the firewall runs. Services listening only on loopback are left out.

Per service lists every listening service and the segments that reach it, with the evidence (search by host, port or segment). Import or connect your firewalls (chapter 29) for policy verdicts.

In the sandbox, the Devices, Flows and Reachability pages show a sample estate: domain controllers on Hyper-V, a NAS, an access point, a phone, two new devices waiting for review, a changed and a gone host, and directed flows with volume.