Ssh Authorized Keys
Description
Generated datasets for ssh authorized keys in attack range.
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1098.004 | SSH Authorized Keys | Persistence, Privilege Escalation |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | ssh_authorized_keys |
| Test Date | 2022-01-11 |
Datasets
The following datasets were collected during this attack simulation:
Authkey_linux-Sysmon
- Path:
/datasets/attack_techniques/T1098.004/ssh_authorized_keys/authkey_linux-sysmon.log - Sourcetype:
linux_secure - Source:
linux_secure
Sysmon_linux
- Path:
/datasets/attack_techniques/T1098.004/ssh_authorized_keys/sysmon_linux.log - Sourcetype:
sysmon:linux - Source:
Syslog:Linux-Sysmon/Operational
Related Detections
The following detections in our security content repository use this attack data for testing:
| Detection Name | Type | Source | MITRE ATT&CK | Analytic Story |
|---|---|---|---|---|
| Linux Possible Access Or Modification Of sshd Config File | Anomaly |
Endpoint | T1098.004 | Linux Privilege Escalation, Linux Persistence Techniques, Linux Living Off The Land |
| Linux Possible Ssh Key File Creation | Anomaly |
Endpoint | T1098.004 | Linux Privilege Escalation, Linux Persistence Techniques, Linux Living Off The Land, Hellcat Ransomware |
| Linux SSH Authorized Keys Modification | Anomaly |
Endpoint | T1098.004 | Linux Living Off The Land, Hellcat Ransomware |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1098.004/ssh_authorized_keys/authkey_linux-sysmon.log --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0