Analysis

  • max time kernel
    373s
  • max time network
    374s
  • platform
    windows10-1703_x64
  • resource
    win10-20240404-en
  • resource tags

    arch:x64arch:x86image:win10-20240404-enlocale:en-usos:windows10-1703-x64system
  • submitted
    30-06-2024 06:24

General

  • Target

    XClient.exe

  • Size

    61KB

  • MD5

    d537ba1b5dfd28d617d98452caadf449

  • SHA1

    6cb1d669d2a10153e42ac33c7bd2fc8521ec7065

  • SHA256

    a2e9485cb6b0018d079a1956dc8a073393c75ee0eca1ebed1fcdaff21b076d2e

  • SHA512

    b0032aba438a0e8704ba6bb7f14e329464a4b09b3d4e6d8dc3ce96a8e70a21312faa407dddf092753234928e3de263a242ec45108f5a48a7d4f04695a9fcde2c

  • SSDEEP

    1536:QrgMsFzvH+u9GeCdg/vzb2xsK/WS6zAEzO5sK:QrD8vHFSWzb26FAEzO5sK

Malware Config

Extracted

Family

xworm

C2

Ironthing-22901.portmap.host:22901

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.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 6 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 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 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⤵
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:408
    • 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:2064
    • 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:3636
    • 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:1108
    • 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
      PID:516
    • 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:4264
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:3152
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:4404
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:2196
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:5108
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:3616
  • C:\Users\Admin\AppData\Roaming\XClient.exe
    C:\Users\Admin\AppData\Roaming\XClient.exe
    1⤵
    • Executes dropped EXE
    PID:3504

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Persistence

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Privilege Escalation

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Scheduled Task

1
T1053.005

Defense Evasion

Modify Registry

1
T1112

Discovery

System Information Discovery

1
T1082

Query Registry

1
T1012

Replay Monitor

Loading Replay Monitor...

Downloads

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

    654B

    MD5

    16c5fce5f7230eea11598ec11ed42862

    SHA1

    75392d4824706090f5e8907eee1059349c927600

    SHA256

    87ba77c13905298acbac72be90949c4fe0755b6eff9777615aa37f252515f151

    SHA512

    153edd6da59beea6cc411ed7383c32916425d6ebb65f04c65aab7c1d6b25443d143aa8449aa92149de0ad8a975f6ecaa60f9f7574536eec6b38fe5fd3a6c6adc

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

    3KB

    MD5

    8592ba100a78835a6b94d5949e13dfc1

    SHA1

    63e901200ab9a57c7dd4c078d7f75dcd3b357020

    SHA256

    fdd7d9def6f9f0c0f2e60dbc8a2d1999071cd7d3095e9e087bb1cda7a614ac3c

    SHA512

    87f98e6cb61b2a2a7d65710c4d33881d89715eb7a06e00d492259f35c3902498baabffc5886be0ec5a14312ad4c262e3fc40cd3a5cb91701af0fb229726b88c3

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

    1KB

    MD5

    2648a07ed826248d7d88c524cf25e16e

    SHA1

    098bb44a21f77420d9571ebb9c6e49b13dcea72d

    SHA256

    7f1e5d715cb56fa1c78ddf435e515d38bee665c2bd1471203fed12d0e8946721

    SHA512

    fd1434a482a7316b215c8f5307f6434a7087287a60800602610f54d848ee96a63109b8dd3a89cf1429234debc4f68a4b00bfe2502ec3aae31e2041c94656c5fc

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

    1KB

    MD5

    29db3bb4ae7cabf5329ed8e73c52b6ab

    SHA1

    9dd9fccec354a892d48610be38f61ff8be224a42

    SHA256

    0ac6e06264ad35540bd337830f5ec5b8ae7f0f0964dc497601415a768589719e

    SHA512

    4510595b5f630924f301b6bd615f132389b2da2478e2b3c90c4a8d2315f28c56bf3ba16bf7ba850398f100e22f3729bb635b29f67f465af3a77840878111f67e

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

    1KB

    MD5

    80f02464bc7bdbb5cf8e7db7f346e587

    SHA1

    527ee84bb646efcfe2b5b655ad76eb4b9806cf62

    SHA256

    ff097e85a47d9a7b38b5dbf65537bd63b96e2f4f921a78f971d3eb44ce9f766b

    SHA512

    3f2824704297bb4d75e6422ef07dd49e6ec58f9a6859f420104c8c81794aacfc2858de1840374cf91ad775acee11ef287ccc7eed71b0148a0e129757d5bbbb9f

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_epc0imx2.oa1.ps1
    Filesize

    1B

    MD5

    c4ca4238a0b923820dcc509a6f75849b

    SHA1

    356a192b7913b04c54574d18c28d46e6395428ab

    SHA256

    6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b

    SHA512

    4dff4ea340f0a823f15d3f4f01ab62eae0e5da579ccb851f8db9dfe84c58b2b37b89903a740e1ee172da793a6e79d560e5f7f9bd058a12a280433ed6fa46510a

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

    61KB

    MD5

    d537ba1b5dfd28d617d98452caadf449

    SHA1

    6cb1d669d2a10153e42ac33c7bd2fc8521ec7065

    SHA256

    a2e9485cb6b0018d079a1956dc8a073393c75ee0eca1ebed1fcdaff21b076d2e

    SHA512

    b0032aba438a0e8704ba6bb7f14e329464a4b09b3d4e6d8dc3ce96a8e70a21312faa407dddf092753234928e3de263a242ec45108f5a48a7d4f04695a9fcde2c

  • memory/408-0-0x0000000000B50000-0x0000000000B66000-memory.dmp
    Filesize

    88KB

  • memory/408-2-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB

  • memory/408-186-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB

  • memory/408-1-0x00007FFAA4D43000-0x00007FFAA4D44000-memory.dmp
    Filesize

    4KB

  • memory/2064-10-0x0000028EE6BB0000-0x0000028EE6BD2000-memory.dmp
    Filesize

    136KB

  • memory/2064-13-0x0000028EE6D60000-0x0000028EE6DD6000-memory.dmp
    Filesize

    472KB

  • memory/2064-51-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB

  • memory/2064-9-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB

  • memory/2064-8-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB

  • memory/2064-7-0x00007FFAA4D40000-0x00007FFAA572C000-memory.dmp
    Filesize

    9.9MB