Skip to main content

Endpoint scanning

One-time scan

cyguard scan

Produces a snapshot of:

  • Running processes (name, PID, user, CPU%, memory)
  • Open listening ports (TCP/UDP, bound address, PID)
  • Installed software packages and versions
  • Suspicious process flags

Output

# JSON output
cyguard scan --format json --output endpoint.json

Agent mode

Run cyguard as a persistent daemon that periodically reports to the platform:

cyguard agent \
--interval 300 \
--platform https://app.cybrium.ai \
--token $CYBRIUM_API_TOKEN
FlagDefaultDescription
--interval300Scan interval in seconds
--platformCybrium platform URL
--tokenAPI token for authentication

In agent mode, cyguard:

  1. Runs a full scan at each interval
  2. Diffs against the previous scan to detect changes
  3. Reports new processes, ports, and software changes to the platform
  4. Flags suspicious processes immediately (no wait for next interval)

What cyguard flags as suspicious

  • Known crypto miner process names
  • Reverse shell patterns (e.g., /bin/sh -i, nc -e)
  • Processes listening on OT protocol ports from non-OT binaries
  • Processes running as root with network connections to external IPs