Analysis

  • max time kernel
    55s
  • max time network
    66s
  • platform
    windows11-21h2_x64
  • resource
    win11-20241023-en
  • resource tags

    arch:x64arch:x86image:win11-20241023-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    09-11-2024 09:52

General

  • Target

    test2.exe

  • Size

    77KB

  • MD5

    bf48a7928ec32e594ee49cfee2c91414

  • SHA1

    73c8202dd8a175d68094a8113daafe1f8ed5b45e

  • SHA256

    9711bbfc8a0ce69d749fc22b8d4e484de5c96c5d667c0f62910b930afa491587

  • SHA512

    dc4aabc93fe82427acc3f231e1db1a2b2286cde288a33eb00ebbd4c816677d35ebfed015b8a9ae3731536f8e1d0a8b0611f404a7601bd901edf5efcb00ca00b4

  • SSDEEP

    1536:jzxKxF1kLHgDhMfDcNIolG9TEN+b1L99dFlxzz6DlP6Om7OH6EwaDF:j1q6fwNo1EN+b999lFAnm7OarCF

Malware Config

Extracted

Family

xworm

C2

0.tcp.ap.ngrok.io:4411

Attributes
  • Install_directory

    %Public%

  • install_file

    hh.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Xworm family
  • 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.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 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\test2.exe
    "C:\Users\Admin\AppData\Local\Temp\test2.exe"
    1⤵
    • 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:948
    • 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\test2.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3808
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'test2.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2312
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\hh.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:1012
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'hh.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3060
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "hh" /tr "C:\Users\Public\hh.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:3148
  • C:\Users\Public\hh.exe
    C:\Users\Public\hh.exe
    1⤵
    • Executes dropped EXE
    • Suspicious use of AdjustPrivilegeToken
    PID:4988

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

    627073ee3ca9676911bee35548eff2b8

    SHA1

    4c4b68c65e2cab9864b51167d710aa29ebdcff2e

    SHA256

    85b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c

    SHA512

    3c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb

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

    Filesize

    944B

    MD5

    2e8eb51096d6f6781456fef7df731d97

    SHA1

    ec2aaf851a618fb43c3d040a13a71997c25bda43

    SHA256

    96bfd9dd5883329927fe8c08b8956355a1a6ceb30ceeb5d4252b346df32bc864

    SHA512

    0a73dc9a49f92d9dd556c2ca2e36761890b3538f355ee1f013e7cf648d8c4d065f28046cd4a167db3dea304d1fbcbcea68d11ce6e12a3f20f8b6c018a60422d2

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

    Filesize

    944B

    MD5

    190b28f40c0edd3cc08d0fd3aca4779a

    SHA1

    425b98532b6a18aa2baece47605f1cf6c8cfbd11

    SHA256

    8a2c650430d93841587c726ffff72fb64e02d2da24c9d8df17e835d1124d53ce

    SHA512

    8d1c7a20b324937face0e0c9249d635b3dfcfbad004928de731baf0d72df9ee64fb3f482451d20eb55fa0364311a9806e9d49ae4eafca38d6b58a988f8807110

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

    Filesize

    944B

    MD5

    cad6ee71e2f46608490520923ec5d2ff

    SHA1

    e975523ab16e08c69c671db25eb18a17ebeddeae

    SHA256

    a844aef1c1a30f44b01052bc36aa683e0f5a62b1b98bd4db09350630a223a753

    SHA512

    5fcd17d2ea19c1882d20471a2b9ae35eb0e46f3a34346447ce0f29ce193cc52d61fc77c5998e47c3a82c00cd6445a45a3083aa041c9b247397fce79ebeda9163

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_iikpmz52.z5e.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • C:\Users\Public\hh.exe

    Filesize

    77KB

    MD5

    bf48a7928ec32e594ee49cfee2c91414

    SHA1

    73c8202dd8a175d68094a8113daafe1f8ed5b45e

    SHA256

    9711bbfc8a0ce69d749fc22b8d4e484de5c96c5d667c0f62910b930afa491587

    SHA512

    dc4aabc93fe82427acc3f231e1db1a2b2286cde288a33eb00ebbd4c816677d35ebfed015b8a9ae3731536f8e1d0a8b0611f404a7601bd901edf5efcb00ca00b4

  • memory/948-1-0x0000000000E60000-0x0000000000E7A000-memory.dmp

    Filesize

    104KB

  • memory/948-0-0x00007FFF24493000-0x00007FFF24495000-memory.dmp

    Filesize

    8KB

  • memory/948-56-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/948-55-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/948-50-0x00007FFF24493000-0x00007FFF24495000-memory.dmp

    Filesize

    8KB

  • memory/3808-11-0x000001856A0A0000-0x000001856A0C2000-memory.dmp

    Filesize

    136KB

  • memory/3808-18-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/3808-15-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/3808-14-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/3808-12-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/3808-13-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB

  • memory/3808-10-0x00007FFF24490000-0x00007FFF24F52000-memory.dmp

    Filesize

    10.8MB