Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/11/2024, 16:48

General

  • Target

    XClient.exe

  • Size

    41KB

  • MD5

    486527e2986049735316f190c8571c72

  • SHA1

    9ce5e9ae89d3b91c834ac66d5ab947687b867c19

  • SHA256

    c150b18ea2bd00902f2b8de9b0439ef6bd2a448b3255ac4619bab7de57407ea3

  • SHA512

    01ed720a7100238bb51e1fa6ebe88e62a3fa6c3060c472891c38b0cfc17e29d4f11899a0dd12d3460473f751af299a5e5c87e97a2a75b0c7e911b5797f13c745

  • SSDEEP

    768:bG2ZOWZ42nxuT3XvgggCLJF5PG9pmWJ6vOwhX3Emz9:bG2bZ42n07XvvgcFI9AWJ6vOwV9Z

Malware Config

Extracted

Family

xworm

Version

5.0

C2

ikonik2681-35277.portmap.host:35277

Mutex

NwRz6E7beRbMfRwa

Attributes
  • Install_directory

    %AppData%

  • install_file

    $77MicrosoftDefender.exe

aes.plain

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • 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 3 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: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 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\XClient.exe
    "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1408
    • 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.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1220
    • 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:4052
    • 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\$77MicrosoftDefender.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2072
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '$77MicrosoftDefender.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1952
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "$77MicrosoftDefender" /tr "C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4796
  • C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:4628
  • C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3320
  • C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:1924

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\$77MicrosoftDefender.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

    77d622bb1a5b250869a3238b9bc1402b

    SHA1

    d47f4003c2554b9dfc4c16f22460b331886b191b

    SHA256

    f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb

    SHA512

    d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9

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

    Filesize

    944B

    MD5

    07d1ad01cd25da1dd220dfd09e7d7ece

    SHA1

    ff11be9646bdc6334f7b7af7ded270952cc057b1

    SHA256

    aad6ca93c9d165063bdd3cbe2f022118c3d1cb1330560a1746619ab253d5db4a

    SHA512

    8854dd65ee9f4594c06bde7382bddc853e63e1f45818c2c7e23e339d9b65616cbcb69b9b6d2b878de2d24362194f543a36b64815abd087135b50c9cab2631f95

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

    Filesize

    944B

    MD5

    04f1d68afbed6b13399edfae1e9b1472

    SHA1

    8bfdcb687a995e4a63a8c32df2c66dc89f91a8b0

    SHA256

    f358f33a42122e97c489fad7bbc8beab2eb42d42e4ec7fce0dd61fe6d8c0b8de

    SHA512

    30c5e72a8134992094d937d2588f7a503b1d6407d11afe0265b7c8b0ce14071925e5caed13fc4f9c28705df4c7aed3601f81b007048b148af274d7784aa5fb75

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_y5pinfij.cl0.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Roaming\$77MicrosoftDefender.exe

    Filesize

    41KB

    MD5

    486527e2986049735316f190c8571c72

    SHA1

    9ce5e9ae89d3b91c834ac66d5ab947687b867c19

    SHA256

    c150b18ea2bd00902f2b8de9b0439ef6bd2a448b3255ac4619bab7de57407ea3

    SHA512

    01ed720a7100238bb51e1fa6ebe88e62a3fa6c3060c472891c38b0cfc17e29d4f11899a0dd12d3460473f751af299a5e5c87e97a2a75b0c7e911b5797f13c745

  • memory/1220-9-0x000001981BF40000-0x000001981BF62000-memory.dmp

    Filesize

    136KB

  • memory/1220-18-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1220-15-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1220-14-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1220-3-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1408-0-0x00007FFB42CD3000-0x00007FFB42CD5000-memory.dmp

    Filesize

    8KB

  • memory/1408-57-0x00007FFB42CD3000-0x00007FFB42CD5000-memory.dmp

    Filesize

    8KB

  • memory/1408-58-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1408-2-0x00007FFB42CD0000-0x00007FFB43791000-memory.dmp

    Filesize

    10.8MB

  • memory/1408-1-0x00000000007D0000-0x00000000007E0000-memory.dmp

    Filesize

    64KB