Skip to content

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

analyzing-banking-trojan-webinjects

Verified

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.

FileKindSize
LICENSEother340 B
SKILL.mdskill md2.7 KB
references/api-reference.mdmarkdown1.4 KB
scripts/analyst.pyscript2.6 KB

references/api-reference.md

View on GitHub
# API Reference: Analyzing Banking Trojan Webinjects

## Overview

`scripts/analyst.py` parses Zeus/SpyEye-style webinject configs (`set_url` + `data_before`/
`data_inject`/`data_after` blocks), associates each target URL pattern with its injected snippet,
classifies the injection technique, and extracts/defangs exfil endpoints. It parses config text
only, executes nothing, and never renders injected code.

## Dependencies

| Package | Version | Purpose |
|---------|---------|---------|
| (stdlib) | — | regex, JSON, file IO |

## Core functions

### `parse(path)`
Returns webinject count, targeted URL patterns, and per-entry technique/exfil/preview details.

## Technique classes

- form_grabbing (onsubmit/form hooks)
- fake_fields (SSN/PIN/card/CVV/DOB additions)
- mfa_interception (OTP/2FA/token capture)
- balance_manipulation (innerHTML/balance rewriting)

## Webinject format

`set_url <pattern> <flags>` followed by `data_before … data_end`, `data_inject … data_end`,
`data_after … data_end`.

## Usage

```bash
python scripts/analyst.py parse webinjects.txt
```

## Sources

- MITRE ATT&CK T1185 Browser Session Hijacking — https://attack.mitre.org/techniques/T1185/
- Zeus/SpyEye webinject grammar (set_url/data_before/data_inject) from public malware research
- Web-fraud injection techniques (form-grab, fake fields, OTP capture) from banking-trojan analyses
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: 119kUpdated Claude CodeCodexVerifiedInstall
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: 118kUpdated Claude CodeCodexVerifiedInstall
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: 108kUpdated Claude CodeCodexVerifiedInstall
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: 108kUpdated Claude CodeCodexVerifiedInstall