ATT&CKReferencesCisco Talos Intelligence Group

Cisco Talos Intelligence Group

Darin Smith. (2022, April 21). TeamTNT targeting AWS, Alibaba. Retrieved August 4, 2022.

Open the source

Techniques0

Not cited by any technique.

Groups0

None recorded.

Software0

None recorded.

Campaigns0

None recorded.

Procedure examples33

TechniqueUsed byProcedure example
T1007
System Service Discovery
GroupTeamTNT

TeamTNT has searched for services such as Alibaba Cloud Security's aliyun service and BMC Helix Cloud Security's bmc-agent service in order to disable them.

T1014
Rootkit
GroupTeamTNT

TeamTNT has used rootkits such as the open-source Diamorphine rootkit and their custom bots to hide cryptocurrency mining activities on the machine.

T1021.004
SSH
GroupTeamTNT

TeamTNT has used SSH to connect back to victim machines. TeamTNT has also used SSH to transfer tools and payloads onto victim hosts and execute them.

T1036
Masquerading
GroupTeamTNT

TeamTNT has disguised their scripts with docker-related file names.

T1036.005
Match Legitimate Resource Name or Location
GroupTeamTNT

TeamTNT has replaced .dockerd and .dockerenv with their own scripts and cryptocurrency mining software.

T1046
Network Service Discovery
GroupTeamTNT

TeamTNT has used masscan to search for open Docker API ports and Kubernetes clusters. TeamTNT has also used malware that utilizes zmap and zgrab to search for vulnerable services in cloud environments.

T1048
Exfiltration Over Alternative Protocol
GroupTeamTNT

TeamTNT has sent locally staged files with collected credentials to C2 servers using cURL.

T1057
Process Discovery
GroupTeamTNT

TeamTNT has searched for rival malware and removes it if found. TeamTNT has also searched for running processes containing the strings aliyun or liyun to identify machines running Alibaba Cloud Security tools.

T1059.004
Unix Shell
GroupTeamTNT

TeamTNT has used shell scripts for execution.

T1070.003
Clear Command History
GroupTeamTNT

TeamTNT has cleared command history with history -c.

T1070.004
File Deletion
GroupTeamTNT

TeamTNT has used a payload that removes itself after running. TeamTNT also has deleted locally staged files for collecting credentials or scan results for local IP addresses after exfiltrating them.

T1071.001
Web Protocols
GroupTeamTNT

TeamTNT has the `curl` command to send credentials over HTTP and the `curl` and `wget` commands to download new software. TeamTNT has also used a custom user agent HTTP header in shell scripts.

T1074.001
Local Data Staging
GroupTeamTNT

TeamTNT has aggregated collected credentials in text files before exfiltrating.

T1082
System Information Discovery
GroupTeamTNT

TeamTNT has searched for system version, architecture, and hostname information.

T1083
File and Directory Discovery
GroupTeamTNT

TeamTNT has used a script that checks `/proc/*/environ` for environment variables related to AWS.

T1098.004
SSH Authorized Keys
GroupTeamTNT

TeamTNT has added RSA keys in authorized_keys.

T1102
Web Service
GroupTeamTNT

TeamTNT has leveraged iplogger.org to send collected data back to C2.

T1105
Ingress Tool Transfer
GroupTeamTNT

TeamTNT has the curl and wget commands as well as batch scripts to download new tools.

T1120
Peripheral Device Discovery
GroupTeamTNT

TeamTNT has searched for attached VGA devices using lspci.

T1133
External Remote Services
GroupTeamTNT

TeamTNT has used open-source tools such as Weave Scope to target exposed Docker API ports and gain initial access to victim environments. TeamTNT has also targeted exposed kubelets for Kubernetes environments.

T1140
Deobfuscate/Decode Files or Information
GroupTeamTNT

TeamTNT has used a script that decodes a Base64-encoded version of WeaveWorks Scope.

T1219
Remote Access Tools
GroupTeamTNT

TeamTNT has established tmate sessions for C2 communications.

T1222.002
Linux and Mac Permissions
GroupTeamTNT

TeamTNT has modified the permissions on binaries with chattr.

T1496.001
Compute Hijacking
GroupTeamTNT

TeamTNT has deployed XMRig Docker images to mine cryptocurrency. TeamTNT has also infected Docker containers and Kubernetes clusters with XMRig, and used RainbowMiner and lolMiner for mining cryptocurrency.

T1518.001
Security Software Discovery
GroupTeamTNT

TeamTNT has searched for security products on infected machines.

T1543.002
Systemd Service
GroupTeamTNT

TeamTNT has established persistence through the creation of a cryptocurrency mining system service using systemctl.

T1552.001
Credentials In Files
GroupTeamTNT

TeamTNT has searched for unsecured AWS credentials and Docker API credentials.

T1552.005
Cloud Instance Metadata API
GroupTeamTNT

TeamTNT has queried the AWS instance metadata service for credentials.

T1569.003
Systemctl
GroupTeamTNT

TeamTNT has created system services to execute cryptocurrency mining software.

T1610
Deploy Container
GroupTeamTNT

TeamTNT has deployed different types of containers into victim environments to facilitate execution. TeamTNT has also transferred cryptocurrency mining software to Kubernetes clusters discovered within local IP address ranges.

T1613
Container and Resource Discovery
GroupTeamTNT

TeamTNT has checked for running containers with docker ps and for specific container names with docker inspect. TeamTNT has also searched for Kubernetes pods running in a local network.

T1680
Local Storage Discovery
GroupTeamTNT

TeamTNT has searched for disk partition and logical volume information.

T1685
Disable or Modify Tools
GroupTeamTNT

TeamTNT has disabled and uninstalled security tools such as Alibaba, Tencent, and BMC cloud monitoring agents on cloud-based infrastructure.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.