• Consistency of Displays
An important consideration of the design is how long
students need to learn and use this tool. The
visualization based simulator demonstrates three
different network traffics. Consistency is the main
consideration. All traffic displays are in same format
as shown in figure 1. The top part of the display area
contains ten computers, routers, a server and a TCP
backlog queue. The second part is the control area
that consists of five Demo Controllers and five
buttons (Main, Prev., Next, Help and Challenge). The
third part is the quiz area that contains questions,
select radio buttons and answers.
• Using Different Colors
Five colors are used to emphasize various stages of
network traffic. Blue represents SYN request packets
from a client to the server. Red means SYN-ACK
request packets from the server to clients. Green
represents the final acknowledgement SYN-ACK-
ACK packets from the client to the server. When
SYN flood attacks occur, black represents packets
that attackers send to the server, and yellow
represents SYN-ACK requests packets the server
sends to the spoofed IP address. Different colors are
also used for Trash bucket, firewall, backlog queue
and computers.
• Help Functions
The Help function is another major consideration in
the design. Each demonstration contains a help
button. The help button describes the functionality of
each button used in the demonstration. This was put
in place to ensure that users do not have to guess the
functions of each button before using it.
• Function Buttons
Each of the demonstrations also contains the
following ten function buttons: play, pause, stop,
rewind, fast-forward, Main, Prev., Next, Help, and
Challenge. The first five buttons are self explanatory.
The main button will allow a user to go back to the
main screen. The Prev. button, which stands for
previous, will take a user back to the previous
demonstration. The next button will take the user to
the next demonstration. As stated earlier the help
button describes the functionality of each button that
is used in the demonstration. The last button is the
challenge button. The challenge button offers users a
short quiz on the demonstration to test their
knowledge.
The Visualization Based Simulator for SYN
Flood Attacks was implemented using Macromedia
Flash. Flash is lightweight and works well with html.
Flash is also perfect for motion and animation. The
version of flash that was used for this simulation was
Macromedia Flash MX 2004 (Adobe). It is composed
of html and ActionScript 2.0, which is similar to
JavaScript.
5 FUNCTION OF
THE SIMULATOR
The visualization based simulator provides three
demonstrations and a set of quizzes. To start the
demonstration, a user will first access the homepage.
The homepage contains four links. These links are
Home, Introduction of SYN flood, SYN flood
animated demo, and Other links. Introduction of SYN
flood will give users a detailed description of what a
SYN flood attack is and how it works. The SYN
flood animated demo link connects to the actual
visualization based traffic demonstrations. The Other
links bring a user links to other Computer Science
Department simulation tools.
The main page is the first page of the actual
visualization based simulator. It provides four
different options. On the left side there are buttons:
Normal Network Traffic, SYN Flood Attack,
Prevention Method and HOME. Once a user clicks on
any button, except the home, a brief description of
that demonstration will appear in a window in the
middle of the screen along with a corresponding Start
Demo button, which will run the demonstration. The
default button is Normal Network Traffic. The home
button will take a user back to the website’s
homepage.
5.1 Normal Network Traffic
This demonstration exhibits how the TCP three-way
handshake occurs in normal network traffic. Details
are shown in figure 1. The simulation scenario
consists of ten computers. Three of them, shown in
black, represent attackers and will not be used for this
demonstration. This demonstration also includes a
server and a TCP backlog queue. The TCP backlog
queue is used to hold connection requests to the
server until it receives their final acknowledgement or
until their lifetime expires. First the client sends a
SYN packet request to the server. The packet color
will be BLUE. Once the server receives the packet, it
sends back to the client a SYN-ACK request packet.
The packet color changes to RED, and the client’s
request is stored on the TCP backlog queue. As soon
as the client receives the SYN-ACK request, it will
respond to the server with a SYN-ACK-ACK. The
packet color changes to GREEN as shown in figure 1.
The server will receive the client’s SYN-ACK-ACK
A VISUALIZATION BASED SIMULATOR FOR SYN FLOOD ATTACKS
253