Ssh

SSH Private Keys

Private keys commonly used for SSH authentication.

Metadata

  • id: ssh.private-keys
  • category: ssh
  • sensitivity: critical
  • artifact types: credential, private-key
  • tags: ssh, authentication, private-key

Path Matchers

PathKindPlatforms
%USERPROFILE%\.ssh\id_rsafilewindows
%USERPROFILE%\.ssh\id_ed25519filewindows
%USERPROFILE%\.ssh\id_ecdsafilewindows
%USERPROFILE%\.ssh\id_dsafilewindows
%USERPROFILE%\.ssh\id_*globwindows
$HOME/.ssh/id_rsafilelinux, macos
$HOME/.ssh/id_ed25519filelinux, macos
$HOME/.ssh/id_ecdsafilelinux, macos
$HOME/.ssh/id_dsafilelinux, macos
$HOME/.ssh/id_*globlinux, macos

Content Indicators

Regular expressions:

  • -----BEGIN OPENSSH PRIVATE KEY-----
  • -----BEGIN RSA PRIVATE KEY-----
  • -----BEGIN EC PRIVATE KEY-----

Credential Types

  • private-key

Impact

  • credential_access
  • lateral_movement
  • remote_access

References

On this page