Techniques › T1098.004 › AN0352
AN0352 Analytic 0352
IaaS · attack.mitre.org · ATT&CK Enterprise v19.2
<p>Abuse of cloud metadata APIs or CLI to push SSH public keys to authorized_keys of virtual machines.</p>
- Detects
- T1098.004 SSH Authorized Keys
- Part of
- DET0126 Detection Strategy for SSH Key Injection in Authorized Keys
Log sources and channels
Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.
| Log source | Channel | Data component |
|---|---|---|
| gcp:audit | compute.instances.setMetadata | DC0061 File Modification |
Mutable elements
Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.
| Field | Description |
|---|---|
MetadataFieldName | Custom metadata field (e.g., ssh-keys or custom-key) |
AccountType | Was it an admin, service principal, or automation user initiating? |
TargetRoleEscalation | Privilege level of the VM account receiving the key |
KEV CVEs whose mapped technique this analytic detects
| CVE | Vendor / product | State |
|---|---|---|
| CVE-2022-40684 | Fortinet Multiple Products | Mapped |