Analysis

  • max time kernel
    24s
  • max time network
    23s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03/06/2024, 02:08

General

  • Target
    Client.exe
  • Size 50KB
  • Sample240603-ckj9cafe6s
  • SHA256 d3a28c1e26ff1ac7d09fb9580b1fcfa2724d27b95126a2b4b76c001efc5eef67
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 3.1

C2
  • transportation-practitioners.gl.at.ply.gg:39133

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of FindShellTrayWindow 14 IoCs
  • Suspicious use of SendNotifyMessage 12 IoCs
  • Suspicious use of SetWindowsHookEx 2 IoCs
  • Suspicious use of WriteProcessMemory 64 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\Client.exe
    "C:\Users\Admin\AppData\Local\Temp\Client.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2096
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Client" /tr "C:\Users\Admin\AppData\Roaming\Client.exe"
      2⤵
      • Creates scheduled task(s)
      PID:3156
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --field-trial-handle=3804,i,1809100026287847100,9768898026582633513,262144 --variations-seed-version --mojo-platform-channel-handle=1000 /prefetch:8
    1⤵
      PID:560
    • C:\Program Files\Mozilla Firefox\firefox.exe
      "C:\Program Files\Mozilla Firefox\firefox.exe"
      1⤵
      • Suspicious use of WriteProcessMemory
      PID:3496
      • C:\Program Files\Mozilla Firefox\firefox.exe
        "C:\Program Files\Mozilla Firefox\firefox.exe"
        2⤵
        • Checks processor information in registry
        • Modifies registry class
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of FindShellTrayWindow
        • Suspicious use of SendNotifyMessage
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:956
        • C:\Program Files\Mozilla Firefox\firefox.exe
          "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.0.1446741866\1579151579" -parentBuildID 20230214051806 -prefsHandle 1740 -prefMapHandle 1732 -prefsLen 22076 -prefMapSize 235121 -appDir "C:\Program Files\Mozilla Firefox\browser" - {a4e20ea0-9d39-4147-a4f0-25dedaf5fe59} 956 "\\.\pipe\gecko-crash-server-pipe.956" 1832 1f1ba409758 gpu
          3⤵
            PID:1148
          • C:\Program Files\Mozilla Firefox\firefox.exe
            "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.1.791549200\710144647" -parentBuildID 20230214051806 -prefsHandle 2392 -prefMapHandle 2380 -prefsLen 22112 -prefMapSize 235121 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {e9174f72-0c33-4fef-ae8c-e4be39f06525} 956 "\\.\pipe\gecko-crash-server-pipe.956" 2404 1f1ad589958 socket
            3⤵
            • Checks processor information in registry
            PID:2348
          • C:\Program Files\Mozilla Firefox\firefox.exe
            "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.2.1629846353\1493424661" -childID 1 -isForBrowser -prefsHandle 2976 -prefMapHandle 2972 -prefsLen 22150 -prefMapSize 235121 -jsInitHandle 1276 -jsInitLen 246560 -a11yResourceId 64 -parentBuildID 20230214051806 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {30b42061-952a-4e20-83b2-ed255aefeda8} 956 "\\.\pipe\gecko-crash-server-pipe.956" 2988 1f1b9391058 tab
            3⤵
              PID:2656
            • C:\Program Files\Mozilla Firefox\firefox.exe
              "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.3.1692038864\200576204" -childID 2 -isForBrowser -prefsHandle 3892 -prefMapHandle 3888 -prefsLen 27616 -prefMapSize 235121 -jsInitHandle 1276 -jsInitLen 246560 -a11yResourceId 64 -parentBuildID 20230214051806 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {8413687f-353f-4f1e-a93b-131263462f77} 956 "\\.\pipe\gecko-crash-server-pipe.956" 3904 1f1bf48b158 tab
              3⤵
                PID:5152
              • C:\Program Files\Mozilla Firefox\firefox.exe
                "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.4.1036059605\1664397342" -childID 3 -isForBrowser -prefsHandle 4992 -prefMapHandle 5068 -prefsLen 27616 -prefMapSize 235121 -jsInitHandle 1276 -jsInitLen 246560 -a11yResourceId 64 -parentBuildID 20230214051806 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {17f3c257-dd66-482b-8272-a9966783b866} 956 "\\.\pipe\gecko-crash-server-pipe.956" 5092 1f1c1748558 tab
                3⤵
                  PID:5496
                • C:\Program Files\Mozilla Firefox\firefox.exe
                  "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.5.579156847\255521479" -childID 4 -isForBrowser -prefsHandle 5224 -prefMapHandle 5228 -prefsLen 27616 -prefMapSize 235121 -jsInitHandle 1276 -jsInitLen 246560 -a11yResourceId 64 -parentBuildID 20230214051806 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {419a1339-1b91-4246-aa7c-3572ccac9072} 956 "\\.\pipe\gecko-crash-server-pipe.956" 5212 1f1c1745b58 tab
                  3⤵
                    PID:5504
                  • C:\Program Files\Mozilla Firefox\firefox.exe
                    "C:\Program Files\Mozilla Firefox\firefox.exe" -contentproc --channel="956.6.1042007689\1205337747" -childID 5 -isForBrowser -prefsHandle 5416 -prefMapHandle 5424 -prefsLen 27616 -prefMapSize 235121 -jsInitHandle 1276 -jsInitLen 246560 -a11yResourceId 64 -parentBuildID 20230214051806 -win32kLockedDown -appDir "C:\Program Files\Mozilla Firefox\browser" - {2c4d8755-dd28-4320-bc6c-36664d9791eb} 956 "\\.\pipe\gecko-crash-server-pipe.956" 5408 1f1c1746158 tab
                    3⤵
                      PID:5512
                • C:\Program Files\VideoLAN\VLC\vlc.exe
                  "C:\Program Files\VideoLAN\VLC\vlc.exe" --started-from-file "C:\Users\Admin\Desktop\PublishRestore.rmi"
                  1⤵
                  • Suspicious behavior: AddClipboardFormatListener
                  • Suspicious behavior: GetForegroundWindowSpam
                  • Suspicious use of FindShellTrayWindow
                  • Suspicious use of SendNotifyMessage
                  • Suspicious use of SetWindowsHookEx
                  PID:5276

                Network

                      MITRE ATT&CK Enterprise v15

                      Replay Monitor

                      Loading Replay Monitor...

                      Downloads

                      activity-stream.discovery_stream.json.tmp

                      • Path C:\Users\Admin\AppData\Local\Mozilla\Firefox\Profiles\n9vxbo99.default-release\activity-stream.discovery_stream.json.tmp
                      • Size 23KB
                      • SHA256 eca21aa4ac9716c9f4e653d39d896f0cc0de8185b789ecb924f2c073e588a8c0
                      • MD5 SHA1 SHA512 SSDEEP

                      Client.exe

                      • Path C:\Users\Admin\AppData\Roaming\Client.exe
                      • Size 50KB
                      • SHA256 d3a28c1e26ff1ac7d09fb9580b1fcfa2724d27b95126a2b4b76c001efc5eef67
                      • MD5 SHA1 SHA512 SSDEEP

                      prefs-1.js

                      • Path C:\Users\Admin\AppData\Roaming\Mozilla\Firefox\Profiles\n9vxbo99.default-release\prefs-1.js
                      • Size 6KB
                      • SHA256 46e07a328b4aa9d105dcbb04180bb0132f79e948567a44afce2e7816e0c59067
                      • MD5 SHA1 SHA512 SSDEEP

                      prefs.js

                      • Path C:\Users\Admin\AppData\Roaming\Mozilla\Firefox\Profiles\n9vxbo99.default-release\prefs.js
                      • Size 6KB
                      • SHA256 36dc53a155a8a532fa0c98fa9196030c8e8356c566f2109f29a40492fe4a3d68
                      • MD5 SHA1 SHA512 SSDEEP

                      sessionstore.jsonlz4

                      • Path C:\Users\Admin\AppData\Roaming\Mozilla\Firefox\Profiles\n9vxbo99.default-release\sessionstore.jsonlz4
                      • Size 901B
                      • SHA256 d6609458166e3cfa86fa6642adf2a653e1b8d1c80ec5d515c2144acb49b40770
                      • MD5 SHA1 SHA512

                      memory/2096-2-0x00007FF94B920000-0x00007FF94C3E1000-memory.dmp

                      memory/2096-0-0x00007FF94B923000-0x00007FF94B925000-memory.dmp

                      memory/2096-1-0x0000000000420000-0x0000000000432000-memory.dmp

                      memory/2096-141-0x00007FF94B923000-0x00007FF94B925000-memory.dmp

                      memory/5276-138-0x00007FF7020B0000-0x00007FF7021A8000-memory.dmp

                      memory/5276-139-0x00007FF948650000-0x00007FF948684000-memory.dmp

                      memory/5276-140-0x00007FF947110000-0x00007FF9473C6000-memory.dmp

                      memory/5276-142-0x00007FF93CE20000-0x00007FF93DED0000-memory.dmp