Skip to content

This script automates the download of a remote payload, creates a systemd service for persistence and executes the payload

Notifications You must be signed in to change notification settings

jw4n6/service.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

service.sh

This simple bash script was created for adversary simulation.

This bash script automates the download of a remote payload using wget, creates a systemd service for persistence and executes the payload (T1543.002). The bash script then self-deletes after successful execution.

Replace wget or include curl, python or any GTFOBins

Replace these variables with your specific values

BINARY_NAME="sysmon"
BINARY_URL="http://IP:PORT/sysmon"
INSTALL_PATH="/usr/local/bin/${BINARY_NAME}"

About

This script automates the download of a remote payload, creates a systemd service for persistence and executes the payload

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages