Remote Access

May 1, 2024 · View on GitHub

ID B0022
Objective(s) Impact, Persistence
Related ATT&CK Techniques None
Impact Type Breach
Version 2.2
Created 1 August 2019
Last Modified 30 April 2024

Remote Access

Malware may provide an attacker with potentially full access to a system via a remote network connection, which may also provide persistence.

A RAT (Remote Access Trojan) is an example of malware that provides a degree of remote access. If the malware provides an "execute" command, the attacker may choose to delete files or corrupt data, power-off the machine, or upload and execute other applications. The malware may also provide specific commands to the attacker (e.g., Delete File). Explicit commands provided by the malware can be captured with Methods associated with the Execution::Remote Commands (B0011) behavior; examples include Execution:Remote Commands:Execute and Execution:Remote Commands:Delete File.

Note that the Ingress Tool Transfer (T1105) technique defined under the Command and Control tactic is no longer specific to "legitimate desktop support and remote access software” as it was under a previous version of ATT&CK. However, Ingress Tool Transfer relates only to files copied; this MBC behavior is broader, allowing for remote access behaviors beyond file transfers (i.e., Impact:Remote Access and Command and Control: Ingress Tool Transfer are not equivalent).

Methods

NameIDDescription
Reverse ShellB0022.001Malware may create a reverse shell. For example, malware can invoke cmd.exe and create three pipes (stdin, stdout, stderr) to forward data between cmd.exe and an adversary.

Use in Malware

NameDateMethodDescription
Poison Ivy2005--After the Poison Ivy server is running on the target machine, the attacker can use a Windows GUI client to control the target computer. [2]
Dark Comet2008--Dark Comet allows an attacker to control the system via a GUI. [3]
Hupigon2013--The malware acts as a backdoor. [4]

Detection

Tool: capaMappingAPIs
create reverse shell on LinuxRemote Access::Reverse Shell (B0022.001)--
create reverse shellRemote Access::Reverse Shell (B0022.001)kernel32.PeekNamedPipe, kernel32.CreateProcess, kernel32.ReadFile, kernel32.WriteFile
Tool: CAPEMappingAPIs
persistence_rdp_registryRemote Access (B0022)--
rat_spynetRemote Access (B0022)--
parallax_mutexesRemote Access (B0022)--
rat_pcclientRemote Access (B0022)--
rat_fynloski_mutexesRemote Access (B0022)--
rat_beebus_mutexesRemote Access (B0022)--
xpertrat_filesRemote Access (B0022)--
xpertrat_mutexesRemote Access (B0022)--
warzonerat_filesRemote Access (B0022)--
warzonerat_regkeysRemote Access (B0022)--
evil_grabRemote Access (B0022)RegCreateKeyExA, RegSetValueExA, RegCreateKeyExW, RegSetValueExW
PlugXRemote Access (B0022)memcpy, RtlDecompressBuffer
ratsnif_mutexesRemote Access (B0022)--
netwire_behaviorRemote Access (B0022)RegSetValueExA
njrat_regkeysRemote Access (B0022)--
rat_xtreme_mutexesRemote Access (B0022)--
blackrat_apisRemote Access (B0022)CryptHashData, RtlDecompressBuffer, CreateProcessInternalW
blackrat_mutexesRemote Access (B0022)--
blackrat_network_activityRemote Access (B0022)send
blackrat_registry_keysRemote Access (B0022)RegQueryValueExW, RegSetValueExW
uses_rdp_clipRemote Access (B0022)--
uses_remote_desktop_sessionRemote Access (B0022)--
rat_plugx_mutexesRemote Access (B0022)--
obliquerat_filesRemote Access (B0022)--
obliquerat_mutexesRemote Access (B0022)--
obliquerat_network_activityRemote Access (B0022)send
venomrat_mutexesRemote Access (B0022)--
trochilusrat_apisRemote Access (B0022)OutputDebugStringW, NtCreateUserProcess, RegSetValueExW, CreateProcessInternalW
dcrat_behaviorRemote Access (B0022)GetAddrInfo, GetAddrInfoW, CryptHashData
dcrat_filesRemote Access (B0022)--
dcrat_mutexesRemote Access (B0022)--
karagany_system_event_objectsRemote Access (B0022)NtCreateEventEx, NtCreateEvent
karagany_filesRemote Access (B0022)--
orcusrat_behaviorRemote Access (B0022)RegOpenKeyExW
limerat_mutexesRemote Access (B0022)--
limerat_regkeysRemote Access (B0022)--
rat_luminosityRemote Access (B0022)CryptHashData, NtCreateMutant, NtCreateFile
rat_nanocoreRemote Access (B0022)CryptHashData
static_rat_configRemote Access (B0022)--
remcos_filesRemote Access (B0022)--
remcos_mutexesRemote Access (B0022)--
remcos_regkeysRemote Access (B0022)--

References

[1] https://en.wikipedia.org/wiki/Remote_access_trojan

[2] https://www.cyber.nj.gov/threat-center/threat-profiles/trojan-variants/poison-ivy

[3] https://en.wikipedia.org/wiki/DarkComet

[4] https://www.trendmicro.com/vinfo/us/threat-encyclopedia/malware/HUPIGON