Path: blob/master/payloads/library/execution/Simple_PSH_Wallpaper_Changer/Payload.txt
3018 views
REM Wallpaper Changer1REM H4ck1ngM4rk2REM Downloads a picture and set it as wallpaper, gets Visible after Restart or Relogin3REM Tested on Windows 11 PRO45EXTENSION DETECT_READY6REM VERSION 1.17REM AUTHOR: Korben89REM_BLOCK DOCUMENTATION10USAGE:11Extension runs inline (here)12Place at beginning of payload (besides ATTACKMODE) to act as dynamic13boot delay1415TARGETS:16Any system that reflects CAPSLOCK will detect minimum required delay17Any system that does not reflect CAPSLOCK will hit the max delay of 3000ms18END_REM1920REM CONFIGURATION:21DEFINE #RESPONSE_DELAY 2522DEFINE #ITERATION_LIMIT 1202324VAR $C = 025WHILE (($_CAPSLOCK_ON == FALSE) && ($C < #ITERATION_LIMIT))26CAPSLOCK27DELAY #RESPONSE_DELAY28$C = ($C + 1)29END_WHILE30CAPSLOCK31END_EXTENSION323334DEFINE URL example.com35REM The URL to get the Picture from36DEFINE PATH $home\XXX.jpg37REM Define where to store the Picture38GUI x39DELAY 10040STRING i41DELAY 75042STRING Invoke-WebRequest https://43STRING URL44SPACE45STRING -OutFile46SPACE47STRING PATH48STRING ; reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "49STRING PATH50STRINGLN " /f; RUNDLL32.EXE USER32.DLL ,UpdatePerUserSystemParameters ,1 ,True;exit;515253