This is a safe, educational malware simulation designed for:
- Testing antimalware/antivirus software
- Cybersecurity education and research
- Understanding malware behavior patterns in a controlled environment
✅ Isolated Test Environment: All operations are limited to ./test_worm_sandbox/ directory
✅ Memory Limits: Maximum 1GB memory usage
✅ File Limits: Maximum 1000 test files
✅ Thread Limits: Maximum 50 concurrent threads
✅ Iteration Limits: Maximum 10,000 iterations per pattern
✅ No System File Access: Never touches system files or directories
✅ No Network Calls: Network activity is simulated only (no actual connections)
This tool simulates various malware patterns for antimalware testing:
- Memory Hogging: Simulates excessive memory allocation (limited to 1GB)
- RAM Consumption: Simulates high RAM usage patterns
- File Flooding: Creates multiple test files in isolated directory
- Process Spawning: Simulates process creation patterns
- Network Activity: Simulates network connections (no actual network calls)
- Filesystem Scanning: Scans only the test directory
# Build the project
cargo build --release
# Run the simulation
cargo run --release- ONLY FOR TESTING: Use only in isolated environments (VMs, containers, test machines)
- NO REAL DAMAGE: All operations are contained and limited
- EDUCATIONAL USE: Designed for cybersecurity education and antimalware testing
- CLEANUP: Test files are created in
./test_worm_sandbox/and can be safely deleted
- ✅ Never deletes system files
- ✅ Never modifies files outside test directory
- ✅ Never makes actual network connections
- ✅ Never spawns real system processes
- ✅ All operations have hard limits
- ✅ Can be safely stopped at any time
This tool is designed to trigger antimalware detection by:
- Creating suspicious file patterns
- Simulating memory-intensive operations
- Generating network-like activity logs
- Creating multiple processes/threads
- Scanning filesystem patterns
Your antimalware software should detect these patterns as suspicious behavior.
To remove all test files:
rm -rf ./test_worm_sandbox/Educational use only. Use responsibly and only in isolated test environments.