# johnchuyma/multi-stage-phishing-campaign-analysis architecture

> Architecture diagram of the GitHub repository johnchuyma/multi-stage-phishing-campaign-analysis, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/johnchuyma/multi-stage-phishing-campaign-analysis
- Repository: https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis

## Overview

This repository is an investigation record, not a deployable application. Its principal workflow follows a phishing campaign from credential harvesting, through custom proof-of-work verification, to malware delivery; the reports and evidence document each stage. The graph preserves the documented campaign capabilities and the sampled browser-side behavior. Relationships for unsampled credential-theft details are based on README statements; backend behavior in the unknown stage remained inaccessible.

Main entry points: [`campaign/unknown/evidence/website_deobfuscated.js`](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js) (Proof-of-Work Page), [`README.md`](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/README.md) (Campaign Overview), [`campaign/credential_theft/evidence/login_page.js`](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/evidence/login_page.js) (Google Login Lure), [`campaign/payload_dropper/evidence/fake_captcha.js`](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/fake_captcha.js) (Fake CAPTCHA)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_credential["Credential Theft"]
  node_credential_report["Credential Report<br/>[report.md]"]
  node_tracking_links["Tracking Links"]
  node_google_login["Google Login Lure<br/>[login_page.js]"]
  node_recaptcha["Google reCAPTCHA"]
  node_victim_tracking["Victim Tracking"]
  node_heartbeat["Heartbeat Monitoring"]
end

subgraph group_verification["Unknown Verification"]
  node_unknown_report["Unknown-Stage Report<br/>[report.md]"]
  node_pow_page["Proof-of-Work Page"]
  node_pow_workers["Worker Pool"]
  node_verification_backend["Verification Backend"]
  node_session_redirect["Session Redirect"]
end

subgraph group_malware["Malware Delivery"]
  node_malware_report["Malware Report<br/>[report.md]"]
  node_fake_captcha["Fake CAPTCHA<br/>[fake_captcha.js]"]
  node_visitor_profile["Visitor Profiling<br/>[fake_captcha.js]"]
  node_ipinfo["IPInfo Service"]
  node_telegram["Telegram Bot API"]
  node_download_page["Download Page<br/>[download_page.js]"]
  node_r2_storage[("Cloudflare R2")]
  node_msp360_payload["MSP360 Payload"]
end

subgraph group_synthesis["Campaign Synthesis"]
  node_campaign_overview["Campaign Overview<br/>[README.md]"]
  node_campaign_timeline["Campaign Timeline"]
end

node_investigator(("Investigator"))
node_victim(("Victim"))

node_investigator -->|"reviews"| node_campaign_overview
node_campaign_overview -->|"summarizes"| node_campaign_timeline
node_campaign_overview -->|"documents"| node_credential_report
node_campaign_overview -->|"documents"| node_unknown_report
node_campaign_overview -->|"documents"| node_malware_report
node_victim -->|"enters through"| node_tracking_links
node_tracking_links -->|"directs to"| node_google_login
node_google_login -->|"uses"| node_recaptcha
node_google_login -->|"supports"| node_victim_tracking
node_google_login -->|"monitors with"| node_heartbeat
node_victim -->|"visits"| node_pow_page
node_pow_page -->|"dispatches work to"| node_pow_workers
node_pow_page -->|"requests challenge"| node_verification_backend
node_pow_page -->|"submits solution"| node_verification_backend
node_pow_page -->|"requests redirect"| node_session_redirect
node_victim -->|"clicks"| node_fake_captcha
node_fake_captcha -->|"starts profiling"| node_visitor_profile
node_visitor_profile -->|"queries"| node_ipinfo
node_visitor_profile -->|"sends notification"| node_telegram
node_fake_captcha -->|"redirects to"| node_download_page
node_download_page -->|"downloads from"| node_r2_storage
node_download_page -->|"triggers download"| node_msp360_payload

click node_campaign_overview "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/README.md"
click node_campaign_timeline "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign_analysis.md"
click node_credential_report "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/report.md"
click node_tracking_links "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/credential_collection.md"
click node_google_login "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/evidence/login_page.js"
click node_recaptcha "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/captcha_analysis.md"
click node_victim_tracking "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/credential_collection.md"
click node_heartbeat "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/heartbeat_analysis.md"
click node_unknown_report "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/report.md"
click node_pow_page "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js"
click node_pow_workers "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js"
click node_session_redirect "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js"
click node_malware_report "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/report.md"
click node_fake_captcha "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/fake_captcha.js"
click node_visitor_profile "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/fake_captcha.js"
click node_download_page "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/download_page.js"
click node_msp360_payload "https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/nsis_deobfuscated.nsi"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_credential_report,node_tracking_links,node_google_login,node_recaptcha,node_victim_tracking,node_heartbeat toneBlue
class node_unknown_report,node_pow_page,node_pow_workers,node_verification_backend,node_session_redirect toneAmber
class node_malware_report,node_fake_captcha,node_visitor_profile,node_ipinfo,node_telegram,node_download_page,node_r2_storage,node_msp360_payload toneMint
class node_campaign_overview,node_campaign_timeline toneRose
class node_investigator,node_victim toneIndigo
```

## Components

### Credential Theft

- [Credential Report](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/report.md): `campaign/credential_theft/report.md`
- [Tracking Links](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/credential_collection.md): `campaign/credential_theft/analysis/credential_collection.md`
- [Google Login Lure](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/evidence/login_page.js): `campaign/credential_theft/evidence/login_page.js`
- [Google reCAPTCHA](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/captcha_analysis.md): `campaign/credential_theft/analysis/captcha_analysis.md`
- [Victim Tracking](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/credential_collection.md): `campaign/credential_theft/analysis/credential_collection.md`
- [Heartbeat Monitoring](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/credential_theft/analysis/heartbeat_analysis.md): `campaign/credential_theft/analysis/heartbeat_analysis.md`

### Unknown Verification

- [Unknown-Stage Report](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/report.md): `campaign/unknown/report.md`
- [Proof-of-Work Page](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js): `campaign/unknown/evidence/website_deobfuscated.js`
- [Worker Pool](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js): `campaign/unknown/evidence/website_deobfuscated.js`
- **Verification Backend**
- [Session Redirect](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/unknown/evidence/website_deobfuscated.js): `campaign/unknown/evidence/website_deobfuscated.js`

### Malware Delivery

- [Malware Report](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/report.md): `campaign/payload_dropper/report.md`
- [Fake CAPTCHA](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/fake_captcha.js): `campaign/payload_dropper/evidence/fake_captcha.js`
- [Visitor Profiling](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/fake_captcha.js): `campaign/payload_dropper/evidence/fake_captcha.js`
- **IPInfo Service**
- **Telegram Bot API**
- [Download Page](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/download_page.js): `campaign/payload_dropper/evidence/download_page.js`
- **Cloudflare R2**
- [MSP360 Payload](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign/payload_dropper/evidence/nsis_deobfuscated.nsi): `campaign/payload_dropper/evidence/nsis_deobfuscated.nsi`

### Campaign Synthesis

- [Campaign Overview](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/README.md): `README.md`
- [Campaign Timeline](https://github.com/johnchuyma/multi-stage-phishing-campaign-analysis/blob/main/campaign_analysis.md): `campaign_analysis.md`

### Other components

- **Investigator**
- **Victim**

## Connections

- Investigator → Campaign Overview: reviews (evidence: `README.md`)
- Campaign Overview → Campaign Timeline: summarizes (evidence: `README.md`)
- Campaign Overview → Credential Report: documents (evidence: `README.md`)
- Campaign Overview → Unknown-Stage Report: documents (evidence: `README.md`)
- Campaign Overview → Malware Report: documents (evidence: `README.md`)
- Victim → Tracking Links: enters through (evidence: `README.md`)
- Tracking Links → Google Login Lure: directs to (evidence: `README.md`)
- Google Login Lure → Google reCAPTCHA: uses (evidence: `README.md`)
- Google Login Lure → Victim Tracking: supports (evidence: `README.md`)
- Google Login Lure → Heartbeat Monitoring: monitors with (evidence: `README.md`)
- Victim → Proof-of-Work Page: visits (evidence: `README.md`)
- Proof-of-Work Page → Worker Pool: dispatches work to (evidence: `campaign/unknown/evidence/website_deobfuscated.js`)
- Proof-of-Work Page → Verification Backend: requests challenge (evidence: `campaign/unknown/evidence/website_deobfuscated.js`)
- Proof-of-Work Page → Verification Backend: submits solution (evidence: `campaign/unknown/evidence/website_deobfuscated.js`)
- Proof-of-Work Page → Session Redirect: requests redirect (evidence: `campaign/unknown/evidence/website_deobfuscated.js`)
- Victim → Fake CAPTCHA: clicks (evidence: `README.md`)
- Fake CAPTCHA → Visitor Profiling: starts profiling (evidence: `campaign/payload_dropper/evidence/fake_captcha.js`)
- Visitor Profiling → IPInfo Service: queries (evidence: `campaign/payload_dropper/evidence/fake_captcha.js`)
- Visitor Profiling → Telegram Bot API: sends notification (evidence: `campaign/payload_dropper/evidence/fake_captcha.js`)
- Fake CAPTCHA → Download Page: redirects to (evidence: `campaign/payload_dropper/evidence/fake_captcha.js`)
- Download Page → Cloudflare R2: downloads from (evidence: `campaign/payload_dropper/evidence/download_page.js`)
- Download Page → MSP360 Payload: triggers download (evidence: `campaign/payload_dropper/evidence/download_page.js`)
