Linux User Account Creation

edit

Identifies attempts to create new users. Attackers may add new users to establish persistence on a system.

Rule type: eql

Rule indices:

  • logs-system.auth-*

Severity: low

Risk score: 21

Runs every: 5m

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References: None

Tags:

  • Domain: Endpoint
  • OS: Linux
  • Use Case: Threat Detection
  • Tactic: Persistence

Version: 1

Rule authors:

  • Elastic

Rule license: Elastic License v2

Rule query

edit
iam where host.os.type == "linux" and (event.type == "user" and event.type == "creation") and
process.name in ("useradd", "adduser") and user.name != null

Framework: MITRE ATT&CKTM