Successful SSH Authentication from Unusual IP Address

Last updated 10 days ago on 2025-02-21
Created 10 days ago on 2025-02-21

About

This rule leverages the new_terms rule type to detect successful SSH authentications by an IP- address that has not been authenticated in the last 10 days. This behavior may indicate an attacker attempting to gain access to the system using a valid account.
Tags
Domain: EndpointOS: LinuxUse Case: Threat DetectionTactic: Initial AccessData Source: Elastic DefendLanguage: kuery
Severity
low
Risk Score
21
MITRE ATT&CK™

Initial Access (TA0001)(opens in a new tab or window)

License
Elastic License v2(opens in a new tab or window)

Definition

Rule Type
New Terms Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-system.auth-*filebeat-*
Related Integrations

system(opens in a new tab or window)

Query
event.category:authentication and host.os.type:linux and event.action:ssh_login and event.outcome:success

Install detection rules in Elastic Security

Detect Successful SSH Authentication from Unusual IP Address in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(opens in a new tab or window).