Analysis

  • max time kernel
    114s
  • max time network
    102s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-08-2024 19:54

General

  • Target

    9858b58784c5c31cb009b460f358dbe0N.exe

  • Size

    59KB

  • MD5

    9858b58784c5c31cb009b460f358dbe0

  • SHA1

    4071b7d709faf8e420a8f42977c99fcf40fd5eb2

  • SHA256

    1d9d5421af5c484e34ba49a9a7ec61e1dfdef6c41b0017ff761342589dacccfb

  • SHA512

    ceeb63003184857240e1a670cbea6f8c469dfc134f066f771944518a3de32550877032661d14bf8a11c61b6445d35c9658be619d1aa35841c1ee6c723b439167

  • SSDEEP

    1536:5gkAOwHZCiQnb5k0wLCzlcaH9nSHi9dS1EAd8IIu:5QYnb5Cuz9SHi3gEA6IIu

Malware Config

Extracted

Family

xworm

C2

127.0.0.1:43771

y-drives.gl.at.ply.gg:43771:43771

Attributes
  • Install_directory

    %AppData%

  • install_file

    dllhuy.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 1 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
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\9858b58784c5c31cb009b460f358dbe0N.exe
    "C:\Users\Admin\AppData\Local\Temp\9858b58784c5c31cb009b460f358dbe0N.exe"
    1⤵
    • Checks computer location settings
    • Drops startup file
    • Adds Run key to start application
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4012
    • 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\9858b58784c5c31cb009b460f358dbe0N.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3180
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '9858b58784c5c31cb009b460f358dbe0N.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2444
    • 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\Roaming\dllhuy.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2680
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'dllhuy.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4320

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    2KB

    MD5

    d85ba6ff808d9e5444a4b369f5bc2730

    SHA1

    31aa9d96590fff6981b315e0b391b575e4c0804a

    SHA256

    84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

    SHA512

    8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    6c47b3f4e68eebd47e9332eebfd2dd4e

    SHA1

    67f0b143336d7db7b281ed3de5e877fa87261834

    SHA256

    8c48b1f2338e5b24094821f41121d2221f1cb3200338f46df49f64d1c4bc3e0c

    SHA512

    0acf302a9fc971ef9df65ed42c47ea17828e54dff685f4434f360556fd27cdc26a75069f00dcdc14ba174893c6fd7a2cfd8c6c07be3ce35dafee0a006914eaca

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    87710d90c6f6fd01fd6c58ed33b40b08

    SHA1

    16f74fba4891c24d5dde0c2911d39bbee5a059e3

    SHA256

    9da5fe088f7f3da66368c88020cd77b42dc817c97631c0dabce87a39d706eef6

    SHA512

    b0afd32e7eb777f16f27b15820d93ec811a095b8a67827c4ae4e81018cae5d5dca84f21b58bb0f79eeaa8d9fde3f6fe816aa2a92b6603ba2e66960b60943faef

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    944B

    MD5

    36ce492590dae6a99dc720c4b441342d

    SHA1

    f33cf61dad0c21b77afa23e8288152dd51effeb3

    SHA256

    e049e9723cef24d71a65551cfbe9463e3ab6de1c9ac059511ae5f461a3becde5

    SHA512

    f291a68555f9970fe51f7dae052dfd5e2c01ff4ebb275d8a348bb7fcb6eb744fb3ce55006a850a9571ae8d0c5763f87ff1ce0f0f67e83794f4cc0056aa27935d

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_1jjw3bnu.3mq.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/3180-3-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB

  • memory/3180-11-0x0000016DF5A40000-0x0000016DF5A62000-memory.dmp

    Filesize

    136KB

  • memory/3180-15-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB

  • memory/3180-18-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB

  • memory/3180-4-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB

  • memory/4012-0-0x00007FFF213E3000-0x00007FFF213E5000-memory.dmp

    Filesize

    8KB

  • memory/4012-2-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB

  • memory/4012-1-0x00000000008C0000-0x00000000008D4000-memory.dmp

    Filesize

    80KB

  • memory/4012-57-0x00007FFF213E3000-0x00007FFF213E5000-memory.dmp

    Filesize

    8KB

  • memory/4012-58-0x00007FFF213E0000-0x00007FFF21EA1000-memory.dmp

    Filesize

    10.8MB