Skip to main content
Mallory
Malware2 associated actors1 associated CVE

FlawedGrace

Tracked since Dec 3, 2025 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors2Associated
ATT&CK25Techniques
IOCs61Tracked
Type
RAT
Capabilities
Credential theftExfiltrationPersistencePrivilege escalationPost exploitationDefense evasionProcess injection
Delivery
PhishingMalspamLanding pageLure
Platforms
Windows

FlawedGrace, also known as GraceWire, is a full-featured Windows remote access trojan first observed in November 2017 and strongly associated with the financially motivated threat actor TA505. Written in C++ using object-oriented and multithreaded techniques, it provides remote control of compromised hosts through commands supporting file downloads and uploads, remote desktop access, password retrieval, and script execution. It can deploy additional tools through commands received from its command-and-control infrastructure, including PowerShell execution.

FlawedGrace communicates using a custom encrypted binary protocol, commonly over TCP port 443. Updated variants encrypt strings and configuration data and obfuscate API calls. Configuration and payload data can be stored encrypted in the Windows registry. Its persistence and privilege-escalation mechanisms include registry changes and abuse of print processor functionality. It can create scheduled tasks and inject payloads into legitimate Windows processes. Operators have also maintained access by hijacking a legitimate scheduled task and abusing its associated COM handler to load the RAT.

Distribution commonly involves phishing and malspam with malicious Office attachments, macro-enabled Excel documents, and links or landing pages leading to malicious downloads. FlawedGrace has been delivered as a secondary payload by ServHelper, Get2, Truebot, and the MirrorBlast delivery chain. Campaigns have targeted financial institutions, retail businesses, restaurants, and organizations across other industries in multiple regions. TA505 has used it in intrusion chains preceding CL0P ransomware deployment, providing persistent remote access for subsequent attacker operations.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

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

CVE-2021-35211via ncc group researchPre-auth RCE in SolarWinds Serv-U SSH...abusing the COM handler associated with it to execute malicious code, leading to FlawedGrace RAT.View vulnerability →Source ↗
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
CL0P

(Citation: Proofpoint TA505 Jan 2019)(Citation: Trend Micro TA505 June 2019)(Citation: Proofpoint TA505 October 2019)

via mitre attack structuredgithub.com
INDRIK SPIDER

Researchers thought EvilCorp to be linked to TrueBot due to TrueBot dropping FlawedGrace. FlawedGrace is malware that is attributed to EvilCorp.

via vmware security blogblogs.vmware.com
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1584Compromise InfrastructureEvidence1

Ce dernier redirige la victime vers une URL d’un site légitime mais compromis.

Initial Access

4 techniques
T1189Drive-by CompromiseEvidence1

Cyber threat actors have historically used malicious phishing emails as the primary delivery method of Truebot malware... users will be redirected to a malicious web domain where script files are then executed.

T1566PhishingEvidence5

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

T1566.001Spearphishing AttachmentEvidence4

Ces pièces jointes pouvaient notamment être des archives zip ou 7zip contenant des scripts VBS ou Javascript à faire exécuter par ses victimes, des pages HTML contenant du Javascript malveillant, ou des documents Office piégés via macros malveillantes.

T1566.002Spearphishing LinkEvidence5

Cyber threat actors are leveraging both phishing campaigns with malicious redirect hyperlinks and CVE-2022-31199 to deliver new Truebot malware variants.

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence2

Cyber threat actors use FlawedGrace to receive PowerShell commands over a C2 channel to deploy additional tools.

T1059.005Visual BasicEvidence3

La victime est alors incitée à télécharger, ouvrir et activer les macros VBA d’un document Office, généralement Excel, contenant une charge malveillante.

T1059.007JavaScriptEvidence1

The macro evaluates JScript via the ScriptControl ActiveX AddCode method.

T1204.002Malicious FileEvidence3

Ce mode opératoire s’appuie exclusivement durant cette période sur de l’ingénierie sociale pour faire exécuter ses charges contenues dans des pièces jointes malveillantes... La victime est alors incitée à télécharger, ouvrir et activer les macros VBA d’un document Office. | Le but de ces documents était souvent d’exécuter via des macros des commandes msiexec sur la machine de la victime pour télécharger et exécuter un code malveillant.

Persistence

3 techniques
T1112Modify RegistryEvidence3

After deployment by Truebot, FlawedGrace is able to modify registry ... and print spooler programs.

T1547.001Registry Run Keys / Startup FolderEvidence1

Some MSI packages add autorun via the CurrentVersion\Run key.

T1547.012Print ProcessorsEvidence2

FlawedGrace manipulates these features to both escalate privilege and establish persistence.

Privilege Escalation

3 techniques
T1055.001Dynamic-link Library InjectionEvidence2

Inject payloads into msiexec[.]exe and svchost[.]exe ... as well as load dynamic link libraries (DLLs) ... to accomplish privilege escalation.

T1547.001Registry Run Keys / Startup FolderEvidence1

Some MSI packages add autorun via the CurrentVersion\Run key.

T1547.012Print ProcessorsEvidence2

FlawedGrace manipulates these features to both escalate privilege and establish persistence.

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence7

TA505 utilise un code de compression... appelé Minedoor... pour rendre ces codes malveillants plus difficiles à analyser.

T1027.002Software PackingEvidence1

TA505 uses a compression code... called Minedoor... used to compress both early stage malwares such as FlawedGrace, and final codes deployed by TA505 such as Clop or DeactivateDefender.

T1027.009Embedded PayloadsEvidence2

During FlawedGrace’s execution phase, the RAT stores encrypted payloads ... within the registry.

T1027.013Encrypted/Encoded FileEvidence4

[FlawedGrace](https://attack.mitre.org/software/S0383) encrypts its C2 configuration files with AES in CBC mode.(Citation: Proofpoint TA505 Jan 2019)

T1055.001Dynamic-link Library InjectionEvidence2

Inject payloads into msiexec[.]exe and svchost[.]exe ... as well as load dynamic link libraries (DLLs) ... to accomplish privilege escalation.

T1218.007MsiexecEvidence1

msiexec.exe silently downloads and installs the MSI (UILevel=-2), not as a child of Excel, to break chain visibility.

T1497.001System ChecksEvidence1

Macro checks computer name == user domain and username == admin/administrator; SharePoint sign-in also filters sandboxes.

T1620Reflective Code LoadingEvidence1

ReflectiveGnome in turn downloads more shellcode, that will then drop and detonate FlawedGrace.

Defense Impairment

1 technique
T1112Modify RegistryEvidence3

After deployment by Truebot, FlawedGrace is able to modify registry ... and print spooler programs.

Credential Access

1 technique
T1003OS Credential DumpingEvidence1

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

Discovery

1 technique
T1497.001System ChecksEvidence1

Macro checks computer name == user domain and username == admin/administrator; SharePoint sign-in also filters sandboxes.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence3

FlawedAmmyy / FlawedGrace remote access trojan (RAT) collects information and attempts to communicate with the Command and Control (C2) server.

T1071.001Web ProtocolsEvidence1

Loaders send base64-encoded HTTP GET beacons (domain, user, OS, arch, process list) to the C2 and poll for tasking.

T1095Non-Application Layer ProtocolEvidence3

FlawedGrace ... can receive incoming commands ... sent over a custom binary protocol ... using port 443.

T1105Ingress Tool TransferEvidence8

Truebot uses a second obfuscated domain to receive additional payloads.

Indicators of compromise

Observables

61 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

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 matching61Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping25Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.