Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/05/2024, 06:12

General

  • Target
    c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1.exe
  • Size 4.3MB
  • Sample240530-gx7bvsaa92
  • SHA256 c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

C2
  • 127.0.0.1:7000

  • beshomandotestbesnd.run.place:7000

Attributes
  • Install_directory

    %ProgramData%

  • install_file

    cmd.exe

  • telegram

    https://api.telegram.org/bot2128988424:AAEkYnwvOQA95riqRZwlqBxg4GV-odRNOyo/sendMessage?chat_id=966649672

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Identifies VirtualBox via ACPI registry values (likely anti-VM) 2 TTPs 1 IoCs
  • 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.

  • Checks BIOS information in registry 2 TTPs 2 IoCs

    BIOS information is often read in order to detect sandboxing environments.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Themida packer 1 IoCs

    Detects Themida, an advanced Windows software protection system.

  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks whether UAC is enabled 1 TTPs 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 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: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 15 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1.exe
    "C:\Users\Admin\AppData\Local\Temp\c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1.exe"
    1⤵
    • Identifies VirtualBox via ACPI registry values (likely anti-VM)
    • Checks BIOS information in registry
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Checks whether UAC is enabled
    • Suspicious use of NtSetInformationThreadHideFromDebugger
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:1636
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2352
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'c8edbc2a072ac9e68a46868aeb7c996aa5d1fe5f8afb3d8ff15b1be4cb3a52a1.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1100
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\cmd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5064
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'cmd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2716
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "cmd" /tr "C:\ProgramData\cmd.exe"
      2⤵
      • Creates scheduled task(s)
      PID:1952

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        powershell.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 92099c10776bb7e3f2a8d1b82d4d40d0c4627e4f1bf754a6e58dfd2c2e97042a
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 18KB
        • SHA256 3109e9194ba645cf2594a9e9e94b87c059f7dd845470db24ed3b04e6cf9483cb
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_nncu3lyv.b4i.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_nncu3lyv.b4i.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/1100-63-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1100-62-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1100-76-0x0000000005B20000-0x0000000005E74000-memory.dmp

        memory/1100-78-0x000000006FE40000-0x000000006FE8C000-memory.dmp

        memory/1100-89-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-9-0x00000000000C0000-0x0000000000524000-memory.dmp

        memory/1636-6-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-137-0x0000000006320000-0x00000000068C4000-memory.dmp

        memory/1636-134-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-133-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-0-0x00000000000C0000-0x0000000000524000-memory.dmp

        memory/1636-139-0x0000000006B70000-0x0000000006B7A000-memory.dmp

        memory/1636-140-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-111-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-10-0x0000000004EB0000-0x0000000004F4C000-memory.dmp

        memory/1636-66-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-138-0x00000000068D0000-0x0000000006962000-memory.dmp

        memory/1636-1-0x0000000077180000-0x0000000077181000-memory.dmp

        memory/1636-2-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-3-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-60-0x00000000000C0000-0x0000000000524000-memory.dmp

        memory/1636-61-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-4-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-5-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/1636-64-0x0000000077180000-0x0000000077181000-memory.dmp

        memory/1636-65-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-17-0x0000000005B90000-0x0000000005BF6000-memory.dmp

        memory/2352-33-0x000000006FE40000-0x000000006FE8C000-memory.dmp

        memory/2352-52-0x0000000007840000-0x000000000784E000-memory.dmp

        memory/2352-53-0x0000000007850000-0x0000000007864000-memory.dmp

        memory/2352-54-0x0000000007950000-0x000000000796A000-memory.dmp

        memory/2352-55-0x0000000007930000-0x0000000007938000-memory.dmp

        memory/2352-58-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-50-0x0000000007890000-0x0000000007926000-memory.dmp

        memory/2352-49-0x0000000007680000-0x000000000768A000-memory.dmp

        memory/2352-48-0x0000000007610000-0x000000000762A000-memory.dmp

        memory/2352-47-0x0000000007C60000-0x00000000082DA000-memory.dmp

        memory/2352-46-0x00000000074E0000-0x0000000007583000-memory.dmp

        memory/2352-44-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-45-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-43-0x0000000006900000-0x000000000691E000-memory.dmp

        memory/2352-51-0x0000000007810000-0x0000000007821000-memory.dmp

        memory/2352-32-0x00000000068C0000-0x00000000068F2000-memory.dmp

        memory/2352-31-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-30-0x0000000006320000-0x000000000636C000-memory.dmp

        memory/2352-29-0x00000000062E0000-0x00000000062FE000-memory.dmp

        memory/2352-11-0x00000000029B0000-0x00000000029E6000-memory.dmp

        memory/2352-28-0x0000000005D20000-0x0000000006074000-memory.dmp

        memory/2352-18-0x0000000005CB0000-0x0000000005D16000-memory.dmp

        memory/2352-12-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-16-0x0000000005A70000-0x0000000005A92000-memory.dmp

        memory/2352-15-0x0000000005440000-0x0000000005A68000-memory.dmp

        memory/2352-13-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2352-14-0x0000000077160000-0x0000000077250000-memory.dmp

        memory/2716-123-0x000000006FE40000-0x000000006FE8C000-memory.dmp

        memory/5064-100-0x000000006FE40000-0x000000006FE8C000-memory.dmp