DEV Community

SELKS default credentials turn a monitoring stack into a shared control plane

SELKS bundles Suricata, Elasticsearch, Logstash, Kibana, Scirius, and EveBox into a network security monitoring platform.

The combination is useful because analysts can move from alert data to dashboards and rule management. It is also a broad control plane. A person who can reach the web entry point may be able to inspect traffic evidence, change rules, and reach other management components.

The SELKS installation documentation describes the web interface as the central point for Scirius, dashboards, and EveBox. It lists a default selks-user account with a matching default password. The Docker setup documentation also lists a default root password for the underlying host.

Those examples are installation defaults. They become a production risk when the interface is exposed before the defaults are replaced or when the shared account is used for normal operations.

One login can reach several systems

The bundled services have different trust levels. Scirius manages rules and configuration. EveBox presents Suricata events. Kibana and Elasticsearch provide search and dashboard access. Nginx fronts the combined browser experience.

A single shared login weakens attribution. If several analysts use the same account, an alert or rule change cannot be tied to a person without additional proxy or session logs.

Disable or replace the default account before adding users, then create named accounts with access appropriate to each role.

Review the network path to the web entry point and the services behind it. A reverse proxy can expose only the intended hostname, but a direct container or node port may bypass the proxy and reach a backend. Check the actual listeners in the container network and the host network.

The data store is sensitive

Network security monitoring data may contain addresses, hostnames, protocol metadata, packet captures, and extracted files. Elasticsearch should not be treated as an internal search utility with no confidentiality requirement.

Limit direct access to its HTTP and transport ports. If the deployment disables built-in security for simplicity, compensating network controls become mandatory.

Protect snapshots and disk volumes as evidence. A person who can delete an index can remove the history behind an alert. Separate read-only analyst access from index maintenance and snapshot deletion. Keep the retention policy in version control.

Rule management needs its own approval

Scirius and Suricata rule changes affect what the entire platform detects. Require a review for new rulesets, disabled rules, and source changes. Record who approved the change and which sensor received it.

Do not give the same dashboard account permission to edit rules and suppress alerts. Separate analysis from production change. Preserve the previous configuration so a bad rule update can be rolled back without rebuilding the stack.

Harden the host and containers

Replace the documented host root password and do not reuse it for container administration. Restrict SSH to the management network. Review Docker socket access because a person who can control the socket can often control every container on the host.

Pin image versions and retain the deployment manifest. A container refresh can change a default port, a bundled service version, or a security setting. Compare the deployed state with the reviewed configuration after every update.

Questions for the next review

  • Are the default selks-user and host root credentials still active?
  • Can the web entry point bypass Nginx?
  • Which users can change rules?
  • Which users can delete Elasticsearch indices or snapshots?
  • Is packet-capture data encrypted and access controlled?
  • Can the team restore one index without restoring the whole host?

SELKS is more than a dashboard. Treat it as a collection of evidence stores, rule authorities, and administrative interfaces. Replace the defaults, separate roles, and verify every path to the stack.

References: SELKS project, SELKS Docker setup

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.