Skip to content

Commit ae70cc7

Browse files
authored
Update README.md
1 parent 221744e commit ae70cc7

1 file changed

Lines changed: 42 additions & 30 deletions

File tree

README.md

Lines changed: 42 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ This toolkit targets an infection chain that weaponizes **legitimate, digitally
2828
The attack follows this progression:
2929

3030
1. **Initial Access — Phishing Lure:** User receives a phishing email and is directed to a Cloudflare Turnstile CAPTCHA page. After passing the CAPTCHA, a malicious file is downloaded. Observed lure types include:
31-
- NSIS installer: `e-Signature-Key_Access_ID-[ID].exe` — bearing a valid DigiCert Authenticode certificate, producing a trusted (blue) UAC prompt
32-
- VBScript files: `E-INVITE.vbs`, `Proposal-03-2026.vbs`, and similar names
33-
- Both variants ultimately deliver the same ScreenConnect payload via PowerShell or direct execution
31+
* NSIS installer: `e-Signature-Key_Access_ID-[ID].exe` — bearing a valid DigiCert Authenticode certificate, producing a trusted (blue) UAC prompt
32+
* VBScript files: `E-INVITE.vbs`, `Proposal-03-2026.vbs`, and similar names
33+
* Both variants ultimately deliver the same ScreenConnect payload via PowerShell or direct execution
3434

3535
2. **Stage 1 — ScreenConnect (Immediate Silent Access):** The installer silently drops and installs a weaponized ConnectWise ScreenConnect client (`rq.msi` + `rqe.exe`). All 13 user-facing notification settings are explicitly pre-disabled — no tray icon, no connection banner, no user alert of any kind. The client beacons to the attacker's relay.
3636

@@ -46,7 +46,7 @@ The attack follows this progression:
4646

4747
Most standard removal tools fail against this infection because the RAT registers itself in the Windows SafeBoot registry hive:
4848

49-
```
49+
```text
5050
HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Remote Access Service
5151
```
5252

@@ -77,18 +77,19 @@ Field data collected across 6+ confirmed victims in SW Washington / Portland met
7777
### `system_check.ps1` — Detection Scanner (Read-Only)
7878
Run this **before** any remediation. It makes zero changes to the system and produces a full timestamped detection report.
7979

80-
Checks 11 categories:
81-
- Running malicious processes (including JWrapper java instances)
82-
- Malicious Windows services (exact names + wildcard + WMI binary path)
83-
- Registry persistence keys (SafeBoot, Services, Run keys, Scheduled Tasks)
84-
- File system artifacts (known paths, dropper files, `.scr` files)
85-
- Active network connections to known C2 IPs and port 8041
86-
- DNS cache for C2 domain resolution history
87-
- JWrapper log directory and active session evidence
88-
- ScreenConnect-specific artifacts including `system.config` and `app.config`
89-
- Windows Event Log indicators (Event IDs 7045, 4688, 4104)
90-
- Installed programs in Add/Remove Programs registry
91-
- SHA256 hash matching against all known campaign files
80+
Checks the following categories:
81+
* Running malicious processes (including JWrapper java instances and malicious ScreenConnect relay arguments)
82+
* Malicious Windows services (exact names + wildcard + WMI binary path)
83+
* Registry persistence keys (SafeBoot, Services, Run keys, Scheduled Tasks, ScreenConnect Tracing/EventLog artifacts)
84+
* File system artifacts (known paths, dropper files, `.scr` files)
85+
* Active network connections to known C2 IPs and port 8041
86+
* DNS cache for C2 domain resolution history
87+
* JWrapper log directory and active session evidence
88+
* ScreenConnect-specific artifacts including `system.config` and `app.config`
89+
* Windows Event Log indicators (Event IDs 7045, 4688, 4104)
90+
* Installed programs in Add/Remove Programs registry
91+
* SHA256 hash matching against all known campaign files
92+
* **Whitelisting:** Safely ignores legitimate Line-of-Business ScreenConnect instances to prevent false positives.
9293

9394
At completion, the script saves a formatted report to the script directory and **auto-opens it in Notepad**, with clear instructions to email findings to the investigating technician.
9495

@@ -97,13 +98,13 @@ At completion, the script saves a formatted report to the script directory and *
9798
### `Fix.ps1` — Remediation Script
9899
Performs aggressive single-pass cleanup across 7 steps:
99100

100-
1. **Terminate Processes** Force-kills all malicious processes; targets JWrapper java instances by path
101-
2. **Remove Services** Stops and deletes `Remote Access Service` and any `ScreenConnect Client*` services; captures `sc.exe` output for verification
102-
3. **Scrub Registry** Removes SafeBoot key, service key, Uninstall hive entry, Run key entries, and any related Scheduled Tasks
103-
4. **Purge File System** Uses `takeown` + `icacls` before deletion to defeat file permission locks; removes `JWrapper-Remote Access`, `ScreenConnect` staging directories, loose dropper files, and `.scr` files
104-
5. **Remove Firewall Rules** Cleans any rules added by the RAT
105-
6. **Flush DNS Cache** Removes cached resolution of C2 domains
106-
7. **Post-Remediation Verification** Re-checks all key indicators and reports pass/fail per item
101+
1. **Terminate Processes:** Force-kills all malicious processes; targets JWrapper java instances by path.
102+
2. **Remove Services:** Stops and deletes `Remote Access Service` and any `ScreenConnect Client*` services; captures `sc.exe` output for verification.
103+
3. **Scrub Registry:** Removes SafeBoot key, service key, Uninstall hive entry, Run key entries, related Scheduled Tasks, and ScreenConnect Tracing/EventLog footprints.
104+
4. **Purge Caches & File System:** Clears SideBySide/ClickOnce deployment caches across all `HKEY_USERS` registry hives. Uses `takeown` + `icacls` to defeat file permission locks; removes `JWrapper-Remote Access`, `ScreenConnect` staging directories, loose `.vbs`/`.msi`/`.exe` dropper files, and `.scr` files.
105+
5. **Remove/Add Firewall & Network Rules:** Cleans any rules added by the RAT, and adds automated Windows Hosts file sinkholing and Outbound Windows Firewall rules for known malicious relays (`instance-fc5xev`, `instance-sis2tc`, etc.).
106+
6. **Flush DNS Cache:** Removes cached resolution of C2 domains.
107+
7. **Post-Remediation Verification:** Re-checks all key indicators and reports pass/fail per item, and removes Windows Defender exclusions added by the SILENTCONNECT payload.
107108

108109
Saves a full timestamped remediation report (items removed, failed, not found, and verification results) and **auto-opens it in Notepad** with email instructions.
109110

@@ -112,7 +113,7 @@ Saves a full timestamped remediation report (items removed, failed, not found, a
112113
### `RUN_ME.bat` — Interactive Launcher
113114
Run this as Administrator. Presents a simple menu:
114115

115-
```
116+
```text
116117
[1] CHECK ONLY Scan for indicators (no changes made)
117118
[2] FIX / CLEAN Remove all detected malware
118119
[3] EXIT
@@ -122,6 +123,17 @@ Option `[2]` requires typing `YES` to confirm before any destructive action runs
122123

123124
---
124125

126+
## 📦 Changelog
127+
128+
### v2.5.0
129+
* **Added:** Deep registry cleaning for SideBySide/ClickOnce deployment caches across all `HKEY_USERS` hives.
130+
* **Added:** Cleanup for ScreenConnect Tracing (`WOW6432Node\Microsoft\Tracing`) and EventLog registry keys.
131+
* **Added:** Automated Windows Hosts file sinkholing for known malicious relays (`instance-fc5xev`, `instance-sis2tc`).
132+
* **Updated:** Memory and process detection logic to actively hunt for specific malicious relay command-line arguments.
133+
* **Fixed:** Whitelisted valid local applications (e.g., Furniture Wizard) to prevent accidental disruption of legitimate business tools.
134+
135+
---
136+
125137
## 🚀 Usage Instructions
126138

127139
**Recommended workflow:**
@@ -154,10 +166,10 @@ Both scripts generate timestamped `.txt` report files saved to the same folder a
154166
| `Fix.ps1` | `PNWC_Remediation_Report_YYYY-MM-DD_HH-mm-ss.txt` |
155167
156168
Each report opens automatically in Notepad at completion and contains:
157-
- Full system and scan metadata
158-
- A consolidated **Malicious Findings** section listing only the threats detected
159-
- Recommended next steps
160-
- Contact information and instructions to email the report to the investigating technician
169+
* Full system and scan metadata
170+
* A consolidated **Malicious Findings** section listing only the threats detected
171+
* Recommended next steps
172+
* Contact information and instructions to email the report to the investigating technician
161173
162174
---
163175
@@ -177,7 +189,7 @@ Each report opens automatically in Notepad at completion and contains:
177189
178190
## 🌐 Block These at Your Firewall / Router
179191
180-
```
192+
```text
181193
# JWrapper C2 — Stage 2 RAT relays
182194
147.45.218.0 (JWrapper C2 - primary)
183195
91.215.85.219 (JWrapper C2 - redundant)
@@ -263,4 +275,4 @@ This toolkit is provided as-is under the MIT License, without warranty of any ki
263275

264276
*Pacific Northwest Computers — Vancouver, WA*
265277
*jon@pnwcomputers.com | 360-624-7379*
266-
*Last updated: May 2026 — reflects multi-victim field data*
278+
*Last updated: June 2026 — reflects multi-victim field data and v2.5.1 enhancements*

0 commit comments

Comments
 (0)