Edition macOS Linux Sensor

A Dedicated Sensor Node for Your LAN: “RoamSwitch Sensor”

RoamSwitch Sensor is a dedicated node placed on your LAN. It audits RoamSwitch machines on the same LAN (Mac / Linux Client / Server Edition) from outside the machine. It checks what a host self-diagnosis cannot see in principle: how the machine looks from another device on the same LAN (open ports, services exposed without authentication, footholds for lateral movement). It also provides a LAN device inventory and ARP spoofing detection.

RoamSwitch Sensor: a dedicated LAN sensor node with ARP sweep and passive ARP monitoring, IoT risk classification, active vulnerability audit of paired RoamSwitch endpoints, and pairing-code (Ed25519, fixed IP) pairing

🛡️ Active Vulnerability Audit (paired endpoints only)

It audits in 4 phases: a full port scan, known-signature checks (unauthenticated exposure of Redis/dockerd/Memcached/MongoDB/Elasticsearch/CouchDB/Jenkins/VNC, SMBv1 and no signing, RDP without NLA enforced, SMTP open relay, and so on), generic banner grabbing, and supplementary checks with nmap NSE. It performs no destructive operations at all. Services running on non-standard ports (such as Redis on port 6380) are also identified from what the port sends first or how it responds, and are examined with the same read-only checks.

📋 Network Composition (Active ARP Sweep)

It finds devices on the LAN with an ARP sweep and builds an inventory of IP, MAC, host name, vendor, online status, first/last detection, and IP history. You can freely write a name, purpose, and so on for each device. Devices without notes stand out as “needs review”, so you can use this to reconcile against your device ledger. If nmap is not available, it falls back to a passive mode that shows only devices the Sensor has seen communicating.

👁️ ARP Events with “What to Do Next”

It reports the appearance of new devices and MAC changes for known IPs (a sign of ARP spoofing). Each comes with the time it occurred, severity (critical to informational), the basis for the judgment, the identity of the devices involved, and concrete steps to verify. A MAC change on the gateway IP is treated as “critical”. With opt-in passive capture enabled, it also detects ARP requests from one device to many IPs (reconnaissance inside the LAN).

🔎 Awareness of Other LAN Devices & Suspicious Behavior (Detection Only)

As reference information, it shows the MAC vendor and device class, model identification from mDNS/SSDP/DHCP/LLDP/WS-Discovery self-announcements, connections to known malicious IPs and administrative ports, signs of botnet membership or DDoS participation (connections to many destinations), and signs of DNS tunneling/C2. Most need passive capture setup such as a mirror port (opt-in). The Sensor never blocks traffic. Capture failures and dropped packets are reported through status display and notifications. It also reads VLAN-tagged frames and IPv6 traffic, and keeps the VLAN IDs it sees in the device inventory.

🔑 Pairing-Code Pairing (Ed25519, fixed IP, certificate pin)

Initially it trusts nothing. On the machine, you enter a one-time pairing code issued by the Sensor operator (valid for 10 minutes), together with the Sensor's fixed IP address and the certificate fingerprint shown on the Sensor's screen. This single step establishes mutual trust. Public keys are exchanged automatically, so you do not need to know them beforehand. No cloud registration or account creation is required.

🔐 Control-API Hardening (TLS 1.3, certificate pin, replay protection)

Control communication with the machine (TCP 50543) uses TLS 1.3 (control.tls: off / optional (default) / required). The certificate is self-signed, the fingerprint shown on screen is pinned on the machine, and it is not fetched automatically. Signatures are v2 with a timestamp and nonce, and replays are rejected. Brute force and signature failures lock out per IP.

🖥️ A 10-Language TUI That Covers Every Feature

The interactive TUI lets you operate every CLI subcommand, the daemon IPC, every setting key (settings editor, TLS status and certificate regeneration, manual pairing, notification tests), collector operations, and every event screen (including passive monitoring, IoT behavior, suspicious traffic, and vulnerability information) in 10 languages. The CLI is available in Japanese and English. Audit reports and exports are also available in 10 languages.

📅 Scheduled Audits and Change Detection (opt-in)

Audits paired devices on a schedule and shows the differences from the previous run (new findings, resolved findings, newly opened ports). Disabled by default. If all ports become invisible, the device is marked as “suspected unreachable”. The MAC address is checked before and after, and if the IP has moved to a different device, no audit is run. Devices on another subnet are audited, after confirmation, only when enabled with schedule.allow_routed_endpoints.

📣 Notifications and Audit Evidence (opt-in)

Regressions, new devices, ARP spoofing, and more can be notified to a webhook and syslog (RFC 5424). Operations are recorded in a tamper-evident log (hash chain), and results can be exported as CSV, JSON, or HTML. Notifications go only to the destinations you set, and by default nothing is sent. Data for detection is fetched daily, contains no device or audit data, and can be stopped with updates.fetch_cve_map.

🗂️ Aggregating Several Sensors (Central Collector, opt-in)

For multi-site setups, a central collector that gathers signed summaries from Sensors is included (disabled by default). It provides a per-site dashboard and CSV export, and also detects truncation or rollback of the audit log. It accepts only signed requests from registered Sensors and cannot be exposed outside the LAN without TLS.

Unmanaged devices can also be included in the summary (collector.send_unmanaged_devices; traffic content is not included). collector.send_unmanaged_audits (off by default) also collects light audit results (banners and requests are not included). The learning summary contains only counts and does not send device names.

🚨 Rogue DHCP Servers and IPv6 Routers (Detection Only)

Every hour, it sends a single DHCP (DHCPv6 for IPv6) discovery packet from a random MAC and counts every server that responds (it does not accept an IP address lease). It reports servers that appear later, servers that hand out a gateway or DNS different from the legitimate one, IPv6 router advertisements sent by anything other than the IPv4 gateway, a change of owner for an IPv6 address (NDP spoofing), and devices visible only over IPv6, not IPv4. The device inventory also supports IPv6 addresses. Sensor never blocks traffic.

🔎 Light Audit of Devices Without RoamSwitch (Opt-In, Connect Checks Only)

It examines unpaired printers, cameras, NAS devices, and the like, only within the range you allow. It only checks connectivity and reads the banners that services send on their own; it does not log in or exploit anything. It requires an approver record and a range setting, and each run is recorded in the audit log. Another opt-in (off by default) also lets you check whether a product is listed in KEV and run an unauthenticated check that sends one read request to Redis and similar services. It does not write, send passwords, or guess them.

🔒 Revocation and Lockdown When a Sensor Is Lost, Stolen or Retired

Revoke a Sensor at the collector and it stops itself on its next upload: no pairing, audits, uploads or notifications, and the stop survives a restart. You can also have it erase its keys and stored data, make it stop when it cannot reach the collector for too long, or retire it with a command. The list of endpoints that were paired with it, and how to unpair them, is shown too.

🔌 Read-Only View of the Whole LAN for Other Tools

Returns the state of the whole LAN (device count, VLANs, threat count, and so on) and a list of threats as JSON (roamswitch-sensor lan-overview --json / network-threats --json). It only reads; it does not block or change settings. It is used by the Linux MCP tools (get_lan_sensor_overview / get_lan_network_threats) and PersonalSOC. If there is a range it cannot see, it says so even when the result is 0 items.

To also guard against attacks on Sensor itself, we recommend installing the Server Edition of RoamSwitch for Linux separately on the same machine. The two can coexist as independent processes.

Audit Report Example

An example of the report written by roamswitch-sensor export all --format html (the e key in the TUI). It is a single HTML file: open it in a browser and choose “Save as PDF” to get a PDF you can hand to auditors.

All machine names, MAC addresses, IP addresses, and public keys shown are fictitious. The body of the report can be output in the display language (10 languages). Examples are shown here in Japanese and English (for display languages other than Japanese, the English version).

See the Full Verification Guide →