Analysis

  • max time kernel
    166s
  • max time network
    175s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20230915-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20230915-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14-10-2023 03:22

General

  • Target

    Stub.exe

  • Size

    59KB

  • MD5

    5e898023998ac0c862eb3bd9694675d4

  • SHA1

    1723f8f80a10a486e4e6bb080dd202a54546b108

  • SHA256

    fb0d45b0e48b0cdda2dd8c5a152f3c7a375c18d63e588f6a217c9d47f7d5199d

  • SHA512

    13a325448f9333d9a00e5e6cc8d2404a8bcfb2092648811f2c652e20ec3dce0068c5945912fe846452d0cb1902792b21a020f86068d1bb11e22252348d13d64f

  • SSDEEP

    1536:NaagCTl3+ZVgvPgD79QZbIzaJh7PtzO022U:FgCF+ZKvPhZbICJ1zO07U

Malware Config

Extracted

Family

xworm

Version

3.1

C2

mo1010.duckdns.org:7000

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • 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
  • 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 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 2 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\Stub.exe
    "C:\Users\Admin\AppData\Local\Temp\Stub.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:5104
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Stub" /tr "C:\Users\Admin\AppData\Roaming\Stub.exe"
      2⤵
      • Creates scheduled task(s)
      PID:2004

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Roaming\Stub.exe

    Filesize

    59KB

    MD5

    5e898023998ac0c862eb3bd9694675d4

    SHA1

    1723f8f80a10a486e4e6bb080dd202a54546b108

    SHA256

    fb0d45b0e48b0cdda2dd8c5a152f3c7a375c18d63e588f6a217c9d47f7d5199d

    SHA512

    13a325448f9333d9a00e5e6cc8d2404a8bcfb2092648811f2c652e20ec3dce0068c5945912fe846452d0cb1902792b21a020f86068d1bb11e22252348d13d64f

  • memory/5104-0-0x00000000004B0000-0x00000000004C6000-memory.dmp

    Filesize

    88KB

  • memory/5104-1-0x00007FFA57490000-0x00007FFA57F51000-memory.dmp

    Filesize

    10.8MB

  • memory/5104-10-0x000000001B1F0000-0x000000001B200000-memory.dmp

    Filesize

    64KB

  • memory/5104-11-0x00007FFA57490000-0x00007FFA57F51000-memory.dmp

    Filesize

    10.8MB

  • memory/5104-12-0x000000001B1F0000-0x000000001B200000-memory.dmp

    Filesize

    64KB