Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/06/2024, 01:56

General

  • Target
    bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe
  • Size 493KB
  • Sample240614-ccnlss1cqf
  • SHA256 bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 104.250.180.178:7061

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Detects Windows executables referencing non-Windows User-Agents 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 4 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.

  • Drops startup file 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe
    "C:\Users\Admin\AppData\Local\Temp\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of WriteProcessMemory
    PID:3176
    • C:\Users\Admin\AppData\Local\Temp\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe
      "C:\Users\Admin\AppData\Local\Temp\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:464
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4668
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:964
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\XClient.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3204
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2184
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4140 --field-trial-handle=3192,i,2785050981002401924,4037047756083432660,262144 --variations-seed-version /prefetch:8
    1⤵
      PID:3544

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe.log

          • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\bad53d6e667f724563d9b42141bbcf279299b67c03db091c325e8e5597474f76.exe.log
          • Size 1KB
          • SHA256 7667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
          • MD5 SHA1 SHA512

          powershell.exe.log

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

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 d620ec8e7e0176ba8c148de1d3a7ad43cc0724cf4a42d6daf8a9cd0831f77e39
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 54501072e71fb29e4d2402e0f9805c4313725f63669679b9b0ac05526a0812fc
          • MD5 SHA1 SHA512 SSDEEP

          StartupProfileData-NonInteractive

          • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
          • Size 18KB
          • SHA256 6f64f5228daac1984e352d8606bc9b0c4025bc1b7f271b3ed205001865ab8849
          • MD5 SHA1 SHA512 SSDEEP

          __PSScriptPolicyTest_djku2l5g.e1v.ps1

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

          memory/464-34-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/464-131-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/464-130-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/464-10-0x0000000000400000-0x0000000000414000-memory.dmp

          memory/464-13-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/964-73-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/2184-115-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/3176-6-0x0000000005E20000-0x0000000005E3A000-memory.dmp

          memory/3176-14-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/3176-9-0x000000000AFA0000-0x000000000B03C000-memory.dmp

          memory/3176-8-0x0000000008840000-0x0000000008896000-memory.dmp

          memory/3176-7-0x0000000005CF0000-0x0000000005D00000-memory.dmp

          memory/3176-5-0x0000000005B60000-0x0000000005B6A000-memory.dmp

          memory/3176-4-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/3176-3-0x00000000059A0000-0x0000000005A32000-memory.dmp

          memory/3176-2-0x0000000005E50000-0x00000000063F4000-memory.dmp

          memory/3176-0-0x000000007452E000-0x000000007452F000-memory.dmp

          memory/3176-1-0x0000000000F30000-0x0000000000FB2000-memory.dmp

          memory/3204-94-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/4668-32-0x00000000061F0000-0x000000000620E000-memory.dmp

          memory/4668-56-0x0000000007FA0000-0x0000000007FBA000-memory.dmp

          memory/4668-36-0x0000000070790000-0x00000000707DC000-memory.dmp

          memory/4668-46-0x0000000006F00000-0x0000000006F1E000-memory.dmp

          memory/4668-47-0x0000000007B30000-0x0000000007BD3000-memory.dmp

          memory/4668-48-0x00000000082A0000-0x000000000891A000-memory.dmp

          memory/4668-49-0x0000000007C60000-0x0000000007C7A000-memory.dmp

          memory/4668-50-0x0000000007CD0000-0x0000000007CDA000-memory.dmp

          memory/4668-51-0x0000000007EE0000-0x0000000007F76000-memory.dmp

          memory/4668-52-0x0000000006D00000-0x0000000006D11000-memory.dmp

          memory/4668-53-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4668-54-0x0000000007E90000-0x0000000007E9E000-memory.dmp

          memory/4668-55-0x0000000007EA0000-0x0000000007EB4000-memory.dmp

          memory/4668-35-0x0000000006F20000-0x0000000006F52000-memory.dmp

          memory/4668-57-0x0000000007F80000-0x0000000007F88000-memory.dmp

          memory/4668-58-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4668-61-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4668-33-0x00000000069A0000-0x00000000069EC000-memory.dmp

          memory/4668-31-0x00000000063E0000-0x0000000006734000-memory.dmp

          memory/4668-21-0x0000000005FB0000-0x0000000006016000-memory.dmp

          memory/4668-20-0x0000000005F40000-0x0000000005FA6000-memory.dmp

          memory/4668-19-0x0000000005F10000-0x0000000005F32000-memory.dmp

          memory/4668-18-0x00000000058E0000-0x0000000005F08000-memory.dmp

          memory/4668-17-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4668-16-0x0000000074520000-0x0000000074CD0000-memory.dmp

          memory/4668-15-0x0000000005260000-0x0000000005296000-memory.dmp