5fcece8416
Co-Authored-By: Brent Murphy <56412096+bm11100@users.noreply.github.com> Co-Authored-By: Craig Chamberlain <randomuserid@users.noreply.github.com> Co-Authored-By: David French <56409778+threat-punter@users.noreply.github.com> Co-Authored-By: Derek Ditch <dcode@users.noreply.github.com> Co-Authored-By: Justin Ibarra <brokensound77@users.noreply.github.com>
43 lines
2.5 KiB
TOML
43 lines
2.5 KiB
TOML
[metadata]
|
|
creation_date = "2020/03/25"
|
|
ecs_version = ["1.5.0"]
|
|
maturity = "production"
|
|
updated_date = "2020/03/25"
|
|
|
|
[rule]
|
|
anomaly_threshold = 50
|
|
author = ["Elastic"]
|
|
description = """
|
|
A machine learning job detected activity for a username that is not normally active, which can indicate unauthorized
|
|
changes, activity by unauthorized users, lateral movement, or compromised credentials. In many organizations, new
|
|
usernames are not often created apart from specific types of system activities, such as creating new accounts for new
|
|
employees. These user accounts quickly become active and routine. Events from rarely used usernames can point to
|
|
suspicious activity. Additionally, automated Linux fleets tend to see activity from rarely used usernames only when
|
|
personnel log in to make authorized or unauthorized changes, or threat actors have acquired credentials and log in for
|
|
malicious purposes. Unusual usernames can also indicate pivoting, where compromised credentials are used to try and move
|
|
laterally from one host to another.
|
|
"""
|
|
false_positives = [
|
|
"""
|
|
Uncommon user activity can be due to an engineer logging onto a server instance in order to perform manual
|
|
troubleshooting or reconfiguration.
|
|
""",
|
|
]
|
|
from = "now-45m"
|
|
interval = "15m"
|
|
license = "Elastic License"
|
|
machine_learning_job_id = "linux_anomalous_user_name_ecs"
|
|
name = "Unusual Linux Username"
|
|
note = """### Investigating an Unusual Linux User ###
|
|
Signals from this rule indicate activity for a Linux user name that is rare and unusual. Here are some possible avenues of investigation:
|
|
- Consider the user as identified by the username field. Is this program part of an expected workflow for the user who ran this program on this host? Could this be related to troubleshooting or debugging activity by a developer or site reliability engineer?
|
|
- Examine the history of user activity. If this user manifested only very recently, it might be a service account for a new software package. If it has a consistent cadence - for example if it runs monthly or quarterly - it might be part of a monthly or quarterly business process.
|
|
- Examine the process arguments, title and working directory. These may provide indications as to the source of the program or the nature of the tasks that the user is performing."""
|
|
references = ["https://www.elastic.co/guide/en/siem/guide/current/prebuilt-ml-jobs.html"]
|
|
risk_score = 21
|
|
rule_id = "b347b919-665f-4aac-b9e8-68369bf2340c"
|
|
severity = "low"
|
|
tags = ["Elastic", "Linux", "ML"]
|
|
type = "machine_learning"
|
|
|