CSC650 Osboring

= CSC 650 Spring 06 Final Review... = Fill in as many questions as you guys can so that we can all save time and study together! Thanks =) To edit just click on the edit link on the side of the question the type in ur answers...

=Fall 2005=

Question 1 - Security Problems with WEP
What security problems are there with the WEP (Wired Equivalent Privacy) component of the 802.11 wireless standard? Answer: Weak encryption "Weak" encrypted packets are always sent at certain intervals. These with enough of these "weak" encrypted packets, hackers have the ability to capture these packets and later decipher the actual key used for encryption. Once this happens they will be able to decrypt all network traffic being broadcasted with that key. The larger usage of this WEP encrypted network, the more "weak" encrypted packets are sent, thus making it easier for hackers to break in.

Question 2 - definition of "software vulnerabilities"
Provide a definition of "software vulnerabilities" that is based on the definitions for "software" and "vulnerability" provided during class lectures.

Answer:

Each vulnerability is one or more threats applied to one or more ''assets' in a way that prevents meeting security goals.


 * 1) Interruption( Deletion )
 * 2) Interception ( Capturing data from network, etc )
 * 3) Modification ( change database, falsify document )
 * 4) Fabrication ( create fake data, ie. fake depost to offset real withdrawl)


 * buffer overflow
 * virus
 * trap door ( left in by system designer )
 * covert channel
 * backdoor ( rootkit, etc )
 * trojan horse

Question 3 - Virtual Private Networks (VPN)
Describe Virtual Private Networks (VPN), include an example of how they can be used to improve the security of a distributed work environment.

VPNs are encrypted communications channels which travel over an untrusted network like the internet.

They can function as extensions of an existing office network. This can allow remote workers to connect to systems at work in a trusted manner, and use them over an encrypted link. This reduces the possiblity of unauthorized access and of interception/modificaition.

Question 4
Compare and contrast the defense technique "policy" with "procedure".



Question 5
'''Provide a brief description of the four 'Firewall' design patterns described during class lectures. As part of each description provide an illustration of the design pattern.''' answer:



Question 6

 * What security problems did Version 2 of SNMP (Simple Network Management Protocol) have that were corrected by Version 3 of the protocol?

Not Covered in the final exam.

Question 7

 * Describe at least five important attributes of the Advanced Encryption Standard (AES) crypto-system.

answer... Developed: 1999 Block size: 128 bits Key length: 128, 192, 256 (and possibly more) bits Encryption primitives: Substitution, shift, bit mixing Cryptogrpahic primities: Confusion, diffusion Design: Open Design rationale: Open Selection process: Secret, but accepted open public comment Source: Independent Dutch cryptographers

Question 8

 * What steps are involved in planning and creating a secure networked system?

answer... Knowing what you're protecting Know what your goals are Know specific requirements Know your documentation & risk analysis Know your shit, nigga!

=Spring 2005=

Question 1

 * Describe at least five significant attributes of Rivest-Shamir-Adelman (RSA) Encryption. Include an example that shows how this form of encryption can be used to create a digital signature.

2.7, 2.5, public keys With a public key or asymmetric encryption system, each user has two keys: a       public key and a private key. The user may publish the public key freely. The keys operate as inverses. Let kPRIV be a user's private key, and let kPUB be the corresponding public key. Then, P = D(Kpriv,E(Kpub,P)That is, a user can decode     with a private key what someone else has encrypted with the corresponding public      key. Furthermore, with the second public key encryption algorithm, P =      D(Kpub,E(Kpriv,P) so a user can encrypt a message with a private key and the message can be revealed only with the corresponding public key. (We study an     application of this second case later in this chapter, when we examine digital      signature protocols.)

Question 2

 * Describe "Overlap" and provide two examples of how this technique can be used to create useful defense techniques.

Description: Overlap (p. 26-27) several different controls may apply to address a single vulnerability sometimes called a layered defense, in the expectation that one control will compensate for a failure of another. must have at least 2 to overlap. Examples: 1.    2.

Question 3

 * Describe Virtual Private Networks (VPN), include some details on how they can be used to improve the security of highly distributed systems. 

Answer... Stop putting this gay question on here!

Question 4

 * Describe the multilevel security model used by the USA government and military.

1. Top Secret 2. Secret 3. Confidential 4. Classified 5. Unclassified

Question 5

 * Describe the concept of a 'Firewall'. List and describe the different firewall design components used with the firewall design patterns presented in class.

A firewall is a device that filters all traffic between a protected or "inside" network and a less trustworthy or "outside" network. Usually a firewall runs on a dedicated device; because it is a single point through which traffic is channeled. Nonfirewall functions should not be done on the same machine. The purpose of a firewall is to keep "bad" things outside a protected environment. To accomplish that, firewalls implement a security policy that is specifically designed to address what bad things might happen. -computer -network -switch/hubs -interfaces

---

Military security enforces both sensitivity requirements and need-to-know requirements. Information is ranked according to its sensitivity (from least to most: unclassified, restricted, confidential, secret, top secret). Information is also associated to one or more compartments (or projects). In order for someone to be able to access the information they must dominate it. This means their security level must be greater to or equal to the information's level, and they must have access to the corresponding information's compartment.

Question 6

 * Compare and contrast the software vulnerabilities, 'trapdoor' and 'trojan horse'.

Both allow unauthorized access to a system. Trapdoor is a piece of code left behind by someone from the "inside" and usualy requires a password. Trojan Horse is a program that contains unexpected, secondary functionality in addition to what it should do. Usually trojans are used to drop backdoors to allow remote access by unauthorized user.

Question 7

 * What steps can be taken to make Local Area Networking (LAN) secure?

1. Use switches instead of hubs to connect the network infrastructure. Hubs broadcast network traffic across all systems connected to it whereas switches only send to       the intended MAC address.

2. Even better than a normal switch, use a managed switch so that it can be configured to disable a port if a cable becomes disconnected. Ensure that the only possible way of reactivating that network port is to have a network administrator reset it. This ensures that unintended parties do not get access to the LAN by disconnecting an allowed system from the network.

3. If connected to the internet or another "outside" network, ensure the bridging of the different networks only happens on one segment. This allows for a much easier configuration between foreign networks. The adapter/system bridging the networks together should be configurable so that only certain traffic will be allowed behind the network, pretty much, use a firewall.

=Fall 2004=

Question 1

 * What are the major components of security and secure networked systems?

Answer here...

look at it from the systems point of view

-people -machines -benefits -?

Question 2

 * What steps can be taken to make Wireless Networking secure?

1. MAC Address Filtering

2. Use WEP (Wired Equivilent Protocol) or WPA (Wi-Fi Protected Access) <-- Preferred if supported

3. Change default administrator password on router(s) / access point(s)

4. Change default SSID on router(s) / access point(s)

5. If possible, don't use wireless at all.

Question 3

 * Compare and contrast the software vulnerabilities,

Answer... Select two here: *Virus vs. Trojan *DoS Attack vs. Salami Exploit

Question 4

 * Describe the 'dominance' relation of the multilevel security model used by the USA government and military.

answer...

checking to see if a person has the right clasifications.

Question 5

 * List and describe the different components found in the firewall design patterns presented in class. Draw a picture of the only design pattern that requires use of all of these components.

Answer here ...

Question 6

 * Describe IPSec, include some details on how it improves network security.

Ip sec is secutrity enhancements of IP6 or upgrades to previous versions

=Spring 2004=

Question 1

 * Describe how to shop online safely


 * 1) Only shop at sites you trust.
 * 2) Use a separate credit card for online-only purchases that can easily be tracked if any unauthorized transactions occur.
 * 3) Only shop on sites that support the SSL protocol.
 * 4) When presented with a link, copy the link and paste it into the address bar toensure that the address listed in the text will actually go to where you want it to.

Question 2

 * Compare and contrast DES encryption with RSA encryption.Include with your analysis a brief description of each,    their strengths, and their weaknesses

*** DES Encryption *** Developed during the early 1970s 64-bit block 56-bit key Open design Pros: Cons:

*** RSA Encryption *** Asymmetric, 2 keys Public key Simplifies distribution of keys Private Key, Other key is kept secret Up to 4096 bit key. Pros: Good for : - key exchange - authentication - signatures - signed certificates Cons:

Question 3

 * Briefly describe each of the following software vulnerabilities. virus, worm, trojan horse, trapdoor, covert channel, salami

Virus: small piece of program code that infects other programs as they run. Worm: "write once, read many" usually associated with network propagation. A worm will typically write a copy of itself on one system and then try and repeat this process to as      many systems on the network. .   Trojan horse:  This is a piece of software designed to allow an external user from an       unintended external     network access to the internal network. .   Trapdoor:  This type of vulnerability is created by a manager or system designer to       allow the disabling of a system's security. .   Covert Channel:  This is another form of a "backdoor" in which those who are not supposed to have access to a resource is given access via this covert channel. .   Salami: The salami exploit is a way of slowly taking small chunks of data (such as round-off errors) and transferring it covertly elsewhere.

Question 4
Briefly describe the multilevel security model used by the USA government and military. answer...

Question 5

 * Which of the firewall design patterns presented in class provide support for a 'DMZ' local area network? Draw a     small picture of these patterns and label the physical components.

the fourth design, contains computer system, routers, hub/switches.

Question 6

 * Fully describe "Controls" and provide four examples of how these techniques can be used to enhance the usefulness    of other defense techniques.

Controls:

Trust - When expecting a good outcome and accepting the bad. Example: When you trust a commerce web site and connect to it to buy something, you are trusting they will keep your information private; you will accept it (sorta) if they mistakenly cancel your order. Access Control - Only those allowed to modify are allowed in to read, write, delete, and/or update. Example: You are given an account on thecity.sfsu.edu, but an access control scheme is in effect so you do not have access to modify/delete important system files. Authentication - A method of proving one's identity. Example: Your driver's license, or student ID so no one can say they are actually another person without proving themselves first. Access List - Permits only those allowed into the system. Example: A guest list a a club is a form of an access list. Only those listed will be permitted to enter for free.

=Fall 2003=

Question 1

 * Describe 'encryption' and include two examples of how they are used in network systems to block vulnerabilities.   Each of your examples must be derived from a different student oral presentations.

Answer here...

Question 2
'''What are the four main firewall design patterns? Draw a small picture of each and label the physical components.''' Answer ...

Question 3

 * For each of the firewall design patterns in the previous question, how many packet filters require configuration for each design?

Answer...

Question 4

 * Describe "RSA" encryption. Include a list of its main attributes.

answer...

Question 5

 * Describe the "Security Planning" process. Include a list of key components of this process.

Security Plan -	set of documents -	policy (stable over time) -	realistic o	change need if policy is not followed -	objective + goals -	user standards -	current state o  describe how its currently done o	overview procedure o	requirements/ recommendations o	use CISCO products in firewalls -> requirement o	asset inventory -	controls  recommendation -	accountability o	who is responsible o	asset subsets -	timetable o	schedule tasks o	schedule tasks improvements -	continuing activities o	regular improvement o	problem areas

Question 6

 * Fully describe "Controls" and provide four examples of how these techniques can be used to enhance its usefulness.

trust the expectation of a good outcome, while accepting the risk of a bad outcome.

access rights (a set of rights; eg. read/write/update/delete)

authentication

identity certification signature/attribution

access lists (tuples of trust, access rights, and authentication)

A vulnerability can be blocked by applying appropriate controls to the threatened assets.

=Spring 2003=

Question 1
'''Describe 'controls' and include four examples of how they are used in network systems to block vulnerabilities. Each of your examples must be derived from different student oral presentations.''' Answer here...

Question 2
'''What is a 'firewall'? As part of your answer create an example firewall using two packet filtering routers with one ethernet switch between the routers. Provide an initial draft description of one of the router communications port TCP/IP packet filters. (just one packet filer from one router I/O port)''' Answer ...

Question 3
Compare and contrast 'computer viruses' with 'network worms'.

Question 4
Describe "Regular Review" and how this activity aids in the creation and maintenance of security. answer...

Question 5
Compare and contrast DES encryption with RSA encryption.Include the strengths and weaknesses of these encryption algorithms in your analysis. Answer here ...

Question 6
Fully describe "Overlap" and provide two examples of how this defense technique can be used to enhance the usefulness of other defense techniques. Answer here ... Overlap is another name for layered defense or redundancy -- expectation that one control will compensate for the failure of another. Overlap is use of multiple things to protect an object/asset ie) using two encryption ie) one or more conrols or defenses

=Additional Stuff=

Router Vs Bridge
To understand the similarities and differences of these two network devices you first need a to understand the difference between a Physical LAN and a Logical LAN.

(LAN == Local Area Network)

The Physical LAN is comprised of the wire, hubs and switches that make up the LOCAL network. All LAN technologies have limits to length of the wire, the number of wire segments. This creates a physical upper limit to the size of the LAN. Thus a Physical LAN can not include computers in locations that are beyone the physical limitations of the hardware.

A 'bridge' joins two or more Physical LANs together to make one Logical LAN. Technology that has no limit on distance is used to connect the bridges together. The bridges are transparent to the protocol used by the LANs. This means computers in the LAN do not specifically send packets to the bridges. | <-- One Logical Network > | |---| |--|             |--| |---| | LAN 1 |-| Bridge 1 |-->WAN Link<--| Bridge 2 |-| LAN 2 | |---| |--|\           /|--| |---|                        \          /                        |--| |---|                        | Bridge 3 |-| LAN 3 | |--| |---|

Multiple networking protocols can be used with 'ethernet' LAN technologies. So an 'ethernet' bridge is transparent to all ethernet application protocols.

A 'router' joins two or more Logical Networks together to make one greater network. When a packets are destined for an address outside of the local logical network, they are forwarded to a router that knows how to 'route' packets to destinations beyond the local network. The router then sends the packet to a different logical network. Since each client computer must specificaly send packets for external routing to a router, the router is not transparent to the protocol used by the LANs.

| <--- Multiple Networks --> | |---| |--|             |--| |---| | Net 1 |-| Router 1 |-->WAN Link<--| Router 2 |-| Net 3 | |---| |         |              |--| |---|           |          | |---| |          |              |--| |---| | Net 2 |-|          |-->WAN Link<--| Router 3 |-| Net 4 | |---| |--|             |--| |---|

The networking protocol defines how each interface or computer system is addressed within each Network. Each router must be specifically configured, either manually or by using a routing application protocol.

Each of the "Net" elements about refers to a single logical network.

Both of the above example illustrations are not the simplest example of how each technology can be used.

thicknet vs thinnet vs 10BaseT, etc.
Please see the wiki entries for more details and photos. I am certain that when originally introduced the max cable length for Thick-Net was 1 Km, but the Wiki entry says the 10Base5 standard is limited to 500m.

Both thicknet and thinnet technologies are now considered obsolete. You may still find them in use at installations that are using old equipment or old networking infrastructure. The main thing they illustrate is that 'ethernet' technology has changed many times since it was first introduced.

- Original Ethernet wiring. - .375" diameter - 10Base 5  - 500 m max length (attenuation limit)      7 max relays    4 km distance gross total  - data transfer speed: 10 Mbps   - Benefit: you can add a computer to the network w/o breaking the signal
 * Thick-Net: http://en.wikipedia.org/wiki/10BASE5

- "Improvement" over Thick-Net - .25" diameter - 10Base 2  - max length: 185 meters  - data transfer speed: 10 Mbps  - Benefit: simpler, cheaper and more flexible (thinner)  - Regardless, Thick-Net was still used for backbone (for longer distances)
 * Thin-Net: http://en.wikipedia.org/wiki/10base2

- "Improvment" over Thin-Net - twisted "T" pair, telephone style cable - 100 m max length - data transfer speed: 10 Mbps - Benefit: simpler, cheaper and more flexible (even thinner)
 * 10BaseT: http://en.wikipedia.org/wiki/10BASE-T

See also:


 * 100BaseTX: http://en.wikipedia.org/wiki/100BASE-TX


 * 100BaseFX: http://en.wikipedia.org/wiki/100BASE-FX


 * 100BaseSX: http://en.wikipedia.org/wiki/100BASE-SX


 * 1000BaseTX: http://en.wikipedia.org/wiki/1000BASE-TX