Skip to main content
Mallory
Back to malware
MalwareRansomwareUsed by 2 actorsExploits 1 CVE

FlawedGrace

FlawedGrace is a remote access trojan (RAT) malware family associated with TA505 and CL0P-linked activity, and is also referenced alongside FIN11 in the provided reporting. It has been used by TA505 since at least November 2017. Reported delivery and deployment methods in the provided content include phishing campaigns using a macro-enabled document and the Get2 malware dropper to download SDBot and FlawedGrace, as well as post-exploitation persistence following SolarWinds Serv-U CVE-2021-35211 exploitation, where attackers hijacked the legitimate RegIdleBackup scheduled task and abused its COM handler/CLSID registry objects to load a FlawedGrace RAT loader stored as Base64-encoded registry data. The content also notes Truebot has been used by TA505 to download FlawedGrace or Cobalt Strike beacons. High-confidence behavioral details from the supplied reverse-engineering summary describe FlawedGrace as having a sophisticated, high-performance, robust, and flexible networking component and a custom, complex virtual filesystem used for configuration management and command-and-control communications. ATT&CK-related content in the provided material associates FlawedGrace with obfuscated or encrypted/encoded files or information. Additional artifacts directly mentioned include a YARA rule named "Windows.Trojan.FlawedGrace," malware-analysis IDA databases for the main executable and a 64-bit password stealer module, and sample hashes for the main executable: SHA-1 9bb72ae1dc6c49806064992e0850dc8cb02571ed and MD5 bc91e2c139369a1ae219a11cbd9a243b.

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-2021-35211RCE in SolarWinds Serv-U Managed File Transfer and Serv-U Secure FTP

...abusing the COM handler associated with it to execute malicious code, leading to FlawedGrace RAT.

via ncc group researchnccgroup.com
THREAT ACTORS

Groups observed using it

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

View more details
TA505

For persistence, the actors hijack a legitimate scheduled task that is used for regularly backing up registry hives and abuse the associated COM handler to load 'FlawedGrace RAT.'

via bleeping computerbleepingcomputer.com
lacetempest

rule Windows_Trojan_FlawedGrace_8c5eb04b { ... threat_name = "Windows.Trojan.FlawedGrace" ... }

via rapid7 velociraptor artifact exchangedocs.velociraptor.app
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1566PhishingEvidence1

CL0P actors send a large volume of spear-phishing emails to employees of an organization to gain initial access.

Stealth

2 techniques
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.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.'

T1003OS Credential DumpingEvidence1

You can find the IDB for the main executable, and for the 64-bit password stealer module, here.

T1071Application Layer ProtocolEvidence2

FlawedAmmyy / FlawedGrace remote access trojan (RAT) collects information and attempts to communicate with the Command and Control (C2) server to enable the download of additional malware components [T1071], [T1105].

T1105Ingress Tool TransferEvidence1

FlawedAmmyy / FlawedGrace remote access trojan (RAT) collects information and attempts to communicate with the Command and Control (C2) server to enable the download of additional malware components [T1071], [T1105].

INDICATORS OF COMPROMISE

IOCs tracked for this family

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Hashes
2 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
hash.md5●●●●●●●●●●●●View more in app5 years ago
hash.sha1●●●●●●●●●●●●View more in app5 years ago
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 matching2

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

Threat actor attribution2

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 mapping6

Every documented technique, ranked by evidence weight.

Researcher chatter

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