title: Hunt - Linux SSH Authorized Key Modification
id: ba847b8a-0dd7-4062-a6ba-bc923654f22a
status: experimental
description: Detects shell and file utilities referencing SSH authorized_keys files.
author: MagicSword OpenAttacks catalog
date: 2026-11-06
references:
  - https://github.com/splunk/security_content/blob/develop/detections/endpoint/linux_ssh_authorized_keys_modification.yml
falsepositives:
  - Approved SSH key rotation and configuration management
level: medium
logsource:
  category: process_creation
  product: linux
detection:
  selection_image:
    Image|endswith:
      - /bash
      - /sh
      - /zsh
      - /cat
      - /tee
      - /sed
      - /cp
  selection_target:
    CommandLine|contains: authorized_keys
  condition: all of selection_*
