Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages