Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/08/2024, 09:27

General

  • Target

    aimalware.ps1

  • Size

    2KB

  • MD5

    a3103ca5ec634f91d3a6b0fc35cb9679

  • SHA1

    1d2b2579e9b18838867389817dfb9fbb32ceb4e2

  • SHA256

    0bb5cd1cd08e5c364cf4af7a12ba084588734f95a3a269c498f9c2411c25bba2

  • SHA512

    02d455ccbd18a4b7864c4404e6729aa34a15d5c5446b4d224fa38cc2bb21bf555f51e8c32f8fc9caed163efff254a4eae280713e7d3636969e64097a91e7ec97

Malware Config

Signatures

  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Drops file in System32 directory 8 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.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Runs ping.exe 1 TTPs 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 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 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:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    powershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\aimalware.ps1
    1⤵
    • Adds Run key to start application
    • Drops file in System32 directory
    • Command and Scripting Interpreter: PowerShell
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:4600
    • C:\Windows\system32\netsh.exe
      "C:\Windows\system32\netsh.exe" advfirewall set allprofiles state off
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      PID:3808
    • C:\Windows\system32\schtasks.exe
      "C:\Windows\system32\schtasks.exe" /create /tn MaliciousTask /tr C:\Windows\System32\malware.bat /sc onlogon /f
      2⤵
      • Scheduled Task/Job: Scheduled Task
      PID:3736
    • C:\Windows\system32\cmd.exe
      "C:\Windows\system32\cmd.exe" /c ping localhost -n 5 >nul & echo Injecting into process
      2⤵
      • System Network Configuration Discovery: Internet Connection Discovery
      • Suspicious use of WriteProcessMemory
      PID:4740
      • C:\Windows\system32\PING.EXE
        ping localhost -n 5
        3⤵
        • System Network Configuration Discovery: Internet Connection Discovery
        • Runs ping.exe
        PID:4588
  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k netsvcs -p -s Winmgmt
    1⤵
    • Drops file in System32 directory
    • Suspicious use of AdjustPrivilegeToken
    PID:2428
  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k netsvcs -p -s UserManager
    1⤵
      PID:208

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_w1pq3ezz.w3i.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/4600-0-0x00007FFF42D93000-0x00007FFF42D95000-memory.dmp

      Filesize

      8KB

    • memory/4600-6-0x000001E0CC490000-0x000001E0CC4B2000-memory.dmp

      Filesize

      136KB

    • memory/4600-11-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB

    • memory/4600-12-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB

    • memory/4600-14-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB

    • memory/4600-15-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB

    • memory/4600-16-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB

    • memory/4600-17-0x00007FFF42D93000-0x00007FFF42D95000-memory.dmp

      Filesize

      8KB

    • memory/4600-18-0x00007FFF42D90000-0x00007FFF43851000-memory.dmp

      Filesize

      10.8MB