Analysis

  • max time kernel
    300s
  • max time network
    298s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-05-2024 10:27

General

  • Target

    rew.exe

  • Size

    137KB

  • MD5

    6fb74b7167db1e3749bf7d0141cdb6bb

  • SHA1

    3fba464b23491949ad74d3d549d917284deacadb

  • SHA256

    20f4a10545e41b42ac85fff035062ab142a5007e473626ed85c45b2e54402a63

  • SHA512

    b291fa76b37a213f6ef9f15ea7c978d2155005c8cffc3e458633256a34dd1d105bc72e6a580d440e338c8198bcfd5fc9d36d989ba52e22faf8b6da4b046f6f01

  • SSDEEP

    3072:fTMF4B4as+b9GCF+O4NGJUrXni52F47927ogw5az:umRbYgUrXni2rw

Malware Config

Extracted

Family

xworm

C2

127.0.0.1:4328

20.ip.gl.ply.gg:4328

Attributes
  • Install_directory

    %AppData%

  • install_file

    XClient.exe

Signatures

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

  • 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 1 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).

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

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

  • Checks processor information in registry 2 TTPs 2 IoCs

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

  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 64 IoCs
  • Suspicious behavior: GetForegroundWindowSpam 1 IoCs
  • Suspicious use of AdjustPrivilegeToken 10 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

Processes

  • C:\Users\Admin\AppData\Local\Temp\rew.exe
    "C:\Users\Admin\AppData\Local\Temp\rew.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:1692
    • 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\rew.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3788
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'rew.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:3284
    • 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\XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2704
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'XClient.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2784
  • C:\Windows\system32\taskmgr.exe
    "C:\Windows\system32\taskmgr.exe" /4
    1⤵
    • Checks SCSI registry key(s)
    • Checks processor information in registry
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: GetForegroundWindowSpam
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    PID:4188
  • C:\Windows\System32\rundll32.exe
    C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
    1⤵
      PID:3928
    • C:\Users\Admin\AppData\Roaming\XClient.exe
      "C:\Users\Admin\AppData\Roaming\XClient.exe"
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:4456

    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\Windows\PowerShell\StartupProfileData-NonInteractive

      Filesize

      944B

      MD5

      6d42b6da621e8df5674e26b799c8e2aa

      SHA1

      ab3ce1327ea1eeedb987ec823d5e0cb146bafa48

      SHA256

      5ab6a1726f425c6d0158f55eb8d81754ddedd51e651aa0a899a29b7a58619c4c

      SHA512

      53faffbda8a835bc1143e894c118c15901a5fd09cfc2224dd2f754c06dc794897315049a579b9a8382d4564f071576045aaaf824019b7139d939152dca38ce29

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

      Filesize

      944B

      MD5

      2d06ce10e4e5b9e174b5ebbdad300fad

      SHA1

      bcc1c231e22238cef02ae25331320060ada2f131

      SHA256

      87d1dd56f12a88907ba5aebca8d555443d6f77ed214497277cc8bcd31c669f2c

      SHA512

      38cfbeb59605854ae4fcfae8619a6b26bd916148acfb5636383672a3960b45ca41fed5c241f97465129e92eaf78c4c85dcf258f1ab501a2bf771287ce04f76a7

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

      Filesize

      944B

      MD5

      cfb22e9b9c08bb1cfe944b622eb7adcb

      SHA1

      a299c701fb4da010999e61f9127262c7deb4fd97

      SHA256

      f60461e45422c16638ab514984d3a3b4e1ec8522c224543046a7d8fdf0090af2

      SHA512

      67962f0976a16c4323d14d4f7f6fe23bf1145db115be59b25f8fdfbe49d2d0672ed868ce7d69cb33b790f50f37b1187d5bd64fddfeb20260c88d4c5f75be4a57

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_roewe3to.0us.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

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

      Filesize

      771B

      MD5

      d15ab7f947b4333bb0ac0b6f94dc7c72

      SHA1

      2840ba07457559c358f2ccc08badc0e74a532106

      SHA256

      5ef1713c9a9551c903a41e191bc9a4d59c6ccfc62de55aca0d0f608874d0e8a5

      SHA512

      328f66901cbefcc90e918ce9040088d6b70d7fd5d0d2d269ca292b2f814a76c516bf1ddf98a905f3bf28fd2f44f499562606327bc51b43056eb45177813bc192

    • C:\Users\Admin\AppData\Roaming\XClient.exe

      Filesize

      137KB

      MD5

      6fb74b7167db1e3749bf7d0141cdb6bb

      SHA1

      3fba464b23491949ad74d3d549d917284deacadb

      SHA256

      20f4a10545e41b42ac85fff035062ab142a5007e473626ed85c45b2e54402a63

      SHA512

      b291fa76b37a213f6ef9f15ea7c978d2155005c8cffc3e458633256a34dd1d105bc72e6a580d440e338c8198bcfd5fc9d36d989ba52e22faf8b6da4b046f6f01

    • memory/1692-56-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/1692-0-0x00007FFA4C3A3000-0x00007FFA4C3A5000-memory.dmp

      Filesize

      8KB

    • memory/1692-58-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/1692-1-0x00000000007F0000-0x0000000000818000-memory.dmp

      Filesize

      160KB

    • memory/1692-57-0x00007FFA4C3A3000-0x00007FFA4C3A5000-memory.dmp

      Filesize

      8KB

    • memory/3788-14-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/3788-17-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/3788-13-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/3788-2-0x000001BACBA80000-0x000001BACBAA2000-memory.dmp

      Filesize

      136KB

    • memory/3788-12-0x00007FFA4C3A0000-0x00007FFA4CE61000-memory.dmp

      Filesize

      10.8MB

    • memory/4188-70-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-71-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-61-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-69-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-68-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-67-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-66-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-65-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-60-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB

    • memory/4188-59-0x000001FB294F0000-0x000001FB294F1000-memory.dmp

      Filesize

      4KB