Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/05/2024, 01:55

General

  • Target
    2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
  • Size 44KB
  • Sample240529-cb864sef83
  • SHA256 513c62a005ccab04012f00a64d60548351599a62e418c316c8b07c6e574f928f
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 3.0

C2
  • 0.tcp.eu.ngrok.io:15572

Mutex
  • QJNkPWsQNujcsmpm

Attributes
  • Install_directory

    %Temp%

  • install_file

    USB.exe

  • telegram

    https://api.telegram.org/bot6371150867:AAHnuHEshOjieYH8-P-1VNq_wlCDivpFQA0/sendMessage?chat_id=6371150867

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 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.

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

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 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\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
    "C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.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:1240
    • 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\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3428
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4068
    • 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\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:752
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics" /tr "C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe"
      2⤵
      • Creates scheduled task(s)
      PID:4376
  • C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
    C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:3456
  • C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
    C:\Users\Admin\AppData\Local\Temp\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:2352

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\2aaf2943dcf1a3b32b087c776206bf00_NeikiAnalytics.exe.log
        • Size 654B
        • SHA256 e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced
        • MD5 SHA1 SHA512

        powershell.exe.log

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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 70608a744da693bb14081c9bc04b52ee3816a941c6f774463a3933e417167ce0
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 944B
        • SHA256 a5735921fc72189c8bf577f3911486cf031708dc8d6bc764fe3e593c0a053165
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_5xzst4sr.pll.ps1

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

        memory/1240-1-0x00007FFA54B13000-0x00007FFA54B15000-memory.dmp

        memory/1240-2-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/1240-43-0x00007FFA54B13000-0x00007FFA54B15000-memory.dmp

        memory/1240-44-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/1240-0-0x0000000000ED0000-0x0000000000EE2000-memory.dmp

        memory/3428-13-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/3428-14-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/3428-15-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/3428-18-0x00007FFA54B10000-0x00007FFA555D1000-memory.dmp

        memory/3428-3-0x000001ECB79A0000-0x000001ECB79C2000-memory.dmp