Analysis

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

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-07-2024 15:36

General

  • Target

    7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9.exe

  • Size

    204KB

  • MD5

    9a545de2e6d6eb28f621076f61cb736d

  • SHA1

    4b30a9201165f5bd92df7aa14ffa412e0ea41db3

  • SHA256

    7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9

  • SHA512

    9d54968fe188d535d48eff934d362065e2e237609376230b7b7edb4cd047a76f1a7e8cb06f52ae11e347469bc60c167957db8ce49cd2daf1b39909955fd67a76

  • SSDEEP

    1536:zt/CeA4flKCD6a1tc533JtH82fkbLDg777Kkhj+6GM9DxAbOcvnKSEQHMnvPNl:B/CeA49b6af1bLDc7ld9DxAbOcvuki

Malware Config

Extracted

Family

xworm

C2

Valdemar-27265.portmap.host:27265

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • 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
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Enumerates physical storage devices 1 TTPs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9.exe
    "C:\Users\Admin\AppData\Local\Temp\7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:5116
    • 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\7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3876
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4788
    • 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\Roaming\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4648
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3648
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "XClient" /tr "C:\Users\Admin\AppData\Roaming\XClient.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:3200
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:2188
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3352

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    654B

    MD5

    2ff39f6c7249774be85fd60a8f9a245e

    SHA1

    684ff36b31aedc1e587c8496c02722c6698c1c4e

    SHA256

    e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

    SHA512

    1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

  • 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

    e243a38635ff9a06c87c2a61a2200656

    SHA1

    ecd95ed5bf1a9fbe96a8448fc2814a0210fa2afc

    SHA256

    af5782703f3f2d5a29fb313dae6680a64134db26064d4a321a3f23b75f6ca00f

    SHA512

    4418957a1b10eee44cf270c81816ae707352411c4f5ac14b6b61ab537c91480e24e0a0a2c276a6291081b4984c123cf673a45dcedb0ceeef682054ba0fc19cb4

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

    Filesize

    944B

    MD5

    15dde0683cd1ca19785d7262f554ba93

    SHA1

    d039c577e438546d10ac64837b05da480d06bf69

    SHA256

    d6fa39eab7ee36f44dc3f9f2839d098433db95c1eba924e4bcf4e5c0d268d961

    SHA512

    57c0e1b87bc1c136f0d39f3ce64bb8f8274a0491e4ca6e45e5c7f9070aa9d9370c6f590ce37cd600b252df2638d870205249a514c43245ca7ed49017024a4672

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_i1ugqxlk.yuo.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\XClient.exe

    Filesize

    204KB

    MD5

    9a545de2e6d6eb28f621076f61cb736d

    SHA1

    4b30a9201165f5bd92df7aa14ffa412e0ea41db3

    SHA256

    7d2236f48352a9eac140f0de55cb53b0c57b3b14135dab889b5fcd1b5a575fd9

    SHA512

    9d54968fe188d535d48eff934d362065e2e237609376230b7b7edb4cd047a76f1a7e8cb06f52ae11e347469bc60c167957db8ce49cd2daf1b39909955fd67a76

  • memory/3876-18-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3876-15-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3876-14-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/3876-13-0x000002463FB30000-0x000002463FB52000-memory.dmp

    Filesize

    136KB

  • memory/3876-3-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/5116-0-0x00007FFF2ADF3000-0x00007FFF2ADF5000-memory.dmp

    Filesize

    8KB

  • memory/5116-57-0x00007FFF2ADF3000-0x00007FFF2ADF5000-memory.dmp

    Filesize

    8KB

  • memory/5116-58-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/5116-2-0x00007FFF2ADF0000-0x00007FFF2B8B1000-memory.dmp

    Filesize

    10.8MB

  • memory/5116-1-0x0000000000FD0000-0x0000000001008000-memory.dmp

    Filesize

    224KB

  • memory/5116-65-0x000000001BB80000-0x000000001BB8C000-memory.dmp

    Filesize

    48KB