Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11/03/2024, 12:44

General

  • Target
    file.exe
  • Size 419KB
  • Sample240311-pygrlaba3x
  • SHA256 585d1fb4f288974b683c5abfb10c97d7d2ae3f59c2bcfd78ba272e3be2cd7815
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • xworm

Version
  • 5.0

C2
  • 5.182.87.154:7000

Mutex
  • VMFidhoqn75fm5lJ

Attributes
  • Install_directory

    %Temp%

  • install_file

    mdnsresp.exe

aes.plain

Signatures

  • Detect Xworm Payload 1 IoCs
  • PureLog Stealer

    PureLog Stealer is an infostealer written in C#.

  • PureLog Stealer payload 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 2 IoCs

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

  • 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4476
    • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -enc QQBkAGQALQBNAHAAUAByAGUAZgBlAHIAZQBuAGMAZQAgAC0ARQB4AGMAbAB1AHMAaQBvAG4AUABhAHQAaAAgAEMAOgBcAFUAcwBlAHIAcwBcAEEAZABtAGkAbgBcAEEAcABwAEQAYQB0AGEAXABMAG8AYwBhAGwAXABUAGUAbQBwAFwAZgBpAGwAZQAuAGUAeABlADsAIABBAGQAZAAtAE0AcABQAHIAZQBmAGUAcgBlAG4AYwBlACAALQBFAHgAYwBsAHUAcwBpAG8AbgBQAHIAbwBjAGUAcwBzACAAZgBpAGwAZQAuAGUAeABlADsA
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1420
    • C:\Users\Admin\AppData\Local\Temp\file.exe
      C:\Users\Admin\AppData\Local\Temp\file.exe
      2⤵
      • Checks computer location settings
      • Drops startup file
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of SetWindowsHookEx
      • Suspicious use of WriteProcessMemory
      PID:2224
      • 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\file.exe'
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:556
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'file.exe'
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3496
      • 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\mdnsresp.exe'
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:4456
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'mdnsresp.exe'
        3⤵
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:1992

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_p5153zfz.e4f.ps1

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

        memory/556-89-0x0000000002610000-0x0000000002620000-memory.dmp

        memory/556-90-0x00000000071D0000-0x0000000007273000-memory.dmp

        memory/556-91-0x0000000007540000-0x0000000007551000-memory.dmp

        memory/556-88-0x0000000002610000-0x0000000002620000-memory.dmp

        memory/556-78-0x00000000710B0000-0x00000000710FC000-memory.dmp

        memory/556-77-0x000000007F070000-0x000000007F080000-memory.dmp

        memory/556-76-0x00000000063E0000-0x000000000642C000-memory.dmp

        memory/556-92-0x0000000007570000-0x0000000007584000-memory.dmp

        memory/556-65-0x0000000002610000-0x0000000002620000-memory.dmp

        memory/556-64-0x0000000002610000-0x0000000002620000-memory.dmp

        memory/556-63-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/556-94-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/1420-18-0x0000000004830000-0x0000000004840000-memory.dmp

        memory/1420-49-0x0000000006D20000-0x0000000006DC3000-memory.dmp

        memory/1420-21-0x00000000055C0000-0x0000000005626000-memory.dmp

        memory/1420-22-0x00000000056E0000-0x0000000005746000-memory.dmp

        memory/1420-19-0x0000000004E70000-0x0000000005498000-memory.dmp

        memory/1420-32-0x0000000005850000-0x0000000005BA4000-memory.dmp

        memory/1420-33-0x0000000005D20000-0x0000000005D3E000-memory.dmp

        memory/1420-34-0x0000000005D70000-0x0000000005DBC000-memory.dmp

        memory/1420-35-0x000000007F500000-0x000000007F510000-memory.dmp

        memory/1420-36-0x0000000006300000-0x0000000006332000-memory.dmp

        memory/1420-37-0x0000000070F80000-0x0000000070FCC000-memory.dmp

        memory/1420-48-0x0000000006D00000-0x0000000006D1E000-memory.dmp

        memory/1420-47-0x0000000004830000-0x0000000004840000-memory.dmp

        memory/1420-20-0x00000000054A0000-0x00000000054C2000-memory.dmp

        memory/1420-50-0x00000000076A0000-0x0000000007D1A000-memory.dmp

        memory/1420-51-0x0000000007050000-0x000000000706A000-memory.dmp

        memory/1420-52-0x00000000070C0000-0x00000000070CA000-memory.dmp

        memory/1420-53-0x00000000072D0000-0x0000000007366000-memory.dmp

        memory/1420-54-0x0000000007250000-0x0000000007261000-memory.dmp

        memory/1420-55-0x0000000007280000-0x000000000728E000-memory.dmp

        memory/1420-56-0x0000000007290000-0x00000000072A4000-memory.dmp

        memory/1420-57-0x0000000007390000-0x00000000073AA000-memory.dmp

        memory/1420-58-0x0000000007370000-0x0000000007378000-memory.dmp

        memory/1420-61-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/1420-12-0x0000000004780000-0x00000000047B6000-memory.dmp

        memory/1420-17-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/1420-14-0x0000000004830000-0x0000000004840000-memory.dmp

        memory/2224-15-0x0000000005890000-0x000000000592C000-memory.dmp

        memory/2224-10-0x0000000000400000-0x0000000000410000-memory.dmp

        memory/2224-109-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/2224-13-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/3496-122-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/3496-108-0x00000000710B0000-0x00000000710FC000-memory.dmp

        memory/3496-120-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/3496-95-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/3496-96-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/3496-97-0x0000000004E10000-0x0000000004E20000-memory.dmp

        memory/3496-110-0x000000007EFB0000-0x000000007EFC0000-memory.dmp

        memory/4456-136-0x00000000710B0000-0x00000000710FC000-memory.dmp

        memory/4456-125-0x0000000002160000-0x0000000002170000-memory.dmp

        memory/4456-124-0x0000000002160000-0x0000000002170000-memory.dmp

        memory/4456-123-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/4476-4-0x0000000004ED0000-0x0000000004EE0000-memory.dmp

        memory/4476-0-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/4476-3-0x0000000004C60000-0x0000000004CF2000-memory.dmp

        memory/4476-9-0x0000000004F70000-0x0000000004FBC000-memory.dmp

        memory/4476-16-0x0000000075170000-0x0000000075920000-memory.dmp

        memory/4476-5-0x0000000004C40000-0x0000000004C4A000-memory.dmp

        memory/4476-6-0x0000000004E80000-0x0000000004EC8000-memory.dmp

        memory/4476-7-0x0000000004EE0000-0x0000000004F10000-memory.dmp

        memory/4476-2-0x0000000005170000-0x0000000005714000-memory.dmp

        memory/4476-8-0x0000000004F30000-0x0000000004F60000-memory.dmp

        memory/4476-1-0x00000000001D0000-0x0000000000240000-memory.dmp