| 285 | == (7) Generate Intrusion Traffic == |
| 286 | |
| 287 | 1. In a separate window for source, ping destination: |
| 288 | |
| 289 | ''' ping destination''' |
| 290 | |
| 291 | Your ping should reach the destination and it should not be blocked. |
| 292 | |
| 293 | 2. Download the Port Scan attack generator file. |
| 294 | |
| 295 | ''' wget https://raw.githubusercontent.com/akhtarnabeel/public/master/AttackAnalyzer/PortScanAttack.sh ''' |
| 296 | |
| 297 | change file permissions so you can run it |
| 298 | |
| 299 | ''' chmod 777 PortScanAttack.sh ''' |
| 300 | |
| 301 | 3. Install port scanner application nmap |
| 302 | |
| 303 | ''' sudo apt-get update ''' |
| 304 | |
| 305 | ''' sudo apt-get install nmap ''' |
| 306 | |
| 307 | 3. Run the file to create an attack |
| 308 | |
| 309 | ''' chmod 777 PortScanAttack.sh ''' |
| 310 | |
| 311 | ''' ./PortScanAttack.sh ''' |
| 312 | |
| 313 | |
| 314 | |