EDR
Early accessExclusions for other security tools
Security tools that run next to the agent can slow it down or stop it. This page lists what belongs to the agent on Linux, so you can add it to their allow lists.
When you need this
Most machines need nothing here. Add exclusions when another tool scans the agent's busy folders on every write, quarantines one of its programs, blocks its connection, or raises alerts about what it does. If you run the agent next to another EDR, add each one's folders to the other's allow list.
Folders
| Folder | What it holds | Changes |
|---|---|---|
/opt/kandaro/agent | The agent’s programs and the files that ship with them. | Only when the agent is installed or updated |
/etc/kandaro/agent | The settings written at install time. | Rarely |
/var/lib/kandaro/agent | The machine’s identity, its signed settings and the encrypted store of events waiting to be sent. | All the time |
/var/lib/kandaro/updater | The current and the previous package, so an update can be undone. | When the agent is updated |
/var/lib/kandaro/respond | Files set aside by an approved action, and the records needed to undo actions. | When an action runs |
/var/log/kandaro/agent | The log of what was sent to Kandaro. | All the time |
/run/kandaro | A local socket between the agent’s own parts. | While the agent runs |
The two that matter most for scanners are /var/lib/kandaro/agent and /var/log/kandaro/agent: they change constantly, and the event store is encrypted, so scanning it finds nothing and costs processor time. Only root can read these folders.
Programs
| Program | What it is |
|---|---|
/opt/kandaro/agent/bin/kandaro-updater | The service’s main process. It starts the agent, restarts it when it stops and installs updates. |
/opt/kandaro/agent/bin/kandaro-agent | The agent itself, started by the process above. The same program runs briefly as a separate helper when an approved action changes the machine. |
/usr/bin/kandaro-agent | A link to the agent, for the commands people run (status, doctor and the others). |
Exclude by full path, not by name alone: a name can be copied by anything. The files change with every update, so an allow list built on a file's fingerprint has to be renewed for each version. The process names are kandaro-updater and kandaro-agent, and both run as root.
Services
| Unit | What it does |
|---|---|
kandaro-agent.service | The agent. Always running. |
kandaro-agent-upgrade.path, kandaro-agent-upgrade.service | Start the short job that installs an update. |
kandaro-respond.socket, [email protected] | Start the helper that carries out an approved action, one process per action. |
kandaro-isolate-boot.service | Puts a network isolation that was in force back in place after a restart. |
What other tools may notice
- Audit rules. The agent adds its own rules to the Linux audit system while it runs. Their keys start with
kandaro_. It never removes or changes yours. - Reading many files. It fingerprints the files it watches (the list), which looks like a scan of
/etcand the program folders. - Reading logs. It reads the system journal, audit records and, on servers, web server logs.
- Firewall changes. Only when an admin approves cutting a machine off the network or blocking an address, and only if the machine allows actions (Respond on a machine).
- One outbound connection that stays open, to
agents.kandaro.comon port 443, and downloads fromdl.kandaro.com(Network requirements).
The other way round
The agent reports what your other tools do like any other program: their starts, their services and changes to their files in watched folders. If that makes noise in your alerts, tune it with an exception on the detection rule concerned (Detection rules) and leave the collection alone.