Network Worm (pretty spicy)#8
Open
Hackazillarex wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Network Worm v1.0
Autonomous SSH Network Propagation Tool for Hak5 Shark Jack Display
A sophisticated network scanning and SSH brute-force payload that identifies live hosts, compromises them with weak credentials, and deploys persistent reverse shells via cron jobs.
Features
Prerequisites
Shark Jack Display
Target Network
Listener Server (Attacker)
Installation
Copy
payload.shto Shark Jack:Ensure sshpass is installed on Shark Jack:
Usage
Basic Workflow
Menu Options
Listener Setup
Single Session (Simple)
Multiple Sessions with socat
Multiple Sessions with Metasploit
How It Works
Scanning Phase
Exploitation Phase
For each discovered host:
Persistence
Linux targets get a cron job:
This executes every minute and connects back to your listener with shell access.
Default Credentials Tested
The payload attempts these credential combinations:
Logging
All activities logged to
/root/loot/network_worm/:Payload Configuration
Edit these values in the script to customize:
Important Notes
IP Address Format
Listener IP uses padded format (e.g.,
010.000.000.222) for menu consistency. The payload automatically strips leading zeros before deployment, converting to standard format (e.g.,10.0.0.222).Reverse Shell Callback
Cleanup
To remove deployed cron jobs from compromised machines:
Troubleshooting
Scan finds 0 hosts
No reverse shells connecting
Security Considerations
Disclaimer
This payload is for authorized security testing only. Unauthorized access to computer systems is illegal. Always obtain written permission before testing.
Author
Hackazillarex
License
Use only on authorized networks with explicit permission.