Skip to main content
Mallory
MalwareUsed by 1 actor

firewalld

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.

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
UNC4540

The main module, named 'firewalld,' executes SQL commands against the appliance's database to steal the hashed credentials of all logged-in users.

via bleeping computerbleepingcomputer.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

A suspected Chinese hacking campaign has been targeting unpatched SonicWall Secure Mobile Access (SMA) appliances... While it is unclear what vulnerability was used to compromise devices, Mandiant says that the targeted devices were unpatched, making them likely vulnerable to older flaws.

Execution

1 technique
T1059.004Unix ShellEvidence1
TacticExecution

The malware used on SonicWall devices consists of an ELF binary, the TinyShell backdoor, and several bash scripts... The threat actors achieved this by using scripts that offer redundancy and ensure long-term access to breached devices.

Persistence

1 technique
T1037Boot or Logon Initialization ScriptsEvidence1

For example, there's a script named 'iptabled' that is essentially the same module as firewalld but will be only called by the startup script ('rc.local') if the primary malware process exits, crashes, or can't be launched.

T1037Boot or Logon Initialization ScriptsEvidence1

For example, there's a script named 'iptabled' that is essentially the same module as firewalld but will be only called by the startup script ('rc.local') if the primary malware process exits, crashes, or can't be launched.

T1003OS Credential DumpingEvidence1

The main module, named 'firewalld,' executes SQL commands against the appliance's database to steal the hashed credentials of all logged-in users. The stolen credentials are copied on a text file created by the attacker at 'tmp/syslog.db' and are later retrieved to be cracked offline.

T1219Remote Access ToolsEvidence1

Additionally, firewalld launches other malware components, like TinyShell, to establish a reverse shell on the appliance for easy remote access.

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 vulnerabilities

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 mapping5

Every documented technique, ranked by evidence weight.

Researcher chatter

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