Analysis

  • max time kernel
    149s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240419-en
  • resource tags

    arch:x64arch:x86image:win7-20240419-enlocale:en-usos:windows7-x64system
  • submitted
    24-05-2024 19:05

General

  • Target

    Mode.exe

  • Size

    45KB

  • MD5

    692bb1be0c680ec225c34bd446ead322

  • SHA1

    813345d33a051c297f342ae668e7a32b3e40837b

  • SHA256

    3242b26e5d8ebbe6993b03288ae30e5dfc7f0d93f06d8b4a225c184f24bd3034

  • SHA512

    2818761e76ad5f7aaf933a857d96d7080ea91653624d923b965c07e224b629b453f5f93c64880a4c9b1f2d55cfff97254c843160c97c169e7437912b80cd04ec

  • SSDEEP

    768:CurlDweV3OOVbADM9W1v9NfgkBpuAuREcNclYlVvD4xeVhKfkeLbFEPa9pvp16i4:CADweQKADMkV9GkSAcRaelZrO1/FJ9Nw

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 5 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 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 4 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 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 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\Mode.exe
    "C:\Users\Admin\AppData\Local\Temp\Mode.exe"
    1⤵
    • 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:2208
    • 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:2976
    • 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:2864
    • 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:2552
    • 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:2264
    • 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:2728
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {9FF045FB-A57B-42BF-A970-24A803A313D5} S-1-5-21-481678230-3773327859-3495911762-1000:UIBNQNMA\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2744
    • C:\Users\Admin\AppData\Roaming\svhost.exe
      C:\Users\Admin\AppData\Roaming\svhost.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1316
    • C:\Users\Admin\AppData\Roaming\svhost.exe
      C:\Users\Admin\AppData\Roaming\svhost.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:700
    • C:\Users\Admin\AppData\Roaming\svhost.exe
      C:\Users\Admin\AppData\Roaming\svhost.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1328

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
    Filesize

    7KB

    MD5

    53685b517a73eecc64ce5594042ef45f

    SHA1

    fdea0fa312342482ba35f23838304904c109d0b4

    SHA256

    215d04ca7a97bdfbeeccff9ca26af65fc04420240d5119982138c2d3a8b46cfd

    SHA512

    18d31c76784de04adfd7f9ff3cc9caca34ffe1191e076473d995a3a3bb999d74b481f59302096fddff8c096600139bdc6838881908dda16236c7ff949af9d6f9

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

    45KB

    MD5

    692bb1be0c680ec225c34bd446ead322

    SHA1

    813345d33a051c297f342ae668e7a32b3e40837b

    SHA256

    3242b26e5d8ebbe6993b03288ae30e5dfc7f0d93f06d8b4a225c184f24bd3034

    SHA512

    2818761e76ad5f7aaf933a857d96d7080ea91653624d923b965c07e224b629b453f5f93c64880a4c9b1f2d55cfff97254c843160c97c169e7437912b80cd04ec

  • memory/700-39-0x0000000000110000-0x0000000000122000-memory.dmp
    Filesize

    72KB

  • memory/1316-36-0x0000000001350000-0x0000000001362000-memory.dmp
    Filesize

    72KB

  • memory/1328-41-0x00000000011F0000-0x0000000001202000-memory.dmp
    Filesize

    72KB

  • memory/2208-31-0x000007FEF6063000-0x000007FEF6064000-memory.dmp
    Filesize

    4KB

  • memory/2208-0-0x000007FEF6063000-0x000007FEF6064000-memory.dmp
    Filesize

    4KB

  • memory/2208-32-0x000007FEF6060000-0x000007FEF6A4C000-memory.dmp
    Filesize

    9.9MB

  • memory/2208-2-0x000007FEF6060000-0x000007FEF6A4C000-memory.dmp
    Filesize

    9.9MB

  • memory/2208-1-0x0000000001000000-0x0000000001012000-memory.dmp
    Filesize

    72KB

  • memory/2864-15-0x000000001B610000-0x000000001B8F2000-memory.dmp
    Filesize

    2.9MB

  • memory/2864-16-0x00000000027F0000-0x00000000027F8000-memory.dmp
    Filesize

    32KB

  • memory/2976-9-0x0000000002220000-0x0000000002228000-memory.dmp
    Filesize

    32KB

  • memory/2976-8-0x000000001B7A0000-0x000000001BA82000-memory.dmp
    Filesize

    2.9MB

  • memory/2976-7-0x0000000002F30000-0x0000000002FB0000-memory.dmp
    Filesize

    512KB