Skip to main content
Mallory
Malware1 associated actor1 associated CVE

Dacls

Tracked since Dec 5, 2025 · Updated 28 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors1Associated
ATT&CK23Techniques
IOCs32Tracked
Type
RAT
Capabilities
ExfiltrationPersistencePost exploitationDefense evasionReconnaissanceScanning
Delivery
Lure
Platforms
WindowsLinuxmacOS

Dacls, also tracked as MATA, is a modular, cross-platform remote access trojan associated with the North Korean Lazarus Group. It targets Windows, Linux, and macOS, with artifacts observed as early as April 2018. Its capabilities include remote command execution, file management and downloading, process enumeration and termination, host-information collection, network connectivity testing, network scanning, and proxying command-and-control traffic.

Windows and Linux variants share a command-and-control protocol that layers RC4-encrypted tasking over TLS. Dacls stores configuration data using AES encryption and supports configuration updates from its operators. The Linux variant runs as a background daemon with statically compiled modules, while the Windows variant can retrieve plugin modules remotely. Its process-management functionality reports process and parent-process identifiers. A log-sending module can scan public IP addresses for exposed services and exfiltrate command output and scan results through HTTP POST requests. Reverse-proxy functionality relays traffic between command-and-control infrastructure and designated hosts.

The macOS variant has been distributed through a trojanized TinkaOTP two-factor authentication application. It supports persistence through LaunchAgents or, when running with root privileges, LaunchDaemons. Evasion techniques include dot-prefixed payload names that hide files from Finder, disguising Mach-O executables as interface-resource files, and basic string obfuscation. Its modular architecture closely resembles the Linux and Windows variants.

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-2019-3396via netlab 360Exploited in the wildServer-Side Template Injection in Atlassian Confluence Widget Connector我们在疑似被感染的下载服务器 http://www.areac-agr.com/cms/wp-content/uploads/2015/12/ 上找到了一系列样本,其中包括Win32.Dacls和Linux.Dacls,开源程序Socat,以及Confluence CVE-2019-3396 Payload。所以,我们推测Lazarus Group曾经利用CVE-2019-3396 N-day漏洞传播Dacls Bot程序。 | 所以,我们会详细披露它的一些技术特征,并根据它的文件名和硬编码字符串特征将它命名为Dacls。Dacls是一款新型的远程控制软件,包括Windows和Linux版本并共用C2协议,我们将它们分别命名为Win32.Dacls和Linux.Dacls。View vulnerability →Source ↗
Threat actors

Associated threat actors

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

View more details →
Lazarus

(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

via mitre attack structuredgithub.com
MITRE ATT&CK

Techniques & procedures

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

Execution

2 techniques
T1059.004Unix ShellEvidence2

Bash插件是编号为0的插件,主要支持两个功能:接收C2服务器的下发的系统命令并执行;C2通过指令下发临时C2,Bot然后连接到临时C2并执行临时C2下发的系统命令。

T1203Exploitation for Client ExecutionEvidence2

我们在疑似被感染的下载服务器... 找到了一系列样本,其中包括Win32.Dacls和Linux.Dacls,开源程序Socat,以及Confluence CVE-2019-3396 Payload。所以,我们推测Lazarus Group曾经利用CVE-2019-3396 N-day漏洞传播Dacls Bot程序。

Persistence

2 techniques
T1543.001Launch AgentEvidence4

[Dacls](https://attack.mitre.org/software/S0497) can establish persistence via a LaunchAgent.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

T1543.004Launch DaemonEvidence3

[Dacls](https://attack.mitre.org/software/S0497) can establish persistence via a Launch Daemon.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

Privilege Escalation

2 techniques
T1543.001Launch AgentEvidence4

[Dacls](https://attack.mitre.org/software/S0497) can establish persistence via a LaunchAgent.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

T1543.004Launch DaemonEvidence3

[Dacls](https://attack.mitre.org/software/S0497) can establish persistence via a Launch Daemon.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence5

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 FileEvidence4

[Dacls](https://attack.mitre.org/software/S0497) can encrypt its configuration file with AES CBC.(Citation: TrendMicro macOS Dacls May 2020)

T1036MasqueradingEvidence3

The [Dacls](https://attack.mitre.org/software/S0497) Mach-O binary has been disguised as a .nib file.(Citation: SentinelOne Lazarus macOS July 2020)

T1070.004File DeletionEvidence2

File插件主要功能是文件管理,除了支持对文件的读,写,删除,查找操作...

T1564.001Hidden Files and DirectoriesEvidence5

[Dacls](https://attack.mitre.org/software/S0497) has had its payload named with a dot prefix to make it hidden from view in the Finder application.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

Discovery

5 techniques
T1033System Owner/User DiscoveryEvidence1

如果Linux进程中的PID对应的 /proc/<pid>/task 目录存在,Bot样本会收集如下进程信息... Uid //用户ID Gid //用户组ID

T1046Network Service DiscoveryEvidence2

当Bot收到该指令后会按照3种规则随机生成公网IP地址并尝试连接8291端口,如果连接成功就向log server回传扫描结果。

T1057Process DiscoveryEvidence9

[Dacls](https://attack.mitre.org/software/S0497) can collect data on running and parent processes.(Citation: TrendMicro macOS Dacls May 2020)

T1082System Information DiscoveryEvidence3

C2收到加密Key,向Bot发送密文,解密后为0x00000700指令,之后Bot就会上传主机名相关信息给C2。

T1083File and Directory DiscoveryEvidence9

[Dacls](https://attack.mitre.org/software/S0497) can scan directories on a compromised host.(Citation: TrendMicro macOS Dacls May 2020)

Lateral Movement

1 technique
T1021.006Windows Remote ManagementEvidence1

The Reverse P2P plug-in is actually a C2 Connection Proxy, it directs network traffic between bots and C2 to avoid direct connections to their infrastructure.

Collection

1 technique
T1560Archive Collected DataEvidence1

When all the work is done, it executes the system tar command to compress the log file tar -cvzf /tmp/hdv.rm /tmp/hdv.log and upload it to the specified log collecting interface.

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence2

The C2 protocol utilizes TLS and RC4 double-layer encryption. After establishing a TLS connection, Dacls beacons to the C2 server and then exchanges a key for the RC4 encryption.

T1071.001Web ProtocolsEvidence8

[Dacls](https://attack.mitre.org/software/S0497) can use HTTPS in C2 communications.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

T1090ProxyEvidence1

The Reverse P2P plug-in is actually a C2 Connection Proxy, it directs network traffic between bots and C2 to avoid direct connections to their infrastructure. This is a common used technique by the Lazarus Group.

T1090.003Multi-hop ProxyEvidence1

Reverse P2P插件实际上是一种C2连接代理(Connection Proxy),它通过下发控制命令可以将指定的C2数据完整的转发到指定IP端口。

T1105Ingress Tool TransferEvidence6

[Dacls](https://attack.mitre.org/software/S0497) can download its payload from a C2 server.(Citation: SentinelOne Lazarus macOS July 2020)(Citation: TrendMicro macOS Dacls May 2020)

T1573Encrypted ChannelEvidence2

Dacls是一款新型的远程控制软件... C2协议使用TLS和RC4双层加密,配置文件使用AES加密... Linux.Dacls Bot和C2通信主要分为3个阶段,并采用了TLS和RC4双层加密算法

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

When all the work is done, it executes the system tar command to compress the log file tar -cvzf /tmp/hdv.rm /tmp/hdv.log and upload it to the specified log collecting interface.

Indicators of compromise

Observables

32 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 matching32Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups 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 mapping23Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.