Skip to main content
Mallory
Malware1 associated actor3 associated CVEs

EternalRomance

Tracked since Jan 29, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns3Associated
Actors1Associated
ATT&CK10Techniques
IOCs0Tracked
Type
Shellcode
Capabilities
Privilege escalationLateral movement
Platforms
Windows

EternalRomance is a remote code execution exploit targeting vulnerabilities in Microsoft Windows SMBv1, rather than a standalone malware family. Associated with the NSA and Equation Group toolset, it was publicly released by the Shadow Brokers in April 2017. Microsoft addressed the affected SMB vulnerabilities in security update MS17-010, released in March 2017.

The exploit abuses SMB transaction handling and memory corruption to obtain arbitrary read and write access to kernel memory. Implementations can manipulate SMB session security structures to obtain administrative or SYSTEM-level access, enabling remote service execution or installation of a separate payload such as DoublePulsar. Reliable exploitation depends on knowledge or control of the target's memory layout. Later public implementations broadened support across 32-bit and 64-bit Windows desktop and server versions and were incorporated into the Metasploit Framework.

EternalRomance has been used for lateral movement and network propagation by NotPetya and Bad Rabbit, with different implementations exploiting the same underlying weakness. NotPetya's campaign was publicly attributed by the U.S. Government to the Russian military. EternalRomance has also been incorporated into propagation toolsets used by EternalRocks and Lucifer. Its role is to compromise vulnerable Windows hosts; encryption, cryptocurrency mining, and other subsequent actions are performed by the malware using it.

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

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

CVE-2017-0145via threatpostMicrosoft Windows SMBv1 Remote Code Execution (EternalRomance)EternalRomance is a remote code execution attack that exploits CVE-2017-0145.View vulnerability →Source ↗
CVE-2017-0144via cisa certEternalBlueEternalRomance - another Windows SMBv1 exploitView vulnerability →Source ↗
CVE-2017-0143via bleeping computerMicrosoft Windows SMBv1 Remote Code Execution (CVE-2017-0143)Besides EternalBlue, the NotPetya and Bad Rabbit ransomware outbreaks also utilized the EternalRomance exploit that Dillon has recently ported to target a more broader spectrum of Windows versions.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 →
Tor2Mine

Windows executable versions of publically available EternalBlue/EternalRomance exploit scripts.

via talosintelligence otherblog.talosintelligence.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1078Valid AccountsEvidence1

"Instead of going for shellcode execution, it overwrites the SMB connection session structures to gain Admin/SYSTEM session," Dillon says.

Execution

1 technique
T1203Exploitation for Client ExecutionEvidence2

SMBv1の脆弱性による横展開については、EternalBlueまたはEternalRomance(いずれもMS17-010の更新プログラム適用で修正される)で脆弱性を突き、DoublePulsarを設置、DoublePulsarを介してlsass.exeにインメモリでDLLインジェクションを行います。

Persistence

1 technique
T1078Valid AccountsEvidence1

"Instead of going for shellcode execution, it overwrites the SMB connection session structures to gain Admin/SYSTEM session," Dillon says.

Privilege Escalation

3 techniques
T1068Exploitation for Privilege EscalationEvidence2

MS17-010 exploit for Windows 2000 and later... If we can overwrite Token to NULL and UsePsImpersonateClient to true, a running thread will use primary token (SYSTEM) to do all SMB operations.

T1078Valid AccountsEvidence1

"Instead of going for shellcode execution, it overwrites the SMB connection session structures to gain Admin/SYSTEM session," Dillon says.

T1134Access Token ManipulationEvidence1

If we can overwrite Token to NULL and UsePsImpersonateClient to true, a running thread will use primary token (SYSTEM) to do all SMB operations... for Windows 2003 and earlier, the exploit modify token user and groups in PCtxtHandle to get SYSTEM

Stealth

3 techniques
T1036MasqueradingEvidence1

The threat actor responsible for the attack has purposefully included evidence to frustrate analysts and lead researchers to false attribution flags.

T1078Valid AccountsEvidence1

"Instead of going for shellcode execution, it overwrites the SMB connection session structures to gain Admin/SYSTEM session," Dillon says.

T1134Access Token ManipulationEvidence1

If we can overwrite Token to NULL and UsePsImpersonateClient to true, a running thread will use primary token (SYSTEM) to do all SMB operations... for Windows 2003 and earlier, the exploit modify token user and groups in PCtxtHandle to get SYSTEM

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

write_data(conn, info, info['session']+info['SESSION_ISNULL_OFFSET'], '\x00\x01')

Lateral Movement

3 techniques
T1021.002SMB/Windows Admin SharesEvidence3

It uses two tools (ETERNALBLUE and ETERNALROMANCE) from the ShadowBrokers dump in April that exploit vulnerabilities in SMBv1... The ransomware can also perform lateral movement by using two exploits... called ETERNALBLUE and ETERNALROMANCE.

T1210Exploitation of Remote ServicesEvidence10

The ransomware can also perform lateral movement by using two exploits that came with the ShadowBrokers dump in April, called ETERNALBLUE and ETERNALROMANCE. These tools exploit vulnerabilities in SMBv1 (CVE-2017-0144 and CVE-2017-0145).

T1570Lateral Tool TransferEvidence1

The most famous being EternalBlue, the exploit used in the WannaCry, NotPetya, and Bad Rabbit ransomware outbreaks... Besides EternalBlue, the NotPetya and Bad Rabbit ransomware outbreaks also utilized the EternalRomance exploit.

Collection

1 technique
T1005Data from Local SystemEvidence1

Now, read_data() and write_data() can be used for arbitrary read and write... read session struct to get SecurityContext address

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 actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities3CVEs 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 mapping10Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.