Resubmissions

05/08/2024, 20:52

240805-znsffsxhrj 10

05/08/2024, 18:48

240805-xf4gmsvdpm 10

05/08/2024, 18:34

240805-w7xbzavbjn 10

Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05/08/2024, 18:48

General

  • Target

    xdwd.exe

  • Size

    80KB

  • MD5

    3ade831c97437e1846fbf4916c3294cd

  • SHA1

    54dbe45ba91a1a554c8cd807d2b55d50b4e8e4aa

  • SHA256

    d08fe746864d0cd1878ae16004cb6e598ccf59b15a36110daa1fbd870a86718d

  • SHA512

    7b684c6c4287bb5fdc5059a82b3599f13936417288cbb76cdbcfa100be4edac744790b8b364bc6184be3a34544d0df9c0b2ed7b61b7c5be0c36a4b3e91c9e5f7

  • SSDEEP

    1536:mA8z0y19O6edHYBW8j6bZIW+MjM0aK6jOeuNDIEjh:mF39qd4b6b6Wg0OOeuyEN

Malware Config

Extracted

Family

xworm

Version

3.1

Attributes
  • Install_directory

    %LocalAppData%

  • install_file

    USB.exe

  • pastebin_url

    https://pastebin.com/raw/gf3CpGLZ

Signatures

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

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

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

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Modifies registry class 1 IoCs
  • 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 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 13 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 64 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 8 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\xdwd.exe
    "C:\Users\Admin\AppData\Local\Temp\xdwd.exe"
    1⤵
    • Checks computer location settings
    • 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:748
    • 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\xdwd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:5024
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'xdwd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4548
    • 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\xdwd.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:712
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "xdwd" /tr "C:\Users\Admin\AppData\Local\xdwd.exe"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4492
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:3960
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:2160
    • C:\Users\Admin\AppData\Local\xdwd.exe
      C:\Users\Admin\AppData\Local\xdwd.exe
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:388
    • C:\Users\Admin\AppData\Local\xdwd.exe
      "C:\Users\Admin\AppData\Local\xdwd.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:2868
    • C:\Users\Admin\AppData\Local\xdwd.exe
      "C:\Users\Admin\AppData\Local\xdwd.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:4832

    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\CLR_v4.0\UsageLogs\xdwd.exe.log

      Filesize

      654B

      MD5

      2ff39f6c7249774be85fd60a8f9a245e

      SHA1

      684ff36b31aedc1e587c8496c02722c6698c1c4e

      SHA256

      e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

      SHA512

      1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

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

      Filesize

      944B

      MD5

      77d622bb1a5b250869a3238b9bc1402b

      SHA1

      d47f4003c2554b9dfc4c16f22460b331886b191b

      SHA256

      f97ff12a8abf4bf88bb6497bd2ac2da12628c8847a8ba5a9026bdbb76507cdfb

      SHA512

      d6789b5499f23c9035375a102271e17a8a82e57d6f5312fa24242e08a83efdeb8becb7622f55c4cf1b89c7d864b445df11f4d994cf7e2f87a900535bcca12fd9

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

      Filesize

      944B

      MD5

      eb1ad317bd25b55b2bbdce8a28a74a94

      SHA1

      98a3978be4d10d62e7411946474579ee5bdc5ea6

      SHA256

      9e94e7c9ac6134ee30e79498558aa1a5a1ac79a643666c3f8922eed215dd3a98

      SHA512

      d011f266c0240d84470c0f9577cd9e4927309bd19bb38570ca9704ed8e1d159f9bea982a59d3eefef72ce7a10bd81208b82e88ef57c7af587f7437a89769adc0

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_udczr34d.sac.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Local\xdwd.exe

      Filesize

      80KB

      MD5

      3ade831c97437e1846fbf4916c3294cd

      SHA1

      54dbe45ba91a1a554c8cd807d2b55d50b4e8e4aa

      SHA256

      d08fe746864d0cd1878ae16004cb6e598ccf59b15a36110daa1fbd870a86718d

      SHA512

      7b684c6c4287bb5fdc5059a82b3599f13936417288cbb76cdbcfa100be4edac744790b8b364bc6184be3a34544d0df9c0b2ed7b61b7c5be0c36a4b3e91c9e5f7

    • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\xdwd.lnk

      Filesize

      949B

      MD5

      45514d464aa21855844809d177e00e85

      SHA1

      f619ca868d10b949af6d65fd4a3b3b5830acccd9

      SHA256

      273d5dfdd2ea2fcc374c351f3caf9e6ca5b2c09d1ef4b3f8134a863665406e0f

      SHA512

      f8b404042b24279ad5bf6ba13e83d4fea3a76053b9e605351c16895b72eb8a84dd7644a50f41319b612e51130105d9bff0e6840e291b254635d48f02ce4b0075

    • memory/748-1-0x0000000000B70000-0x0000000000B8A000-memory.dmp

      Filesize

      104KB

    • memory/748-2-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB

    • memory/748-66-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB

    • memory/748-65-0x00007FFED3F63000-0x00007FFED3F65000-memory.dmp

      Filesize

      8KB

    • memory/748-0-0x00007FFED3F63000-0x00007FFED3F65000-memory.dmp

      Filesize

      8KB

    • memory/3960-61-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-60-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-51-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-52-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-56-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-62-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-57-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-50-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-59-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/3960-58-0x0000029A4FC00000-0x0000029A4FC01000-memory.dmp

      Filesize

      4KB

    • memory/5024-18-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB

    • memory/5024-11-0x0000022B73720000-0x0000022B73742000-memory.dmp

      Filesize

      136KB

    • memory/5024-5-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB

    • memory/5024-4-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB

    • memory/5024-3-0x00007FFED3F60000-0x00007FFED4A21000-memory.dmp

      Filesize

      10.8MB