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.

3.2 KB
Raw Blame
id: splunk-security-content-8aac5e1e-0fab-4437-af0b-c6e60af23eed
name: Windows Protocol Tunneling with Plink
description: This analytic detects the use of Plink (including renamed versions like
  pvhost.exe) for protocol tunneling, which may be used for egress or lateral movement
  within an organization. It identifies specific command-line options (-R, -L, -D,
  -l, -N, -P, -pw) commonly used for port forwarding and tunneling by analyzing process
  execution logs from Endpoint Detection and Response (EDR) agents. This activity
  is significant as it may indicate an attempt to bypass network security controls
  or establish unauthorized connections. If confirmed malicious, this could allow
  an attacker to exfiltrate data, move laterally across the network, or maintain persistent
  access, posing a severe threat to the organization's security. The detection covers
  both the original Plink executable and potential renamed versions, enhancing its
  ability to catch evasion attempts.
severity: medium
enabled: false
tags:
  mitre:
  - T1572
  - T1021.004
  categories:
  - endpoint
references:
- https://thedfirreport.com/2022/06/06/will-the-real-msiexec-please-stand-up-exploit-leads-to-data-exfiltration/
- https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- https://attack.mitre.org/techniques/T1572/
- https://documentation.help/PuTTY/using-cmdline-portfwd.html#S3.8.3.5
- https://media.defense.gov/2024/Jul/25/2003510137/-1/-1/0/Joint-CSA-North-Korea-Cyber-Espionage-Advance-Military-Nuclear-Programs.PDF
- https://blog.talosintelligence.com/lazarus-three-rats/
logsource:
  product: splunk
detection:
  splunk_spl: "| tstats `security_content_summariesonly` count min(_time) as firstTime\
    \ max(_time) as lastTime FROM datamodel=Endpoint.Processes\n  WHERE (\n      \
    \  Processes.process_name=plink.exe\n        OR\n        Processes.process_name=pvhost.exe\n\
    \        OR\n        Processes.original_file_name=Plink\n    )\n    AND Processes.process\
    \ IN (\"*-R *\", \"*-L *\", \"*-D *\", \"*-l *\", \"*-N *\", \"*-P *\", \"*-pw\
    \ *\")\n  BY Processes.action Processes.dest Processes.original_file_name\n  \
    \   Processes.parent_process Processes.parent_process_exec Processes.parent_process_guid\n\
    \     Processes.parent_process_id Processes.parent_process_name Processes.parent_process_path\n\
    \     Processes.process Processes.process_exec Processes.process_guid\n     Processes.process_hash\
    \ Processes.process_id Processes.process_integrity_level\n     Processes.process_name\
    \ Processes.process_path Processes.user\n     Processes.user_id Processes.vendor_product\n\
    | `drop_dm_object_name(Processes)`\n| `security_content_ctime(firstTime)`\n| `security_content_ctime(lastTime)`\n\
    | `windows_protocol_tunneling_with_plink_filter`"
provenance:
  source: splunk/security_content
  source_id: 8aac5e1e-0fab-4437-af0b-c6e60af23eed
  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/windows_protocol_tunneling_with_plink.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema