-
Notifications
You must be signed in to change notification settings - Fork 0
Usage
-
Sign in with
UI_PASSWORD(the UI callsPOST /api/login). - Overview lists agents; open one for detail views.
- Per-agent views can include window focus, keystroke sessions, URLs, activity timelines, screen (MJPEG / still), software inventory, files, scripts (if enabled on the server), and agent settings (e.g. retention).
- Global settings may cover retention, storage, audit review, and related options.
- Audit lists operator actions where implemented.
Remote script execution is off unless ALLOW_REMOTE_SCRIPT_EXECUTION=true on the server. Enabling it is effectively arbitrary code execution on monitored machines.
-
WebSocket URL including path
/ws/agent, for example:ws://192.168.1.10:9000/ws/agentwss://monitor.example.com/ws/agent
-
Display name (defaults to Windows
COMPUTERNAME). -
Shared secret matching server
AGENT_SECRET. On the agent this is the agent password / environment variableAGENT_PASSWORD(the client does not use the nameAGENT_SECRET).
The agent sends ?name=<name>&secret=<secret> on the WebSocket URL when a secret is set.
Configure server URL, name, and secret in the UI. Settings are stored under %LOCALAPPDATA%\sentinel\config.dat (DPAPI-encrypted).
Non-empty environment variables override saved config:
| Variable | Purpose |
|---|---|
AGENT_SERVER_URL |
Base WebSocket URL including /ws/agent (query string added by the agent). |
AGENT_NAME |
Agent display name. |
AGENT_PASSWORD |
Must match server AGENT_SECRET. |
Also useful:
-
--no-uiorAGENT_NO_UI -
--show-uiorAGENT_SHOW_UI AGENT_LOG_FILERUST_LOG
From the agent/ directory:
cd agent
cargo xwin build --releaseOutput path depends on the target (e.g. target/x86_64-pc-windows-msvc/release/sentinel-agent.exe).
-
TLS termination at a proxy: The proxy should send
X-Forwarded-Proto: https. ThenENFORCE_HTTPS=trueis appropriate, and session cookies can use secure settings when login is seen as HTTPS. -
Plain HTTP only: Set
ENFORCE_HTTPS=false. Do not forceCOOKIE_SECURE=trueunless the browser really uses HTTPS to the origin.
Use wss:// for agents when the public server URL is HTTPS; use ws:// only for cleartext testing on trusted networks.
Install and configure
Day to day
Integrations
Developers and security