Skip to main content
Mallory
Malware2 associated actors

LastConn

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&CK6Techniques
IOCs2Tracked
Type
Backdoor
Capabilities
ExfiltrationPersistenceDefense evasion
Delivery
Spearphishing
Platforms
Windows

LastConn is a .NET backdoor associated with the Palestinian-aligned espionage group Molerats, also tracked as TA402 and commonly linked to the broader Gaza Cybergang ecosystem. It has been assessed as an updated successor to SharpStage and was later superseded by NimbleMamba. The malware has been used in targeted intelligence-collection operations against Middle Eastern government organizations and other entities with diplomatic or policy relevance in the region, including victims in countries such as Israel, the United Arab Emirates, and Turkey.

LastConn has been delivered through spearphishing campaigns and is tied to operations focused on exfiltrating sensitive information. Its functionality and tradecraft overlap with SharpStage, including implementation in .NET, use of the Dropbox API for communications, and checks related to Arabic-language environments that help constrain execution to intended victims. Public analysis also notes obfuscation and anti-analysis measures including .NET Reactor protection, encrypted strings, control-flow obfuscation, junk code, and a date-based execution guard in at least one analyzed sample.

Operationally, LastConn is best characterized as a targeted espionage implant used for persistent remote access and data theft rather than broad criminal deployment. Reporting links it to the same operator set that later adopted NimbleMamba, with technical continuity across tooling and infrastructure usage supporting that relationship.

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 →
Aluminum Saratoga

ALUMINUM SARATOGA ... Tools ... BlackShades, BrittleBush, DarkComet, LastConn, Micropsia, NimbleMamba, PoisonIvy, QuasarRAT, XtremeRat

via secureworkssecureworks.com
Molerats

...resulting in the development of NimbleMamba, which is designed to replace LastConn, which, in turn, is believed to be an upgraded version of another backdoor called SharpStage...

via the hacker newsthehackernews.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

1 technique
T1566PhishingEvidence1

The prime focus of the attackers is to exfiltrate sensitive information in order to gather intelligence, using spear-phishing as an initial infection vector.

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence2

One of the discovered samples utilised an obfuscator that De4Dot could not successfully deobfuscate, known as .NET Reactor... the main methods of protection in this binary surround the string encryption and control flow obfuscation, as well as the addition of junk code.

T1027.002Software PackingEvidence1

At a first look, my thoughts were that the main payload was packed, resulting in the large file size, however upon opening the sample in dnSpy we can see that it is not packed

T1497Virtualization/Sandbox EvasionEvidence1

However, just before that we do encounter the very first “anti-analysis” check, which is a date check. The sample will refuse to continue execution if it has been executed after the 30th of June, 2021.

Discovery

1 technique
T1497Virtualization/Sandbox EvasionEvidence1

However, just before that we do encounter the very first “anti-analysis” check, which is a date check. The sample will refuse to continue execution if it has been executed after the 30th of June, 2021.

Command and Control

1 technique
T1071.001Web ProtocolsEvidence1

NimbleMamba uses the Dropbox API for both command and control as well as exfiltration.

Exfiltration

1 technique
T1567Exfiltration Over Web ServiceEvidence1

The SharpStage backdoor, developed in .NET, utilised DropBox API for exfiltration... LastConn also implemented similar checks, as well as the DropBox API for communication.

Indicators of compromise

Observables

2 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 matching2Match 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 mapping6Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.