Analysis

  • max time kernel
    144s
  • max time network
    144s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-11-2024 13:22

General

  • Target

    script.ps1

  • Size

    1KB

  • MD5

    44b6f4aa8768e9628adb4f50961a6be2

  • SHA1

    20964d7c8397c3a56821182fd6c1d426d2513fbe

  • SHA256

    c89a2ecf7b0776d2e7ee6974b11765a8e90e3ea4f903835053366954c4dbbe60

  • SHA512

    b69ce3f9f6fd0585936796862f51f309511400543285fc35eddcbec034612a511f84bbb8dac6f831ba44dea2dcd5a95e3ba483bf7fb4554b82192ccd36ebeccf

Malware Config

Extracted

Family

xworm

Attributes
  • Install_directory

    %Temp%

  • install_file

    Chrome.exe

  • pastebin_url

    https://pastebin.com/raw/H3wFXmEi

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Blocklisted process makes network request 1 IoCs
  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 4 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 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.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • 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: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 4 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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\script.ps1
    1⤵
    • Blocklisted process makes network request
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4736
    • C:\Users\Admin\Downloads\Chrome.exe
      "C:\Users\Admin\Downloads\Chrome.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Executes dropped EXE
      • Adds Run key to start application
      • Suspicious behavior: AddClipboardFormatListener
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:1980
      • C:\Windows\System32\schtasks.exe
        "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Chrome" /tr "C:\Users\Admin\AppData\Local\Temp\Chrome.exe"
        3⤵
        • Scheduled Task/Job: Scheduled Task
        PID:3628
  • C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:2204
  • C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:1708
  • C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    C:\Users\Admin\AppData\Local\Temp\Chrome.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:440

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Chrome.exe.log

    Filesize

    654B

    MD5

    2ff39f6c7249774be85fd60a8f9a245e

    SHA1

    684ff36b31aedc1e587c8496c02722c6698c1c4e

    SHA256

    e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

    SHA512

    1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_bfdmklv1.wvw.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Admin\Downloads\Chrome.exe

    Filesize

    197KB

    MD5

    f956d04fc1f44a110400e8aaf76fa48b

    SHA1

    8c8e7b049e81058dda63facc0aeb790f670be99e

    SHA256

    e413b898bcf92f62736144346100f00a74904a13d94cfe4d2aef5aca31e1154e

    SHA512

    95e5ca134e3479bde58a08567935ef8159b20dde7157bfeb81c23929ae7a89a15e699e1764c7dcea4d23cd254d27759f70af5c6b7e21c9d3358f9b4019539224

  • memory/1980-29-0x0000000000620000-0x0000000000658000-memory.dmp

    Filesize

    224KB

  • memory/1980-27-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/1980-30-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/1980-35-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/4736-12-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/4736-13-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/4736-11-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/4736-28-0x00007FFB768C0000-0x00007FFB77381000-memory.dmp

    Filesize

    10.8MB

  • memory/4736-0-0x00007FFB768C3000-0x00007FFB768C5000-memory.dmp

    Filesize

    8KB

  • memory/4736-1-0x000002BFB90E0000-0x000002BFB9102000-memory.dmp

    Filesize

    136KB