Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-05-2024 16:54

General

  • Target

    53d01662babe8f44ac554fc2a16eb4d0_NeikiAnalytics.exe

  • Size

    123KB

  • MD5

    53d01662babe8f44ac554fc2a16eb4d0

  • SHA1

    fcae649e71a691c39ec5ffdf916ba67624e5a4fb

  • SHA256

    ccb682c585e5f867e1cf68c755a35a54dd2a8cbcb8c7caedfcb1ea9463070a97

  • SHA512

    22556eccd4f16e1d23ba60e50f0ce300bd8e12ea5c23bd573741a7f38b3cdff55040270475e6d784ce15b9a2d4ba00dbfe2f33c40d8d4fba4955722c330ad0ff

  • SSDEEP

    3072:5Ps2ipjzChN8IEMj9UpD0ag74Y8aIA0R6O6p4B:3iAhGIRpUpDjlKP0R6w

Malware Config

Extracted

Family

xworm

C2

127.0.0.1:7000

45.145.41.147:7000

Attributes
  • Install_directory

    %AppData%

  • install_file

    WinSec.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.

  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 3 IoCs

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

  • Drops startup file 4 IoCs
  • Executes dropped EXE 6 IoCs
  • Adds Run key to start application 2 TTPs 3 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.

  • Drops autorun.inf file 1 TTPs 5 IoCs

    Malware can abuse Windows Autorun to spread further via attached volumes.

  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Kills process with taskkill 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 45 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 24 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\53d01662babe8f44ac554fc2a16eb4d0_NeikiAnalytics.exe
    "C:\Users\Admin\AppData\Local\Temp\53d01662babe8f44ac554fc2a16eb4d0_NeikiAnalytics.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2576
    • C:\Users\Admin\AppData\Local\Temp\bind to xclient.exe
      "C:\Users\Admin\AppData\Local\Temp\bind to xclient.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:2172
      • C:\Users\Admin\AppData\Roaming\Winserver.exe
        "C:\Users\Admin\AppData\Roaming\Winserver.exe"
        3⤵
        • Drops startup file
        • Executes dropped EXE
        • Adds Run key to start application
        • Drops autorun.inf file
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious behavior: GetForegroundWindowSpam
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:516
        • C:\Windows\SysWOW64\netsh.exe
          netsh firewall add allowedprogram "C:\Users\Admin\AppData\Roaming\Winserver.exe" "Winserver.exe" ENABLE
          4⤵
          • Modifies Windows Firewall
          PID:3436
        • C:\Windows\SysWOW64\taskkill.exe
          taskkill /F /IM Winservice.exe
          4⤵
          • Kills process with taskkill
          • Suspicious use of AdjustPrivilegeToken
          PID:3320
    • C:\Users\Admin\AppData\Local\Temp\XClient.exe
      "C:\Users\Admin\AppData\Local\Temp\XClient.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Executes dropped EXE
      • 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:2236
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1240
      • C:\Windows\System32\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:1976
      • 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\WinSec.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4584
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'WinSec.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:316
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "WinSec" /tr "C:\Users\Admin\AppData\Roaming\WinSec.exe"
        3⤵
        • Creates scheduled task(s)
        PID:1144
  • C:\Users\Admin\AppData\Roaming\WinSec.exe
    C:\Users\Admin\AppData\Roaming\WinSec.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:1588
  • C:\Users\Admin\AppData\Roaming\WinSec.exe
    C:\Users\Admin\AppData\Roaming\WinSec.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:412
  • C:\Users\Admin\AppData\Roaming\WinSec.exe
    C:\Users\Admin\AppData\Roaming\WinSec.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3528

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    ef72c47dbfaae0b9b0d09f22ad4afe20

    SHA1

    5357f66ba69b89440b99d4273b74221670129338

    SHA256

    692ec20c7039170fb199510f0436181fd155e6b4516d4d1c9e1675adf99aaa7f

    SHA512

    7514b6bc8dc39fa618223300be27cd535dc35b18c66b4a089e2302e72b3e0cac06d88a989fa1296feb386b3cbe2084019df6430c7f895071b76e04ce559a30b4

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

    Filesize

    944B

    MD5

    65a68df1062af34622552c4f644a5708

    SHA1

    6f6ecf7b4b635abb0b132d95dac2759dc14b50af

    SHA256

    718dc2f5f4a6dbb7fab7f3db05bd7f602fb16526caae7084ab46c3ab4e7bad35

    SHA512

    4e460eb566032942547b58411222dd26ae300a95f83cf5ae6df58ebd28594341123611b348bd4031a33bc7f38307d5cb8fb677bba8c896919e3eee677a104d4d

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

    Filesize

    72KB

    MD5

    f5539cd914945970157c7600e91486e0

    SHA1

    e5256cf1320bd60c94d9fff2225692b30ce83d7f

    SHA256

    d7642e76018073789f2f7b12171f4c345d171c76c976cf3b535f6d6d19d31dea

    SHA512

    cc7bed8f6adf4b894c4eb06433e3a5f996f41c28dad77c0c2f13ed09d51736e80deda87094488f4aa47ded36ee9ba79a69f200ece6a7772c6c8d74f6e6358807

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ah5frw44.wcl.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\AppData\Local\Temp\bind to xclient.exe

    Filesize

    37KB

    MD5

    f44858e77b122e0c6e5a102070487209

    SHA1

    26e62f9025a78c888efc59de0147517d8e995e19

    SHA256

    9a85281bf4d2866ac2dab26378a183e2ef42961ae3642058c174f4821748707b

    SHA512

    a2d77fee1d2630dde1db9db419fe624e4e0b3a1ee813a13dfad7502a5f7a4d84d7983b772982e526137ec4f57d22d926f08985ec77baa40a4b279c318316fbff

  • memory/1240-36-0x0000019A4C2A0000-0x0000019A4C2C2000-memory.dmp

    Filesize

    136KB

  • memory/2172-86-0x0000000074D50000-0x0000000075301000-memory.dmp

    Filesize

    5.7MB

  • memory/2172-24-0x0000000074D52000-0x0000000074D54000-memory.dmp

    Filesize

    8KB

  • memory/2172-25-0x0000000074D50000-0x0000000075301000-memory.dmp

    Filesize

    5.7MB

  • memory/2236-22-0x0000000000BF0000-0x0000000000C08000-memory.dmp

    Filesize

    96KB

  • memory/2236-26-0x000000001B960000-0x000000001B970000-memory.dmp

    Filesize

    64KB

  • memory/2236-23-0x00007FFE23A10000-0x00007FFE244D1000-memory.dmp

    Filesize

    10.8MB

  • memory/2236-96-0x00007FFE23A10000-0x00007FFE244D1000-memory.dmp

    Filesize

    10.8MB

  • memory/2236-100-0x000000001B960000-0x000000001B970000-memory.dmp

    Filesize

    64KB

  • memory/2576-0-0x00007FFE23A13000-0x00007FFE23A15000-memory.dmp

    Filesize

    8KB

  • memory/2576-1-0x0000000000990000-0x00000000009B6000-memory.dmp

    Filesize

    152KB