Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24/05/2024, 18:30

Errors

Reason
Machine shutdown

General

  • Target
    Mode.exe
  • Size 45KB
  • Sample240524-w5m1hsfb22
  • SHA256 3242b26e5d8ebbe6993b03288ae30e5dfc7f0d93f06d8b4a225c184f24bd3034
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • 5.tcp.eu.ngrok.io:17399

Mutex
  • RxBZSfahWZHZu4kD

Attributes
  • Install_directory

    %AppData%

  • install_file

    svhost.exe

aes.plain

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.

  • Sets file execution options in registry 2 TTPs 2 IoCs
  • Checks computer location settings 2 TTPs 2 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
  • Legitimate hosting services abused for malware hosting/C2 1 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).

  • Checks processor information in registry 2 TTPs 2 IoCs

    Processor information is often read in order to detect sandboxing environments.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Enumerates system info in registry 2 TTPs 4 IoCs
  • Modifies data under HKEY_USERS 15 IoCs
  • Modifies registry class 1 IoCs
  • Runs .reg file with regedit 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 18 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\Mode.exe
    "C:\Users\Admin\AppData\Local\Temp\Mode.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Checks processor information in registry
    • Enumerates system info in registry
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:4476
    • 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\Mode.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3192
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Mode.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3464
    • 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\svhost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1100
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svhost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1128
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svhost" /tr "C:\Users\Admin\AppData\Roaming\svhost.exe"
      2⤵
      • Creates scheduled task(s)
      PID:4484
    • C:\Users\Admin\AppData\Local\Temp\jmehik.exe
      "C:\Users\Admin\AppData\Local\Temp\jmehik.exe"
      2⤵
      • Checks computer location settings
      • Executes dropped EXE
      • Suspicious use of WriteProcessMemory
      PID:3544
      • C:\Users\Admin\AppData\Local\Temp\RarSFX0\Курсор - писюн.exe
        "C:\Users\Admin\AppData\Local\Temp\RarSFX0\Курсор - писюн.exe"
        3⤵
        • Executes dropped EXE
        PID:3712
    • C:\Windows\regedit.exe
      "regedit.exe" "C:\Users\Admin\AppData\Local\Temp\aylgdu.reg"
      2⤵
      • Sets file execution options in registry
      • Runs .reg file with regedit
      PID:4524
  • C:\Users\Admin\AppData\Roaming\svhost.exe
    C:\Users\Admin\AppData\Roaming\svhost.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:3288
  • C:\Windows\system32\LogonUI.exe
    "LogonUI.exe" /flags:0x4 /state0:0xa3917055 /state1:0x41c64e6d
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of SetWindowsHookEx
    PID:2252

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        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 8c48b1f2338e5b24094821f41121d2221f1cb3200338f46df49f64d1c4bc3e0c
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        xui2.cur

        • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\xui2.cur
        • Size 4KB
        • SHA256 de7c8bd93cc576d719805835099ae0f2cb88d797fe71585e2f7eb56b67a8fb72
        • MD5 SHA1 SHA512 SSDEEP

        Курсор - писюн.exe

        • Path C:\Users\Admin\AppData\Local\Temp\RarSFX0\Курсор - писюн.exe
        • Size 5KB
        • SHA256 e60353b37f785c77e1063ac44cba792e9ec69f27b1dc9f3b719280d5ce015cc0
        • MD5 SHA1 SHA512 SSDEEP

        __PSScriptPolicyTest_4fqddjdl.re2.ps1

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

        aylgdu.reg

        • Path C:\Users\Admin\AppData\Local\Temp\aylgdu.reg
        • Size 177B
        • SHA256 b7187ba265fc9e363c2d4565657294603f0258ff035dc7b3da8ff702472b9a1b
        • MD5 SHA1 SHA512

        jmehik.exe

        • Path C:\Users\Admin\AppData\Local\Temp\jmehik.exe
        • Size 317KB
        • SHA256 507895a5170319193ced89311753529812a26b344213d44c92a988e3b4c99c06
        • MD5 SHA1 SHA512 SSDEEP

        svhost.exe

        • Path C:\Users\Admin\AppData\Roaming\svhost.exe
        • Size 45KB
        • SHA256 3242b26e5d8ebbe6993b03288ae30e5dfc7f0d93f06d8b4a225c184f24bd3034
        • MD5 SHA1 SHA512 SSDEEP

        memory/3192-12-0x000001ABF6460000-0x000001ABF6482000-memory.dmp

        memory/3192-5-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/3192-4-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/3192-3-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/3192-18-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/3712-86-0x00000000007C0000-0x00000000007C8000-memory.dmp

        memory/4476-59-0x000000001DEC0000-0x000000001E3E8000-memory.dmp

        memory/4476-60-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/4476-0-0x00007FF8E8B03000-0x00007FF8E8B05000-memory.dmp

        memory/4476-58-0x00007FF8E8B03000-0x00007FF8E8B05000-memory.dmp

        memory/4476-57-0x000000001BC50000-0x000000001BC5C000-memory.dmp

        memory/4476-2-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp

        memory/4476-1-0x0000000000FE0000-0x0000000000FF2000-memory.dmp

        memory/4476-93-0x00007FF8E8B00000-0x00007FF8E95C1000-memory.dmp