Creation Of An User Account

Detects the creation of a new user account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system.

Sigma rule (View on GitHub)

 1title: Creation Of An User Account
 2id: 759d0d51-bc99-4b5e-9add-8f5b2c8e7512
 3status: test
 4description: Detects the creation of a new user account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system.
 5references:
 6    - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-understanding_audit_log_files
 7    - https://access.redhat.com/articles/4409591#audit-record-types-2
 8    - https://www.youtube.com/watch?v=VmvY5SQm5-Y&ab_channel=M45C07
 9author: Marie Euler, Pawel Mazur
10date: 2020-05-18
11modified: 2022-12-20
12tags:
13    - attack.t1136.001
14    - attack.persistence
15logsource:
16    product: linux
17    service: auditd
18detection:
19    selection_syscall_record_type:
20        type: 'SYSCALL'
21        exe|endswith: '/useradd'
22    selection_add_user_record_type:
23        type: 'ADD_USER' # This is logged without having to configure audit rules on both Ubuntu and Centos
24    condition: 1 of selection_*
25falsepositives:
26    - Admin activity
27level: medium

References

Related rules

to-top