Resubmissions

14/04/2025, 02:19

250414-cr3z2ayxbx 10

13/04/2025, 22:13

250413-1472hstm13 10

Analysis

  • max time kernel
    17s
  • max time network
    23s
  • platform
    windows11-21h2_x64
  • resource
    win11-20250410-en
  • resource tags

    arch:x64arch:x86image:win11-20250410-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    14/04/2025, 02:19

General

  • Target

    PortaRAT.exe

  • Size

    245KB

  • MD5

    ba4075021c4e845372a110f5a2225cf2

  • SHA1

    43fe5e18f3f283cff474549b0cb59991261b01ee

  • SHA256

    3dff7daa21e2b7f2a6c8c3ced325c9cdbc66f8c454a669608ce14f2e643c56f1

  • SHA512

    7987ffea17ce0e00a734eff468b8f4c348ae7fe29f82ad66ca77936d27225defea5753501e75f63dfe8ea961561d2525e912b36e359ff7884e08d40bdd6b7312

  • SSDEEP

    3072:kRPlsVWAbFt5EO7GyMubk8kBP3jf6/FfwKDt:QcrbiWk886xwK

Malware Config

Extracted

Family

xworm

C2

xml-processor.gl.at.ply.gg:35117

Attributes
  • Install_directory

    %AppData%

  • install_file

    USB.exe

Signatures

  • Detect Xworm Payload 2 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
  • Executes dropped EXE 1 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).

  • 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 9 IoCs
  • Suspicious use of AdjustPrivilegeToken 7 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 10 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\PortaRAT.exe
    "C:\Users\Admin\AppData\Local\Temp\PortaRAT.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: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\Local\Temp\PortaRAT.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2692
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'PortaRAT.exe'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2976
    • 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\WindowsLocalAgent'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2340
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'WindowsLocalAgent'
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2272
    • C:\Windows\System32\schtasks.exe
      "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "WindowsLocalAgent" /tr "C:\Users\Admin\AppData\Roaming\WindowsLocalAgent"
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:4904
  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c C:\Users\Admin\AppData\Roaming\WindowsLocalAgent
    1⤵
      PID:3316
    • C:\Users\Admin\AppData\Roaming\WindowsLocalAgent
      C:\Users\Admin\AppData\Roaming\WindowsLocalAgent
      1⤵
      • Executes dropped EXE
      • Suspicious use of AdjustPrivilegeToken
      PID:5212

    Network

    MITRE ATT&CK Enterprise v16

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

      Filesize

      2KB

      MD5

      627073ee3ca9676911bee35548eff2b8

      SHA1

      4c4b68c65e2cab9864b51167d710aa29ebdcff2e

      SHA256

      85b280a39fc31ba1e15fb06102a05b8405ff3b82feb181d4170f04e466dd647c

      SHA512

      3c5f6c03e253b83c57e8d6f0334187dbdcdf4fa549eecd36cbc1322dca6d3ca891dc6a019c49ec2eafb88f82d0434299c31e4dfaab123acb42e0546218f311fb

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

      Filesize

      944B

      MD5

      1a9fa92a4f2e2ec9e244d43a6a4f8fb9

      SHA1

      9910190edfaccece1dfcc1d92e357772f5dae8f7

      SHA256

      0ee052d5333fd5fd86bc84856fec98e045f077a7ac8051651bf7c521b9706888

      SHA512

      5d2361476fa22200e6f83883efe7dcb8c3fe7dae8d56e04e28a36e9ae1270c327b6aa161d92b239593da7661289d002c574446ecfd6bd19928209aae25e3ef64

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

      Filesize

      944B

      MD5

      781da0576417bf414dc558e5a315e2be

      SHA1

      215451c1e370be595f1c389f587efeaa93108b4c

      SHA256

      41a5aef8b0bbeea2766f40a7bba2c78322379f167c610f7055ccb69e7db030fe

      SHA512

      24e283aa30a2903ebe154dad49b26067a45e46fec57549ad080d3b9ec3f272044efaaed3822d067837f5521262192f466c47195ffe7f75f8c7c5dcf3159ea737

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

      Filesize

      944B

      MD5

      051a74485331f9d9f5014e58ec71566c

      SHA1

      4ed0256a84f2e95609a0b4d5c249bca624db8fe4

      SHA256

      3f67e4ba795fd89d33e9a1fe7547e297a82ae50b8f25eedc2b33a27866b28888

      SHA512

      1f15fd8ca727b198495ef826002c1cbcc63e98eecb2e92abff48354ae668e6c3aaf9bd3005664967ae75637bacee7e730ce36142483d08ae6a068d9ae3e0e17d

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_h1rt2b4r.stj.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • C:\Users\Admin\AppData\Roaming\WindowsLocalAgent

      Filesize

      245KB

      MD5

      ba4075021c4e845372a110f5a2225cf2

      SHA1

      43fe5e18f3f283cff474549b0cb59991261b01ee

      SHA256

      3dff7daa21e2b7f2a6c8c3ced325c9cdbc66f8c454a669608ce14f2e643c56f1

      SHA512

      7987ffea17ce0e00a734eff468b8f4c348ae7fe29f82ad66ca77936d27225defea5753501e75f63dfe8ea961561d2525e912b36e359ff7884e08d40bdd6b7312

    • memory/2692-4-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/2692-5-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/2692-15-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/2692-16-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/2692-19-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/2692-14-0x000001FA56840000-0x000001FA56862000-memory.dmp

      Filesize

      136KB

    • memory/2692-3-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/3284-0-0x00007FFEB5853000-0x00007FFEB5855000-memory.dmp

      Filesize

      8KB

    • memory/3284-2-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/3284-51-0x00007FFEB5853000-0x00007FFEB5855000-memory.dmp

      Filesize

      8KB

    • memory/3284-55-0x00007FFEB5850000-0x00007FFEB6312000-memory.dmp

      Filesize

      10.8MB

    • memory/3284-1-0x0000000000140000-0x0000000000182000-memory.dmp

      Filesize

      264KB