T1563.001 Ssh HijackingCAUTION
Open-source AI-powered offensive security harness for automated penetration testing.
Overview
Open-source AI-powered offensive security harness for automated penetration testing.
eaf7d03223fcOBSERVED · 2026-10-18What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: "T1563.001_ssh-hijacking" description: "Adversaries may hijack a legitimate user's SSH session to move laterally within an environment." category: "authorization" version: "18.1" author: "cyberstrike-official" tags: - mitre-attack - enterprise - t1563.001 - lateral-movement - linux - macos - sub-technique technique_id: "T1563.001" tactic: "lateral-movement" all_tactics: - lateral-movement platforms: - Linux - macOS mitre_url: "https://attack.mitre.org/techniques/T1563/001" tech_stack: - linux - macos cwe_ids: - CWE-284 chains_with: - T1563 - T1563.002 prerequisites: - T1563 severity_boost: T1563: "Chain with T1563 for deeper attack path" T1563.002: "Chain with T1563.002 for deeper attack path" --- # T1563.001 SSH Hijacking > **Sub-technique of:** T1563 ## High-Level Description Adversaries may hijack a legitimate user's SSH session to move laterally within an environment. Secure Shell (SSH) is a standard means of remote access on Linux and macOS systems. It allows a user to connect to another system via an encrypted tunnel, commonly authenticating through a password, certificate or the use of an asymmetric encryption key pair. In order to move laterally from a compromised host, adversaries may take advantage of trust relationships established with other systems via public key authentication in active SSH sessions by hijacking an existing connection to another system. This may occur through compromising the SSH agent itself or by having access to the agent's socket. If an adversary is able to obtain root access, then hijacking SSH sessions is likely trivial. SSH Hijacking differs from use of SSH because it hijacks an existing SSH session rather than creating a new session using Valid Accounts. ## Kill Chain Phase - Lateral Movement (TA0008) **Platforms:** Linux, macOS ## What to Check - [ ] Identify if SSH Hijacking technique is applicable to target environment - [ ] Check Linux systems for indicators of SSH Hijacking - [ ] Check macOS systems for indicators of SSH Hijacking - [ ] Verify mitigations are bypassed or absent (4 known mitigations) - [ ] Assess detection coverage (1 detection strategies) ## How to Test ### Manual Testing 1. **Identify Attack Surface**: Determine if the target environment is susceptible to SSH Hijacking by examining the target platforms (Linux, macOS). 2. **Assess Existing Defenses**: Review whether mitigations for T1563.001 are in place. If defenses are absent or misconfigured, this technique may be exploitable. 3. **Execute Test**: Use tools and methods described in the MITRE ATT&CK page and external references below. > **Note**: No Atomic Red Team tests available for this technique. See [Atomic Red Team GitHub](https://github.com/redcanaryco/atomic-red-team) for updates. ## Remediation Guide ### M1022 Restrict File and Directory Permissions Ensure proper file permissions are set and harden system to prevent root privilege escalation opportunities. ### M1042 Disable or Remove Feature or Program Ensure that agent forwarding is disabled on systems that do not explicitly require this feature to prevent misuse. ### M1027 Password Policies Ensure SSH key pairs have strong passwords and refrain from using key-store technologies such as ssh-agent unless they are properly protected. ### M1026 Privileged Account Management Do not allow remote access via SSH as root or other privileged accounts. ## Detection ### Detection Strategy for SSH Session Hijacking ## Risk Assessment | Finding | Severity | Impact | | ---------------------------------- | -------- | ---------------- | | SSH Hijacking technique applicable | High | Lateral Movement | ## CWE Categories | CWE ID | Title | | ------- | ----------------------- | | CWE-284 | Improper Access Control | ## References - [SSHjack Blackhat](https://www.blackhat.com/presentations/bh-usa-05/bh-us-05-boileau.pdf) - [Clockwork SSH Agent Hijacking](https://web.archive.org/web/20210311184303/https://www.clockwork.com/news/2012/09/28/602/ssh_agent_hijacking/) - [Slideshare Abusing SSH](https://www.slideshare.net/morisson/mistrusting-and-abusing-ssh-13526219) - [Breach Post-mortem SSH Hijack](https://matrix.org/blog/2019/05/08/post-mortem-and-remediations-for-apr-11-security-incident/) - [Atomic Red Team - T1563.001](https://github.com/redcanaryco/atomic-red-team/tree/master/atomics/T1563.001) - [MITRE ATT&CK - T1563.001](https://attack.mitre.org/techniques/T1563/001)
Trust audit
CAUTIONgrade B · trust 89/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | WARN |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (5)
packages/app/public/apple-touch-icon-v3.png
packages/app/public/apple-touch-icon.png
packages/app/public/favicon-96x96-v3.png
packages/app/public/favicon-96x96.png
packages/app/public/favicon-v3.ico
Gates applied: no_behavioural_pass.
eaf7d03223fcfull audit observations/trust-audit/skill/cyberstrikeus__t1563.001_ssh-hijacking.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-18 | eaf7d03223fc | CAUTION | B | 89 | first audit |
Questions
What does the T1563.001 Ssh Hijacking skill do?
Open-source AI-powered offensive security harness for automated penetration testing.
Is T1563.001 Ssh Hijacking safe to install?
With care. The audit graded it B (89/100) and found 5 things worth knowing before you trust this skill, listed below with the exact line each was found on.
What can T1563.001 Ssh Hijacking access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (eaf7d03223fc), read on 2026-10-18. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/cyberstrikeus/t1563-001-ssh-hijacking/)
Not your listing, or something out of date? Claim or update your listing.