Use this profile on machines where you must meet IEC 62443-4-2 security level 2 — typically industrial control and other operational-technology networks.
Why a profile is needed
The console on each machine has one administrator account and no roles: everyone who can sign in can do everything, and the audit log records every console action under the same name. Security level 2 asks for each person to be identified individually and for what they may do to depend on their role. The console cannot do that, so in this profile it does not run at all.
Instead, every change reaches the agent from your DPLens Manager. Identify the people who may change your agents, and decide what each of them may do, in the Manager. The agent accepts configuration, secrets and its licence only from the Manager it is enrolled with — over TLS 1.3 to the address you installed, proving its own identity with a key that cannot leave the machine — and checks everything the Manager sends against its own rules before running it (see What changes when an agent is managed).
Setting it up
1. Install with the console off and enrol
Install from an elevated prompt with CONSOLE=off and the Manager options. Do not pass ADMIN_PASSWORD: with no console there is nothing to sign in to.
msiexec /i dplens.msi /qn ^
CONSOLE=off ^
MANAGER_URL=https://manager.example.com/ ^
MANAGER_CA_PIN=sha256:<64 hexadecimal characters> ^
MANAGER_POOL_ID=<32 hexadecimal characters> ^
ENROL_TOKEN=<the token> ^
/l*v C:\deploy\install.log
See Enrolling an agent with DPLens Manager for the Manager options and how to keep the enrolment token out of process listings.
For an agent that is already installed and enrolled, have the Manager switch the console off. A Manager can only make the console safer — it can turn it off, but never back on beyond what was set on the machine when it enrolled.
2. Confirm no console is running
netstat -ano | findstr :8443
No line should show a listening socket on the console port (8443 unless you chose another). The agent's configuration carries:
settings:
ui:
enabled: false
3. Forward the agent's own audit log
Add an Agent audit log source (type agent-audit) to a pipeline that delivers to your SIEM. It sends each audit record — configuration changes, Manager actions, licence changes, the agent's start-up checks and any integrity warning about the log itself — as an event, with the record's hash-chain links, so your SIEM holds the agent's own security events without reading its files. See Logs and health.
4. Apply the hardening checklist
Everything in the hardening checklist applies. In this profile, pay particular attention to:
- TLS to every destination, with certificate validation on;
- Allowed networks on every syslog and NetFlow receiver, or no receivers at all;
- the default virtual service account rather than LocalSystem;
- verifying the download before installing.
What stays on the machine
With the console off, the only ways to change the agent locally are:
| Surface | Who can use it |
|---|---|
The dplens.exe set-up commands (--set-secret, --enrol, --detach and the others listed by dplens.exe --help) | A Windows administrator, from an elevated prompt, with the service stopped |
The agent's folders under C:\ProgramData\DPLens | Administrators and the service account only (see The service and its permissions) |
These are Windows administrator actions, so Windows identifies who took them: use your normal Windows controls over who holds local administrator rights, and your Windows security log for who signed in.
Checking that a machine follows the profile
| Check | Expected |
|---|---|
netstat -ano | findstr :8443 | No listening socket |
| The agent's entry in your Manager | Managed, with the console off |
| Your SIEM | Records from the Agent audit log source, including the agent's start-up checks after each restart |
icacls C:\ProgramData\DPLens | Administrators, SYSTEM and the service account only |