Hidden Files and Directories via Hidden Flag

Last updated a month ago on 2024-10-18
Created a year ago on 2023-08-23

About

Identify activity related where adversaries can add the 'hidden' flag to files to hide them from the user in an attempt to evade detection.
Tags
Domain: EndpointOS: LinuxOS: macOSUse Case: Threat DetectionTactic: Defense EvasionData Source: Elastic DefendData Source: Elastic EndgameData Source: Auditd Manager
Severity
low
Risk Score
21
MITRE ATT&CK™

Defense Evasion (TA0005)(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.*endgame-*auditbeat-*logs-auditd_manager.auditd-*
Related Integrations

endpoint(opens in a new tab or window)

auditd_manager(opens in a new tab or window)

Query
file where host.os.type == "linux" and event.type == "creation" and process.name == "chflags"

Install detection rules in Elastic Security

Detect Hidden Files and Directories via Hidden Flag 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).