Skip to content

Commit 156232c

Browse files
authored
Implement checks for ScreenConnect processes and registry keys
Added checks for specific ScreenConnect instances and tracing registry keys to identify potential threats.
1 parent 6bf5a98 commit 156232c

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

system_check.ps1

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,32 @@ foreach ($acPath in $appConfigPaths) {
517517
}
518518
}
519519

520+
# Specific Furniture Wizard ScreenConnect instances
521+
$suspectDomains = @("furnwiz.screenconnect.com", "furniturewizard.screenconnect.com", "instance-fc5xev", "instance-sis2tc")
522+
Get-CimInstance Win32_Process -ErrorAction SilentlyContinue | Where-Object { $_.CommandLine -match "ScreenConnect" } | ForEach-Object {
523+
$cmd = $_.CommandLine
524+
foreach ($domain in $suspectDomains) {
525+
if ($cmd -match $domain) {
526+
$hit = $true
527+
Write-Hit -Label "Active Furniture Wizard ScreenConnect Process" `
528+
-Detail "PID: $($_.ProcessId) | Command Line contains: $domain" -Sev "CRITICAL"
529+
}
530+
}
531+
}
532+
533+
# ScreenConnect Tracing Registry Keys
534+
$TraceKeys = @(
535+
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Tracing\ScreenConnect_RASAPI32",
536+
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Tracing\ScreenConnect_RASMANCS"
537+
)
538+
foreach ($tk in $TraceKeys) {
539+
if (Test-Path $tk) {
540+
$hit = $true
541+
Write-Hit -Label "ScreenConnect Tracing Registry Key Found" `
542+
-Detail "Path: $tk | Indicates execution of ScreenConnect components" -Sev "HIGH"
543+
}
544+
}
545+
520546
if (-not $hit) { Write-Clean "No ScreenConnect artifacts found" }
521547

522548

0 commit comments

Comments
 (0)