Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/03/2024, 01:02

General

  • Target
    dde68755fa515158e01e3e8f2b90772dc86e25b7e2684fc5066a5e33ee22b614.exe
  • Size 631KB
  • Sample240328-bd8spacc9w
  • SHA256 dde68755fa515158e01e3e8f2b90772dc86e25b7e2684fc5066a5e33ee22b614
  • MD5 SHA1 SHA512 SSDEEP
Score
10/10

Malware Config

Extracted

Family
  • xworm

Version
  • 3.0

C2
  • 157.254.223.19:8081

Mutex
  • i0Yq2Adr82znjD2G

Attributes
  • Install_directory

    %ProgramData%

  • install_file

    USB.exe

  • telegram

    https://api.telegram.org/bot5498061286:AAEOFPFhizSA_AbkzDV_OWcHlXVsegPpL_c/sendMessage?chat_id=1267602057

aes.plain

Signatures

  • Detect Xworm Payload 2 IoCs
  • Detect ZGRat V1 1 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • ZGRat

    ZGRat is remote access trojan written in C#.

  • Downloads MZ/PE file
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Drops startup file 2 IoCs
  • Executes dropped EXE 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: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 12 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\dde68755fa515158e01e3e8f2b90772dc86e25b7e2684fc5066a5e33ee22b614.exe
    "C:\Users\Admin\AppData\Local\Temp\dde68755fa515158e01e3e8f2b90772dc86e25b7e2684fc5066a5e33ee22b614.exe"
    1⤵
    • Suspicious use of AdjustPrivilegeToken
    PID:2052
  • C:\Users\Admin\AppData\Roaming\AuditRuleType\TypeId.exe
    C:\Users\Admin\AppData\Roaming\AuditRuleType\TypeId.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:1884
    • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
      C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2872
      • C:\Users\Admin\AppData\Local\Temp\thhkvjprkt.exe
        "C:\Users\Admin\AppData\Local\Temp\thhkvjprkt.exe"
        3⤵
        • Checks computer location settings
        • Drops startup file
        • Executes dropped EXE
        • Suspicious behavior: AddClipboardFormatListener
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:2668
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\AppData\Local\Temp\thhkvjprkt.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:3372
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'thhkvjprkt.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:2148
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\ProgramData\thhkvjprkt.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:496

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\UsageLogs\powershell.exe.log
        • Size 2KB
        • SHA256 84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f
        • MD5 SHA1 SHA512

        StartupProfileData-NonInteractive

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

        StartupProfileData-NonInteractive

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

        __PSScriptPolicyTest_vv1xxyyi.hdl.ps1

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

        thhkvjprkt.exe

        • Path C:\Users\Admin\AppData\Local\Temp\thhkvjprkt.exe
        • Size 148KB
        • SHA256 e6f7963c726231571294a06e1e8b1f03b87684cad8383bb194b957fc685685c2
        • MD5 SHA1 SHA512 SSDEEP

        TypeId.exe

        • Path C:\Users\Admin\AppData\Roaming\AuditRuleType\TypeId.exe
        • Size 631KB
        • SHA256 dde68755fa515158e01e3e8f2b90772dc86e25b7e2684fc5066a5e33ee22b614
        • MD5 SHA1 SHA512 SSDEEP

        memory/496-74-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/1884-21-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/1884-19-0x000001B8CFD60000-0x000001B8CFD70000-memory.dmp

        memory/1884-13-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/1884-14-0x000001B8CFD60000-0x000001B8CFD70000-memory.dmp

        memory/1884-15-0x000001B8CFD10000-0x000001B8CFD64000-memory.dmp

        memory/1884-18-0x000001B8CFD60000-0x000001B8CFD70000-memory.dmp

        memory/2052-6-0x0000017875DD0000-0x0000017875E24000-memory.dmp

        memory/2052-10-0x00007FFA9E5C0000-0x00007FFA9F081000-memory.dmp

        memory/2052-5-0x0000017875C50000-0x0000017875C9C000-memory.dmp

        memory/2052-4-0x0000017874390000-0x00000178743E6000-memory.dmp

        memory/2052-3-0x00000178743F0000-0x0000017874400000-memory.dmp

        memory/2052-2-0x00007FFA9E5C0000-0x00007FFA9F081000-memory.dmp

        memory/2052-0-0x0000017873F40000-0x0000017873FE2000-memory.dmp

        memory/2052-1-0x0000017876520000-0x0000017876624000-memory.dmp

        memory/2148-49-0x000001CE29F00000-0x000001CE29F10000-memory.dmp

        memory/2148-61-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2148-48-0x000001CE29F00000-0x000001CE29F10000-memory.dmp

        memory/2148-47-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2668-28-0x0000000000B50000-0x0000000000B7A000-memory.dmp

        memory/2668-83-0x000000001B8B0000-0x000000001B8C0000-memory.dmp

        memory/2668-82-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2668-79-0x000000001B8B0000-0x000000001B8C0000-memory.dmp

        memory/2668-29-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2872-72-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2872-23-0x00000261200C0000-0x00000261200D0000-memory.dmp

        memory/2872-22-0x00000261200C0000-0x00000261200D0000-memory.dmp

        memory/2872-20-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/2872-80-0x00000261200C0000-0x00000261200D0000-memory.dmp

        memory/2872-81-0x00000261200C0000-0x00000261200D0000-memory.dmp

        memory/3372-45-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/3372-31-0x000001DB76DB0000-0x000001DB76DC0000-memory.dmp

        memory/3372-42-0x000001DB76D70000-0x000001DB76D92000-memory.dmp

        memory/3372-30-0x00007FFA9E270000-0x00007FFA9ED31000-memory.dmp

        memory/3372-32-0x000001DB76DB0000-0x000001DB76DC0000-memory.dmp