Active Directory Forced Authentication from Linux Host - SMB Named Pipes

Last updated 2 months ago on 2024-10-01
Created 4 months ago on 2024-07-23

About

Identifies a potential forced authentication using related SMB named pipes. Attackers may attempt to force targets to authenticate to a host controlled by them to capture hashes or enable relay attacks.
Tags
Domain: EndpointOS: WindowsOS: LinuxUse Case: Threat DetectionTactic: Credential AccessData Source: Elastic DefendData Source: Active DirectoryUse Case: Active Directory MonitoringData Source: System
Severity
medium
Risk Score
47
MITRE ATT&CK™

Credential Access (TA0006)(opens in a new tab or window)

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

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
logs-endpoint.events.network-*logs-system.security-*winlogbeat-*
Related Integrations

endpoint(opens in a new tab or window)

system(opens in a new tab or window)

Query
sequence with maxspan=15s
[network where host.os.type == "linux" and event.action == "connection_attempted" and destination.port == 445 and not startswith~(string(destination.ip), string(host.ip))] by host.ip, data_stream.namespace
[file where host.os.type == "windows" and event.code == "5145" and file.name : ("Spoolss", "netdfs", "lsarpc", "lsass", "netlogon", "samr", "efsrpc", "FssagentRpc")] by source.ip, data_stream.namespace

Install detection rules in Elastic Security

Detect Active Directory Forced Authentication from Linux Host - SMB Named Pipes 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).