-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsystem_check.ps1
More file actions
912 lines (835 loc) · 47.1 KB
/
system_check.ps1
File metadata and controls
912 lines (835 loc) · 47.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
<#
.SYNOPSIS
JWrapper / ScreenConnect Intrusion Detection Checker
Pacific Northwest Computers - Pre-Remediation Assessment Tool
.DESCRIPTION
Non-destructive detection script. Makes NO changes to the system.
Run this BEFORE Fix.ps1 to document what is present.
Saves a timestamped report with all findings and instructs
the user to email it to jon@pnwcomputers.com.
Covers both the original NSIS e-signature lure variant and the
SILENTCONNECT VBScript variant of this campaign family.
.NOTES
Author : Pacific Northwest Computers
Contact : jon@pnwcomputers.com | 360-624-7379
Version : 2.4.0
Updated : May 2026 -- added cross-victim C2 IPs, ClickOnce cache
detection, VBScript delivery artifacts, app.config/user.config
C2 confirmation, MMSOFT Pulseway staging dir, new process aliases
#>
#Requires -RunAsAdministrator
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseDeclaredVarsMoreThanAssignments', '')]
param()
# Set UTF-8 output encoding so box-drawing characters render correctly
# Works whether launched via RUN_ME.bat (chcp 65001) or directly from PowerShell
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
$ErrorActionPreference = "SilentlyContinue"
# ── Setup ─────────────────────────────────────────────────────────────────────
$Timestamp = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$ReportFile = Join-Path $ScriptDir "PNWC_Detection_Report_$Timestamp.txt"
$FindingCount = 0
$CriticalHits = 0
$ScreenLog = [System.Collections.Generic.List[string]]::new()
$MaliciousHits = [System.Collections.Generic.List[string]]::new()
$ActionLog = [System.Collections.Generic.List[string]]::new()
function Write-Log {
param([string]$Msg, [string]$Color = "White")
Write-Host $Msg -ForegroundColor $Color
$ScreenLog.Add($Msg)
}
function Write-Section {
param([string]$Title)
Write-Log ""
Write-Log ("=" * 70) "DarkCyan"
Write-Log " $Title" "Cyan"
Write-Log ("=" * 70) "DarkCyan"
}
function Write-Hit {
param([string]$Label, [string]$Detail, [string]$Sev = "HIGH")
$script:FindingCount++
if ($Sev -eq "CRITICAL") { $script:CriticalHits++ }
$col = switch ($Sev) { "CRITICAL"{"Red"} "HIGH"{"Yellow"} "MEDIUM"{"Cyan"} default{"White"} }
Write-Log " [!] [$Sev] $Label" $col
Write-Log " $Detail" "Gray"
$script:MaliciousHits.Add(" [$Sev] $Label")
$script:MaliciousHits.Add(" $Detail")
$script:MaliciousHits.Add("")
}
function Write-Clean { param([string]$L); Write-Log " [OK] $L" "DarkGreen" }
# ── Banner ────────────────────────────────────────────────────────────────────
# Pure-ASCII banner. Avoids UTF-8 box-drawing chars so this renders correctly
# regardless of console codepage (some PowerShell 5.1 / Windows console host
# combinations ignore chcp 65001 and decode output as cp1252, producing mojibake).
$host.UI.RawUI.WindowTitle = "PNWC Intrusion Detection Checker v2.4.0"
Clear-Host
Write-Host ""
Write-Host " ###### ## ## ## ## ######" -ForegroundColor Cyan
Write-Host " ## ## ### ## ## ## ## " -ForegroundColor Cyan
Write-Host " ###### ###### ## ## ## ## " -ForegroundColor Cyan
Write-Host " ## ## ### ######## ## " -ForegroundColor Cyan
Write-Host " ## ## ## ## ## ######" -ForegroundColor Cyan
Write-Host ""
Write-Host " Pacific Northwest Computers" -ForegroundColor White
Write-Host " Intrusion Detection Checker" -ForegroundColor DarkGray
Write-Host ""
Write-Host ("=" * 70) -ForegroundColor DarkCyan
Write-Host " Intrusion Detection Checker - JWrapper / ScreenConnect " -ForegroundColor Cyan
Write-Host " Pacific Northwest Computers | jon@pnwcomputers.com " -ForegroundColor Gray
Write-Host " v2.4.0 -- SILENTCONNECT / Medusa IAB variant " -ForegroundColor DarkGray
Write-Host ("=" * 70) -ForegroundColor DarkCyan
Write-Host ""
Write-Host " Started : $(Get-Date -Format 'dddd MMMM dd yyyy HH:mm:ss')" -ForegroundColor Gray
Write-Host " Computer : $env:COMPUTERNAME" -ForegroundColor Gray
Write-Host " Log file : $ReportFile" -ForegroundColor Gray
Write-Host ""
$ActionLog.Add("PNWC Intrusion Detection Checker v2.4.0 -- JWrapper/ScreenConnect (SILENTCONNECT)")
$ActionLog.Add("Started : $(Get-Date)")
$ActionLog.Add("Computer: $env:COMPUTERNAME")
$ActionLog.Add("OS : $((Get-WmiObject Win32_OperatingSystem).Caption)")
$ActionLog.Add("Operator: $([Security.Principal.WindowsIdentity]::GetCurrent().Name)")
$ActionLog.Add(("=" * 70))
# ════════════════════════════════════════════════════════════
# 1. PROCESSES
# ════════════════════════════════════════════════════════════
Write-Section "1. RUNNING MALICIOUS PROCESSES"
$BadProcs = @{
"Remote_Access_Service" = "JWrapper/SimpleHelp RAT main service"
"Remote Access Service" = "JWrapper/SimpleHelp RAT main service (space variant)"
"Remote_AccessWinLauncher" = "JWrapper Windows launcher component"
"SimpleService" = "JWrapper SafeBoot persistence manager"
"StopSimpleGatewayService" = "JWrapper RAT management utility"
"Remote_Access_Configure" = "JWrapper RAT reconfiguration tool"
"Remote_Access_Launcher" = "JWrapper RAT launcher"
"ScreenConnect.WindowsClient" = "ScreenConnect Stage-1 remote access client"
"ScreenConnect.WindowsFileManager" = "ScreenConnect file transfer component"
"WindowsBackstageShell" = "ScreenConnect remote shell"
"rqe" = "ScreenConnect DotNetRunner component"
}
# Use the global finding counter to determine if this section found anything
$sectionStartFinding = $FindingCount
foreach ($p in $BadProcs.Keys) {
$r = Get-Process -Name $p -ErrorAction SilentlyContinue
if ($r) {
Write-Hit -Label "Active Malicious Process: $p" `
-Detail "$($BadProcs[$p]) | PID(s): $(($r.Id -join ', '))" -Sev "CRITICAL"
}
}
# JWrapper java instances (path-filtered to avoid false positives on legitimate Java)
Get-Process -Name "java" -ErrorAction SilentlyContinue |
Where-Object { $_.Path -like "*JWrapper*" } | ForEach-Object {
Write-Hit -Label "JWrapper Java Process Running" `
-Detail "java.exe PID: $($_.Id) Path: $($_.Path)" -Sev "CRITICAL"
}
if ($FindingCount -eq $sectionStartFinding) { Write-Clean "No malicious processes found in memory" }
# ════════════════════════════════════════════════════════════
# 2. SERVICES
# ════════════════════════════════════════════════════════════
Write-Section "2. MALICIOUS WINDOWS SERVICES"
$sectionStartFinding = $FindingCount
$s = Get-Service -Name "Remote Access Service" -ErrorAction SilentlyContinue
if ($s) {
Write-Hit -Label "Malicious Service: 'Remote Access Service'" `
-Detail "Status: $($s.Status) | StartType: $($s.StartType)" -Sev "CRITICAL"
}
Get-Service -Name "ScreenConnect Client*" -ErrorAction SilentlyContinue | ForEach-Object {
Write-Hit -Label "ScreenConnect Service: '$($_.Name)'" `
-Detail "Status: $($_.Status) | StartType: $($_.StartType)" -Sev "CRITICAL"
}
Get-WmiObject Win32_Service -ErrorAction SilentlyContinue |
Where-Object { $_.PathName -like "*JWrapper*" } | ForEach-Object {
Write-Hit -Label "Service with JWrapper Binary: '$($_.Name)'" `
-Detail "Binary: $($_.PathName)" -Sev "CRITICAL"
}
if ($FindingCount -eq $sectionStartFinding) { Write-Clean "No malicious services found" }
# ════════════════════════════════════════════════════════════
# 3. REGISTRY PERSISTENCE
# ════════════════════════════════════════════════════════════
Write-Section "3. REGISTRY PERSISTENCE"
$script:hit = $false
$null = $script:hit # Suppress linter warning
$RegChecks = @{
"HKLM:\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\Remote Access Service" = "SafeBoot key -- RAT survives Safe Mode reboots"
"HKLM:\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\Remote Access Service" = "SafeBoot Minimal key -- additional persistence"
"HKLM:\SYSTEM\CurrentControlSet\Services\Remote Access Service" = "Service registration key"
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Remote Access" = "Add/Remove Programs masquerade entry"
}
foreach ($k in $RegChecks.Keys) {
if (Test-Path $k) {
$script:hit = $true
$sev = if ($k -like "*SafeBoot*" -or $k -like "*Services*") { "CRITICAL" } else { "HIGH" }
Write-Hit -Label "Persistence Key Present" -Detail "$k | $($RegChecks[$k])" -Sev $sev
}
}
foreach ($rk in @(
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
)) {
if (Test-Path $rk) {
(Get-ItemProperty -Path $rk -ErrorAction SilentlyContinue).PSObject.Properties |
Where-Object { $_.Value -like "*JWrapper*" -or $_.Value -like "*ScreenConnect*" -or $_.Value -like "*Remote Access*" } |
ForEach-Object {
$script:hit = $true
Write-Hit -Label "Autorun Entry in Run Key" `
-Detail "Key: $rk | Name: $($_.Name) | Value: $($_.Value)" -Sev "CRITICAL"
}
}
}
Get-ScheduledTask -ErrorAction SilentlyContinue |
Where-Object { $_.TaskName -like "*Remote Access*" -or $_.TaskName -like "*ScreenConnect*" -or $_.TaskPath -like "*JWrapper*" } |
ForEach-Object {
$script:hit = $true
Write-Hit -Label "Malicious Scheduled Task: '$($_.TaskName)'" `
-Detail "State: $($_.State) | Path: $($_.TaskPath)" -Sev "HIGH"
}
if (-not $script:hit) { Write-Clean "No malicious registry keys, Run entries, or scheduled tasks found" }
# ════════════════════════════════════════════════════════════
# 4. FILE SYSTEM
# ════════════════════════════════════════════════════════════
Write-Section "4. FILE SYSTEM ARTIFACTS"
$script:hit = $false
$null = $script:hit # Suppress linter warning
$FilePaths = @{
"$env:ProgramData\JWrapper-Remote Access" = "JWrapper RAT installation directory"
"C:\Windows\SystemTemp\ScreenConnect" = "ScreenConnect staging directory"
"$env:TEMP\ScreenConnect" = "ScreenConnect temp artifacts"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\serviceconfig.xml" = "Live C2 configuration file"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\alertsdb" = "Encrypted C2 session database"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\verified" = "C2 connectivity confirmation file"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\SimpleGatewayService\Remote_Access_Service.exe" = "RAT main service executable"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\SimpleGatewayService\SimpleService.exe" = "SafeBoot persistence binary"
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\SimpleGatewayService\StopSimpleGatewayService.exe" = "RAT management utility"
# VBScript / SILENTCONNECT variant staging files
"C:\Windows\Temp\FileR.txt" = "SILENTCONNECT C# payload staging file (VBScript variant)"
"C:\Temp\ScreenConnect.ClientSetup.msi" = "SILENTCONNECT ScreenConnect installer (VBScript variant staging path)"
# Pulseway pre-staging artifact
"$env:APPDATA\MMSOFT Design\Pulseway\working" = "Pulseway RMM staging directory -- may indicate prior-stage access"
}
foreach ($p in $FilePaths.Keys) {
if (Test-Path $p) {
$hit = $true
$item = Get-Item $p -ErrorAction SilentlyContinue
$detail = $FilePaths[$p]
if ($item -and -not $item.PSIsContainer) {
$hash = (Get-FileHash $p -Algorithm SHA256 -ErrorAction SilentlyContinue).Hash
$detail += " | Size: $([math]::Round($item.Length/1KB,1)) KB"
if ($hash) { $detail += " | SHA256: $($hash.Substring(0,16))..." }
}
$sev = if ($p -like "*Service.exe" -or $p -like "*SimpleService*" -or $p -like "*serviceconfig*" -or $p -like "*FileR.txt*") { "CRITICAL" } else { "HIGH" }
Write-Hit -Label "Artifact Found: $(Split-Path $p -Leaf)" -Detail "Path: $p | $detail" -Sev $sev
}
}
# ArmUI.ini -- JWrapper locale resource file (Stage 2 confirmed)
foreach ($userDir in (Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | Select-Object -ExpandProperty FullName)) {
$armPath = Join-Path $userDir "AppData\Local\Apps\2.0"
if (Test-Path $armPath) {
Get-ChildItem -Path $armPath -Filter "ArmUI.ini" -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
Write-Hit -Label "JWrapper ArmUI.ini Found (Stage 2 deployment confirmed)" `
-Detail "Path: $($_.FullName) | Size: $([math]::Round($_.Length/1KB,1)) KB | Modified: $($_.LastWriteTime.ToString('yyyy-MM-dd HH:mm'))" -Sev "HIGH"
}
}
}
# ClickOnce cache -- ScreenConnect assembly token check
$ClickOnceDirs = [System.Collections.Generic.List[string]]::new()
Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
$coPath = Join-Path $_.FullName "AppData\Local\Apps\2.0"
if (Test-Path $coPath) { $ClickOnceDirs.Add($coPath) }
}
foreach ($coDir in $ClickOnceDirs) {
# All known campaign assembly tokens across all observed payload versions
Get-ChildItem -Path $coDir -Recurse -Directory -ErrorAction SilentlyContinue |
Where-Object {
$_.Name -like "*27fa83f1ad328157*" -or # v25.x -- April 2026 wave
$_.Name -like "*1eba6b14258ee2ac*" -or # v19.x -- 2025 payload
$_.Name -like "*25b0fbb6ef7eb094*" -or # v17-18.x -- 2021-2024 payload
$_.Name -like "*b15b0581876c57b7*" # v15.x -- oldest observed
} | ForEach-Object {
$script:hit = $true
$token = if ($_.Name -like "*27fa83f1*") {"27fa83f1 (v25.x Apr2026)"}
elseif ($_.Name -like "*1eba6b14*") {"1eba6b14 (v19.x 2025)"}
elseif ($_.Name -like "*25b0fbb6*") {"25b0fbb6 (v17-18.x 2021-2024)"}
else {"b15b0581 (v15.x oldest)"}
Write-Hit -Label "ScreenConnect ClickOnce Cache (campaign token: $token)" `
-Detail "Dir: $($_.FullName)" -Sev "CRITICAL"
}
# General ScreenConnect in ClickOnce cache
Get-ChildItem -Path $coDir -Recurse -File -ErrorAction SilentlyContinue |
Where-Object { $_.Name -eq "ScreenConnect.ClientService.exe" -or $_.Name -eq "ScreenConnect.WindowsClient.exe" } |
Select-Object -First 1 | ForEach-Object {
$script:hit = $true
Write-Hit -Label "ScreenConnect in ClickOnce Cache: $($_.Name)" `
-Detail "Path: $($_.FullName) | Modified: $($_.LastWriteTime.ToString('yyyy-MM-dd HH:mm'))" -Sev "HIGH"
}
}
# Program Files installs
foreach ($base in @("C:\Program Files (x86)","C:\Program Files")) {
Get-ChildItem -Path $base -Filter "ScreenConnect Client*" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
Write-Hit -Label "ScreenConnect Install Directory Found" -Detail $_.FullName -Sev "HIGH"
}
}
# Original dropper / lure files
foreach ($pat in @(
"$env:USERPROFILE\Downloads\e-Signature*.exe",
"$env:PUBLIC\Downloads\e-Signature*.exe",
"$env:TEMP\e-Signature*.exe",
"C:\Windows\Temp\e-Signature*.exe"
)) {
Get-Item -Path $pat -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
$hash = (Get-FileHash $_.FullName -Algorithm SHA256 -ErrorAction SilentlyContinue).Hash
Write-Hit -Label "Original Dropper Found: $($_.Name)" `
-Detail "Path: $($_.FullName) | SHA256: $hash" -Sev "CRITICAL"
}
}
# VBScript delivery artifacts
foreach ($vbsPat in @(
"$env:USERPROFILE\Downloads\*.vbs",
"$env:PUBLIC\Downloads\*.vbs",
"$env:TEMP\*.vbs",
"C:\Windows\Temp\*.vbs"
)) {
Get-Item -Path $vbsPat -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
Write-Hit -Label "VBScript Delivery File Found: $($_.Name)" `
-Detail "Path: $($_.FullName) | Modified: $($_.LastWriteTime.ToString('yyyy-MM-dd HH:mm')) | Possible SILENTCONNECT loader" -Sev "HIGH"
}
}
# SCR dropper files
Get-ChildItem "C:\Windows\SystemTemp\" -Filter "*.scr" -Recurse -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
Write-Hit -Label "Suspicious .SCR File (JWrapper dropper pattern)" -Detail $_.FullName -Sev "HIGH"
}
if (-not $script:hit) { Write-Clean "No malicious file system artifacts detected" }
# ════════════════════════════════════════════════════════════
# 5. NETWORK C2 CONNECTIONS
# ════════════════════════════════════════════════════════════
Write-Section "5. ACTIVE NETWORK CONNECTIONS TO C2"
$script:hit = $false
$null = $script:hit # Suppress linter warning
# Known C2 IPs -- Stage 2 JWrapper relays + all field-confirmed ScreenConnect relay IPs
$C2IPs = @{
# JWrapper C2 relays
"147.45.218.0" = "JWrapper C2 primary relay"
"91.215.85.219" = "JWrapper C2 redundant relay"
"147.45.218.13" = "JWrapper C2 redundant relay"
# instance-sis2tc (April 2026 mass phishing wave)
"15.204.131.77" = "ScreenConnect C2 relay (instance-sis2tc) -- April 2026 campaign"
# instance-fc5xev (2024 wave)
"147.28.146.148" = "ScreenConnect C2 relay (instance-fc5xev) -- 2024 campaign wave"
# instance-zayrhg (2023-2026 long-term persistence)
"15.204.48.24" = "ScreenConnect C2 relay (instance-zayrhg) -- Mar-Aug 2026"
"15.204.48.31" = "ScreenConnect C2 relay (instance-zayrhg) -- Dec 2025"
"15.204.48.34" = "ScreenConnect C2 relay (instance-zayrhg) -- Jan 2026"
"15.204.43.162" = "ScreenConnect C2 relay (instance-zayrhg) -- Apr-May 2026"
"139.178.68.80" = "ScreenConnect C2 relay (instance-zayrhg) -- May 2023"
"139.178.89.196" = "ScreenConnect C2 relay (instance-zayrhg) -- Nov 2024"
"139.178.91.96" = "ScreenConnect C2 relay (instance-zayrhg) -- May 2025"
"147.75.70.32" = "ScreenConnect C2 relay (instance-zayrhg) -- Dec 2024"
# instance-c7gab0 (2023-2025)
"147.75.70.188" = "ScreenConnect C2 relay (instance-c7gab0) -- Mar 2023"
"139.178.69.0" = "ScreenConnect C2 relay (instance-c7gab0) -- Aug 2023"
"147.75.70.116" = "ScreenConnect C2 relay (instance-c7gab0) -- Jul 2024"
"147.75.70.28" = "ScreenConnect C2 relay (instance-c7gab0) -- Feb 2025"
"15.204.43.236" = "ScreenConnect C2 relay (instance-c7gab0) -- Oct 2025"
# instance-xbirmk (2023-2024)
"139.178.89.208" = "ScreenConnect C2 relay (instance-xbirmk) -- Jan 2023 earliest observed"
"139.178.89.96" = "ScreenConnect C2 relay (instance-xbirmk) -- Oct 2023"
"139.178.89.228" = "ScreenConnect C2 relay (instance-xbirmk) -- Sep 2024"
# SILENTCONNECT delivery
"86.38.225.59" = "bumptobabeco.top resolved IP -- SILENTCONNECT delivery server, Lithuania"
}
$NetConns = Get-NetTCPConnection -State Established,TimeWait,CloseWait -ErrorAction SilentlyContinue
foreach ($ip in $C2IPs.Keys) {
$NetConns | Where-Object { $_.RemoteAddress -eq $ip } | ForEach-Object {
$script:hit = $true
$own = (Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue).Name
Write-Hit -Label "LIVE C2 CONNECTION to $ip" `
-Detail "Remote: $($_.RemoteAddress):$($_.RemotePort) | Local port: $($_.LocalPort) | PID: $($_.OwningProcess) ($own) | $($C2IPs[$ip])" -Sev "CRITICAL"
}
}
# ScreenConnect relay port 8041
$NetConns | Where-Object { $_.RemotePort -eq 8041 } | ForEach-Object {
$script:hit = $true
$own = (Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue).Name
Write-Hit -Label "LIVE SCREENCONNECT C2 BEACON (port 8041)" `
-Detail "Remote: $($_.RemoteAddress):8041 | PID: $($_.OwningProcess) ($own) | ScreenConnect C2 relay port" -Sev "CRITICAL"
}
# DNS cache -- all known C2 domains and relay hostnames
$C2Domains = @(
"*anondns.net*",
"*gqpplgq2g*",
"*instance-sis2tc*",
"*instance-fc5xev*",
"*instance-zayrhg*",
"*instance-c7gab0*",
"*instance-xbirmk*",
"*bumptobabeco*",
"*imansport*",
"*solpru*",
"*checkfirst.net*"
)
foreach ($pattern in $C2Domains) {
Get-DnsClientCache -ErrorAction SilentlyContinue |
Where-Object { $_.Entry -like $pattern } | ForEach-Object {
$script:hit = $true
Write-Hit -Label "C2 Domain in DNS Cache: $($_.Entry)" `
-Detail "Resolved IP: $($_.Data) | Machine recently contacted known C2 infrastructure" -Sev "HIGH"
}
}
# JWrapper port 443 beacons from malicious process names
foreach ($pn in @("Remote_Access_Service","SimpleService","java")) {
Get-Process -Name $pn -ErrorAction SilentlyContinue | ForEach-Object {
$processId = $_.Id
$NetConns | Where-Object { $_.OwningProcess -eq $processId -and $_.RemotePort -eq 443 } | ForEach-Object {
$script:hit = $true
Write-Hit -Label "Port 443 C2 Beacon from $pn (PID $processId)" `
-Detail "Outbound to $($_.RemoteAddress):443 | JWrapper C2 traffic blending with HTTPS" -Sev "CRITICAL"
}
}
}
if (-not $script:hit) { Write-Clean "No active connections to known C2 addresses or domains" }
# ════════════════════════════════════════════════════════════
# 6. LOG FILE EVIDENCE
# ════════════════════════════════════════════════════════════
Write-Section "6. JWRAPPER LOG FILE EVIDENCE"
$LogDir = "$env:ProgramData\JWrapper-Remote Access\logs"
$script:hit = $false
$null = $script:hit # Suppress linter warning
if (Test-Path $LogDir) {
$logs = Get-ChildItem -Path $LogDir -Filter "*.log" -ErrorAction SilentlyContinue
if ($logs) {
$hit = $true
$newest = $logs | Sort-Object LastWriteTime -Descending | Select-Object -First 1
Write-Hit -Label "JWrapper Log Directory Present ($($logs.Count) files)" `
-Detail "Dir: $LogDir | Newest: $($newest.Name) ($($newest.LastWriteTime.ToString('yyyy-MM-dd HH:mm')))" -Sev "HIGH"
$logs | Sort-Object LastWriteTime -Descending | Select-Object -First 3 | ForEach-Object {
if ((Get-Content $_.FullName -Tail 20 -ErrorAction SilentlyContinue) -match "PollThread|Claiming ID|Loaded SecMsg") {
Write-Hit -Label "Active C2 Session Evidence in: $($_.Name)" `
-Detail "Contains C2 polling entries | Modified: $($_.LastWriteTime.ToString('yyyy-MM-dd HH:mm'))" -Sev "CRITICAL"
}
}
}
$gul = Get-ChildItem -Path $LogDir -Filter "GenericUpdater*.log" -ErrorAction SilentlyContinue
if ($gul) {
$hit = $true
$newest = $gul | Sort-Object LastWriteTime -Descending | Select-Object -First 1
Write-Hit -Label "GenericUpdater Logs Present ($($gul.Count) files)" `
-Detail "Most recent RAT auto-update activity: $($newest.LastWriteTime.ToString('yyyy-MM-dd HH:mm:ss'))" -Sev "HIGH"
}
}
if (-not $script:hit) { Write-Clean "No JWrapper log files found" }
# ════════════════════════════════════════════════════════════
# 7. SCREENCONNECT ARTIFACTS & CONFIG ANALYSIS
# ════════════════════════════════════════════════════════════
Write-Section "7. SCREENCONNECT ARTIFACTS & CONFIG ANALYSIS"
$script:hit = $false
$null = $script:hit # Suppress linter warning
$SCFiles = @{
"C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\system.config" = "C2 relay config"
"C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\app.config" = "Stealth/visibility settings"
"C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\rq.msi" = "ScreenConnect installer (dropped by lure)"
"C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\rqe.exe" = "Custom DotNetRunner component"
"C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\ScreenConnect.WindowsAuthenticationPackage.dll" = "Windows credential provider DLL"
}
foreach ($p in $SCFiles.Keys) {
if (Test-Path $p) {
$hit = $true
$sev = if ($p -like "*.msi" -or $p -like "*system.config*") { "CRITICAL" } else { "HIGH" }
Write-Hit -Label "SC Artifact: $(Split-Path $p -Leaf)" -Detail "Path: $p | $($SCFiles[$p])" -Sev $sev
}
}
# system.config: check for known C2 relay domains/IPs
$sysConfigPath = "C:\Windows\SystemTemp\ScreenConnect\25.2.4.9229\system.config"
if (Test-Path $sysConfigPath) {
$sysContent = Get-Content $sysConfigPath -ErrorAction SilentlyContinue | Out-String
foreach ($indicator in @("anondns.net","gqpplgq2g","instance-sis2tc","instance-fc5xev","15.204.131.77","147.28.146.148")) {
if ($sysContent -match [regex]::Escape($indicator)) {
$hit = $true
Write-Hit -Label "Known C2 Indicator in system.config: $indicator" `
-Detail "ScreenConnect is configured to connect to known campaign C2 infrastructure" -Sev "CRITICAL"
}
}
}
# user.config: HostToAddressMap -- reveals resolved C2 IPs and timestamps
$userConfigPaths = [System.Collections.Generic.List[string]]::new()
Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
Get-ChildItem -Path (Join-Path $_.FullName "AppData\Local\Apps\2.0") -Recurse -Filter "user.config" -ErrorAction SilentlyContinue |
ForEach-Object { $userConfigPaths.Add($_.FullName) }
}
foreach ($ucPath in $userConfigPaths) {
$ucContent = Get-Content $ucPath -ErrorAction SilentlyContinue | Out-String
foreach ($indicator in @(
"instance-sis2tc","instance-fc5xev","instance-zayrhg",
"instance-c7gab0","instance-xbirmk",
"15.204.131.77","147.28.146.148",
"15.204.48.24","15.204.48.31","15.204.48.34","15.204.43.162","15.204.43.236",
"139.178.68.80","139.178.89.196","139.178.91.96","147.75.70.32",
"147.75.70.188","139.178.69.0","147.75.70.116","147.75.70.28",
"139.178.89.208","139.178.89.96","139.178.89.228",
"gqpplgq2g","anondns.net"
)) {
if ($ucContent -match [regex]::Escape($indicator)) {
$hit = $true
Write-Hit -Label "Known C2 IP/Domain in ScreenConnect user.config" `
-Detail "File: $ucPath | Contains: $indicator | Confirms machine connected to campaign C2" -Sev "CRITICAL"
break
}
}
}
# app.config: AutoConsentToBackstage = true is the campaign's stealth flag
$appConfigPaths = [System.Collections.Generic.List[string]]::new()
Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
Get-ChildItem -Path (Join-Path $_.FullName "AppData\Local\Apps\2.0") -Recurse -Filter "app.config" -ErrorAction SilentlyContinue |
ForEach-Object { $appConfigPaths.Add($_.FullName) }
}
foreach ($acPath in $appConfigPaths) {
$acContent = Get-Content $acPath -ErrorAction SilentlyContinue | Out-String
if ($acContent -match "AutoConsentToBackstage" -and $acContent -match "true") {
$hit = $true
Write-Hit -Label "Campaign Stealth Flag in ScreenConnect app.config" `
-Detail "File: $acPath | AutoConsentToBackstage=true -- attacker receives shell without any user prompt" -Sev "CRITICAL"
}
}
if (-not $script:hit) { Write-Clean "No ScreenConnect artifacts found" }
# ════════════════════════════════════════════════════════════
# 8. EVENT LOG INDICATORS
# ════════════════════════════════════════════════════════════
Write-Section "8. WINDOWS EVENT LOG INDICATORS"
$script:hit = $false
$null = $script:hit # Suppress linter warning
Get-WinEvent -FilterHashtable @{LogName='System';Id=7045;StartTime=(Get-Date).AddDays(-60)} -ErrorAction SilentlyContinue |
Where-Object { $_.Message -like "*Remote Access*" -or $_.Message -like "*ScreenConnect*" } | ForEach-Object {
$script:hit = $true
Write-Hit -Label "Event 7045: Malicious Service Installed" `
-Detail "$($_.TimeCreated.ToString('yyyy-MM-dd HH:mm:ss')) | $($_.Message.Split("`n")[0])" -Sev "HIGH"
}
$events4688 = Get-WinEvent -FilterHashtable @{LogName='Security';Id=4688;StartTime=(Get-Date).AddDays(-60)} -ErrorAction SilentlyContinue |
Where-Object { $_.Message -like "*Remote_Access_Service*" -or $_.Message -like "*officeSH26*" -or $_.Message -like "*FileR.txt*" } |
Select-Object -First 5
foreach ($evt in $events4688) {
$hit = $true
Write-Hit -Label "Event 4688: Malicious Process Creation" `
-Detail "$($evt.TimeCreated.ToString('yyyy-MM-dd HH:mm:ss')) | Malicious binary in Security audit log" -Sev "HIGH"
}
# PowerShell Script Block Logging (4104) -- check omitted intentionally.
# Any filter pattern specific enough to match SILENTCONNECT delivery also appears
# in this script's own IOC strings, causing Script Block Logging to match our own
# code. On a genuine victim machine, use Event Viewer to manually review
# Microsoft-Windows-PowerShell/Operational for Event ID 4104 entries dated
# before your response, looking for bumptobabeco.top or ScreenConnect MSI downloads.
if (-not $script:hit) { Write-Clean "No matching indicators in event logs (last 60 days)" }
# ════════════════════════════════════════════════════════════
# 9. INSTALLED PROGRAMS
# ════════════════════════════════════════════════════════════
Write-Section "9. SUSPICIOUS INSTALLED PROGRAMS"
$script:hit = $false
$null = $script:hit # Suppress linter warning
foreach ($reg in @(
"HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*"
)) {
Get-ItemProperty -Path $reg -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like "*Remote Access*" -or $_.DisplayName -like "*ScreenConnect*" -or $_.DisplayName -like "*SimpleHelp*" } |
ForEach-Object {
$script:hit = $true
Write-Hit -Label "Suspicious Program: $($_.DisplayName)" `
-Detail "Version: $($_.DisplayVersion) | Installed: $($_.InstallDate) | Publisher: $($_.Publisher)" -Sev "HIGH"
}
}
if (-not $script:hit) { Write-Clean "No suspicious programs in Add/Remove Programs" }
# ════════════════════════════════════════════════════════════
# 10. FIREWALL RULES
# ════════════════════════════════════════════════════════════
Write-Section "10. SUSPICIOUS FIREWALL RULES"
$script:hit = $false
$null = $script:hit # Suppress linter warning
Get-NetFirewallRule -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like "*Remote Access*" -or $_.DisplayName -like "*ScreenConnect*" -or $_.DisplayName -like "*JWrapper*" } |
ForEach-Object {
$script:hit = $true
Write-Hit -Label "Suspicious Firewall Rule: $($_.DisplayName)" `
-Detail "Direction: $($_.Direction) | Action: $($_.Action) | Enabled: $($_.Enabled)" -Sev "HIGH"
}
if (-not $script:hit) { Write-Clean "No suspicious firewall rules detected" }
# ════════════════════════════════════════════════════════════
# 11. KNOWN HASH MATCHING
# ════════════════════════════════════════════════════════════
Write-Section "11. KNOWN MALWARE HASH MATCHES"
$script:hit = $false
$null = $script:hit # Suppress linter warning
$KnownHashes = @{
"b555ceff3236a8175b48b892c1ebc4977fc82c623f3c15ed1efab0c4ac61a9b6" = "e-Signature-Key_Access_ID-MY7362HY73E.exe (initial lure)"
"924600a3a55c196b362e82151fbc3f9dcf03dc29e6c45e0bd113d7b0d95c6850" = "rq.msi (ScreenConnect installer)"
"959524efe7d4aa6a132a88daf7d1e1871fa14eae8a6025ba73ab1fb65f7e4f22" = "rqe.exe (DotNetRunner)"
"bdbdbffb37bc421edac4ac5b20c72db1c72d7f6e819e115c96cde5413146bb36" = "Remote_Access_Service.exe (RAT service)"
"d26b8e1ba6383b1f7749a133cfbf90e85a22a4bece9f171ed57a3d1ab7833f48" = "StopSimpleGatewayService.exe (RAT utility)"
"d14a1f14d6ca46bd2168b9d2acf281d8eea62d30e2869d47dd4bf0ad556fb9a2" = "SimpleService.exe (SafeBoot persistence)"
"a5b8f0070201e4f26260af6a25941ea38bd7042aefd48cd68b9acf951fa99ee5" = "ScreenConnect.WindowsAuthenticationPackage.dll"
"8bab731ac2f7d015b81c2002f518fff06ea751a34a711907e80e98cf70b557db" = "SILENTCONNECT loader (Elastic Security Labs reference sample)"
}
$ScanLocations = @(
"$env:ProgramData\JWrapper-Remote Access",
"C:\Windows\SystemTemp\ScreenConnect",
"$env:TEMP",
"C:\Windows\Temp",
"$env:USERPROFILE\Downloads",
"$env:PUBLIC\Downloads"
)
# Also scan ClickOnce cache dirs
Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
$coPath = Join-Path $_.FullName "AppData\Local\Apps\2.0"
if (Test-Path $coPath) { $ScanLocations += $coPath }
}
foreach ($loc in $ScanLocations) {
if (Test-Path $loc) {
Get-ChildItem -Path $loc -Recurse -File -ErrorAction SilentlyContinue | ForEach-Object {
$h = (Get-FileHash $_.FullName -Algorithm SHA256 -ErrorAction SilentlyContinue).Hash
if ($h -and $KnownHashes.ContainsKey($h.ToLower())) {
$script:hit = $true
Write-Hit -Label "CONFIRMED MALWARE HASH: $($_.Name)" `
-Detail "Path: $($_.FullName) | SHA256: $h | $($KnownHashes[$h.ToLower()])" -Sev "CRITICAL"
}
}
}
}
if (-not $script:hit) { Write-Clean "No files matching known campaign hashes found" }
# ════════════════════════════════════════════════════════════
# 12. ADDITIONAL CAMPAIGN-SPECIFIC INDICATORS (NEW v2.4.0)
# ════════════════════════════════════════════════════════════
Write-Section "12. ADDITIONAL CAMPAIGN INDICATORS (v2.4.0)"
$script:hit = $false
$null = $script:hit # Suppress linter warning
# ClickOnce user.config with cross-victim C2 relay token (assembly token shared across all April 2026 victims)
Get-ChildItem "C:\Users" -Directory -ErrorAction SilentlyContinue | ForEach-Object {
$coPath = Join-Path $_.FullName "AppData\Local\Apps\2.0"
if (Test-Path $coPath) {
Get-ChildItem -Path $coPath -Recurse -Directory -ErrorAction SilentlyContinue |
Where-Object {
$_.Name -like "*420d02d3849b7992*" -or # v25.x Core/Windows DLL token
$_.Name -like "*1eba6b14258ee2ac*" -or # v19.x 2025 payload
$_.Name -like "*25b0fbb6ef7eb094*" -or # v17-18.x 2021-2024
$_.Name -like "*b15b0581876c57b7*" # v15.x oldest
} | ForEach-Object {
$script:hit = $true
Write-Hit -Label "ScreenConnect Campaign DLL Token in ClickOnce Cache" `
-Detail "Dir: $($_.FullName) | Matches known campaign payload build" -Sev "HIGH"
}
}
}
# JWrapper session files
foreach ($sessionFile in @(
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\sgport",
"$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig\jwLastRun"
)) {
if (Test-Path $sessionFile) {
$hit = $true
$item = Get-Item $sessionFile
Write-Hit -Label "JWrapper Session File: $(Split-Path $sessionFile -Leaf)" `
-Detail "Path: $sessionFile | Modified: $($item.LastWriteTime.ToString('yyyy-MM-dd HH:mm:ss')) | Confirms active/recent C2 session" -Sev "HIGH"
}
}
# SecMsg authentication token files (per-relay encrypted session tokens)
if (Test-Path "$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig") {
Get-ChildItem -Path "$env:ProgramData\JWrapper-Remote Access\JWAppsSharedConfig" -Filter "secmsg-http*.secmsg" -ErrorAction SilentlyContinue | ForEach-Object {
$script:hit = $true
Write-Hit -Label "JWrapper C2 Auth Token File: $($_.Name)" `
-Detail "Path: $($_.FullName) | Encrypted per-relay session authentication token" -Sev "HIGH"
}
}
# Pulseway staging directory (observed ~1 month before ScreenConnect infection in field data)
if (Test-Path "$env:APPDATA\MMSOFT Design\Pulseway") {
$pulsewayInstalled = Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName -like "*Pulseway*" } | Select-Object -First 1
if (-not $pulsewayInstalled) {
$hit = $true
Write-Hit -Label "Pulseway Directory Present Without Legitimate Install" `
-Detail "Path: $env:APPDATA\MMSOFT Design\Pulseway | Pulseway RMM staging without a matching uninstall entry -- possible attacker pre-staging" -Sev "MEDIUM"
}
}
# Defender exclusion for .exe (SILENTCONNECT adds this via PowerShell during delivery)
$defExclusions = (Get-MpPreference -ErrorAction SilentlyContinue).ExclusionExtension
if ($defExclusions -and $defExclusions -contains ".exe") {
$hit = $true
Write-Hit -Label "Windows Defender .exe Extension Exclusion Set" `
-Detail "Defender is configured to skip scanning .exe files -- SILENTCONNECT adds this during installation to prevent detection of the ScreenConnect installer" -Sev "CRITICAL"
}
if (-not $script:hit) { Write-Clean "No additional campaign indicators found" }
# ════════════════════════════════════════════════════════════
# CONSOLE SUMMARY
# ════════════════════════════════════════════════════════════
Write-Log ""
Write-Log ("=" * 70) "DarkCyan"
Write-Log " SCAN SUMMARY" "Cyan"
Write-Log ("=" * 70) "DarkCyan"
Write-Log ""
if ($CriticalHits -gt 0) {
Write-Log " STATUS : *** SYSTEM IS ACTIVELY COMPROMISED ***" "Red"
Write-Log " CRITICAL: $CriticalHits | Total findings: $FindingCount" "Red"
Write-Log ""
Write-Log " 1. Do NOT use this machine for sensitive activity" "Yellow"
Write-Log " 2. Run Fix.ps1 as Administrator to remove malware" "Yellow"
Write-Log " 3. Email the report file to jon@pnwcomputers.com" "Yellow"
} elseif ($FindingCount -gt 0) {
Write-Log " STATUS : SUSPICIOUS ARTIFACTS PRESENT ($FindingCount findings)" "Yellow"
Write-Log " Run Fix.ps1 to clear remaining items, then email the report." "Yellow"
} else {
Write-Log " STATUS : NO INDICATORS DETECTED - System appears clean" "Green"
}
Write-Log ""
Write-Log " Report saved to: $ReportFile" "Cyan"
Write-Log ("=" * 70) "DarkCyan"
# ════════════════════════════════════════════════════════════
# BUILD AND SAVE REPORT FILE
# ════════════════════════════════════════════════════════════
$statusText = if ($CriticalHits -gt 0) { "ACTIVELY COMPROMISED -- $CriticalHits CRITICAL finding(s), $FindingCount total" }
elseif ($FindingCount -gt 0) { "SUSPICIOUS ARTIFACTS PRESENT -- $FindingCount finding(s), 0 critical" }
else { "NO INDICATORS DETECTED -- System appears clean" }
$divider = "=" * 70
$reportContent = @"
$divider
PNWC INTRUSION DETECTION REPORT
JWrapper / ScreenConnect Campaign (SILENTCONNECT / Medusa IAB Variant)
$divider
Prepared by : Pacific Northwest Computers
Phone : 360-624-7379
Email : jon@pnwcomputers.com
Tool ver : 2.4.0
$divider
##############################################################
## ##
## PLEASE EMAIL THIS REPORT TO: jon@pnwcomputers.com ##
## ##
## Copy the entire contents of this file and email to: ##
## jon@pnwcomputers.com ##
## ##
## Suggested subject line: ##
## Malware Scan Report - $env:COMPUTERNAME ##
## ##
##############################################################
$divider
SCAN INFORMATION
$divider
Date/Time : $(Get-Date -Format 'dddd, MMMM dd yyyy HH:mm:ss')
Computer : $env:COMPUTERNAME
OS : $((Get-WmiObject Win32_OperatingSystem).Caption)
Scanned By : $([Security.Principal.WindowsIdentity]::GetCurrent().Name)
Report File : $ReportFile
$divider
OVERALL STATUS: $statusText
$divider
CRITICAL findings : $CriticalHits
Total findings : $FindingCount
$divider
"@
if ($MaliciousHits.Count -gt 0) {
$reportContent += @"
$divider
MALICIOUS FINDINGS (items that need attention / removal)
$divider
$($MaliciousHits | Out-String)
$divider
END OF MALICIOUS FINDINGS
$divider
"@
} else {
$reportContent += @"
$divider
MALICIOUS FINDINGS
$divider
None detected. System appears clean.
If malware was recently removed by Fix.ps1, this is expected.
$divider
"@
}
$reportContent += @"
$divider
RECOMMENDED NEXT STEPS
$divider
REGARDLESS OF SCAN RESULT:
1. Change ALL passwords used on this computer since March 30, 2026
Priority: email, banking, QuickBooks, business portals, cloud services
2. Enable Multi-Factor Authentication (MFA/2FA) on every account
3. Review bank/financial accounts for unauthorized transactions
IF THREATS WERE FOUND:
4. Run Fix.ps1 as Administrator to remove all detected malware
5. Reboot the machine after Fix.ps1 completes
6. Re-run system_check.ps1 after reboot to confirm clean state
BLOCK AT YOUR ROUTER / FIREWALL:
# JWrapper C2 relays
IP: 147.45.218.0
IP: 91.215.85.219
IP: 147.45.218.13
# ScreenConnect campaign relays (field-confirmed)
IP: 15.204.131.77 (instance-sis2tc -- April 2026)
IP: 147.28.146.148 (instance-fc5xev -- 2024)
# instance-zayrhg (2023-2026)
IP: 15.204.48.24
IP: 15.204.48.31
IP: 15.204.48.34
IP: 15.204.43.162
IP: 139.178.68.80
IP: 139.178.89.196
IP: 139.178.91.96
IP: 147.75.70.32
# instance-c7gab0 (2023-2025)
IP: 147.75.70.188
IP: 139.178.69.0
IP: 147.75.70.116
IP: 147.75.70.28
IP: 15.204.43.236
# instance-xbirmk (2023-2024)
IP: 139.178.89.208
IP: 139.178.89.96
IP: 139.178.89.228
# SILENTCONNECT delivery infrastructure
IP: 86.38.225.59
# Dynamic DNS C2
Domain: gqpplgq2g.anondns.net
Domain: instance-sis2tc-relay.screenconnect.com
Domain: instance-fc5xev-relay.screenconnect.com
Domain: instance-zayrhg-relay.screenconnect.com
Domain: instance-c7gab0-relay.screenconnect.com
Domain: instance-xbirmk-relay.screenconnect.com
Domain: bumptobabeco.top
Domain: imansport.ir
Domain: solpru.com
$divider
CONTACT PNWC FOR ASSISTANCE
$divider
Pacific Northwest Computers
Jon Pienkowski -- CompTIA A+ Certified
Phone : 360-624-7379
Email : jon@pnwcomputers.com
$divider
FULL SCAN LOG (all sections including clean checks)
$divider
$($ScreenLog | Out-String)
$divider
##############################################################
## PLEASE EMAIL THIS REPORT TO: jon@pnwcomputers.com ##
## Subject: Malware Scan Report - $env:COMPUTERNAME ##
##############################################################
$divider
"@
try {
$reportContent | Out-File -FilePath $ReportFile -Encoding UTF8
Write-Host ""
Write-Host ("=" * 70) -ForegroundColor Green
Write-Host " REPORT SAVED SUCCESSFULLY" -ForegroundColor Green
Write-Host ""
Write-Host " File : $ReportFile" -ForegroundColor Cyan
Write-Host ""
Write-Host " *** PLEASE EMAIL THIS FILE TO jon@pnwcomputers.com ***" -ForegroundColor Yellow
Write-Host " Subject: Malware Scan Report - $env:COMPUTERNAME" -ForegroundColor Yellow
Write-Host ("=" * 70) -ForegroundColor Green
Write-Host ""
Start-Process notepad.exe -ArgumentList $ReportFile
} catch {
Write-Host " [!] Could not save report file: $($_.Exception.Message)" -ForegroundColor Red
}