mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
1.6 KiB
1.6 KiB
About:
- Title: FileRipper
- Description: FileRipper is a payload which encrypts users data.
- AUTHOR: drapl0n
- Version: 1.0
- Category: Execution
- Target: Unix-like operating systems with systemd.
- Attackmodes: HID, Storage
FileRipper: FileRipper is a payload which encrypts users data using asymmetric cipher.
Features:
- Encrypts personal files and directories in home directory.
- Decryptable using private key.
- Persistent.
- Autostart payload on boot.
Workflow:
- Stop storing history, this helps to keep tracks clear from begining.
- Importing Public GPG key.
- Creating non-root systemd service.
- Deploying fileRipper.
- Autostarting service on opening terminal with shell (bash and zsh).
- Entering Message.
Directory Structure of payload components:
| FileName | Directory |
|---|---|
| payload.txt | /payload/switch1/ |
| payload.sh | /payload/ |
| fileRipper | /tools/ |
| public.pub | /tools/ |
Changes to be made:
- Replace key name "alice" with your key name in payload.sh on line no
50. - Replace key name "alice" with your key name in fileRipper on line no
6.
Usage:
-
Create new key pair:
gpg --full-gen-key --expert
-
Dump public key of freshly created gpg key:
gpg --armor --export <key name> > public.pub
LED Status:
SETUP: MAGENTAATTACK: YELLOWFINISH: GREEN