agentsclimarketplace

Analyzing banking trojan webinjects

Skill meltedinhex/analyst-ai-pack/skills/analyzing-banking-trojan-webinjects

An open agent-skills library for malware analysis, reverse engineering, and threat hunting - 118 curated, runnable skills mapped to MITRE ATT&CK, D3FEND, and CAR.

Install
npx -y skills add meltedinhex/analyst-ai-pack --skill analyzing-banking-trojan-webinjects

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 19 stars19 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Analyzes banking trojan webinject configurations to extract targeted institutions, injected JavaScript/HTML, and data-theft hooks, mapping the fraud workflow. Activates for requests to analyze banking trojan webinjects, parse a webinject config, or map targeted banks and credential-theft injections.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.7 KB, as published. Nobody here has run it

Analyzing Banking Trojan Webinjects

When to Use

  • You have a banking trojan webinject config (Zeus/Gozi/Dridex-style set_url/data_before/ data_inject blocks) and want to extract targeted institutions and injected code.
  • You are mapping the web-fraud workflow (form-grabbing, fake fields, MFA interception).

Do not use this to deploy or test injects against live banking sites. This skill parses the config statically and executes nothing.

Prerequisites

  • The decoded webinject config text (decrypt the config first if needed).

Safety & Handling

  • Treat injected JS/HTML as malicious; do not render it. Defang any exfil URLs.

Workflow

Step 1: Parse webinject blocks

python scripts/analyst.py parse webinjects.txt

Parses set_url/data_before/data_inject/data_after blocks into structured entries with the targeted URL pattern and the injected snippet.

Step 2: Extract targets and exfil endpoints

List targeted institution URL patterns and any exfil endpoints referenced by the injected code.

Step 3: Classify the injection technique

Identify form-grabbing, fake additional fields (SSN, PIN, card), and MFA/OTP interception from the injected markup/JS.

Step 4: Defang and report

Defang URLs and summarize targeted banks and theft techniques.

Validation

  • Each webinject block is parsed into target URL + injection.
  • Exfil endpoints in injected code are extracted and defanged.
  • Injection techniques are classified from the snippet content.

Pitfalls

  • Encrypted/packed configs needing decryption before parsing.
  • Wildcard URL patterns matching broadly — note the scope.
  • Obfuscated injected JS hiding the true exfil endpoint.

References

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.