Skip to main content
Mallory
Malware

CostaBricks

Tracked since Dec 5, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK6Techniques
IOCs0Tracked
Type
Loader
Capabilities
Defense evasionProcess injection
Platforms
Windows

CostaBricks is a custom Windows malware associated with the CostaRicto intrusion set. It is part of a bespoke toolset that has been used alongside other CostaRicto malware, including SombRAT and PS1. Publicly documented behavior shows that CostaBricks uses bytecode-based decryption to reveal embedded payloads at runtime, helping conceal its functionality until execution. It also employs a custom virtual-machine-style obfuscation mechanism to complicate analysis and hinder reverse engineering. CostaBricks is capable of injecting a payload directly into the memory of a compromised host, indicating use as an in-memory execution component and a defense-evasion mechanism. Reported API usage includes memory allocation and dynamic loading functions consistent with unpacking, runtime resolution, and payload execution. Available information supports characterization of CostaBricks as a custom loader used in targeted intrusions by CostaRicto against Windows systems.

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
MITRE ATT&CK

Techniques & procedures

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

Execution

1 technique
T1106Native APIEvidence3

[CostaBricks](https://attack.mitre.org/software/S0614) has used a number of API calls, including `VirtualAlloc`, `VirtualFree`, `LoadLibraryA`, `GetProcAddress`, and `ExitProcess`.(Citation: BlackBerry CostaRicto November 2020)

Privilege Escalation

1 technique
T1055Process InjectionEvidence7

[CostaBricks](https://attack.mitre.org/software/S0614) can inject a payload into the memory of a compromised host.(Citation: BlackBerry CostaRicto November 2020)

Stealth

4 techniques
T1027.001Binary PaddingEvidence3

[CostaBricks](https://attack.mitre.org/software/S0614) has added the entire unobfuscated code of the legitimate open source application Blink to its code.(Citation: BlackBerry CostaRicto November 2020)

T1027.002Software PackingEvidence4

[CostaBricks](https://attack.mitre.org/software/S0614) can implement a custom-built virtual machine mechanism to obfuscate its code.(Citation: BlackBerry CostaRicto November 2020)

T1055Process InjectionEvidence7

[CostaBricks](https://attack.mitre.org/software/S0614) can inject a payload into the memory of a compromised host.(Citation: BlackBerry CostaRicto November 2020)

T1140Deobfuscate/Decode Files or InformationEvidence7

[CostaBricks](https://attack.mitre.org/software/S0614) has the ability to use bytecode to decrypt embedded payloads.(Citation: BlackBerry CostaRicto November 2020)

Command and Control

1 technique
T1105Ingress Tool TransferEvidence4

[CostaBricks](https://attack.mitre.org/software/S0614) has been used to load [SombRAT](https://attack.mitre.org/software/S0615) onto a compromised host.(Citation: BlackBerry CostaRicto November 2020)

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 matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping6Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.