|
Network Programming This website demonstrates using wikis as teaching and learning tool. The course instructor is happy to share the teaching materials here with those who find it readable. |
Lecture /
security in NetworksA Network Programming Lecture by Steven Choy Overview: Security goals - Network Segmentation - Firewalls - Proxy Servers - Intrusion detection systems (IDS) - Virtual Private Network (VPN) - Network Security Protocols Security Goals
Attackers can thwart confidentiality mechanisms by sniffing network traffics to steal passwords or access sensitive data. Encryption, access control, and data classification system should therefore be put in place to address this goal.
Networks often open up a conduit for viruses, Trojan horses or hackers to intrude into and wreak havoc on computer systems, thus compromising the integrity of the data residing therein. Strict access control, network intrusion detection, and checksum/signature verification should be implemented to uphold this goal.
The identity of an individual should be verified before he is granted access to systems. The transactions carried subsequently by that individual should also be tracked. Any specific action that individual has carried out can be tracked, and he can be held accountable for the consequences arising out of such actions. Smart cards, biometrics, and digital signatures are all measures that can step up the level of authenticity for computer or networking systems.
Both the availability of networks themselves, and that of the computer systems running on them, are important, especially for critical systems that serve users across the globe and round the clock 7 x 24 ( 7 days a week, 24 hours a day). Denial of service (DoS) attacks launched remotely by hackers over networks is a popular method of disrupting networks or systems availability. Firewalls, elimination of single points of failure (e.g. dual subscriptions to two different Internet service providers, redundancy mechanisms, etc.) are effective means of counteracting threats to availability.
Network Segmentation
![]()
Outside Segment - In this segment, you have only the edge router and in our case, it is the internet. In this segment, you have no control on traffic coming to you, But you have a full control to decide which traffic can get in your network and which traffic can travel to outside.
Service Segment - This segment contains the main services you are looking to provide them to the public. Some people call it DMZ zone. In this segment, you need to allow any request coming from outside to your network services.
Internet Segment - This is the highest security level in your network. It is containing the internal stations and internal servers that contain all your business plan, marketing plan and financials details.
Remote User Segment - This segment is the most critical one and you must concern about it. A first time you must ask your self in advance, “Do we need our staff to access our internal network from outside or not?” If NO, just remove this segment and don’t care about it. Otherwise you must define your polices and techniques to secure this segment.
Firewalls 防火牆
For review purpose: TCP/IP headers information
Proxy Servers 代理伺服器
Figure: A proxy server working with a packet-filtering firewall (source Figure 14-4, Dean, Network+ Guide to Networks)
Intrusion detection systems (IDS) 入侵偵測系統
In a network-based intrusion-detection system (NIDS), the sensors are located at choke points in network to be monitored, often in the demilitarized zone (DMZ) or at network borders. The sensor captures all network traffic and analyzes the content of individual packets for malicious traffic.
In a host-based system, the sensor usually consists of a software agent, which monitors all activity of the host on which it is installed, including file system, logs and the kernel. Some application-based IDS are also part of this category.
Virtual Private Network (VPN) 虛擬專用網絡Introduction
VPN Design Requirements
VPN Types
![]()
Network Security Protocols
Internet Protocol Security (IPsec) is a protocol suite for securing Internet Protocol (IP) communications by authenticating and encrypting each IP packet of a data stream.
Transport Layer Security (TLS) and its predecessor, Secure Sockets Layer (SSL), are cryptographic protocols that provide security for communications over networks such as the Internet. TLS and SSL encrypt the segments of network connections at the Transport Layer end-to-end.
SSH (Secure Shell) is a common network protocol for remote administration of Unix computers.
Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.[1] Used primarily on GNU/Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for Telnet and other insecure remote shells, which send information, notably passwords, in plaintext, rendering them susceptible to packet analysis.[2] The encryption used by SSH provides confidentiality and integrity of data over an insecure network, such as the Internet.
References and ResourcesThanks for ReadingIf you would rather like to have this lecture note in printed format, please click the print action link in the top right corner. If you find any problem in this lecture note, please feel free to tell Steven via steven@findaway.hk. |