Network Security Report
Network Security Report
SEMESTER:6TH SEM
SUBMITTED BY:
Abhiram S A(1EW21EC002)
Shreya H J (1EW21EC120)
Suravi R (1EW21EC130)
Nagan Gowda ( 1EW21EC084)
INTRODUCTION OF NETWORK SECURITY
Network Security is the practice of protecting systems, networks, and
programs from digital attacks. These Networkattacks are usually aimed
at accessing, changing, or destroying sensitive information; extorting
money from users via ransomware; or interrupting normal business
processes.
Objectives:
1. Perform Cryptographic Operation: Utilize JCrypt for tasks such as encrypting and decrypting
data, generating cryptographic keys, and creating hash functions.
2. Secure Data: Ensure data confidentiality and integrity using encryption and hashing
algorithms.
3. Integrate with Java Applications:Use J Crypt within Java applications to enhance security
features.
Components Needed:
1. Java Development Kit (JDK): The JDK is required to compile and run Java applications
using J Crypt.
2. J Crypt Library: The J Crypt library itself, which provides the cryptographic functionalities.
3. Cryptographic Algorithms: Knowledge of the specific algorithms supported by J Crypt (e.g.,
AES, RSA, SHA-256).
4. Development Environment: An IDE or text editor to write and test Java code.
ENCRYPTION :
DECRYPTION :
PROJECT: ROOT KIT (MALWARE BYTE)
Objectives:
1. Gain Unauthorized Access: The primary goal is to obtain and maintain
privileged access to a system without the user’s knowledge.
2. Hide Presence: Ensure that the rootkit remains undetected by users and security
software.
3. Maintain Control: Allow the attacker to perform various actions, such as data
exfiltration, monitoring, or manipulation.
Components Needed:
1. Exploitation Tools: Software or scripts that exploit vulnerabilities to gain initial
access to the target system.
2. Kernel Modules: Code that integrates with the operating system's kernel to
manipulate system calls or processes.
3. Stealth Techniques: Methods for hiding the rootkit's presence, such as file
hiding or process injection.
4. Command and Control Mechanism: Methods for remote control and
communication with the compromised system.
Theory:
In networking, a switch is a device that connects devices within a local area
network (LAN) and uses MAC addresses to forward data to the correct
destination. Unlike hubs, which broadcast data to all devices, switches
intelligently direct data to the intended recipient, improving network efficiency
and security. Switches operate at the data link layer (Layer 2) of the OSI model
and can also operate at the network layer (Layer 3) in more advanced
configurations.
Components Involved:
1. Switch: Central device for directing data traffic efficiently.
2. PCs (Personal Computers): Standard desktop computers connected to the
network.
3. Laptops: Portable computers connected to the network.
4. Ethernet Cables: Used to connect PCs, laptops, and the switch.
Procedure:
Step 1: Setting Up the Workspace
1. Open Cisco Packet Tracer.
2. Create a New Project by clicking on "File" and then "New".
Step 2: Adding Devices
1. Add Switch:
o From the device-type selection box, click on “Switch”.
o Drag a switch onto the workspace (e.g., Switch0).
2. Add PCs:
o Click on the “End Devices” icon.
o Select the “PC” device and drag two PCs onto the workspace.
3. Add Laptops:
o Click on the “End Devices” icon.
o Select the “Laptop” device and drag two laptops onto the workspace.
Step 3: Connecting Devices
1. Select the Connection Tool:
o Click on the “Connections” icon (the lightning bolt).
2. Connect the First PC to the Switch:
o Click on the first PC, select the “FastEthernet0” port.
o Click on the switch, select “FastEthernet0/1”.
3. Connect the Second PC to the Switch:
o Click on the second PC, select the “FastEthernet0” port.
o Click on the switch, select “FastEthernet0/2”.
4. Connect the First Laptop to the Switch:
o Click on the first laptop, select the “FastEthernet0” port.
o Click on the switch, select “FastEthernet0/3”.
5. Connect the Second Laptop to the Switch:
o Click on the second laptop, select the “FastEthernet0” port.
o Click on the switch, select “FastEthernet0/4”.
Step 4: Configuring IP Addresses
1. Assign IP Addresses to PCs and Laptops:
o Click on the first PC, go to the “Desktop” tab, and click on “IP
Configuration”. Assign an IP address (e.g., 192.168.1.2) and subnet
mask (e.g., 255.255.255.0).
o Repeat the process for the second PC (e.g., 192.168.1.3) and both
laptops (e.g., 192.168.1.4 and 192.168.1.5).
Step 5: Testing the Network
1. Test Connectivity:
o Click on the first PC, go to the “Desktop” tab, and open the
“Command Prompt”.
o Type ping 192.168.1.3 to test the connection to the second PC.
o Similarly, ping the IP addresses of the laptops (192.168.1.4 and
192.168.1.5) to ensure they are reachable.
o Repeat this process from each device to confirm full connectivity
across the network.
Project : Basic Hub Setup
Procedure:
Step 1: Setting Up the Workspace
1. Open Cisco Packet Tracer.
2. Create a New Project by clicking on "File" and then "New".
Step 2: Adding Devices
1. Add Hub:
o From the device-type selection box, click on “Hub”.
o Drag the hub onto the workspace.
2. Add PCs:
o Click on the “End Devices” icon.
o Select the “PC” device and drag two PCs onto the workspace.
3. Add Laptops:
o Click on the “End Devices” icon.
o Select the “Laptop” device and drag two laptops onto the workspace.
Step 3: Connecting Devices
1. Select the Connection Tool:
o Click on the “Connections” icon (the lightning bolt).
2. Connect the First PC to the Hub:
o Click on the first PC, select the “FastEthernet0” port.
o Click on the hub, select “Port 0”.
3. Connect the Second PC to the Hub:
o Click on the second PC, select the “FastEthernet0” port.
o Click on the hub, select “Port 1”.
4. Connect the First Laptop to the Hub:
o Click on the first laptop, select the “FastEthernet0” port.
o Click on the hub, select “Port 2”.
5. Connect the Second Laptop to the Hub:
o Click on the second laptop, select the “FastEthernet0” port.
o Click on the hub, select “Port 3”.
Step 4: Configuring IP Addresses
1. Assign IP Addresses to PCs and Laptops:
o Click on the first PC, go to the “Desktop” tab, and click on “IP
Configuration”. Assign an IP address (e.g., 192.168.1.2) and subnet mask (e.g.,
255.255.255.0).
o Repeat the process for the second PC (e.g., 192.168.1.3) and both laptops
(e.g., 192.168.1.4 and 192.168.1.5).
Step 5: Testing the Network
1. Test Connectivity:
o Click on the first PC, go to the “Desktop” tab, and open the “Command
Prompt”.
o Type ping 192.168.1.3 to test the connection to the second PC.
o Similarly, ping the IP addresses of the laptops (192.168.1.4 and 192.168.1.5)
to ensure they are reachable.
Theory
In computer networking, a router is a device that forwards data packets between
computer networks. Routers perform the traffic directing functions on the
Internet. A data packet is typically forwarded from one router to another router
through the networks that constitute an internetwork until it reaches its
destination node. Routers operate at the network layer (Layer 3) of the OSI model
and use IP addresses to determine the best path for forwarding packets.
Components Involved:
1. Router: Directs traffic within a network and between different networks.
2. PCs (Personal Computers): Standard desktop computers that connect to the
network.
3. Switch: Connects multiple devices within the same network.
4. Ethernet Cables: Used to connect PCs, switches, and routers.
Procedure
Step 1: Setting Up the Workspace
1. Open Cisco Packet Tracer.
2. Create a New Project by clicking on "File" and then "New".
Step 2: Adding Devices
1. Add Router:
o From the device-type selection box, click on “Router”.
o Drag the router onto the workspace.
2. Add Switch:
o Click on the “Switches” icon.
o Select a switch and drag it onto the workspace.
3. Add PCs:
o Click on the “End Devices” icon.
o Select the “PC” device and drag two PCs onto the workspace.
Step 3: Connecting Devices
1. Select the Connection Tool:
o Click on the “Connections” icon (the lightning bolt).
2. Connect the Router to the Switch:
o Click on the router, select the “GigabitEthernet0/0” port.
o Click on the switch, select any port (e.g., “FastEthernet0/1”).
3. Connect the PCs to the Switch:
o Click on the first PC, select the “FastEthernet0” port.
o Click on the switch, select an available port (e.g., “FastEthernet0/2”).
o Repeat for the second PC, connecting it to another port on the switch
(e.g., “FastEthernet0/3”).
Step 4: Configuring IP Addresses
1. Assign IP Addresses to PCs:
o Click on the first PC, go to the “Desktop” tab, and click on “IP
Configuration”. Assign an IP address (e.g., 192.168.1.2) and subnet
mask (e.g., 255.255.255.0).
o Repeat the process for the second PC (e.g., 192.168.1.3).
2. Configure the Router:
o Click on the router, go to the “CLI” tab.
o Enter the following commands to configure the IP address for the
router’s interface:
arduino
Copy code
Router> enable
Router# configure terminal
Router(config)# interface GigabitEthernet0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# exit
Router# write memory
Step 5: Testing the Network
1. Test Connectivity:
o Click on the first PC, go to the “Desktop” tab, and open the
“Command Prompt”.
o Type ping 192.168.1.1 to test the connection to the router.
Project: Basic HTTP Server and DNS Server Setup
Objective:
1. Set up a network with a DNS server, an HTTP server, and a client PC.
2. Configure IP addressing and DNS services.
3. Ensure that the client PC can resolve the HTTP server’s hostname and access
the web
Components Needed:
2 Router
2 Switch
1 DNS Server (with DNS service configured)
1 HTTP Server (Web Server)
3 PC
Appropriate cables (Ethernet)
Steps:
1. Launch Cisco Packet Tracer: Open Cisco Packet Tracer on your computer.
2. Add Devices:
o Drag and drop 1 Router onto the workspace.
o Drag and drop 1 Switch onto the workspace.
o Drag and drop 1 DNS Server onto the workspace.
o Drag and drop 1 HTTP Server onto the workspace.
o Drag and drop 1 PC onto the workspace.
o Use the Connections tool to add Ethernet cables as needed.
3. Basic Setup of Router and Switch:
o Click on the router to open its configuration window.
o Go to the CLI tab to start configuring the router.
Router Configuration:
Router> enable
Router# configure terminal
Router(config)# hostname Router
Router(config)# interface gig0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# end
Router# write
6. Configure PC:
o Click on the PC to open its configuration window.
o Go to the Desktop tab and select IP Configuration. Configure the PC
with the following IP settings:
IP Address: 192.168.1.4
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS Server: 192.168.1.2
7. Testing DNS and HTTP Services:
o On the PC, open the Command Prompt from the Desktop tab.
o Test DNS resolution by typing ping webserver.example.local. This
should resolve to the IP address 192.168.1.3.
o Open a web browser on the PC and type
http://webserver.example.local in the address bar. You should see the
web page hosted by the HTTP Server.
Project: Basic Firewall Configuration
Objective:
1. Set up a network with a firewall, a web server, and a client PC.
2. Configure basic firewall rules to allow or deny traffic.
3. Ensure that the client PC can access the web server based on firewall rules.
Components Needed:
1 Switch
1 Web Server
3 PC
Appropriate cables (Ethernet)
Steps:
1. Launch Cisco Packet Tracer: Open Cisco Packet Tracer on your computer.
2. Add Devices:
o Drag and drop 1 Router onto the workspace (this will act as the
firewall).
o Drag and drop 1 Switch onto the workspace.
o Drag and drop 1 Web Server onto the workspace.
o Drag and drop 1 PC onto the workspace.
o Use the Connections tool to add Ethernet cables as needed.
3. Basic Setup of Router and Switch:
o Click on the router to open its configuration window.
o Go to the CLI tab to start configuring the router.
Router Configuration:
Router> enable
Router# configure terminal
Router(config)# hostname Router
Router(config)# interface gig0/0
Router(config-if)# ip address 192.168.1.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# interface gig0/1
Router(config-if)# ip address 192.168.2.1 255.255.255.0
Router(config-if)# no shutdown
Router(config-if)# exit
Router(config)# end
Router# write
5. Configure PC:
o Click on the PC to open its configuration window.
o Go to the Desktop tab and select IP Configuration. Configure the PC
with the following IP settings:
IP Address: 192.168.1.2
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS Server: Leave blank or use the router's IP if DNS is
needed.
Objective
Aim of setting up an email server in Cisco Packet Tracer is to simulate and
understand the functionality of email communication within a network.
Components Required:
1. *Router*: To route traffic between different networks.
2. *Switch*: To connect multiple devices within the same network.
3. *PCs*: For clients to send and receive emails.
4. *Email Server*: A server that will handle email services. In Packet Tracer, you
typically use a server device and configure it to act as an email server.
5. *Server Configuration*: Use the following protocols for email services:
- *SMTP (Simple Mail Transfer Protocol)*: For sending emails.
- *POP3 (Post Office Protocol version 3)* or *IMAP (Internet Message Access
Protocol)*: For receiving emails.
Steps to Configure:
1. *Network Design*:
- Place the router, switch, email server, and PCs in the Packet Tracer workspace.
- Connect the devices with appropriate cables (usually copper straight-through
cables for PCs and switches).
2. *Configure IP Addressing*:
- Assign IP addresses to all devices. Ensure that the IP addresses are in the same
subnet for devices in the same network.
- For PCs, configure IP address, subnet mask, default gateway, and DNS server.
5. *Configure PCs*:
- Go to the *Desktop* tab on each PC, select *Email*, and enter the server's IP
address.
- Configure the email client with the server settings:
- *Incoming Mail Server*: The IP address of the email server.
- *Outgoing Mail Server*: The IP address of the email server.
- *Username and Password*: Use the credentials you set up on the email server.
6. *Testing*:
- Send a test email from one PC to another to ensure that the email server is
functioning correctly.
- Verify that the email can be sent and received as expected.
7. *Troubleshooting*:
- Ensure all devices are properly connected and powered.
- Verify IP configurations and connectivity (use ping commands to test
connections).
- Check server settings and logs for any errors.
PROJECT-FTP SERVER
Objective:
Configure an FTP server to enable file transfer between devices.
Components required:
- Cisco Packet Tracer software
- FTP server device (e.g., a router or server)
- Client device (e.g., a PC)
- Network cables
Steps:
1. Setup the network topology: Create a simple network with the FTP server device
and client device connected.
2. Configure the FTP server:
- Enable the FTP server on the device.
- Set the FTP username and password.
3. Configure the client:
- Install an FTP client software (e.g., FileZilla).
- Enter the FTP server's IP address, username, and password.
4. Connect to the FTP server: Establish a connection from the client to the FTP
server.
5. Transfer files: Upload or download files between the client and FTP server.
PROJECT: BASIC SMART HOME USING CISCO PACKET
TRACER