Analysis

  • max time kernel
    101s
  • max time network
    145s
  • platform
    windows11-21h2_x64
  • resource
    win11-20250619-en
  • resource tags

    arch:x64arch:x86image:win11-20250619-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    30/09/2025, 17:01

General

  • Target
    z28Contrato.exe
  • Size 524KB
  • Sample250930-vjtqhatpy3
  • SHA256 bfa7bcaceb080d8bbd08c0b92bd595800f59ebe2fc161af543ae66920be40a01
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Detect Xworm Payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • 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
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • System Location Discovery: System Language Discovery 1 TTPs 6 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\z28Contrato.exe
    "C:\Users\Admin\AppData\Local\Temp\z28Contrato.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3188
    • C:\Users\Admin\AppData\Local\Temp\z28Contrato.exe
      "C:\Users\Admin\AppData\Local\Temp\z28Contrato.exe"
      2⤵
      • Drops startup file
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:5704
      • 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\z28Contrato.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1728
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'z28Contrato.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3840
      • 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\Roaming\bin.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3652
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'bin.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3988

Network

        MITRE ATT&CK Enterprise v16

        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 9600b3fdf0565ccb49e21656aa4b24d7c18f776bfd04d9ee984b134707550f02
        • MD5 SHA1 SHA512

        z28Contrato.exe.log

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_0aid4xos.ybp.ps1

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

        memory/1728-49-0x00000000073A0000-0x00000000073BA000-memory.dmp

        memory/1728-41-0x0000000006F00000-0x0000000006FA4000-memory.dmp

        memory/1728-50-0x0000000007380000-0x0000000007388000-memory.dmp

        memory/1728-48-0x0000000007290000-0x00000000072A5000-memory.dmp

        memory/1728-47-0x0000000007280000-0x000000000728E000-memory.dmp

        memory/1728-46-0x0000000007250000-0x0000000007261000-memory.dmp

        memory/1728-13-0x00000000049A0000-0x00000000049B0000-memory.dmp

        memory/1728-14-0x0000000004830000-0x0000000004866000-memory.dmp

        memory/1728-15-0x00000000049A0000-0x00000000049B0000-memory.dmp

        memory/1728-16-0x0000000004FE0000-0x000000000560A000-memory.dmp

        memory/1728-17-0x0000000004D30000-0x0000000004D52000-memory.dmp

        memory/1728-18-0x0000000005620000-0x0000000005686000-memory.dmp

        memory/1728-45-0x00000000072E0000-0x0000000007376000-memory.dmp

        memory/1728-27-0x0000000005800000-0x0000000005B57000-memory.dmp

        memory/1728-28-0x0000000005D00000-0x0000000005D1E000-memory.dmp

        memory/1728-29-0x0000000005D80000-0x0000000005DCC000-memory.dmp

        memory/1728-30-0x0000000006CC0000-0x0000000006CF4000-memory.dmp

        memory/1728-31-0x0000000070240000-0x000000007028C000-memory.dmp

        memory/1728-40-0x00000000062B0000-0x00000000062CE000-memory.dmp

        memory/1728-44-0x00000000070B0000-0x00000000070BA000-memory.dmp

        memory/1728-42-0x0000000007680000-0x0000000007CFA000-memory.dmp

        memory/1728-43-0x0000000007040000-0x000000000705A000-memory.dmp

        memory/3188-2-0x00000000053F0000-0x0000000005482000-memory.dmp

        memory/3188-5-0x0000000005830000-0x0000000005848000-memory.dmp

        memory/3188-1-0x0000000005AD0000-0x0000000006076000-memory.dmp

        memory/3188-6-0x00000000056E0000-0x00000000056F0000-memory.dmp

        memory/3188-0-0x00000000008C0000-0x000000000094A000-memory.dmp

        memory/3188-8-0x00000000091B0000-0x000000000924C000-memory.dmp

        memory/3188-4-0x0000000005490000-0x000000000549A000-memory.dmp

        memory/3188-7-0x0000000006AF0000-0x0000000006B52000-memory.dmp

        memory/3188-3-0x00000000056E0000-0x00000000056F0000-memory.dmp

        memory/3652-83-0x0000000070240000-0x000000007028C000-memory.dmp

        memory/3840-62-0x0000000006240000-0x0000000006597000-memory.dmp

        memory/3840-64-0x0000000070240000-0x000000007028C000-memory.dmp

        memory/3988-101-0x0000000006380000-0x00000000066D7000-memory.dmp

        memory/3988-103-0x0000000070240000-0x000000007028C000-memory.dmp

        memory/5704-9-0x0000000000400000-0x000000000041E000-memory.dmp

        memory/5704-12-0x0000000004F60000-0x0000000004FC6000-memory.dmp

        memory/5704-117-0x0000000005120000-0x0000000005130000-memory.dmp

        memory/5704-118-0x0000000005120000-0x0000000005130000-memory.dmp