Analysis

  • max time kernel
    148s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240221-en
  • resource tags

    arch:x64arch:x86image:win7-20240221-enlocale:en-usos:windows7-x64system
  • submitted
    22-05-2024 21:13

General

  • Target

    324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe

  • Size

    73KB

  • MD5

    d1f0deefdb07b39c1e18729e4af99f9f

  • SHA1

    42aeb2f9ca2230bab8d731f31f812e83b33a2203

  • SHA256

    324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898

  • SHA512

    67dc09db1b8d4dff43efa7f65c4cbca12e8a4cb2e187eb5632dab1e3c7ea268e4527a8dba416da1c92fe3fbe9e6b0337a0fea226083f4fb2cab69a7f01db00eb

  • SSDEEP

    1536:GUxpUnNr95mi/T+TbyObuR1rLjQM+0bAPCI68UOTmvRKJe4/:GUMNxTqTmObm174lLUOw8Jj/

Malware Config

Extracted

Family

xworm

C2

192.168.68.100:5552

Attributes
  • Install_directory

    %Userprofile%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 3 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Command and Scripting Interpreter: PowerShell 1 TTPs 3 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 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).

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 18 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\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
    "C:\Users\Admin\AppData\Local\Temp\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.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:2924
    • 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\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2632
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess '324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2696
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2472
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898" /tr "C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe"
      2⤵
      • Creates scheduled task(s)
      PID:2984
  • C:\Windows\system32\taskeng.exe
    taskeng.exe {3CCBB810-A4EB-4D21-8B8F-032E3E627AD8} S-1-5-21-2297530677-1229052932-2803917579-1000:HKULBIBU\Admin:Interactive:[1]
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2404
    • C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
      C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2804
    • C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
      C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
      2⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:336

Network

MITRE ATT&CK Matrix ATT&CK v13

Execution

Command and Scripting Interpreter

1
T1059

PowerShell

1
T1059.001

Scheduled Task/Job

1
T1053

Persistence

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Privilege Escalation

Boot or Logon Autostart Execution

1
T1547

Registry Run Keys / Startup Folder

1
T1547.001

Scheduled Task/Job

1
T1053

Defense Evasion

Modify Registry

1
T1112

Discovery

System Information Discovery

1
T1082

Query Registry

1
T1012

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898.exe
    Filesize

    73KB

    MD5

    d1f0deefdb07b39c1e18729e4af99f9f

    SHA1

    42aeb2f9ca2230bab8d731f31f812e83b33a2203

    SHA256

    324217674377be614ac6cdb886d3daef10d68842061a90df2430faf281076898

    SHA512

    67dc09db1b8d4dff43efa7f65c4cbca12e8a4cb2e187eb5632dab1e3c7ea268e4527a8dba416da1c92fe3fbe9e6b0337a0fea226083f4fb2cab69a7f01db00eb

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

    7KB

    MD5

    576876358949cbd0372ff6cf7a165dbf

    SHA1

    a3c6114b2dcdad56ff7665a593c8949323c54f33

    SHA256

    f1f176eb6100d83a9eb58f4c041ecf0d5e3b1de8c60d9dfe53c6b7804a67b557

    SHA512

    c8e61d16630a2c3a88794f5ec2263e9f449f668a0e250296e6875cdd64e563828d8d491b0910d5662984d88c8cbcc0297c52f20314d16e78d5ab7a5ada1646de

  • \??\PIPE\srvsvc
    MD5

    d41d8cd98f00b204e9800998ecf8427e

    SHA1

    da39a3ee5e6b4b0d3255bfef95601890afd80709

    SHA256

    e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

    SHA512

    cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

  • memory/2632-7-0x0000000001D80000-0x0000000001E00000-memory.dmp
    Filesize

    512KB

  • memory/2632-8-0x000000001B750000-0x000000001BA32000-memory.dmp
    Filesize

    2.9MB

  • memory/2632-9-0x0000000001E10000-0x0000000001E18000-memory.dmp
    Filesize

    32KB

  • memory/2696-15-0x000000001B500000-0x000000001B7E2000-memory.dmp
    Filesize

    2.9MB

  • memory/2696-16-0x0000000002990000-0x0000000002998000-memory.dmp
    Filesize

    32KB

  • memory/2804-36-0x0000000000C10000-0x0000000000C28000-memory.dmp
    Filesize

    96KB

  • memory/2924-2-0x000007FEF5680000-0x000007FEF606C000-memory.dmp
    Filesize

    9.9MB

  • memory/2924-0-0x000007FEF5683000-0x000007FEF5684000-memory.dmp
    Filesize

    4KB

  • memory/2924-1-0x0000000000390000-0x00000000003A8000-memory.dmp
    Filesize

    96KB

  • memory/2924-31-0x000007FEF5683000-0x000007FEF5684000-memory.dmp
    Filesize

    4KB

  • memory/2924-32-0x000007FEF5680000-0x000007FEF606C000-memory.dmp
    Filesize

    9.9MB