Skip to main content
Mallory
Malware1 associated actor

DOMOAuth2_

Tracked since Feb 23, 2026 · Updated 7 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK8Techniques
IOCs0Tracked

DOMOAuth2_ is a malicious NuGet package used in a software supply-chain campaign targeting ASP.NET web application developers. It was one of four related packages—NCryptYo, DOMOAuth2_, IRAOAuth2.0, and SimpleWriter_—published between August 12 and 21, 2024 by the NuGet account "hamzazaheer," and the set accumulated more than 4,500 downloads before removal. The campaign’s objective was to compromise applications built with the tainted dependencies rather than directly compromise developer workstations.

DOMOAuth2_ is designed to exfiltrate ASP.NET Identity and authorization data, including user accounts, role assignments, and permission mappings. It registers an internal OAuth service via an IServiceCollection extension method named AddOAuth and sends HTTP POST requests to hardcoded localhost endpoints at https://localhost:7152/api/auth/, including get-permissions, get-role-permissions, update-role-permissions, and update-user-permissions. The package communicates through a localhost proxy established by the companion package NCryptYo on 127.0.0.1:7152; NCryptYo acts as an obfuscated stage-1 dropper that executes on assembly load, installs JIT hooks, decrypts embedded payloads, and deploys a stage-2 component that relays traffic to an attacker-controlled C2 whose address is dynamically resolved at runtime.

DOMOAuth2_ includes a hardcoded attacker authentication token used by default if the caller does not provide an API key, and its AuthKey is marked with [JsonIgnore] so the credential is sent in headers rather than JSON bodies. It also uses a custom encoding routine that GZip-compresses data, prepends a 4-byte length, Base64-encodes it, and substitutes characters. C2 responses are returned through a dynamic Message.Data field, allowing attacker-controlled authorization rules to be injected into the victim application. Reported backdoor effects include granting admin roles, modifying access controls, and disabling security checks, enabling persistent access in deployed production applications while continuing to exfiltrate permission data.

The campaign showed signs of common authorship across the four packages, including shared build metadata and embedded credentials. DOMOAuth2_ and the related packages were reported by Socket Threat Research Team and later taken down from NuGet following responsible disclosure.

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

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

"DOMOAuth2_ ... exfiltrate ASP.NET Identity data (user accounts, role assignments, permission mappings) and accept threat actor-controlled authorization rules that create persistent backdoors in victim applications."

via socket blogsocket.dev
MITRE ATT&CK

Techniques & procedures

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

Initial Access

2 techniques
T1195.001Compromise Software Dependencies and Development ToolsEvidence2

"Four malicious NuGet packages have been discovered targeting ASP.NET web application developers... The packages... were published to the NuGet repository... These packages aimed to compromise applications during the development phase, allowing attackers to gain access to deployed production environments"

T1195.002Compromise Software Supply ChainEvidence1

"Socket's Threat Research Team discovered a NuGet supply chain attack involving four malicious packages... The lead package NCryptYo masquerades as a cryptography library through deliberate typosquatting of the legitimate NCrypto package."

Persistence

1 technique
T1136.003Cloud AccountEvidence1

"received authorization rules to create backdoors, granting attackers administrative access"

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

"or disabling security checks"

Collection

1 technique
T1005Data from Local SystemEvidence1

“DOMOAuth2_ and IRAOAuth2.0 silently collect ASP.NET Identity data — user account IDs, role assignments, and permission mappings — and route it to the attacker’s server”

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence1

"the package sends HTTP POST requests to https://localhost:7152/api/auth/... Every request includes the hardcoded auth token in an HTTP header."

T1572Protocol TunnelingEvidence1

"deploy a stage-2 binary - a localhost proxy on port 7152 that relays traffic... to the attacker's external C2 server"

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence2

"DOMOAuth2_ and IRAOAuth2.0 then transmitted the stolen data"

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