Analysis

  • max time kernel
    94s
  • max time network
    149s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-12-2024 16:10

General

  • Target

    atera-scripts-master/Networking/Enable-RDP.ps1

  • Size

    370B

  • MD5

    795d86d5fb3aa1562d0d5493f0e1ebbb

  • SHA1

    9e1c01a376047b1ee0c27d4003d50884490c5ed2

  • SHA256

    9765d00502a997ebcd02c7e797afbd3b2005f51b261069bd74c3066cadfddf1f

  • SHA512

    07084277297f5dec4bd6db799e04b7e93979f678b0f4dfe370a860f194a63ec83255a2a9331eeb4b48a7198e813d1e4d7c1e69be65a9a74bed50878ca8064056

Malware Config

Signatures

  • Remote Service Session Hijacking: RDP Hijacking 1 TTPs 2 IoCs

    Adversaries may hijack a legitimate user's remote desktop session to move laterally within an environment.

  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 8 IoCs

Processes

  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\atera-scripts-master\Networking\Enable-RDP.ps1
    1⤵
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:540
    • C:\Windows\system32\reg.exe
      "C:\Windows\system32\reg.exe" add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
      2⤵
        PID:4956
      • C:\Windows\system32\netsh.exe
        "C:\Windows\system32\netsh.exe" advfirewall firewall set rule "group=remote desktop" new enable=yes
        2⤵
        • Modifies Windows Firewall
        • Event Triggered Execution: Netsh Helper DLL
        PID:112
      • C:\Windows\system32\net.exe
        "C:\Windows\system32\net.exe" localgroup "remote desktop users" -encodedCommand WwBVAHMAZQByAF0A -inputFormat xml -outputFormat text
        2⤵
        • Remote Service Session Hijacking: RDP Hijacking
        • Suspicious use of WriteProcessMemory
        PID:4916
        • C:\Windows\system32\net1.exe
          C:\Windows\system32\net1 localgroup "remote desktop users" -encodedCommand WwBVAHMAZQByAF0A -inputFormat xml -outputFormat text
          3⤵
          • Remote Service Session Hijacking: RDP Hijacking
          PID:5104

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_zrxm0pkv.nh4.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/540-0-0x00007FFE59D23000-0x00007FFE59D25000-memory.dmp

      Filesize

      8KB

    • memory/540-6-0x0000018720C10000-0x0000018720C32000-memory.dmp

      Filesize

      136KB

    • memory/540-11-0x00007FFE59D20000-0x00007FFE5A7E1000-memory.dmp

      Filesize

      10.8MB

    • memory/540-12-0x00007FFE59D20000-0x00007FFE5A7E1000-memory.dmp

      Filesize

      10.8MB

    • memory/540-15-0x00007FFE59D20000-0x00007FFE5A7E1000-memory.dmp

      Filesize

      10.8MB