x64 BOF that changes the user's desktop wallpaper. Based on https://github.com/KingOfTheNOPs/ChangeWallpaper-BOF, adapted for Havoc
Import the changewallpaper.py script into Havoc.
Usage: ChangeWallpaper <image path> [--revert XX]
Examples:
ChangeWallpaper \\win10@80\image.jpg --revert 20
ChangeWallpaper C:\Windows\Temp\image.jpg
Options:
--revert XX - Revert to original wallpaper after specified time in seconds (replace XX with time)
Note: The BOF sleeps for the duration specified, so the beacon will be unavailable until after the revert time expires.
Note: make sure to adjust BOF_DIR as needed to point to the correct object file.
Ensure Mingw-w64 is installed on the host prior to compiling.
make