Analysis

  • max time kernel
    121s
  • max time network
    131s
  • platform
    windows7_x64
  • resource
    win7-20231129-en
  • resource tags

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    02-05-2024 18:50

General

  • Target

    Ro-exec/loader-upd.exe

  • Size

    70KB

  • MD5

    573bd20fc8382d92a7ae9eae51e738e3

  • SHA1

    55006093429df791f27e91a66e5ee63a81382b28

  • SHA256

    09036ffa342f9e5bb1e31a867dcc3b60db011baba8c0d202aff1d33195cbe729

  • SHA512

    d38736acff4128d6ce9ea17ee609ca33a37ac88f2c994cf4caf7f0eb62406a8963c33531b9f3cd020974d892c2751f3a4f67ce13ed6ba6080f97c406ccbb4aca

  • SSDEEP

    1536:PmMfwrNATngx6fPLgD9vYebv2S5NiwWW6N9dOoihkAO:LCmn463UD6ebv242FzOoiSAO

Malware Config

Extracted

Family

xworm

Attributes
  • Install_directory

    %Public%

  • install_file

    svchost.exe

  • pastebin_url

    https://pastebin.com/raw/UWpQULMP

Signatures

  • Detect Xworm Payload 4 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.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • 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.

  • Delays execution with timeout.exe 1 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 30 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\Ro-exec\loader-upd.exe
    "C:\Users\Admin\AppData\Local\Temp\Ro-exec\loader-upd.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious behavior: AddClipboardFormatListener
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of SetWindowsHookEx
    • Suspicious use of WriteProcessMemory
    PID:2748
    • 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\Ro-exec\loader-upd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3060
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'loader-upd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2664
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\svchost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2740
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'svchost.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2532
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "svchost" /tr "C:\Users\Public\svchost.exe"
      2⤵
      • Creates scheduled task(s)
      PID:1924
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /delete /f /tn "svchost"
      2⤵
        PID:768
      • C:\Windows\system32\cmd.exe
        cmd /c ""C:\Users\Admin\AppData\Local\Temp\tmpD30A.tmp.bat""
        2⤵
        • Deletes itself
        • Suspicious use of WriteProcessMemory
        PID:300
        • C:\Windows\system32\timeout.exe
          timeout 3
          3⤵
          • Delays execution with timeout.exe
          PID:1644
    • C:\Windows\system32\taskeng.exe
      taskeng.exe {6B5989AF-4208-4265-B6BB-2BFD8AB0CD7F} S-1-5-21-3627615824-4061627003-3019543961-1000:SCFGBRBT\Admin:Interactive:[1]
      1⤵
      • Suspicious use of WriteProcessMemory
      PID:1328
      • C:\Users\Public\svchost.exe
        C:\Users\Public\svchost.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:860
      • C:\Users\Public\svchost.exe
        C:\Users\Public\svchost.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of AdjustPrivilegeToken
        PID:1368

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\tmpD30A.tmp.bat

      Filesize

      170B

      MD5

      7ccecbb9378d1cbdc3412cbe1e6a8173

      SHA1

      ec8652db73c7b43bce3beae5032ff94f939d2ffc

      SHA256

      b59ea588c069f714462d1665c96d5ce08be9fc03e32a7ba07962a82baa49708b

      SHA512

      65f4216c76ec42e0c2697ff6b57538c6957a68a47feb6597b8d3d1748c63899780baf36cd30f83df8e59029b466c8a8857b50450cf4bbced81b788c7cd2414d9

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

      Filesize

      7KB

      MD5

      c3f0a39efcc8baa6ff8ea91bced0624d

      SHA1

      e2c3b8ff391ff28c1b3fe7b3e4d234532e91c932

      SHA256

      ce239074c84428fa6c5b9bb0af48f1f2c166f16d26df2805cf2c352c90cbd144

      SHA512

      c4562856c9fa900081d2969900b270faa5028258b7179f262e271bc0b2d3a0c5d03518c90a649d1b6afca0a34fcff8af6060561c4c5f6406fab5cf54e30dc39c

    • C:\Users\Public\svchost.exe

      Filesize

      70KB

      MD5

      573bd20fc8382d92a7ae9eae51e738e3

      SHA1

      55006093429df791f27e91a66e5ee63a81382b28

      SHA256

      09036ffa342f9e5bb1e31a867dcc3b60db011baba8c0d202aff1d33195cbe729

      SHA512

      d38736acff4128d6ce9ea17ee609ca33a37ac88f2c994cf4caf7f0eb62406a8963c33531b9f3cd020974d892c2751f3a4f67ce13ed6ba6080f97c406ccbb4aca

    • memory/860-48-0x00000000010D0000-0x00000000010E8000-memory.dmp

      Filesize

      96KB

    • memory/1368-50-0x00000000000E0000-0x00000000000F8000-memory.dmp

      Filesize

      96KB

    • memory/2664-14-0x000000001B770000-0x000000001BA52000-memory.dmp

      Filesize

      2.9MB

    • memory/2664-15-0x0000000001F60000-0x0000000001F68000-memory.dmp

      Filesize

      32KB

    • memory/2748-0-0x000007FEF5783000-0x000007FEF5784000-memory.dmp

      Filesize

      4KB

    • memory/2748-28-0x000000001B120000-0x000000001B1A0000-memory.dmp

      Filesize

      512KB

    • memory/2748-43-0x000007FEF5783000-0x000007FEF5784000-memory.dmp

      Filesize

      4KB

    • memory/2748-44-0x000000001B120000-0x000000001B1A0000-memory.dmp

      Filesize

      512KB

    • memory/2748-1-0x0000000000270000-0x0000000000288000-memory.dmp

      Filesize

      96KB

    • memory/3060-8-0x0000000002990000-0x0000000002998000-memory.dmp

      Filesize

      32KB

    • memory/3060-7-0x000000001B510000-0x000000001B7F2000-memory.dmp

      Filesize

      2.9MB

    • memory/3060-6-0x0000000002D30000-0x0000000002DB0000-memory.dmp

      Filesize

      512KB