Remote Service Session Hijacking T1563
Tactic: Lateral Movement
Adversaries may take control of preexisting sessions with remote services to move laterally in an environment. Users may use valid credentials to log into a service specifically designed to accept remote connections, such as telnet, SSH, and RDP. When a user logs into a service, a session will be established that will allow them to maintain a continuous interaction with that service.
Events covered
7 catalog events are tagged with this technique by at least one rule.
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
| Security-Auditing | Event ID 4688 | A new process has been created. |
| Security-Auditing | Event ID 4697 | A service was installed in the system. |
| Security-Auditing | Event ID 4778 | A session was reconnected to a Window Station. |
| Security-Auditing | Event ID 4779 | A session was disconnected from a Window Station. |
| TerminalServices-RemoteConnectionManager | Event ID 1149 | Remote Desktop Services: User authentication succeeded. |
| Service-Control-Manager | Event ID 7045 | A service was installed in the system. |
Authoring guide
These 20 rules share fields, values, and exclusions.
Fields filtered most (28 distinct)
These fields appear most often in rule filters.
Top indicator values (152 distinct)
These values appear most often in rule predicates.
Exclusions (143 distinct)
These values appear most often in top-level exclusions.
Rules under this technique
These vendors publish rules tagged with this technique.
Sigma 6 rules
- macOS Remote Execution Tools
- macOS Screen Sharing Session
- Potential MSTSC Shadowing Activity
- RDP session hijack via service creation abuse
- RDP session hijack via TSCON abuse command
- Suspicious RDP Redirect Using TSCON
Elastic 11 rules
- Network Connection Initiated by Suspicious SSHD Child Process
- Potential Execution via SSH Backdoor
- Potential HackersChoice Tool Downloaded
- Potential Remote Desktop Shadowing Activity
- Potential THC Tool Downloaded
- Renaming of OpenSSH Binaries
- SSH Authorized Key File Activity Detected via Defend for Containers
- SSH Authorized Keys File Activity
- SSH Key Generated via ssh-keygen
- Unusual SSH Parent/Child Execution
- Unusual SSHD Child Process