MITRE ATT&CKtechnique
T1021 Remote Services
- Domain
- enterprise
- Tactics
- Lateral Movement
- Platforms
- Linux, macOS, Windows, IaaS, ESXi
- Version
- 1.6
- Created
- 2017-05-31
Description
Adversaries may use Valid Accounts to log into a service that accepts remote connections, such as telnet, SSH, and VNC. The adversary may then perform actions as the logged-on user.
In an enterprise environment, servers and workstations can be organized into domains. Domains provide centralized identity management, allowing users to login using one set of credentials across the entire network. If an adversary is able to obtain a set of valid domain credentials, they could login to many different machines using remote access protocols such as secure shell (SSH) or remote desktop protocol (RDP). They could also login to accessible SaaS or IaaS services, such as those that federate their identities to the domain, or management platforms for internal virtualization environments such as VMware vCenter.
Legitimate applications (such as Software Deployment Tools and other administrative programs) may utilize Remote Services to access remote hosts. For example, Apple Remote Desktop (ARD) on macOS is native software used for remote management. ARD leverages a blend of protocols, including VNC to send the screen and control buffers and SSH for secure file transfer. Adversaries can abuse applications such as ARD to gain remote code execution and perform lateral movement. In versions of macOS prior to 10.14, an adversary can escalate an SSH session to an ARD session which enables an adversary to accept TCC (Transparency, Consent, and Control) prompts without user interaction and gain access to data.
Related
Tactic · MITRE ATT&CK (1)
- TA0008 Lateral Movement tactic
Referenced by MITRE ATT&CK · mitigates (6)
Referenced by MITRE ATT&CK · subtechnique of (8)
- T1021.008 Direct Cloud VM Connections sub-technique
- T1021.007 Cloud Services sub-technique
- T1021.001 Remote Desktop Protocol sub-technique
- T1021.002 SMB/Windows Admin Shares sub-technique
- T1021.003 Distributed Component Object Model sub-technique
- T1021.004 SSH sub-technique
- T1021.005 VNC sub-technique
- T1021.006 Windows Remote Management sub-technique
Referenced by MITRE ATT&CK · uses (8)
Referenced by CAPEC · att&ck technique (1)
- CAPEC-555 Remote Services with Stolen Credentials attack pattern
Referenced by Compliance · mitigates (22)
- CIS-13.5 Manage Access Control for Remote Access CIS Safeguard v8.1
- CIS-3.12 Segment Data Processing and Storage Based on Sensitivity CIS Safeguard v8.1
- CIS-4.4 Implement and Manage a Firewall on Servers CIS Safeguard v8.1
- CIS-4.5 Implement and Manage a Firewall on End-User Devices CIS Safeguard v8.1
- CIS-4.6 Securely Manage Enterprise Assets and Software CIS Safeguard v8.1
- CIS-4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software CIS Safeguard v8.1
- CIS-6.4 Require MFA for Remote Network Access CIS Safeguard v8.1
- CIS-6.8 Define and Maintain Role-Based Access Control CIS Safeguard v8.1
- NIST-AC-17 Remote Access NIST 800-53 control
- NIST-AC-2 Account Management NIST 800-53 control
- NIST-AC-20 Use of External Systems NIST 800-53 control
- NIST-AC-3 Access Enforcement NIST 800-53 control
- NIST-AC-5 Separation of Duties NIST 800-53 control
- NIST-AC-6 Least Privilege NIST 800-53 control
- NIST-AC-7 Unsuccessful Logon Attempts NIST 800-53 control
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-5 Access Restrictions for Change NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-CM-7 Least Functionality NIST 800-53 control
- NIST-IA-2 Identification and Authentication (Organizational Users) NIST 800-53 control
- NIST-IA-5 Authenticator Management NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
References
- https://images.apple.com/remotedesktop/pdf/ARD_Admin_Guide_v3.3.pdf Apple Remote Desktop Admin Guide 3.3
- https://support.apple.com/en-us/HT209161 Remote Management MDM macOS
- https://support.apple.com/en-us/HT201710 Kickstart Apple Remote Desktop commands
- http://lockboxx.blogspot.com/2019/07/macos-red-teaming-206-ard-apple-remote.html Lockboxx ARD 2019
- https://www.fireeye.com/blog/threat-research/2019/10/leveraging-apple-remote-desktop-for-good-and-evil.html FireEye 2019 Apple Remote Desktop
- https://technet.microsoft.com/en-us/windowsserver/ee236407.aspx TechNet Remote Desktop Services
- https://sarah-edwards-xzkc.squarespace.com/blog/2020/4/30/analysis-of-apple-unified-logs-quarantine-edition-entry-6-working-from-home-remote-logins Apple Unified Log Analysis Remote Login and Screen Sharing
- https://www.ssh.com/ssh SSH Secure Shell