Close Menu
    Facebook X (Twitter) Instagram
    EdifyingCrypto.com
    • Home
    • Crypto News
    • Bitcoin
    • Ethereum
    • Blockchain
    • Regulation
    • Scams
    • Trading
    EdifyingCrypto.com
    Home » PasteSwitch Malvertising Uses ClickFix and Blockchain C2
    Blockchain

    PasteSwitch Malvertising Uses ClickFix and Blockchain C2

    September 15, 20264 Mins Read
    Facebook WhatsApp Twitter Pinterest LinkedIn Tumblr Email
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Summary

    PasteSwitch is a large-scale, coordinated malvertising campaign that abused a verified Reddit account to distribute malicious payloads through ClickFix social engineering. The operation uses deceptive terminal commands to persuade users to execute code that installs macOS stealers, Windows loaders, and cryptocurrency clippers. Its infrastructure is highly resilient, relying on blockchain-based C2 rotation and TLS SNI spoofing to evade detection.

    Investigation

    Researchers from Hudson Rock and ADAMnetworks identified the campaign after a user reported suspicious HBO Max advertisements on Reddit. The investigation uncovered a complex delivery framework with separate platform-specific branches targeting macOS and Windows. Analysts also identified rotating domains and smart contracts on the Binance Smart Chain used to manage Command and Control infrastructure.

    Mitigation

    Organizations should enforce strict controls around terminal command execution and monitor for suspicious copy-paste social engineering behavior. Security teams should detect unauthorized scheduled task creation and in-memory shellcode execution. Monitoring for TLS SNI mismatches and unusual outbound connections to direct IP addresses can also improve detection.

    Response

    If malicious activity is detected, affected endpoints should be isolated immediately and credentials for accounts accessed from the compromised device should be reset. Responders should perform memory forensics to identify injected payloads such as Amatera. Blockchain activity and network telemetry should also be reviewed for connections to known PasteSwitch C2 infrastructure.

    Detections

    Suspicious LOLBAS MSHTA Defense Evasion Behavior by Detection of Associated Commands (via process_creation)

    SOC Prime Team

    Suspicious Command and Control by Unusual Top Level Domain (TLD) DNS Request (via dns)

    SOC Prime Team

    Possible Base64 Encoded Strings Manipulation [MacOS] (via cmdline)

    SOC Prime Team

    Suspicious Curl Execution Attempt [MacOS] (via cmdline)

    SOC Prime Team

    Archive Was Created In MacOS Temporary Folder (via file_event)

    SOC Prime Team

    IOCs (HashSha256) to detect: Largest AI Supply Chain Breach of 2026: LiteLLM Hack Impacts Thousands of Global Enterprises Part 3

    SOC Prime AI Rules

    IOCs (HashSha256) to detect: Largest AI Supply Chain Breach of 2026: LiteLLM Hack Impacts Thousands of Global Enterprises Part 2

    SOC Prime AI Rules

    IOCs (HashSha256) to detect: Largest AI Supply Chain Breach of 2026: LiteLLM Hack Impacts Thousands of Global Enterprises Part 1

    SOC Prime AI Rules

    IOCs (SourceIP) to detect: Largest AI Supply Chain Breach of 2026: LiteLLM Hack Impacts Thousands of Global Enterprises

    SOC Prime AI Rules

    IOCs (DestinationIP) to detect: Largest AI Supply Chain Breach of 2026: LiteLLM Hack Impacts Thousands of Global Enterprises

    SOC Prime AI Rules

    Detection of Amatera Stealer Shellcode Injection [Windows Sysmon]

    SOC Prime AI Rules

    Detect Deceptive TLS SNI Spoofing with facebook.com SNI [Windows Network Connection]

    SOC Prime AI Rules

    Detection of Malicious Activity Using MSHTA and PowerShell Commands [Windows Powershell]

    SOC Prime AI Rules

    Simulation Execution

    Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.

    Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.

    • Attack Narrative & Commands: An attacker has gained initial access via a phishing link. To bypass basic signature-based detection, they use mshta.exe to execute a malicious HTA script hosted on a local temp directory. Once inside, the attacker uses an encoded PowerShell command to download a second-stage payload, attempting to hide the intent of the script. Finally, to ensure they maintain access even after a reboot, they create a scheduled task that executes a PowerShell script every time the system starts.

    • Regression Test Script:

      # 1. Simulate MSHTA execution (T1218.005)
      # Creating a dummy HTA file
      $htaContent = ""
      $htaPath = "$env:TEMPmalicious.hta"
      $htaContent | Out-File -FilePath $htaPath -Encoding ascii
      
      # Triggering MSHTA (This should trigger the rule)
      Start-Process "mshta.exe" -ArgumentList "`"$htaPath`""
      
      # 2. Simulate Encoded PowerShell (T1027.017)
      # The following is an encoded version of 'Write-Host "Malicious Payload Executed"'
      $encodedCommand = "V3JpdGUtSG9zdCAiTWFsaWNpb3VzIFBheWxvYWQgRXhlY3V0ZWQi"
      
      # Triggering PowerShell with EncodedCommand (This should trigger the rule)
      powershell.exe -NoProfile -EncodedCommand $encodedCommand
      
      # 3. Simulate Scheduled Task Persistence (T1053)
      # Creating a task that runs a PowerShell command
      $taskName = "WindowsUpdateCheck"
      $action = New-ScheduledTaskAction -Execute "powershell.exe" -Argument "-ExecutionPolicy Bypass -WindowStyle Hidden -Command 'Write-Host Malicious Task'"
      Register-ScheduledTask -Action $action -Trigger (New-ScheduledTaskTrigger -AtLogOn) -TaskName $taskName -Description "Simulated Persistence"
    • Cleanup Commands:

      # Remove the dummy HTA file
      Remove-Item -Path "$env:TEMPmalicious.hta" -Force
      
      # Remove the scheduled task
      Unregister-ScheduledTask -TaskName "WindowsUpdateCheck" -Confirm:$false

    Join SOC Prime’s Detection as Code platform
    to improve visibility into threats most relevant to your business. To help you get started and drive immediate value, book a meeting now with SOC Prime experts.

    Credit: Source link

    Get the Free Crypto Starter Checklist

    Join the newsletter and download our 3-page beginner security, buying & tax checklist. One clear email a week — no hype, no spam.

    We don’t spam! Read our privacy policy for more info.

    Check your inbox or spam folder to confirm your subscription.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Blockchain.com Seeks CFTC Approval To Launch US Prediction Markets And Crypto Derivatives

    October 10, 2026

    Blockchain, IoT and AI Race to Fix the World’s Broken Food Supply

    October 10, 2026

    China Pushes to Build National Blockchain Network

    October 10, 2026

    The U.S. Government Moved $1.5 Billion in Seized Crypto in Two Days. Will It Sell?

    October 10, 2026
    Add A Comment

    Comments are closed.

    What's New Here!

    Ethereum Price Drops to Crucial Support as ETF Selling Spree Continues – Grayscale Bitcoin Mini Trust (BT

    October 10, 2026

    Could $1,000 Invested in Bitcoin Help You Retire a Millionaire?

    October 10, 2026

    ING and Bitcoin: Crypto ETNs in Your Portfolio

    October 10, 2026

    Blockchain, IoT and AI Race to Fix the World’s Broken Food Supply

    October 10, 2026

    Blockchain.com Seeks CFTC Approval To Launch US Prediction Markets And Crypto Derivatives

    October 10, 2026
    Editor’s Note & Market Insight: Welcome to Edifying Crypto. Our platform aggregates global Web3 data feeds and real-time regulatory tracking to give retail traders a centralized news hub. While automated feeds keep our data streams instantaneous, our editorial team manually vets core category movements daily. Always practice strict security by utilizing non-custodial hardware wallets when interacting with decentralized protocols.
    EdifyingCrypto.com
    Instagram Facebook X (Twitter) YouTube
    • Contact Us
    • Privacy Policy
    • Terms of Use
    • DMCA
    © 2026 Edifying Crypto | All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.

    • bitcoinBitcoin(BTC)$82,971.000.80%
    • ethereumEthereum(ETH)$2,505.281.15%
    • tetherTether(USDT)$1.000.00%
    • binancecoinBNB(BNB)$750.361.62%
    • rippleXRP(XRP)$1.411.38%
    • usd-coinUSDC(USDC)$1.000.00%
    • solanaSolana(SOL)$110.231.38%
    • tronTRON(TRX)$0.330771-0.37%
    • Figure HelocFigure Heloc(FIGR_HELOC)$1.00-0.19%
    • zcashZcash(ZEC)$1,221.421.57%