Remote Evidence Collector is a lightweight Bash script designed for digital forensics and incident response (DFIR). It allows you to remotely collect evidence from a compromised (sender) system to a collector (receiver) system over the network.
This updated version consolidates both sender and receiver functionality into one interactive script, making the process simpler and more flexible.
- β Unified script for both sender and receiver roles
- π Uses
ncatfor data transmission - π Collects files, command output, memory images, or disk images
- βοΈ Automates tool installation (like
ncat) if missing - π¦ Easy to deploy in trusted environments
- Bash or compatible shell
- ncat (from the Nmap project) β the script installs it if not present
- Network access between sender and receiver machines
Clone the repository and make the script executable:
git clone https://github.com/Akashthakar/Remote-Evidence-Collector.git
cd Remote-Evidence-Collector
chmod +x collector.shRun the unified script on both machines, and it will prompt you to select a role:
./collector.shYou will be asked:
- Whether this machine is the Sender or the Receiver
- IP address and port (for Sender to connect)
- What type of evidence to send (files, command output, memory, disk image)
- Where to store the evidence on the receiver side
π Example Flow:
./collector.sh- Select Receiver
- Enter port to listen on (e.g., 4444)
- Enter destination file name to save received data
./collector.sh- Select Sender
- Enter receiver's IP and port
- Select type of data to send (e.g., file, memory image, command output)
- Provide source path or command
The script handles the rest.
- Encryption
- Authentication
- Data integrity checks
For secure use:
- Consider running it over SSH or a VPN
- Use encrypted storage for received evidence
- Hash collected files before and after transfer
collector.sh # Unified script (sender + receiver)
README.md # Project documentation
Older versions with separate sender.sh and receiver.sh are available under the legacy branch or via Releases.
β‘οΈ Download Latest Release
β‘οΈ View Legacy v1.0.0 Release
Pull requests are welcome for:
- Improving security (e.g., adding encryption)
- Supporting more OS environments
- Expanding evidence types
- Logging, error handling, etc.
This project is open source under the MIT License.
Akash Thakar GitHub Profile