Analysis

  • max time kernel
    147s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    06/03/2025, 00:28

General

  • Target

    KeyGen.exe

  • Size

    71KB

  • MD5

    7addd5b9c97fa34625567991ad42a6b0

  • SHA1

    305a6af73234cb5d7c4fab4ecb35751af2977a8c

  • SHA256

    35b6f516e20f2d01dd638055decb824ee2d83d23d7d01fe010d92f22a0e38911

  • SHA512

    aca3379e929a38f61a3e096f74618fe761d2f0723d36f0e2bd2eb37f141e87cff5ea62bc9ab4deffc07c615f579a976951ee7393ee495b32a3d57a724a1072f7

  • SSDEEP

    1536:VRLxhVj7D+Ihw3+bwxK0ZV6ypm6TNOQRu0US6Sd:Vb7hw3+bwxtQOOQRb0s

Malware Config

Extracted

Family

xworm

C2

127.0.0.1:1139

w4wrzaq8l.localto.net:1139

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 1 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
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 6 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 12 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\KeyGen.exe
    "C:\Users\Admin\AppData\Local\Temp\KeyGen.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:1060
    • 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\KeyGen.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3040
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'KeyGen.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2080
    • 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\Injector'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2868
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Injector'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2876
  • C:\Windows\explorer.exe
    "C:\Windows\explorer.exe"
    1⤵
      PID:3060

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms

      Filesize

      7KB

      MD5

      949dccd844d4e28f9fc8b9f29fe6b431

      SHA1

      0d8eb153b23810a0185afb370670db9ed0dc5827

      SHA256

      714b0b490702e291aa5d87c76221c5ca5c240dea07d2f716fc546cc6c1fb43a2

      SHA512

      d73a241eb613ea5b22ddb5c7833a236514fe91916becddd417b0f2d808056a38b5cd7f65a2645d419a1a33fcc45b520076c7c9552819bd1e6400fbdf3edb4efe

    • memory/1060-0-0x000007FEF5F13000-0x000007FEF5F14000-memory.dmp

      Filesize

      4KB

    • memory/1060-1-0x00000000010F0000-0x0000000001108000-memory.dmp

      Filesize

      96KB

    • memory/1060-29-0x000000001ABF0000-0x000000001AC70000-memory.dmp

      Filesize

      512KB

    • memory/1060-30-0x000007FEF5F13000-0x000007FEF5F14000-memory.dmp

      Filesize

      4KB

    • memory/1060-31-0x000000001ABF0000-0x000000001AC70000-memory.dmp

      Filesize

      512KB

    • memory/2080-14-0x000000001B7C0000-0x000000001BAA2000-memory.dmp

      Filesize

      2.9MB

    • memory/2080-15-0x0000000000410000-0x0000000000418000-memory.dmp

      Filesize

      32KB

    • memory/3040-6-0x0000000001F60000-0x0000000001FE0000-memory.dmp

      Filesize

      512KB

    • memory/3040-7-0x000000001B6C0000-0x000000001B9A2000-memory.dmp

      Filesize

      2.9MB

    • memory/3040-8-0x0000000001D90000-0x0000000001D98000-memory.dmp

      Filesize

      32KB