IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Sensitive Files Compression
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Sensitive Files Compression
editIdentifies the use of a compression utility to collect known files containing sensitive information, such as credentials and system configurations.
Rule type: query
Rule indices:
- auditbeat-*
- logs-endpoint.events.*
Severity: medium
Risk score: 47
Runs every: 5m
Searches indices from: now-9m (Date Math format, see also Additional look-back time)
Maximum alerts per execution: 100
References:
Tags:
- Elastic
- Host
- Linux
- Threat Detection
- Collection
- Credential Access
Version: 101
Rule authors:
- Elastic
Rule license: Elastic License v2
Rule query
editevent.category:process and event.type:start and
process.name:(zip or tar or gzip or hdiutil or 7z) and
process.args:
(
/root/.ssh/id_rsa or
/root/.ssh/id_rsa.pub or
/root/.ssh/id_ed25519 or
/root/.ssh/id_ed25519.pub or
/root/.ssh/authorized_keys or
/root/.ssh/authorized_keys2 or
/root/.ssh/known_hosts or
/root/.bash_history or
/etc/hosts or
/home/*/.ssh/id_rsa or
/home/*/.ssh/id_rsa.pub or
/home/*/.ssh/id_ed25519 or
/home/*/.ssh/id_ed25519.pub or
/home/*/.ssh/authorized_keys or
/home/*/.ssh/authorized_keys2 or
/home/*/.ssh/known_hosts or
/home/*/.bash_history or
/root/.aws/credentials or
/root/.aws/config or
/home/*/.aws/credentials or
/home/*/.aws/config or
/root/.docker/config.json or
/home/*/.docker/config.json or
/etc/group or
/etc/passwd or
/etc/shadow or
/etc/gshadow
)
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Credential Access
- ID: TA0006
- Reference URL: https://attack.mitre.org/tactics/TA0006/
-
Technique:
- Name: Unsecured Credentials
- ID: T1552
- Reference URL: https://attack.mitre.org/techniques/T1552/
-
Sub-technique:
- Name: Credentials In Files
- ID: T1552.001
- Reference URL: https://attack.mitre.org/techniques/T1552/001/
-
Tactic:
- Name: Collection
- ID: TA0009
- Reference URL: https://attack.mitre.org/tactics/TA0009/
-
Technique:
- Name: Archive Collected Data
- ID: T1560
- Reference URL: https://attack.mitre.org/techniques/T1560/
-
Sub-technique:
- Name: Archive via Utility
- ID: T1560.001
- Reference URL: https://attack.mitre.org/techniques/T1560/001/