Analysis

  • max time kernel
    118s
  • max time network
    111s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/11/2024, 02:35

General

  • Target
    a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe
  • Size 555KB
  • Sample241127-c2575syqfm
  • SHA256 a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 3.1

C2
  • 87.121.86.8:4020

Mutex
  • ssjpS2lhbkGsnEgT

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • Guloader family
  • Guloader,Cloudeye

    A shellcode based downloader first seen in 2020.

  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 IoCs

    Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.

  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Loads dropped DLL 1 IoCs
  • Suspicious use of NtCreateThreadExHideFromDebugger 1 IoCs
  • Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Windows directory 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 5 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 7 IoCs
  • Suspicious behavior: MapViewOfSection 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe
    "C:\Users\Admin\AppData\Local\Temp\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe"
    1⤵
    • Loads dropped DLL
    • Suspicious use of NtSetInformationThreadHideFromDebugger
    • Suspicious use of SetThreadContext
    • Drops file in Windows directory
    • System Location Discovery: System Language Discovery
    • Suspicious behavior: MapViewOfSection
    • Suspicious use of WriteProcessMemory
    PID:2176
    • C:\Users\Admin\AppData\Local\Temp\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe
      "C:\Users\Admin\AppData\Local\Temp\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe"
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Suspicious use of NtCreateThreadExHideFromDebugger
      • Suspicious use of NtSetInformationThreadHideFromDebugger
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2112
      • 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\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1628
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1432
      • 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\a7247c64cc0168290ca3b210e59ef629b46f513205bc6562ec79cdd2cda71725N.exe'
        3⤵
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:116

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_vsvramhw.lpv.ps1

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

        System.dll

        • Path C:\Users\Admin\AppData\Local\Temp\nsg886B.tmp\System.dll
        • Size 11KB
        • SHA256 a632d74332b3f08f834c732a103dafeb09a540823a2217ca7f49159755e8f1d7
        • MD5 SHA1 SHA512 SSDEEP

        memory/116-94-0x000000006EB70000-0x000000006EBBC000-memory.dmp

        memory/116-92-0x0000000005F90000-0x00000000062E4000-memory.dmp

        memory/1432-72-0x000000006EB70000-0x000000006EBBC000-memory.dmp

        memory/1432-61-0x0000000006050000-0x00000000063A4000-memory.dmp

        memory/1628-36-0x0000000006E80000-0x0000000006EB2000-memory.dmp

        memory/1628-51-0x0000000007240000-0x000000000724A000-memory.dmp

        memory/1628-18-0x0000000005130000-0x0000000005758000-memory.dmp

        memory/1628-20-0x0000000004FF0000-0x0000000005012000-memory.dmp

        memory/1628-22-0x0000000005840000-0x00000000058A6000-memory.dmp

        memory/1628-21-0x00000000057D0000-0x0000000005836000-memory.dmp

        memory/1628-57-0x00000000074F0000-0x00000000074F8000-memory.dmp

        memory/1628-56-0x0000000007510000-0x000000000752A000-memory.dmp

        memory/1628-29-0x00000000058B0000-0x0000000005C04000-memory.dmp

        memory/1628-34-0x0000000005EB0000-0x0000000005ECE000-memory.dmp

        memory/1628-35-0x0000000005ED0000-0x0000000005F1C000-memory.dmp

        memory/1628-55-0x0000000007410000-0x0000000007424000-memory.dmp

        memory/1628-37-0x000000006EB70000-0x000000006EBBC000-memory.dmp

        memory/1628-47-0x0000000006470000-0x000000000648E000-memory.dmp

        memory/1628-48-0x0000000006EC0000-0x0000000006F63000-memory.dmp

        memory/1628-49-0x0000000007810000-0x0000000007E8A000-memory.dmp

        memory/1628-50-0x00000000071D0000-0x00000000071EA000-memory.dmp

        memory/1628-17-0x0000000002580000-0x00000000025B6000-memory.dmp

        memory/1628-52-0x0000000007450000-0x00000000074E6000-memory.dmp

        memory/1628-53-0x00000000073D0000-0x00000000073E1000-memory.dmp

        memory/1628-54-0x0000000007400000-0x000000000740E000-memory.dmp

        memory/2112-110-0x0000000037180000-0x0000000037724000-memory.dmp

        memory/2112-28-0x0000000001A40000-0x0000000003F79000-memory.dmp

        memory/2112-16-0x00000000367A0000-0x000000003683C000-memory.dmp

        memory/2112-14-0x00000000007E0000-0x0000000001A34000-memory.dmp

        memory/2112-13-0x0000000001A40000-0x0000000003F79000-memory.dmp

        memory/2112-112-0x00000000379A0000-0x00000000379AA000-memory.dmp

        memory/2112-15-0x00000000007E0000-0x00000000007F0000-memory.dmp

        memory/2112-111-0x00000000378E0000-0x0000000037972000-memory.dmp

        memory/2176-11-0x0000000002E00000-0x0000000005339000-memory.dmp

        memory/2176-8-0x0000000002E00000-0x0000000005339000-memory.dmp

        memory/2176-9-0x00000000779B1000-0x0000000077AD1000-memory.dmp

        memory/2176-10-0x00000000746A4000-0x00000000746A5000-memory.dmp

        memory/2176-12-0x0000000002E00000-0x0000000005339000-memory.dmp