Skip to main content
Mallory
MalwareUsed by 1 actorExploits 1 CVE

Hildegard

Hildegard is a custom malware associated with TeamTNT and described as a Kubernetes- and container-focused cryptojacking malware. It has been observed targeting containerized and cloud environments, including execution through an unsecured kubelet that allowed anonymous access to the victim environment. Supporting content indicates that exposed Docker APIs, Kubernetes API servers, kubelets, and Kubernetes dashboards are relevant access paths in the types of environments Hildegard targets. Its post-compromise behavior includes searching for SSH keys, private keys in .ssh directories, Docker credentials, and Kubernetes service tokens; using masscan to identify kubelets in internal Kubernetes networks; establishing tmate sessions for command-and-control communications; downloading scripts from GitHub; creating a user named "monerodaemon"; modifying DNS resolvers to evade DNS monitoring tools; using the BOtB tool to exploit CVE-2019-5736; and packing ELF files into other binaries. The content also places Hildegard in the context of compute hijacking and cryptocurrency mining in container environments, where exposed APIs and scalable deployment across multiple containers or clusters can facilitate mining activity.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

1 CVES
CVE-2019-5736runC container escape via /proc/self/exe overwriteExploited in the wild

Hildegard has used the BOtB tool which exploits CVE-2019-5736.

via mitre attackattack.mitre.org
THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
TeamTNT

Additional Resources ... Hildegard: New TeamTNT Cryptojacking Malware Targeting Kubernetes

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence3

Access may also be gained through an exposed service that doesn’t require authentication. In containerized environments, this may include an exposed Docker API, Kubernetes API server, kubelet, or web application such as the Kubernetes dashboard.

Execution

2 techniques
T1059.004Unix ShellEvidence1
TacticExecution
T1574.006Dynamic Linker HijackingEvidence1

Persistence

3 techniques
T1136Create AccountEvidence1

APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.

T1136.001Local AccountEvidence1
T1543.002Systemd ServiceEvidence1
T1068Exploitation for Privilege EscalationEvidence2

APT28 has exploited CVE-2014-4076, CVE-2015-2387, CVE-2015-1701, CVE-2017-0263, and CVE-2022-38028 to escalate privileges.

T1543.002Systemd ServiceEvidence1

Stealth

8 techniques
T1014RootkitEvidence1
TacticStealth
T1027Obfuscated Files or InformationEvidence5
TacticStealth

The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.

T1027.002Software PackingEvidence2
TacticStealth

"Sandworm Team used UPX to pack a copy of Mimikatz"; "APT38 has used several code packing methods such as Themida, Enigma, VMProtect, and Obsidium"; "Lazarus Group packed malicious .db files with Themida to evade detection."

T1027.013Encrypted/Encoded FileEvidence2
TacticStealth

Examples throughout the content include 'encrypted payloads decrypted and executed in memory,' 'encrypts its configuration file,' 'AES-encrypted resource,' 'RC4 encrypted embedded scripts,' and 'payload includes an encrypted main component.'

T1036.004Masquerade Task or ServiceEvidence1
TacticStealth
T1070.004File DeletionEvidence5
TacticStealth

The content repeatedly describes threat actors and malware deleting files, tools, scripts, logs, droppers, staged data, and artifacts from compromised systems to cover tracks, remove evidence, or self-delete.

T1140Deobfuscate/Decode Files or InformationEvidence3
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

T1574.006Dynamic Linker HijackingEvidence1

Credential Access

4 techniques
T1552.001Credentials In FilesEvidence1

"Hildegard has searched for SSH keys, Docker credentials, and Kubernetes service tokens." / "TeamTNT has searched for unsecured AWS credentials and Docker API credentials." | "...extract credentials from configuration or support files." / "...search for files containing passwords." / "...obtained administrative credentials by browsing through local files..."

T1552.004Private KeysEvidence2

Ebury has intercepted unencrypted private keys as well as private key pass-phrases. Hildegard has searched for private keys in .ssh. jRAT can steal keys for VPNs and cryptocurrency wallets. Kinsing has searched for private keys. Machete has scanned and looked for cryptographic keys and certificate file extensions. TeamTNT has searched for unsecured SSH keys. Troll Stealer collects all data in victim .ssh folders by creating a compressed copy that is subsequently exfiltrated.

T1552.005Cloud Instance Metadata APIEvidence1
T1555Credentials from Password StoresEvidence1

AADInternals can gather unsecured credentials for Azure AD services, such as Azure AD Connect, from a local machine. Agent Tesla has the ability to extract credentials from configuration or support files. APT3 has a tool that can locate credentials in files on the file system such as those from Firefox or Chrome.

Discovery

3 techniques
T1046Network Service DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes threat actors and malware performing network scanning, port scanning, service enumeration, OS fingerprinting, and identifying open ports/services across victim environments.

T1082System Information DiscoveryEvidence5
TacticDiscovery

The content repeatedly describes malware and threat actors collecting host details such as OS version, hostname, architecture, CPU, memory, BIOS, domain, language, and other configuration data; e.g., "APT41 uses multiple built-in commands such as systeminfo and net config Workstation to enumerate victim system basic configuration information."

T1613Container and Resource DiscoveryEvidence1
TacticDiscovery
T1071Application Layer ProtocolEvidence1

Hildegard has established tmate sessions for C2 communications. TeamTNT has established tmate sessions for C2 communications.

T1102Web ServiceEvidence1
T1105Ingress Tool TransferEvidence1

“APT32 has used Dropbox, Amazon S3, and Google Drive to host malicious downloads… EXOTIC LILY has used file-sharing services including WeTransfer, TransferNow, and OneDrive to deliver payloads… Bumblebee has been downloaded… from OneDrive… Operation Spalax… used OneDrive and MediaFire to host payloads… Raspberry Robin… payloads… on Discord servers.”

T1219Remote Access ToolsEvidence2

Akira uses legitimate utilities such as AnyDesk and PuTTy for maintaining remote access to victim environments. BlackByte has used tools such as AnyDesk in victim environments. Carbanak used legitimate programs such as AmmyyAdmin and Team Viewer for remote interactive C2 to target systems.

Impact

2 techniques
T1496Resource HijackingEvidence1
TacticImpact

Adversaries may leverage the compute resources of co-opted systems to complete resource-intensive tasks, which may impact system and/or hosted service availability. One common purpose for Compute Hijacking is to validate transactions of cryptocurrency networks and earn virtual currency.

T1496.001Compute HijackingEvidence1
TacticImpact
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities1

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping27

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.