meltedinhex/analyst-ai-pack / skills/analyzing-banking-trojan-webinjects
analyzing-banking-trojan-webinjects
VerifiedAnalyzes 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.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 340 B |
| SKILL.md | skill md | 2.7 KB |
| references/api-reference.md | markdown | 1.4 KB |
| scripts/analyst.py | script | 2.6 KB |
SKILL.md
View on GitHub---
name: analyzing-banking-trojan-webinjects
description: '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.'
domain: cybersecurity
subdomain: malware-analysis
tags:
- malware-analysis
- banking-trojan
- webinject
- fraud
- credential-theft
version: 1.0.0
author: analyst-ai-pack
license: Apache-2.0
mitre_attack:
- T1185
- T1557
- T1056.001
d3fend:
- D3-SDA
- D3-DA
references:
- 'MITRE ATT&CK T1185 Browser Session Hijacking — https://attack.mitre.org/techniques/T1185/'
- 'Zeus/SpyEye webinject format (public malware research) — https://attack.mitre.org/software/S0259/'
---
# 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
```bash
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
- See [`references/api-reference.md`](references/api-reference.md) for the parser.
- ATT&CK T1185 and webinject format references (linked in frontmatter).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |