Jump to content

[Payload] FTP Exfiltrator


Recommended Posts

I liked the USB Exfiltrator so much I wanted to try and make one that was able to grab everything and dump it to a FTP site. This way if there are large/many documents it wouldn't fill up the BashBunny. Script is pretty simple, it executes a PowerShell script that clears the run history and then starts uploading the users documents directory. It will keep PowerShell running in the background so if there are a lot of files or large files go ahead on unplug the BB once the status light is green, it will just keep going.

Still new to this and know there will be some bug or errors so welcome any feedback.


  • Upvote 2
Link to comment
Share on other sites

Was wondering if anyone has had any issues with this payload and if you had any feedback. I'm still trying to figure a way to detect if the powershell script fails if its unable to connect to the FTP site. 

Let me know your thoughts.

Link to comment
Share on other sites

  • 2 weeks later...

Couldn't you ping the website? If that fails then you can make a log file that says 'Couldn't ping FTP' and once the script is done the payload continues, which means you can do a file read in the payload that reads the log file and if it gets returned the string 'Couldn't ping FPT' then you can set the LED to red or something.

Just an idea.

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.

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...