Skip to content

armgit / AiSOC

Public Imported from GitHub
0

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

2.0 KB
Raw Blame
id: splunk-security-content-e2d2bd10-dcd1-4b2f-8a76-0198eab32ba5
name: Linux Auditd Find Ssh Private Keys
description: The following analytic detects suspicious attempts to find SSH private
  keys, which may indicate an attacker's effort to compromise secure access to systems.
  SSH private keys are essential for secure authentication, and unauthorized access
  to these keys can enable attackers to gain unauthorized access to servers and other
  critical infrastructure. By monitoring for unusual or unauthorized searches for
  SSH private keys, this analytic helps identify potential threats to network security,
  allowing security teams to quickly respond and safeguard against unauthorized access
  and potential breaches.
severity: medium
enabled: false
tags:
  mitre:
  - T1552.004
  categories:
  - endpoint
references:
- https://www.splunk.com/en_us/blog/security/deep-dive-on-persistence-privilege-escalation-technique-and-detection-in-linux-platform.html
- https://github.com/peass-ng/PEASS-ng/tree/master/linPEAS
logsource:
  product: splunk
detection:
  splunk_spl: "`linux_auditd` execve_command IN (\"*find*\", \"*grep*\") AND execve_command\
    \ IN (\"*id_rsa*\", \"*id_dsa*\", \"*.key*\", \"*ssh_key*\", \"*authorized_keys*\"\
    )\n  | rename host as dest\n  | rename comm as process_name\n  | rename exe as\
    \ process\n  | stats count min(_time) as firstTime max(_time) as lastTime\n  \
    \  BY argc execve_command dest\n  | `security_content_ctime(firstTime)`\n  | `security_content_ctime(lastTime)`\n\
    \  | `linux_auditd_find_ssh_private_keys_filter`"
provenance:
  source: splunk/security_content
  source_id: e2d2bd10-dcd1-4b2f-8a76-0198eab32ba5
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/endpoint/linux_auditd_find_ssh_private_keys.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema