Network Security and Cryptography: KSR College of Engineering
Network Security and Cryptography: KSR College of Engineering
Network Security and Cryptography: KSR College of Engineering
Abstract
SECURITY in this
achieve optimal speed and security levels. It is hoped that the reader will have a wider perspective on security in general, and better understand how to reduce and manage risk personally.
contemporary scenarios has become a more sensible issue either it may be in REAL WORLD or in the CYBER WORLD .in this world as opposed to the cyber world an attack is often preceded by information gathering. Network security is a complicated subject, historically only tackled by well-trained and experienced experts. However, as more and more people becomewired'', an increasing number of people need to understand the basics of security in a networked world. Our paper covers different kinds of threats & firewalls in the network by implementation of different various security security services mechanisms. using The
security mechanisms are primarily based on cryptographic algorithms like symmetric-DES, AES, asymmetricRSA, ECC. Generally, the logical conclusion is to use both kind of algorithms and their combinations to
Firewalls
Types of firewalls
Types of cryptography
UUCP: (Unix-to-Unix Copy) was originally developed to connect UNIX (surprise!) hosts together. Internet: The Internet is the world's largest network of networks. Services for security: The use of services one or are intended to counter security attacks, and they make more security mechanisms to provide the service. 1. Confidentiality: Ensure that the information in a computer system and transmitted information are accessible only for reading by authorized parties. This type of access includes printing displaying and other forms of disclosure, including simply revealing the existence of an object. 2. Authentication: Ensure that the origin of a message or electronic document is correctly false; 3. Integrity: Ensures that only authorized parties are able to with an assurance that the identity is not
Conclusion Bibliography
Introduction: A basic understanding of computer networks is requisite in order to understand the principles of network security. In this section, we'll cover some of the foundations of computer networking, then move on to an overview of some popular networks. The impressive development of computer networks has reached the point, where security becomes essential. Users want to exchange data in a secure way. The problem of network security is a complex issue. Network security means a protection of the network assets.
Popular networks:
modify computer systems assets and transmitted information. writing, Modification includes
changing, changing status, deleting, creating and delaying or replaying of transmitted messages. 4. Non-repudiation: Requires that neither the sender nor the receiver of a message is able to deny the transmission. 5. Access control: Require that access to information resources may be controlled by or for the target system. 6. Availability: Require that computer systems assets be available to authorized parties when needed. (e) Fabrication Security threats Attacks: Attacks on the security of a computer system or network are best characterized by viewing the function of a computer system as provided information. This normal flow is depicted in figure: Categorization of these attacks is passive attacks and active attacks. Passive attacks: In this the goal of the attacker is to obtain information that is being transmitted. Two types of passive attacks are release of message contents and traffic analysis. Active attacks: These attacks involve some modification of the data stream or the creation of false stream and can be sub
information source information destination
(d) Modification
divided into 4 categories: Masquerade, Replay, Modification of messages, and denial of service.
Denial of service: DoS (Denial-ofService) attacks are probably the nastiest, and most difficult to address. Such attacks were fairly common in late 1996 and early 1997, but are now becoming less popular. Some things that can be done to reduce the risk of being stung by a denial of service attack include
executing commands illicitly, confidential breaches, destructive behavior. Where do the attacks come from? How, though, does an attacker gain access to your equipment? Through any connection that you have to the outside world. This includes Internet connections, dial-up modems, and even physical access.
Hope you have backups Stay current with relevant operating system patches Don't put data where it doesn't need to be Avoid systems with single
prevent obviously forged packets from entering into your network address space.
Keeping
up-to-date
on
points of failure Watch for relevant security advisories Firewalls: Firewalls can be an effective means of protecting a local system or network of systems from network based security threats while at the same time, a firewall is simply a group of components that collectively form a barrier between two networks. Types of firewalls:
security-related patches for your hosts' operating systems. Unauthorized Access : ``Unauthorized access'' is a very highlevel term that can refer to a number of different sorts of attacks. The goal of these attacks is to access some resource that your machine should not provide the attacker. These can take the form of a virus, worm, or Trojan horse. One of the most publicized threats to security is intruder. Generally referred to as a hacker or cracker, and some other threats are
Hybrid systems
The word cryptography is derived from Greek and when literally translated, means secret writing. The study of enciphering and encoding (on the sending end), and decoding (on the receiving end) is called cryptography. Although the distinction is fuzzy, ciphers are different from codes. When you mix up or substitute existing letters, you are using a cipher. Encryption refers to the transformation of data in plain text form into a form called cipher text, .The recovery of plain text requires the key, and this process is known as decryption. This key is meant to be secret information and the privacy of the text depends on the cryptographic strength of the key. Ciphers are broken
Best for me: Lots of options are available, and it makes sense to spend some time with an expert, either inhouse, or an experienced consultant who can take the time to understand your organization's security policy, and can design and build a firewall architecture that best implements that policy. Points of Failure: Any time there is only one component paying attention to what's going on between the internal and external networks, an attacker has only one thing to break (or fool!) in order to gain complete access to your internal networks.
Security
Mechanisms:
into two main categories, substitution ciphers and transposition ciphers. Substitution ciphers replace letters in the plaintext with other letters or symbols, keeping the order in which the symbols fall the same. Transposition ciphers keep all of the original letters intact, but mix up their order.
mechanism that is designed to detect, prevent, or recover from a security attack. Cryptography and Steganographic are such two techniques. Hence we focus on development, use and management of Cryptographic techniques.
ABCDEF
EAMTN
FTDIE
EHOTE
GHIJKLMNOPQRSTUVWXY Q W E R T
RHMEM BYESC GLOHO Types of Cryptography: There are three types of cryptographic algorithms: 1. Secret Key Cryptography. 2. Public Key Cryptography. 3. Hash Algorithms. Secret Key Cryptography: Secret key cryptography involves the use of single key. Given a message (Plain text) and the key, encryption produces cipher text, which is about the same length as the plain text was. Decryption is the reverse of encryption, and uses the same key as encryption. Encryption Plain text ------------------> cipher text Key Cipher text------------------> plain text Decryption Secret key cryptography is sometimes referred to as symmetric cryptography or conventional cryptography. If sender and receiver agree on a shared secret key, then
YUIOPASDFGHJKLZXCVB You can construct a secret message from the above table. Relative substitutions can be done. So, the message Meet me after school behind the gym, would read DTTZ DT QYZTK LEIGGS WTIOFR ZIT UND. Five letters are customary in the spy biz, so your message comes out like this: DTTZD TQYZT KLEIG GSWTI OFRZI TUNDM Transposition cipher: Text chosen in one form can be enciphered choosing a different route. To decipher, you fill the in box following the zigzag route and read the message using the spiral route. The cipher text becomes:
by using secret key cryptography we can send messages to one another on a medium that can be tapped, without worrying about eavesdroppers. All we need to do is have the sender encrypt the messages and the receiver decrypt them using the key. An eavesdropper will only see unintelligible data. Some of the secret key cryptography algorithms are - DES, 3-DES, blowfish, IDEA, AES, RC2, RC4, RC5, ECB etc.
Public key cryptography sometimes also referred to as asymmetric cryptography. The public key need not be kept secret, and, in fact, may be widely available, only its authenticity is required to guarantee that A is indeed the only party who knows the co-responding private key. A primary advantage providing of such systems public is keys that is authentic
Advantages Cryptography:
of
Secret
Key
Very fast relative to public key cryptography. Considered secure, provided the key is relatively strong. The cipher text is compact (i.e., encryption does not add excess Baggage to the cipher text).
generally easier than distributing secret keys securely, as required in symmetric key systems. The main objective of publickey encryption is to provide privacy or confidentiality. Public-key encryption schemes are typically substantially slower
Disadvantages Cryptography:
of
Secret
Key
than symmetric-key encryption algorithms such as DES. The private key and the public key are mathematically linked.
The administration of the keys can become extremely complicated. A large number of keys are needed to communicate securely with a large group of People. Public key Encryption Plain text ---------------------------------> cipher text
Much slower compared to secret key cryptography. The ciphertext is much larger than the plaintext, relative to secret key Cryptography.
Hash Algorithms: Public key cryptography can do anything secret key cryptography can do liketransmitting the data over an insecure channel, secure storage on insecure media, authentication algorithms are purposes RSA, (ECC), of and Elliptic ElGamal, Public digital Curve DH, key signatures. Some Public key cryptography Cryptography DSA/DSS etc. Advantages Cryptography: Considered very secure, and easy to configure these systems. No form of secret sharing is required, thus reducing key administration to a Minimum. Supports non-repudiation. The number of keys managed by each user is much less compared to secret key Cryptography. Disadvantages Cryptography: of Public key Hash algorithms are also known as message digests or one-way transformations. A cryptographic hash function is a mathematical transformation that takes a message of arbitrary length and computes from it a fixed length number. The following things can be done using hash algorithms. Password Hashing: When a user types a password, the system must store the password encrypted because someone else can use it. To avoid this problem hashing is used. When a password is supplied, it computes the password hash and compares it with the stored value if they match; the password is taken to be correct. Message Integrity: Cryptographic hash functions can be used to protect the integrity of a message transmitted over insecure media.
Message fingerprint:
We can know
Conclusion: Everyone has a different idea of what ``security'' is, and what levels of risk are acceptable. It's important to build systems and networks in such a way that the user is not constantly reminded of the security system around him. As and when new security methods are developed, breaking of these methods has increased. So measures have to be taken to fill the loopholes, of which cryptography has and is playing a major role. Cryptography is evergreen and developments in this area are a better option.
whether some data stored has been modified from one day to the next, if we save that data structure with a hash function. We can compare the hash function data structure with the message on the message data. If the message digest has not changed, you can be sure that none of the data is changed. Digital Signatures: can be efficiently implemented using hash functions. Implementation Issues Key Size: This has major role for amount of security. If the algorithm is inherently strong, then it can be assumed that the larger the key size for the ciphers, the harder it is for a hacker to perform an attack on the cipher text. But, larger keys lead to lower levels of performance. Thus there are, trade-offs, which are traditionally made between the level of security and other factors, like performance. Hybrid Systems: Just one crypto-system will not solve every problem. Most systems in use today employ a hybrid system.
References: o William Stallings: Cryptography and Network security: principles and practice: 2nd edition. o J.P. Holbrook, J.K. Reynolds. ``Site Security Handbook.'' o Douglas R.Stinson. Cryptography: theory and practice: 2nd edition o A.Menezes, P.van Oorschot and S.Vanstone: Handbook of Applied Cryptography.
o Smith,
Laurence the
Dwight. Science of