Skip to main content
Mallory
← Back to News
state-sponsored-espionagegovernment-diplomatic-threatremote-access-implantcommand-and-control-method

TA402/Molerats Deploys LastConn .NET Backdoor Against Middle East Governments

Threat Actor Intelligence · 3 sources · Updated 4mo ago · First seen Jun 30, 2021

TA402/Molerats Deploys LastConn .NET Backdoor Against Middle East Governments

Proofpoint reported that TA402/Molerats targeted government entities in the Middle East with a new malware family called LastConn, a .NET backdoor that appears to be an updated version of SharpStage. The malware shares several traits with earlier Molerats tooling, including Dropbox API-based command-and-control and checks associated with Arabic-language environments, reinforcing attribution to the long-running espionage group.

Independent reverse engineering showed the sample was heavily obfuscated with .NET Reactor, requiring analysts to recover encrypted strings manually after standard deobfuscation failed. Researchers extracted resource data, identified a 32-byte key-like array, reproduced the string decryption routine in Python, and recovered indicators from calls to the decryption function; the sample also contained a date-based execution check linked to an unregistered .NET Reactor trial message that prevented execution after 2021-06-30.

Why it matters

Impact assessment

TA402/Molerats is conducting targeted espionage against government entities and diplomatically connected organizations in the Middle East, with reported targeting including Israel, the UAE, and Turkey. The primary impact is theft of sensitive information rather than disruptive or destructive effects, but compromise of government and diplomatic networks creates high strategic, operational, and reputational risk.

Supporting details

  • Affected organizations: government entities and organizations with diplomatic relationships in the Middle East.
  • Targeting scope: targeted campaign, not indiscriminate mass exploitation.
  • Threat objective: intelligence collection and exfiltration of sensitive information.
  • Initial access: spear-phishing was reported as the infection vector.
  • Known activity: Proofpoint reported an active TA402/Molerats campaign using the LastConn malware family.
  • Malware lineage indicates sustained capability development: LastConn appears to be an updated version of SharpStage, showing continued investment by the actor.
  • Operational risk is elevated for Arabic-language user populations and regional government users because the malware includes Arabic-environment checks consistent with prior Molerats tooling.
Know this adversaryTTPs, infrastructure, and targeting history in one profile.
Get the profile
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Dec 2020 – Jun 30, 2021
  1. Reported Jan 1, 20252y ago

    Cybereason publishes Molerats IOC set spanning malware and infrastructure

    Cybereason released an indicator-of-compromise dataset for Molerats activity covering malware families including SharpStage, DropBook, Spark Backdoor, Quasar RAT, MoleNet Downloader, and a new Pierogi variant, along with hashes, lure files, and attacker-linked infrastructure. The disclosure also listed domains, URLs, IP addresses, and cloud-hosted staging links used for payload delivery, command and control, or exfiltration.

    Molerats APT: New Malware and Techniques in Middle East Espionage Campaign
  2. Reported Jul 6, 20215y ago

    Researcher publishes reverse engineering of LastConn string decryption

    A researcher published analysis of a LastConn sample obfuscated with .NET Reactor, documenting how de4dot failed, how encrypted strings were recovered from resources, and how the decryption logic was replicated in Python. The write-up also detailed indicators and similarities between LastConn and SharpStage.

    New TA402/MOLERATS Malware - Decrypting .NET Reactor Strings
  3. Reported Jul 6, 20215y ago

    Proofpoint identifies a TA402/MOLERATS campaign using LastConn

    Proofpoint discovered a recent MOLERATS/TA402 spear-phishing campaign targeting Middle Eastern government organizations and entities with diplomatic relationships in the region. The campaign aimed to exfiltrate sensitive information for intelligence gathering and used the LastConn malware payload.

    New TA402/MOLERATS Malware - Decrypting .NET Reactor Strings
  4. Jun 30, 20215y ago

    LastConn sample includes an execution cutoff after June 30, 2021

    One analyzed LastConn sample contained a date-based execution check that refused to continue after June 30, 2021. When run after that date, it threw an exception stating the assembly was protected by an unregistered version of .NET Reactor and would not work further.

    New TA402/MOLERATS Malware - Decrypting .NET Reactor Strings
  5. Dec 2020

    Cybereason discovers the SharpStage backdoor

    Cybereason previously discovered the SharpStage backdoor, a .NET malware family that used the Dropbox API for exfiltration and checked for Arabic on infected machines. LastConn is described as an updated version of this backdoor.

    New TA402/MOLERATS Malware - Decrypting .NET Reactor Strings
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Threat actors

1 linked

Malware

1 linked

Observables

106 linked

Indicator values are masked on this page. View all 106 in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See this adversary's TTPs, infrastructure, and targeting history, correlated against your exposure.
Get the Full Actor Profile
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.