Skip to main content
Mallory
Malware

Trapdoor

Tracked since Apr 12, 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
Actors0Associated
ATT&CK31Techniques
IOCs9Tracked
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
MITRE ATT&CK

Techniques & procedures

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

Initial Access

5 techniques
T1078Valid AccountsEvidence1

Rather than blindly scooping up every AWS key and GitHub token it finds... the script actually makes live API calls first. It tests whether an AWS access key is active. It checks whether a GitHub personal access token (PAT) is still valid.

T1189Drive-by CompromiseEvidence3

Human researchers observed the secondary payload deploying hidden embedded browsers that load malicious HTML5 domains and content behind the scenes, generating fake ad impressions, user clicks and ad bid requests without the user's knowledge.

T1195Supply Chain CompromiseEvidence2

Hackers have planted 34 malicious packages across three major open-source ecosystems... The campaign, named TrapDoor... found the poisoned packages spread across npm, PyPI, and Crates.io.

T1566PhishingEvidence2

Once the organically downloaded app is launched, it serves fake pop-up alerts that mimic app update messages to trick users into installing the next-stage app.

T1566.002Spearphishing LinkEvidence2

The GitHub account ddjidd564 opened pull requests against six major AI and developer tooling repositories... Every PR was framed the same way: documentation improvements, adding developer standards... Reviewers looking at a diff would see what appears to be a helpful community contribution.

Execution

5 techniques
T1059.006PythonEvidence1

When you import one of the seven malicious PyPI packages, the __init__.py runs immediately which is standard Python behavior.

T1059.007JavaScriptEvidence1

When you import one of the seven malicious PyPI packages, the __init__.py runs immediately... the import triggers a network request to ddjidd564.github.io, downloads a JavaScript file, and then spawns a local shell process to execute it using node -e.

T1204User ExecutionEvidence2

Simply installing or building a package was enough to trigger the malicious code, with no further action required from the victim.

T1204.002Malicious FileEvidence1

it allows “analysts to perform actions on the target’s browser... delivering files or payloads.”

T1574.006Dynamic Linker HijackingEvidence1

In Rust’s Cargo build system, build.rs is a build script that runs locally before the main crate compiles... When you run cargo build, any build.rs present in a dependency executes on your machine.

Persistence

2 techniques
T1078Valid AccountsEvidence1

Rather than blindly scooping up every AWS key and GitHub token it finds... the script actually makes live API calls first. It tests whether an AWS access key is active. It checks whether a GitHub personal access token (PAT) is still valid.

T1546Event Triggered ExecutionEvidence1

When a developer runs npm install on any of the 21 identified malicious npm packages, a postinstall hook in the package’s package.json fires automatically... There’s no prompt, no warning, no user confirmation. The hook executes a payload file called trap-core.js.

Privilege Escalation

2 techniques
T1078Valid AccountsEvidence1

Rather than blindly scooping up every AWS key and GitHub token it finds... the script actually makes live API calls first. It tests whether an AWS access key is active. It checks whether a GitHub personal access token (PAT) is still valid.

T1546Event Triggered ExecutionEvidence1

When a developer runs npm install on any of the 21 identified malicious npm packages, a postinstall hook in the package’s package.json fires automatically... There’s no prompt, no warning, no user confirmation. The hook executes a payload file called trap-core.js.

Stealth

6 techniques
T1027Obfuscated Files or InformationEvidence2

The files look blank or benign to a human reading them. But they’re loaded with hidden characters, zero-width spaces and bidirectional Unicode control characters, positioned precisely within the file.

T1036MasqueradingEvidence3

This operation uses real, everyday software and multiple obfuscation and anti-analysis techniques - such as impersonating legitimate SDKs to blend in... | Users unwittingly download a threat actor-owned app, often a utility-style app like a PDF viewer or device cleanup tool.

T1078Valid AccountsEvidence1

Rather than blindly scooping up every AWS key and GitHub token it finds... the script actually makes live API calls first. It tests whether an AWS access key is active. It checks whether a GitHub personal access token (PAT) is still valid.

T1497Virtualization/Sandbox EvasionEvidence3

The malware also confirms where downloads originate from, enabling "malicious behavior only in users" who acquired apps "through threat actor-run ad campaigns." The operators behind the campaign suppressed organic downloads.

T1574.006Dynamic Linker HijackingEvidence1

In Rust’s Cargo build system, build.rs is a build script that runs locally before the main crate compiles... When you run cargo build, any build.rs present in a dependency executes on your machine.

T1684.001ImpersonationEvidence1

The operation abuses and impersonates legitimate mobile advertising infrastructures and installs attribution services - tools utilized by real marketers - to evade user detection, said researchers.

Credential Access

7 techniques
T1056Input CaptureEvidence1

Trapdoor helps customers to create fake web pages and send phishing links to victims in order to trick them into revealing information, including passwords.

T1056.001KeyloggingEvidence1

The system includes a “keylogger to record keystrokes, including potential capture of usernames and passwords.”

T1528Steal Application Access TokenEvidence1

It checks whether a GitHub personal access token (PAT) is still valid... GitHub tokens. Personal access tokens with whatever scope the developer granted.

T1552Unsecured CredentialsEvidence1

The stolen data included AWS keys, GitHub tokens, OpenAI API keys... and environment variables containing passwords or secrets.

T1552.001Credentials In FilesEvidence1

The collection sweep targets... AWS access keys, secret access keys, and session tokens... .env files throughout the filesystem... Private keys, mnemonics, and any unencrypted keystore files in the home directory.

T1555Credentials from Password StoresEvidence2

The stolen data included AWS keys, GitHub tokens, OpenAI API keys, SSH private keys, blockchain wallet files, browser login databases, and environment variables containing passwords or secrets.

T1649Steal or Forge Authentication CertificatesEvidence2

It scanned directories like .ssh, .aws, and .ethereum using six pattern-matching groups designed to catch private keys, mnemonic phrases, API tokens, and passwords.

Discovery

5 techniques
T1082System Information DiscoveryEvidence1

Before stealing anything, the script maps the host environment: what cloud providers are configured, what SSH keys exist, what browser profiles are present, what .env files are reachable.

T1083File and Directory DiscoveryEvidence1

the six malicious Crates.io packages... embed a build.rs that immediately scans the host filesystem for wallet keystores... Before stealing anything, the script maps the host environment... what .env files are reachable.

T1497Virtualization/Sandbox EvasionEvidence3

The malware also confirms where downloads originate from, enabling "malicious behavior only in users" who acquired apps "through threat actor-run ad campaigns." The operators behind the campaign suppressed organic downloads.

T1526Cloud Service DiscoveryEvidence1

Before stealing anything, the script maps the host environment: what cloud providers are configured...

T1580Cloud Infrastructure DiscoveryEvidence1

Researchers uncovered additional infrastructure linked to Cobwebs by pivoting on TLS certificates, identifying 14 new servers, some exposing broken login pages tied to products like Trapdoor and Weaver.

Collection

4 techniques
T1005Data from Local SystemEvidence1

It scanned directories like .ssh, .aws, and .ethereum... targeting Sui, Aptos, and Solana wallet files... sweeping browser credentials, cloud keys, and wallet data across a broad set of file paths.

T1056Input CaptureEvidence1

Trapdoor helps customers to create fake web pages and send phishing links to victims in order to trick them into revealing information, including passwords.

T1056.001KeyloggingEvidence1

The system includes a “keylogger to record keystrokes, including potential capture of usernames and passwords.”

T1185Browser Session HijackingEvidence1

Trapdoor allows customers to extract device information such as battery level, access a device’s camera and microphone, remotely open hidden tabs in the victim’s web browser

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence3

Dubbed Trapdoor by researchers, the ad fraud and malvertising scam has spanned 455 malicious Android apps and is linked to 183 threat actor-owned command-and-control domains.

T1105Ingress Tool TransferEvidence1

the import triggers a network request to ddjidd564.github.io, downloads a JavaScript file, and then spawns a local shell process to execute it using node -e.

Exfiltration

1 technique
T1567Exfiltration Over Web ServiceEvidence2

Rather than relying on unfamiliar domains, the attackers routed stolen data through GitHub Pages, GitHub Gist, and webhook.site... This caused exfiltrated credentials to blend into normal-looking traffic.

Indicators of compromise

Observables

9 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
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
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
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 matching9Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping31Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.