T1563 Remote Service Session Hijacking

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.

Adversaries may commandeer these sessions to carry out actions on remote systems. Remote Service Session Hijacking differs from use of Remote Services because it hijacks an existing session rather than creating a new session using Valid Accounts.(Citation: RDP Hijacking Medium)(Citation: Breach Post-mortem SSH Hijack)

View in MITRE ATT&CK®

CRI Profile Mappings

Capability ID Capability Description Mapping Type ATT&CK ID ATT&CK Name Notes
PR.AA-05.03 Service accounts Mitigates T1563 Remote Service Session Hijacking
Comments
This diagnostic statement is for the implementation of security controls for service accounts (i.e., accounts used by systems to access other systems), such as granting service accounts only the minimum necessary permissions.
References
    PR.AA-05.02 Privileged system access Mitigates T1563 Remote Service Session Hijacking
    Comments
    This diagnostic statement protects against Remote Service Session Hijacking through the use of privileged account management and the use of multi-factor authentication.
    References
      DE.CM-06.02 Third-party access monitoring Mitigates T1563 Remote Service Session Hijacking
      Comments
      This diagnostic statement protects against Remote Service Session Hijacking through the use of privileged account management. Employing auditing, privilege access management, and just in time access protects against adversaries trying to obtain illicit access to critical systems.
      References
        PR.PS-01.03 Configuration deviation Mitigates T1563 Remote Service Session Hijacking
        Comments
        This diagnostic statement provides protection from Remote Service Session Hijacking through the implementation of security configuration baselines for OS, software, file integrity monitoring and imaging. Security baseline configuration of the Operating System and integrity checking can help protect against adversaries attempting to compromise and modify software and its configurations.
        References
          PR.AA-01.02 Physical and logical access Mitigates T1563 Remote Service Session Hijacking
          Comments
          This diagnostic statement describes how the organization ensures users are identified and authenticated before accessing systems, applications, and hardware, with logical access controls permitting access only to authorized individuals with legitimate business needs. Logical access controls in relation to systems can refer to the use of MFA, user account management, and other role-based access control mechanisms to enforce policies for authentication and authorization of user accounts.
          References
            PR.IR-01.01 Network segmentation Mitigates T1563 Remote Service Session Hijacking
            Comments
            This diagnostic statement is for the implementation of network segmentation which helps prevent access to critical systems and sensitive information. Blocking network traffic that is not necessary can mitigate, or at least alleviate, use of remote services to move laterally in an environment.
            References
              PR.IR-01.03 Network communications integrity and availability Mitigates T1563 Remote Service Session Hijacking
              Comments
              This diagnostic statement protects against Remote Service Session Hijacking through the use of secure network configurations, architecture, implementations of zero trust architecture, and segmentation.
              References
                PR.IR-01.05 Remote access protection Mitigates T1563 Remote Service Session Hijacking
                Comments
                This diagnostic statement implements security controls and restrictions for remote user access to systems. Remote user access control involves managing and securing how users remotely access systems, such as through encrypted connections and account use policies, which help prevent adversary access.
                References
                  PR.IR-01.06 Production environment segregation Mitigates T1563 Remote Service Session Hijacking
                  Comments
                  This diagnostic statement provides protections for production environments. Measures such as network segmentation and access control reduce the attack surface, restrict movement by adversaries, and protect critical assets and data from compromise.
                  References
                    PR.AA-01.01 Identity and credential management Mitigates T1563 Remote Service Session Hijacking
                    Comments
                    This diagnostic statement protects against Remote Service Session Hijacking through the use of hardened access control policies, secure defaults, password complexity requirements, multifactor authentication requirements, and removal of terminated accounts.
                    References
                      PR.PS-01.08 End-user device protection Mitigates T1563 Remote Service Session Hijacking
                      Comments
                      This diagnostic statement protects against Remote Service Session Hijacking through the use of limiting access to resources to only authorized devices, management of personal computing devices, network intrusion prevention, and the use of antimalware.
                      References

                        NIST 800-53 Mappings

                        Capability ID Capability Description Mapping Type ATT&CK ID ATT&CK Name Notes
                        CM-06 Configuration Settings mitigates T1563 Remote Service Session Hijacking
                        CM-05 Access Restrictions for Change mitigates T1563 Remote Service Session Hijacking
                        AC-17 Remote Access mitigates T1563 Remote Service Session Hijacking
                        IA-06 Authentication Feedback mitigates T1563 Remote Service Session Hijacking
                        IA-04 Identifier Management mitigates T1563 Remote Service Session Hijacking
                        RA-05 Vulnerability Monitoring and Scanning mitigates T1563 Remote Service Session Hijacking
                        CM-08 System Component Inventory mitigates T1563 Remote Service Session Hijacking
                        SC-46 Cross Domain Policy Enforcement mitigates T1563 Remote Service Session Hijacking
                        CM-02 Baseline Configuration mitigates T1563 Remote Service Session Hijacking
                        CM-02 Baseline Configuration mitigates T1563 Remote Service Session Hijacking
                        IA-02 Identification and Authentication (Organizational Users) mitigates T1563 Remote Service Session Hijacking
                        CM-07 Least Functionality mitigates T1563 Remote Service Session Hijacking
                        SI-04 System Monitoring mitigates T1563 Remote Service Session Hijacking
                        AC-12 Session Termination mitigates T1563 Remote Service Session Hijacking
                        AC-02 Account Management mitigates T1563 Remote Service Session Hijacking
                        AC-03 Access Enforcement mitigates T1563 Remote Service Session Hijacking
                        AC-04 Information Flow Enforcement mitigates T1563 Remote Service Session Hijacking
                        AC-05 Separation of Duties mitigates T1563 Remote Service Session Hijacking
                        AC-06 Least Privilege mitigates T1563 Remote Service Session Hijacking
                        SC-07 Boundary Protection mitigates T1563 Remote Service Session Hijacking

                        VERIS Mappings

                        Capability ID Capability Description Mapping Type ATT&CK ID ATT&CK Name Notes
                        action.malware.variety.Disable controls Disable or interfere with security controls related-to T1563 Remote Service Session Hijacking
                        action.hacking.variety.Abuse of functionality Abuse of functionality. related-to T1563 Remote Service Session Hijacking
                        action.hacking.variety.Hijack To assume control over and steal functionality for an illicit purpose (e.g. Hijacking phone number intercept SMS verification codes) related-to T1563 Remote Service Session Hijacking
                        action.malware.vector.Network propagation Network propagation related-to T1563 Remote Service Session Hijacking

                        Azure Mappings

                        Capability ID Capability Description Mapping Type ATT&CK ID ATT&CK Name Notes
                        alerts_for_windows_machines Alerts for Windows Machines technique_scores T1563 Remote Service Session Hijacking
                        Comments
                        This control provides partial detection for some of this technique's sub-techniques resulting in a Partial Coverage score and consequently an overall score of Partial.
                        References
                        azure_network_watcher_traffic_analytics Azure Network Watcher: Traffic Analytics technique_scores T1563 Remote Service Session Hijacking
                        Comments
                        This control can be used to identify anomalous traffic related to RDP and SSH sessions or blocked attempts to access these management ports.
                        References

                        ATT&CK Subtechniques

                        Technique ID Technique Name Number of Mappings
                        T1563.001 SSH Hijacking 28
                        T1563.002 RDP Hijacking 39