Analysis

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

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/06/2024, 23:25

General

  • Target
    Hamisa Group pty Ltd.exe
  • Size 434KB
  • Sample240620-3d9tjascrd
  • SHA256 c7ea303e79e80bb5671ede0eab7291b16e0175f73fdb217d030354c5065b64db
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 3.1

C2
  • omirbekov.duckdns.org:4048

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 1 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.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • Drops startup file 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 20 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\Hamisa Group pty Ltd.exe
    "C:\Users\Admin\AppData\Local\Temp\Hamisa Group pty Ltd.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4596
    • 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\Hamisa Group pty Ltd.exe"
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4420
    • C:\Users\Admin\AppData\Local\Temp\Hamisa Group pty Ltd.exe
      "C:\Users\Admin\AppData\Local\Temp\Hamisa Group pty Ltd.exe"
      2⤵
      • Checks computer location settings
      • 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:4104
      • 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\Hamisa Group pty Ltd.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2144
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Hamisa Group pty Ltd.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2716
      • 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\Hamisa Group pty Ltd.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4984

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 b3ceb6abc984c15c9ff2d65f96c8b26207613ab1431e307758299bd5ba4cd089
        • MD5 SHA1 SHA512 SSDEEP

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_grpw2fc2.uk2.ps1

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

        memory/2144-75-0x0000000072140000-0x000000007218C000-memory.dmp

        memory/2716-108-0x0000000007CD0000-0x0000000007CE1000-memory.dmp

        memory/2716-98-0x0000000072110000-0x000000007215C000-memory.dmp

        memory/2716-97-0x0000000006CA0000-0x0000000006CEC000-memory.dmp

        memory/2716-109-0x0000000007D20000-0x0000000007D34000-memory.dmp

        memory/4104-16-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4104-138-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4104-139-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4104-140-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4104-14-0x0000000000400000-0x0000000000414000-memory.dmp

        memory/4420-37-0x0000000005DA0000-0x0000000005DEC000-memory.dmp

        memory/4420-53-0x00000000076F0000-0x0000000007D6A000-memory.dmp

        memory/4420-18-0x00000000047C0000-0x00000000047F6000-memory.dmp

        memory/4420-19-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-20-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-21-0x0000000004E30000-0x0000000005458000-memory.dmp

        memory/4420-24-0x0000000005700000-0x0000000005766000-memory.dmp

        memory/4420-23-0x0000000005690000-0x00000000056F6000-memory.dmp

        memory/4420-22-0x0000000004DB0000-0x0000000004DD2000-memory.dmp

        memory/4420-64-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-30-0x0000000005770000-0x0000000005AC4000-memory.dmp

        memory/4420-35-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-36-0x0000000005D80000-0x0000000005D9E000-memory.dmp

        memory/4420-61-0x00000000073C0000-0x00000000073C8000-memory.dmp

        memory/4420-38-0x0000000006F60000-0x0000000006F92000-memory.dmp

        memory/4420-49-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-39-0x0000000072140000-0x000000007218C000-memory.dmp

        memory/4420-50-0x0000000006310000-0x000000000632E000-memory.dmp

        memory/4420-51-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4420-52-0x0000000006FA0000-0x0000000007043000-memory.dmp

        memory/4420-54-0x00000000070A0000-0x00000000070BA000-memory.dmp

        memory/4420-60-0x00000000073E0000-0x00000000073FA000-memory.dmp

        memory/4420-55-0x0000000007110000-0x000000000711A000-memory.dmp

        memory/4420-56-0x0000000007320000-0x00000000073B6000-memory.dmp

        memory/4420-57-0x00000000072A0000-0x00000000072B1000-memory.dmp

        memory/4420-58-0x00000000072D0000-0x00000000072DE000-memory.dmp

        memory/4420-59-0x00000000072E0000-0x00000000072F4000-memory.dmp

        memory/4596-7-0x0000000005970000-0x0000000005A0C000-memory.dmp

        memory/4596-6-0x0000000004E20000-0x0000000004E2A000-memory.dmp

        memory/4596-13-0x0000000006CB0000-0x0000000006D06000-memory.dmp

        memory/4596-12-0x0000000006AA0000-0x0000000006AAC000-memory.dmp

        memory/4596-11-0x0000000006A90000-0x0000000006A98000-memory.dmp

        memory/4596-10-0x0000000005F30000-0x0000000005F42000-memory.dmp

        memory/4596-0-0x00000000744AE000-0x00000000744AF000-memory.dmp

        memory/4596-9-0x0000000005EC0000-0x0000000005F2A000-memory.dmp

        memory/4596-17-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4596-8-0x0000000005F40000-0x000000000646C000-memory.dmp

        memory/4596-5-0x00000000744A0000-0x0000000074C50000-memory.dmp

        memory/4596-4-0x0000000004E40000-0x0000000005194000-memory.dmp

        memory/4596-1-0x0000000000240000-0x00000000002B2000-memory.dmp

        memory/4596-3-0x0000000004CC0000-0x0000000004D52000-memory.dmp

        memory/4596-2-0x0000000005320000-0x00000000058C4000-memory.dmp

        memory/4984-121-0x0000000072110000-0x000000007215C000-memory.dmp