Analysis

  • max time kernel
    593s
  • max time network
    596s
  • platform
    windows10-1703_x64
  • resource
    win10-20240404-en
  • resource tags

    arch:x64arch:x86image:win10-20240404-enlocale:en-usos:windows10-1703-x64system
  • submitted
    04/06/2024, 11:25

General

  • Target
    Nursultan.exe
  • Size 69KB
  • Sample240604-njat3aee5x
  • SHA256 7e60dd9dd2aadd4bc534f36430ca273b26a8a219751422e72c536e037081b074
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

  • pastebin_url

    https://pastebin.com/raw/FAsTKWH7

Signatures

  • Detect Xworm Payload 2 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 10 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 12 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 13 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 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\Nursultan.exe
    "C:\Users\Admin\AppData\Local\Temp\Nursultan.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:3052
    • 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\Nursultan.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3516
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Nursultan.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1644
    • 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\WindowsSecurity'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4976
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'WindowsSecurity'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      PID:780
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "WindowsSecurity" /tr "C:\Users\Admin\AppData\Roaming\WindowsSecurity"
      2⤵
      • Creates scheduled task(s)
      PID:1240
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:4620
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:1808
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:2164
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:2308
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:5080
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:1368
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:2160
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:3796
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:776
  • C:\Users\Admin\AppData\Roaming\WindowsSecurity
    C:\Users\Admin\AppData\Roaming\WindowsSecurity
    1⤵
    • Executes dropped EXE
    PID:304

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        WindowsSecurity.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\WindowsSecurity.log
        • Size 654B
        • SHA256 87ba77c13905298acbac72be90949c4fe0755b6eff9777615aa37f252515f151
        • MD5 SHA1 SHA512

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
        • Size 3KB
        • SHA256 fdd7d9def6f9f0c0f2e60dbc8a2d1999071cd7d3095e9e087bb1cda7a614ac3c
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 5f5a1504944188c08e3d2a6f580cf1b2ac71441ea56f7e8499602b4c2016a5ba
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 b98e29bb3a4a347869ad4aa431ac45f84a85cff74a2ffb18f2c18240d7f207b0
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 1KB
        • SHA256 aa4be9f33c0dc502f847570056b7202cd42689a03bc2791efb4270aa5dde6ee4
        • MD5 SHA1 SHA512

        __PSScriptPolicyTest_clnqgciv.fkv.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_clnqgciv.fkv.ps1
        • Size 1B
        • SHA256 6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b
        • MD5 SHA1 SHA512

        WindowsSecurity

        • Path C:\Users\Admin\AppData\Roaming\WindowsSecurity
        • Size 69KB
        • SHA256 7e60dd9dd2aadd4bc534f36430ca273b26a8a219751422e72c536e037081b074
        • MD5 SHA1 SHA512 SSDEEP

        memory/3052-1-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp

        memory/3052-2-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp

        memory/3052-0-0x0000000000970000-0x0000000000988000-memory.dmp

        memory/3052-187-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp

        memory/3516-8-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp

        memory/3516-50-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp

        memory/3516-12-0x000002DE78CA0000-0x000002DE78D16000-memory.dmp

        memory/3516-9-0x000002DE78AF0000-0x000002DE78B12000-memory.dmp

        memory/3516-7-0x00007FFBFFDA0000-0x00007FFC00099000-memory.dmp