Analysis

  • max time kernel
    149s
  • 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
    25/05/2024, 17:19

General

  • Target
    7483ef61b4a08402fda1ad7ff1f94ea0_NeikiAnalytics.exe
  • Size 315KB
  • Sample240525-vv9absbf8s
  • SHA256 cac0d8139a09afbed8d9b0fcb8d1a07c186b16f8a0ae6967bfc75f1eccf6c74d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Attributes
  • Install_directory

    %AppData%

  • install_file

    Discord Update.exe

  • pastebin_url

    https://pastebin.com/raw/2NqG5N7L

Signatures

  • Detect Xworm Payload 1 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
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 5 IoCs
  • 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 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\7483ef61b4a08402fda1ad7ff1f94ea0_NeikiAnalytics.exe
    "C:\Users\Admin\AppData\Local\Temp\7483ef61b4a08402fda1ad7ff1f94ea0_NeikiAnalytics.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1320
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\7483ef61b4a08402fda1ad7ff1f94ea0_NeikiAnalytics.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5104
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '7483ef61b4a08402fda1ad7ff1f94ea0_NeikiAnalytics.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2284
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Roaming\Discord Update.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4024
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Discord Update.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:376
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Discord Update" /tr "C:\Users\Admin\AppData\Roaming\Discord Update.exe"
      2⤵
      • Creates scheduled task(s)
      PID:3380
  • C:\Users\Admin\AppData\Roaming\Discord Update.exe
    "C:\Users\Admin\AppData\Roaming\Discord Update.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:1240
  • C:\Users\Admin\AppData\Roaming\Discord Update.exe
    "C:\Users\Admin\AppData\Roaming\Discord Update.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:4944

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        Discord Update.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\Discord Update.exe.log
        • Size 611B
        • SHA256 2bc4f3fb1aef5822fcf28fab63a766249870cddc64af10138bf1e33fe4315878
        • MD5 SHA1 SHA512

        powershell.exe.log

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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 c3d3716192406a1a44be4ef1dca8c921712a7fe64f59260a26389ba18b19c85b
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 ab7aa39b20dbd85de292a9b5f5d2527435562da1c5531fa81b56dc4cb01f72d3
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 9c78a54c245c5951481a09d7594bc40c09c3bef40b59bdbfcf2d02650c6ad364
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_2tggsh45.nnj.ps1

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

        Discord Update.exe

        • Path C:\Users\Admin\AppData\Roaming\Discord Update.exe
        • Size 315KB
        • SHA256 cac0d8139a09afbed8d9b0fcb8d1a07c186b16f8a0ae6967bfc75f1eccf6c74d
        • MD5 SHA1 SHA512 SSDEEP

        memory/376-112-0x0000000070650000-0x000000007069C000-memory.dmp

        memory/1320-128-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/1320-5-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/1320-1-0x0000000000A20000-0x0000000000A72000-memory.dmp

        memory/1320-4-0x0000000005900000-0x000000000599C000-memory.dmp

        memory/1320-3-0x0000000005670000-0x0000000005694000-memory.dmp

        memory/1320-2-0x00000000053E0000-0x0000000005472000-memory.dmp

        memory/1320-0-0x000000007539E000-0x000000007539F000-memory.dmp

        memory/1320-127-0x000000007539E000-0x000000007539F000-memory.dmp

        memory/2284-79-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2284-68-0x0000000070650000-0x000000007069C000-memory.dmp

        memory/2284-56-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2284-57-0x0000000005990000-0x0000000005CE4000-memory.dmp

        memory/2284-55-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/2284-54-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/4024-87-0x0000000006150000-0x00000000064A4000-memory.dmp

        memory/4024-91-0x0000000070650000-0x000000007069C000-memory.dmp

        memory/5104-11-0x0000000005980000-0x00000000059E6000-memory.dmp

        memory/5104-39-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-43-0x0000000007400000-0x000000000740A000-memory.dmp

        memory/5104-44-0x0000000007610000-0x00000000076A6000-memory.dmp

        memory/5104-45-0x0000000007590000-0x00000000075A1000-memory.dmp

        memory/5104-46-0x00000000075C0000-0x00000000075CE000-memory.dmp

        memory/5104-47-0x00000000075D0000-0x00000000075E4000-memory.dmp

        memory/5104-48-0x00000000076D0000-0x00000000076EA000-memory.dmp

        memory/5104-49-0x00000000076B0000-0x00000000076B8000-memory.dmp

        memory/5104-52-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-41-0x00000000079E0000-0x000000000805A000-memory.dmp

        memory/5104-40-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-38-0x0000000007260000-0x0000000007303000-memory.dmp

        memory/5104-42-0x0000000007390000-0x00000000073AA000-memory.dmp

        memory/5104-37-0x0000000007240000-0x000000000725E000-memory.dmp

        memory/5104-36-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-25-0x0000000007000000-0x0000000007032000-memory.dmp

        memory/5104-26-0x0000000070650000-0x000000007069C000-memory.dmp

        memory/5104-24-0x00000000060A0000-0x00000000060EC000-memory.dmp

        memory/5104-23-0x0000000006070000-0x000000000608E000-memory.dmp

        memory/5104-18-0x0000000005A60000-0x0000000005DB4000-memory.dmp

        memory/5104-12-0x00000000059F0000-0x0000000005A56000-memory.dmp

        memory/5104-10-0x0000000004FA0000-0x0000000004FC2000-memory.dmp

        memory/5104-9-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-8-0x0000000005120000-0x0000000005748000-memory.dmp

        memory/5104-7-0x0000000075390000-0x0000000075B40000-memory.dmp

        memory/5104-6-0x0000000004AB0000-0x0000000004AE6000-memory.dmp