NIS Model Answer Papers
NIS Model Answer Papers
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 1/ 26
Q.1.
The need of computer security has been threefold: confidentiality, integrity, and availability—the
“CIA” of security.
1. Confidentiality: the principle of confidentiality specifies that only sender and intended
recipients should be able to access the contents of a message. Confidentiality gets compromised
if an unauthorized person is able to access the contents of a message.
A Secret B
Here, the user of a computer A send a message to user of computer B. another user C gets access
to this message, which is not desired and therefore, defeats the purpose of Confidentiality.
This type of attack is also called as interception.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 2/ 26
For example, suppose that user C sends a message over the internet to user B. however, the
trouble is that user C had posed as user A when he sent a message to user B. how would user B
know that the message has come from user C, who posing as user A? This concept is shown in
fig. below.
This type of attack is called as fabrication.
A I am B
user A
C
Fig. absence of authentication
3. Integrity: when the contents of the message are changed after the sender sends it, but before it
reaches the intended recipient, we say that the integrity of the message is lost.
For example, here user C tampers with a message originally sent by user A, which is actually
destined for user B. user C somehow manages to access it, change its contents and send the
changed message to user B. user B has no way of knowing that the contents of the message were
changed after user A had sent it. User A also does not know about this change.
A B
ii. Explain any four the password selection strategies.( 4 marks for 4 points)
The major security problems are because of user is not following established security policies.
- User always chooses a password that is easy to remember but easier passwords are easy to
crack by attacker but when user choose difficult passwords that again it is difficult to remember.
- To make the job of attacker difficult organization encourage their users to use mixture of
upper case & lower character & also include numbers & special symbols in their passwords. This
may make the guessing of password difficult.
Organization also includes additional policies & rules related to password selection.
- In the organization, user may frequently change their passwords.
- Password should not written down on paper & do not kept in purse or wallet because if
attacker get physical access then they will find a password of user somewhere in drover or desk
,inside of desk calendar.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 3/ 26
- Many users have many accounts & password to remember. Selecting different password
for each account, following the guidelines mentioned above for character selection & frequency
of changes, aggravates the problem of remembering the passwords. This results that the users
frequently use the same password for all accounts. If user does this, then one of account is broken,
all other accounts are subsequently under threat. Good password selection & protection is applied
to electronic world also.
OR
There are four basic techniques to reduce guessable passwords:
a) User education: Tell the importance of hard-to-guess passwords to the users and provide
guidelines for selecting strong password.
b) Computer generated password: Computer generated passwords are random in nature so
difficult for user to remember it and may note down somewhere..
c) Reactive password checking: the system periodically runs its own password cracker
program to find out guessable passwords. If the system finds any such password, the system
cancels it and notifies the user.
d) Proactive password checking: It is a most promising approach to improve password
security. In this scheme, a user is allowed to select his own password, if password is allowable
then allow or reject it.
3. Plain text: Plain text or clear text significance that can be understood by sender, the recipient
& also by anyone else who gets an access to that message.
4. Cipher Text: When plain text message is codified using any suitable scheme, the resulting
message is called as cipher text.
iv. Describe SYN flooding attack with diagram. (1 marks for diagram, 3 marks for
explanation)
Denial of service (DOS) attacks can exploit a known vulnerability in a specific application or
operating system, or they may attack features (or weaknesses) in specific protocols or services. In
this form of attack, the attacker is attempting to deny authorized users access either to specific
information or to the computer system or network itself.
The purpose of such an attack can be simply to prevent access to the target system, or the attack
can be used in conjunction with other actions in order to gain unauthorized access to a computer
or network.
SYN flooding is an example of a DOS attack that takes advantage of the way TCP/IP networks
were designed to function, and it can be used to illustrate the basic principles of any DOS
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 4/ 26
[Link] flooding utilizes the TCP three-way handshake that is used to establish a connection
between two systems.
In a SYN flooding attack, the attacker sends fake communication requests to the targeted system.
Each of these requests will be answered by the target system, which then waits for the third part of
the handshake. Since the requests are fake the target will wait for responses that will never come,
as shown in Figure .
The target system will drop these connections after a specific time-out period, but if the attacker
sends requests faster than the time-out period eliminates them, the system will quickly be filled
with requests. The number of connections a system can support is finite, so when more requests
come in than can be processed, the system will soon be reserving all its connections for fake
requests. At this point, any further requests are simply dropped (ignored), and legitimate users
who want to connect to the target system will not be able to. Use of the system has thus been
denied to them.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 5/ 26
The Data Encryption Standard is generally used in the ECB, CBC, or the CFB [Link] is a
block cipher . It encrypts data in blocks of size 64 bits each. That is, 64 bits of plain text goes as
the input to DES, which produces 64 bits of cipher [Link] is based on the two fundamental
attributes of cryptography: substitution and transposition ( 1 mark)
The process diagram as follows (1 mark)
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 6/ 26
Key Transformation
Expansion Permutation
S-box substitution
P-box Permutation
Step 1 : key transformation: the initial key is transformed into a 56-bit key by discarding
every 8th bit of initial key. Thus ,for each round , a 56 bit key is available, from this 56-bit
key, a different 48-bit sub key is generated during each round using a process called as
key transformation
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 7/ 26
corresponding 6-bit block, per 4-bit block, 2 more bits are added. They are the repeated
1st and 4th bits of the 4-bit block. The 2nd and 3rd bits are written as they were in the
input. The 48 bit key is XORed with the 48-bit RPT and the resulting output is given to
the next step.
Step 3: S-box substitution: It accepts the 48-bits input from the XOR operation involving
the compressed key and expanded RPT and produces 32-bit output using the substitution
techniques. Each of the 8 S-boxes has a 6-bit input and a 4-bit output. The output of each
S-box then combined to form a 32-bit block, which is given to the last stage of a round.
Step 4: P- box permutation: the output of S-box consists of 32-bits. These 32-bits are
permuted using P-box.
Step 5: XOR and Swap: The LPT of the initial 64-bits plain text block is XORed with
the output produced by P box-permutation. It produces new RPT. The old RPT becomes
new LPT, in a process of swapping.
Final Permutation: At the end of 16 rounds, the final permutation is performed. This is
simple transposition. For e.g., the 40th input bit takes the position of 1st output bit and so
on.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 8/ 26
b) Define access control and describe DAC, MAC and RBAC access control model.
Different User will be granted different permissions to do specific duties as per their
classification.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 9/ 26
Authentication
2) Server(AS)
After verification, a time stamp is created. It will put the current time in user session with
an expiry date. Then the encryption key is created. The timestamp tells that after 8 hours the
encryption key is useless.
3) The key is sent back to the client in the form of a ticket-granting ticket (TGT).It is a
simple ticket which is issued by the authentication server(AS) and used for authenticating the
client for future reference.
Ticket granting
Client ticket
Time stamp:8
hours
Authentication Server
(AS)
Then the client submits this TGT to the ticket granting server (TGS), for authentication.
Client
Authentication
Server (AS)
TGT
Timestamp:8
hours
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 10/ 26
4) TGS creates an encrypted key with a time stamp and grants a service ticket to the
client.
Client
Authentication Server
Encrypted (AS)
key
Client
Encrypted key
Time stamp:
8hours
Service server
The service server decrypts the key send by the client and checks the validity of the time
stamp. If timestamp is valid, the service server contacts the key distribution center to
receive a session which is returned to the client.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 11/ 26
6) The client then decrypts the ticket. If the key is still valid then the communication is
initiated between client and server.
succes
client s Service
server
Enrollment
Feature Template Matcher
Preprocessing
extractor generator
Sensor
Application
device
Biometric refers study of methods for uniquely recognizing humans based upon one or
more intrinsic physical or behavioral characteristics. Biometric identification is used on
the basis of some unique physical attribute of the user that positively identifies the user.
Example: finger print recognition, retina and face scan technic, voice synthesis and
recognition and so on. Physiological are related to shape of the body. For example finger
print, face recognition, DNA, palm print, iris recognition and so on. Behavioral are related
to the behavior of a person.
For example typing rhythm, gait, signature and voice.
The first time an individual uses a biometric system is called an enrollment. During the
enrollment, biometric information from an individual is stored. In the subsequent uses,
biometric information is detected and compared with the information stored at the time of
enrollment.
1) The first block (sensor) is the interface between the real world and the system; it has
to acquire all the necessary data.
2) The 2nd block performs all the necessary preprocessing.
3) The third block extracts necessary features. This step is an important step as the
correct features need to be extracted in the optimal way.
4) If enrollment is being performed the template is simply stored somewhere (on a card
or within a database or both).if a matching phase is being performed the obtained
template is passed to a matcher that compares it with other existing templates,
estimating the distance between them using any algorithm. The matching program
will analyze the template with the input. This will then be output for any specified use
or purpose.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 12/ 26
c) What are the techniques for transforming plain text to cipher text? Explain
any one in detail.
(Explanation of any one is allowed) (Marks 2) for example.
Caesar cipher:
It is proposed by Julius Caesar. In cryptography Caesar cipher also known as caesar’s
cipher/code, shift cipher/code.
It is one of the simplest and most widely known encryption techniques.
It is a type of substitution technique in which each letter in the plain text is replaced by a
letter some fixed number of position down the alphabet.
For example, with a shift of 3, A would be replaced by D, B would became E, and so on
as shown in the table below.
Plain
A B C D E F G H I J K L M
text
Cipher
D E F G H I J K L M N O P
text
Plain N O P Q R S T U V W X Y Z
text
Cipher Q R S T U V W X Y Z A B C
text
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 13/ 26
The cipher text for the plain text COME HOME as follows:
C M H M
O E O E
3. Encryption
Message Digest
-It starts by creating a MD of email message using an algorithm such as MD2 or MD5.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 14/ 26
- The MD thus created is then encrypted with sender’s private key to form the sender’s
digital signature.
10101
01010 encrypt Digital
10… signature
Step 3-encryption:
The original email and the digital signature are encrypted together with a
symmetric key
Email message
To: Symmetric key
From:
Subject: Encrypted
encrypt
+ result
Digital
DES or DES-3 in CBC mode
signature
Step 4: Base- 64 encoding-This process transforms arbitrary binary input into printable
character output. The binary input is processed in blocks of 3 octets or 24 bits. These 24
bits are considered to be made up of 4 sets, each of 6 bits. Each such set of 6 bits is
mapped into an 8-bit output character in this process.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 15/ 26
e) Describe:
i. Application patches
ii. Upgrades.
i) Application patches (2marks)
As o.s continues to grow and introduce new functions, the potential for problems with
the code grows as well. It is almost impossible for an operating system vendor to test
its product on every possible platform under every possible platform under every
possible circumstance, so functionality and security issues do arise after an o.s. has
been released. Application patches are likely to come in three varieties: hot fixes,
patches and upgrades.
Application patches are supplied from the vendor who sells the application.
Application patches can be provided in many different forms like can be downloaded
directly from the vendor’s web site or FTP site or by CD. Application patches are
probably come in three varieties: hot fixes, patches and upgrades.
ii) Upgrades (2 marks)
These are another popular method of patching applications, and they are likely to be
received with a more positive role than patches. The term upgrade has a positive
implication-you are moving up to a better, more functional and more secure
application. The most vendors will release upgrades for fixes rather than any new or
enhanced functionality.
Q.4.
a) Attempt any Three of the following:
i. Consider a plain text “Computer Security” encrypt it with the help of rail fence
Technique also write the algorithm.
(2 marks for encryption and 2 marks for algorithm)
Rail Fence Technique algorithm:
3. Write down the plain text message as a sequence of diagonals.
4. Read the plain text written in step1 as a sequence of rows.
The cipher text for the plain text Computer security as follows:
C m u e s c r
o p t r e u i y
ii. Describe packet filtering router firewall with neat diagram.(2 marks for explanation and
2 marks for diagram)
Internal(private internet
) network
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 16/ 26
Packet filter
Outgoing packets
Outgoing packets Incoming packetspackets
incoming
A packet filtering router firewall applies a set of rules to each packet and based on
outcome, decides to either forward or discard the packet. Such a firewall
implementation involves a router, which is configured to filter packets going in either
direction i.e. from the local network to the outside world and vice versa.
A packet filter performs the following functions.
1. Receive each packet as it arrives.
2. Pass the packet through a set of rules, based on the contents of the IP and transport
header fields of the packet. If there is a match with one of the set rule, decides whether
to accept or discard the packet based on that rule.
3. If there is no match with any rule, take the default action. It can be discard all packets
or accept all packets.
Advantages: simplicity, transparency to the users, high speed
Disadvantages: difficult to set up packet filtering rules, lack of authentication.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 17/ 26
iv. What is secure electronic transaction? Enlist and describe any four components
of SET.
Secure electronic Transaction is an open encryption and security specification that is
designed for protecting credit card transactions on the Internet. It is a set of security
protocols and formats that enable the users to employ the existing credit card payment
infrastructure on the internet in a secure manner.(1 mark)
Components of SET (1 mark)
1) Cardholder
2) Merchant
3) Issuer
4) Acquirer
5) Payment gateway
6) Certification Authority(CA)
Describe any four (1/2 mark for each)
1) Cardholder: A cardholder is an authorized holder of a payment card such as
MasterCard or Visa that has been issued by an Issuer.
2) Merchant: Merchant is a person or an organization that wants to sell goods or services
to cardholders.
3) Issuer: The issuer is a financial institution that provides a payment card to a
cardholder.
4) Acquirer: this is a financial institution that has a relationship with merchants for
processing payment card authorizations and payments. Also provides an assurance that
a particular cardholder account is active and that the purchase amount does not exceed
the credit limits. It provides electronic fund transfer to the merchant account.
5) Payment Gateway: It processes the payment messages on behalf of the merchant. It
connects to the acquirer’s system using a dedicated network line.
6) Certification Authority(CA): This is an authority that is trusted to provide public key
certificates to cardholders, merchant, and Payment Gateway.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 18/ 26
They have to study or to gain knowledge They have a knowledge about the
about the security system security system.
They do not have access to system. They have easy access to the system
because they are authorized users.
Many security mechanisms are used to There is no such mechanism to protect
protect system from Intruders. system from Insiders.
ii. Describe:
1. Man in the middle attack
2. Replay attach with diagrams.
i) Man in the middle attack:(3 marks)
A man in the middle attack occurs when attackers are able to place themselves in the
middle of two other hosts that are communicating in order to view or modify the
traffic. This is done by making sure that all communication going to or from the target
host is routed through the attacker’s host.
Then the attacker is able to observe all traffic before transmitting it and can actually
modify or block traffic. To the target host, communication is occurring normally, since
all expected replies are received.
Communication appears to direct
Host B Host A
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 19/ 26
In replay attack an attacker captures a sequence of events or some data units and
resends them. For example suppose user A wants to transfer some amount to user C’s
bank account. Both users A and C have account with bank B. User A might send an
electronic message to bank B requesting for fund transfer. User C could capture this
message and send a copy of the same to bank B. Bank B would have no idea that this
is an unauthorized message and would treat this as a second and different fund transfer
request from user A. So C would get the benefit of the fund transfer twice.-once
authorized and once through a replay attack.
message
Host A(User A) Host B(Bank)
message
message
Host C(attacker)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 20/ 26
b) Describe the components of HIDS with neat diagram. State its advantages and
disadvantages.(2 marks explanation , diagram 2 marks, 2 Advantages, Disadvantages 2
Marks)
Intrusion detection system (IDS):
An intrusion detection system (IDS) monitors network traffic and monitors for
suspicious activity and alerts the system or network administrator. In some cases the IDS
may also respond to anomalous or malicious traffic by taking action such as blocking
the user or source IP address from accessing the network.
1. HIDS
Host Intrusion Detection Systems are run on individual hosts or devices on the
network. A HIDS monitors the inbound and outbound packets from the device
only and will alert the user or administrator when suspicious activity is detected.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 21/ 26
Advantages:
O.S specific and detailed signatures.
Examine data after it has been decrypted.
Very application specific.
Determine whether or not an alarm may impact that specific.
Disadvantages:
Should a process on every system to watch.
High cost of ownership and maintenance.
Uses local system resources.
If logged locally, could be compromised or disable.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 22/ 26
end user or computer system to authenticate the user or the application at the other end
and decides to accept or reject packets accordingly. This also prevents IP spoofing
attacks. AH is based on MAC protocol, which means that the two communicating parties
must share a secret key in order to use AH.
Diagram
Diagram
2) Transport mode:
Transport mode does not hide the actual source and destination addresses. They are
visible in plain text, while in transit. In the transport mode, IPSec takes the transport
layer payload, adds IPSec header and trailer, encrypts the whole thing and then adds the
IP header. Thus IP header is not encrypted.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 23/ 26
Diagram
1. Installing unauthorized software from internet may create backdoors in your system or
network which can be used to access a system by avoiding normal security mechanism.
2. When we are installing various games from the internet, the problems with such a
download is that users don’t know from where the software originally came and what may
be hidden inside it?
3. Accessing and downloading data from unofficial sites can create virus problem into
your system as well in entire network.
4. Unauthorized hardware device and software product is not capable to protect your
system/network due to lack in security functionality.
Caesar cipher:
It is proposed by Julius Caesar. In cryptography, Caesar cipher also known as Caesar’s
cipher/code, shift cipher/code.
It is one of the simplest and most widely known encryption techniques.
It is a type of substitution technique in which each letter in the plain text is replaced
by a letter some fixed number of position down the alphabet.
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 24/ 26
Plain
A B C D E F G H I J K L M
text
Cipher
D E F G H I J K L M N O P
text
Plain
N O P Q R S T U V W X Y Z
text
Cipher
Q R S T U V W X Y Z A B C
text
It avoids outside users from getting direct access to a company’s data server. A DMZ is an
optional but more secure approach to a firewall. It can effectively acts as a proxy server.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 25/ 26
The typical DMZ configuration has a separate computer or host in network which receives
requests from users within the private network to access a web sites or public network.
Then DMZ host initiates sessions for such requests on the public network but it is not able
to initiate a session back into the private network. It can only forward packets which have
been requested by a host.
The public network’s users who are outside the company can access only the DMZ host.
It can store the company’s web pages which can be served to the outside users. Hence, the
DMZ can’t give access to the other company’s data.
By any way, if an outsider penetrates the DMZ’s security the web pages may get
corrupted but other company’s information can be safe.
d) Describe:
i. Hacking
ii. Cracking
(2 marks for each)
(i) Hacking:
Hacking is one of the most well-known types of computer crime. A hacker is someone who
find out and exploits the weaknesses of s computer systems or networks.
Hacking refers to unauthorized access of another’s computer systems. These intrusions are
often conducted in order to launch malicious programs known as viruses, worms, and Trojan
horses that can shut down hacking an entire computer network.
Hacking is also carried out as a way to talk credit card numbers, intent passwords, and other
personal information.
By accessing commercial database, hackers are able to steal these types of items from
millions of internet users all at once.
There are different types of hackers:
1. White hat
2. Black hat
3. Grey hat
4. Elite hacker
5. Script hacker
(ii) Cracking:
In the cyber world, a cracker is someone who breaks into a computer system or network
without authorization and with the intention of doing damage.
Crackers are used to describe a malicious hacker.
Crackers get into all kinds of mischief like he may destroy files, steal personal information
like credit card numbers or client data, infect the system with a virus, or undertake many
others things that cause harm.
Cracking can be done for profit, maliciously, for some harm to organization or to individuals.
Cracking activity is harmful, costly and unethical.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Winter – 14 EXAMINATION
Subject Code: 17514 Model Answer Page 26/ 26
e) Explain secure socket layer and describe the SSL protocol stack with neat diagram.
(Diagram 1 mark, Explanation of blocks 3 marks)
SSL:
SSL is a commonly used internet protocol for managing the security of a message
transmission between web browser and web server.
SSL is succeeded by transport layer security (TLS) and it is based on SSL.
SSL uses a program layer which is located between internet’s hypertext transfer protocol
(http) and transport control protocol (TCP) layers.
SSL is included as part of both the Microsoft and Netscape browsers and most web server
products.
SSL provides two levels of security services, authentication and confidentiality. SSL is
logically a pipe between web browser and web server.
1. Handshake protocol:
This protocol allows the server and client to authenticate each other.
Also, it will allow negotiating an encryption and MAC algorithm.
This protocol is used before transmitting any application data. Basically, this protocol contains
a series of messages exchanged by client and server.
The handshake protocol is actually made up of four phases, those are:
I. Establish security capabilities
II. Server authentication and key exchange
III. Client authentication and key exchange
IV. Finish
2. Record protocol:
Record protocol comes into the picture after a successful completion of handshake between
client and server. It provides two services for SSL connection, as follow:
a) Confidentiality: this is achieved by using the secret key that is defined by the handshake
protocol.
b) Integrity: the handshake protocol also defines a shared secret key (MAC) that is used for
assuring the message integrity.
3. Alert protocol: when either the client or the server detects an error, the detecting party
sends an error message to other party.
If the error is fatal, both the parties immediately close the SSL connection. Both the parties
also destroy the session identifiers, secret and keys associated with this connection before it is
terminated.
Other errors, which are not so severe, do not result in the termination of the communication.
Instead, the parties handle the error and continue.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 1/ 26
A Secret B
C
Fig. Loss of confidentiality
Here, the user of a computer A send a message to user of computer B. another user C gets access
to this message, which is not desired and therefore, defeats the purpose of Confidentiality.
This type of attack is also called as interception.
2. Authentication: Authentication helps to establish proof of identities. The Authentication
process ensures that the origin of a message is correctly identified.
For example, suppose that user C sends a message over the internet to user B. however, the trouble
is that user C had posed as user A when he sent a message to user B. how would user B know that
the message has come from user C, who posing as user A? This concept is shown in fig. below.
This type of attack is called as fabrication.
A I am B
user A
C
Fig. absence of authentication
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 2/ 26
3. Integrity: when the contents of the message are changed after the sender sends it, but before it
reaches the intended recipient, we say that the integrity of the message is lost.
For example, here user C tampers with a message originally sent by user A, which is actually
destined for user B. user C somehow manages to access it, change its contents and send the
changed message to user B. user B has no way of knowing that the contents of the message were
changed after user A had sent it. User A also does not know about this change.
This type of attack is called as modification.
Ideal route of message
A B
b) List any four biometrics methods used for identification. List any four advantages of
biometrics.
Biometric refers study of methods for uniquely recognizing humans based upon one or more
intrinsic physical or behavioral characteristics.
Different methods of Biometrics (any four 2Marks)
1. Finger print recognition
2. Hand print recognition
3. Retina/iris scan technique
4. Face recognition
5. Voice patterns recognition
6. Signature and writing patterns recognition
7. Keystroke dynamics
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 3/ 26
Encryption:
The process of encoding plain text into cipher text message is known as Encryption.
dddee
Plain text Encrypt Cipher text (1 mark)
Decryption:
The reverse process of transforming cipher text message back to plain text message is called
decryption.
(1 mark)
Cipher text Decrypt Plain text
sender receiver
Decrypt
Encrypt
Cipher text
Cipher text Internet
a) Masquerader: A user who does not have the authority to use a computer, but penetrates
into a system to access a legitimate user‘s account is called a masquerader. It is generally
an external user.
b) Misfeasor: There are two possible cases for an internal user to be called as a misfeasor:
i) A legitimate user, who does not have access to some applications, data or resources,
accesses them.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 4/ 26
ii) A legitimate user, who has access to some applications, data or resources, misuses these
privileges.
c) Clandestine user: An internal or external user who tries to work using the privileges of a
supervisor user to avoid auditing information being captured and recorded is called as a
clandestine user.
ii. Insiders (2marks)
Insiders are authorized users who try to access system or network for which he is
unauthorized. Insiders are legal users. More dangerous than Intruders. They have
knowledge about the security system. They have easy access to the system because they
are authorized users. There is no such mechanism to protect system from Insiders.
Insiders are more dangerous than intruders because:
The insiders have the access and necessary knowledge to cause immediate damage to an
organization. There is no security mechanism to protect system from Insiders. So they can have all
the access to carry out criminal activity like fraud. They have knowledge of the security systems
and will be better able to avoid detection.
i) Sniffing:
The group of protocols which make up the TCP/ IP suite was designed to work in a friendly
environment where everybody who was connected to the network used the protocols as they were
designed. The abuse of this friendly assumption is illustrated by network traffic sniffing programs,
is referred to as ‗sniffers‘.
A network ―sniffers‖ is a software or hardware device that is used to observe traffic as it passes
through a network on shared broadcast media. The device can be used to views all traffic or it can
target a specific protocol, service, or even string of characters.
ii)spoofing:
Spoofing is nothing more than making data look like it has come from a different source. This is
possible in TCP/ IP because of the friendly assumption behind the protocol. When the protocols
were developed, it was assumed that individuals who had access to the network layer would be
privileged users who could be trusted. When a packet is sent from one system to another, it
includes not only the destination IP address ant port but the source IP address as well which is one
of the forms of Spoofing.
1) Hacking
2) Cracking
3) Theft
4) Malicious software
5) Child soliciting and abuse
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 5/ 26
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 6/ 26
To prevent this attack both sender and receiver must authenticate each other.
Denial of service (DOS) attack scan exploits a known vulnerability in a specific application or
operating system, or they may attack features (or weaknesses) in specific protocols or services. In
this form of attack, the attacker is attempting to deny authorized users access either to specific
information or to the computer system or network itself.
The purpose of such an attack can be simply to prevent access to the target system, or the attack
can be used in conjunction with other actions in order to gain unauthorized access to a computer or
network.
SYN flooding is an example of a DOS attack that takes advantage of the way TCP/IP networks
were designed to function, and it can be used to illustrate the basic principles of any DOS
[Link] flooding utilizes the TCP three-way handshake that is used to establish a connection
between two systems.
In a SYN flooding attack, the attacker sends fake communication requests to the targeted system.
Each of these requests will be answered by the target system, which then waits for the third part of
the handshake. Since the requests are fake the target will wait for responses that will never come,
as shown in Figure .
The target system will drop these connections after a specific time-out period, but if the attacker
sends requests faster than the time-out period eliminates them, the system will quickly be filled
with requests. The number of connections a system can support is finite, so when more requests
come in than can be processed, the system will soon be reserving all its connections for fake
requests. At this point, any further requests are simply dropped (ignored), and legitimate users who
want to connect to the target system will not be able to. Use of the system has thus been denied to
them.
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 7/ 26
5. Password should not consist of user's first or last name, family members name, birth dates,
pet names, pin and mobile numbers.
The search is carried out in waste paper, electronic waste such as old HDD, floppy and CD media
recycle and trash bins on the systems etc.
If the attacker is lucky, the target has poor security process they may succeed in finding user ID‘s
and passwords. If the password is changed and old password is discarded, lucky dumpster driver
may get valuable clue.(1mark)
To prevent dumpster divers from learning anything valuable from your trash, experts
recommend that your company should establish disposal policy (1 mark)
d) Concept of hashing with the help of diagram. (4 marks) .list advantages (4 marks)
Message
Message
II I
Compare
I
Hash
I H
S
I
S=single security key
A hash is a special function that performs one way encryption meaning that once the
algorithm is processed, there is no feasible way to take the cipher text and retrieve the plain text
that was used to generate it.
The hash code is a function of all bits of the message and provides an error detection
capability. A change in any bit or bits result in a change hash value.
A hash value h is generated by a function H of the form h=H(M)
Where M is variable length message and H(M) is the fix length hash value.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 8/ 26
The hash value is appended to the message at the source at a time when the message is
assumed or known to be correct.
The receiver authenticates that message by recomputing the hash value.
The message plus concatenated Hash code is encrypted using symmetric encryption.
Sender and receiver share the same secret key. The message must have come from
authorized sender and has not been altered is checked by recomputing and comparing hash
code by receiver.
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 9/ 26
b) Describe in brief:
i. Piggybacking
ii. Shoulder surfing
Cover media is the file in which we will hide the hidden data, which may also be encrypted using
stego-key. The resultant file is stego-medium. Cover-media can be image or audio file.
Stenography takes cryptography a step further by hiding an encrypted message so that no one
suspects it exists. Ideally, anyone scanning your data will fail to know it contains encrypted
data.
Stenography has a number of drawbacks when compared to encryption. It requires a lot of
overhead to hide a relatively few bits of information.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 10/ 26
d) With the help of neat diagram describe host based intrusion detection system (HIDS).
(Diagram -2 Marks, Expnation-2 Marks)
Host Intrusion Detection Systems are run on individual hosts or devices on the network. A HIDS
monitors the inbound and outbound packets from the device only and will alert the user or
administrator when suspicious activity is detected. HIDS is looking for certain activities in the
log file are:
Logins at odd hours
Login authentication failure
Adding new user account
Modification or access of critical system files
Modification or removal of binary files
Starting or stopping processes
Privilege escalation
Use of certain programs
On Network-based IDS, this is typically a mechanism for copying traffic of the network
link.
2. Analysis Engine:
This component examines the collected network traffic & compares it to known patterns of
suspicious or malicious activity stored in the signature database.
The analysis engine acts like a brain of the IDS.
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 11/ 26
Disadvantages:
Should a process on every system to watch.
High cost of ownership and maintenance.
Uses local system resources.
If logged locally, could be compromised or disable.
(Explanation – 4 Marks)
Application Hardening: Application hardening- securing an application against local &
Internet-based attacks. In this you can remove the functions or components you do not need,
restrict the access where you can and make sure the application is kept up to date with
patches.
It includes:
1. Application Patches- Application patches are supplied from the vendor who sells
the application. They are probably come in three varieties: hot fixes, patches & up-grades.
Hotfixes: Normally this term is given to small software update designed to address a
particular problem like buffer overflow in an application that exposes the system to attacks.
Patch: This term is generally applied to more formal, larger s/w updates that may address
several or many s/w problems. Patches often contain improvement or additional capabilities
& fixes for known bugs.
Upgrades: Upgrades are another popular method of patching application & they are likely
to be received with a more positive role than patches.
2. Web servers: Web servers are the most common Internet server-side application in
use. These are mainly designed to provide content & functionality to remote users through a
standard web browser.
3. Active directory: Active Directory allows single login access to multiple
applications, data sources and systems and it includes advanced encryption capabilities like
Kerberos and PKI.
Q. 4
A. Attempt any three: 12
a) Describe rail fence technique. Convert “I am student” into cipher text using
rail fence method.
I m s u e t
a a t a n
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 12/ 26
2. Compression
3. Encryption
4. Enveloping
5. Base-64 Encoding
1. Digital Signature
2. Compression
3. Encryption
4. Enveloping
5. Base-64 Encoding
1. Digital signature: it consists of the creation a message digest of the email message using
SHA-1 algorithm. The resulting MD is then encrypted with the sender‘s private key. The
result is the sender‘s digital signature.
2. Compression: the input message as well as p digital signature are compressed together to
reduce the size of final message that will be transmitted. For this the Lempel-Ziv
algorithm is used.
3. Encryption: The compressed output of step 2 (i.e. the compressed form of the original
email and the digital signature together) are encrypted with a symmetric key.
4. Digital enveloping: the symmetric key used for encryption in step 3 is now encrypted
with the receiver‘s public key. The output of step 3 and 4 together form a digital
envelope.
5. Base -64 encoding: this process transforms arbitrary binary input into printable character
output. The binary input is processed in blocks of 3 octets (24-bits).these 24 bits are
considered to be made up of 4 sets, each of 6 bits. Each such set of 6 bits is mapped into
an 8-bit output character in this process.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 13/ 26
(4 Marks)
Deleted file recovery: When we delete a file on the disk having FAT32 or NTFS (new
technology file system) file system, its content is not erased from the disk but only reference
to file data in file allocation Table or master table is marked as deleted. It means that we
might be able to recover deleted files or make it visible for file system again. Methods of
data recovery from deleted file or File /data recovery process: There are various data/file
recovery tools available these tools find & recover recoverable deleted files from NTFS &
FAT.
These tools usually operate as per following process steps:
Step 1: scan the hard drive & build the index of existing & deleted files & directories
(folder) on any logical drive of your computer with supported file formats.
Step 2: Provide control over to the user to select which files to recover and what destination
to recover them to. If you find a deleted file if you remember at least one of the following:
- Full or partial name
- File size
- File creation mode
- File last accessed date.
Step 3: Allows previewing deleted files of certain types without performing recovery.
d) Explain with neat sketch then working of secure socket layer (SSL).
1. Handshake protocol: This protocol allows the server and client to authenticate each
other. Also, it will allow negotiating an encryption and MAC algorithm. This protocol is
used before transmitting any application data. Basically, this protocol contains a series of
messages exchanged by client and server.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 14/ 26
2. Record protocol: Record protocol comes into the picture after a successful completion of
handshake between client and server. It provides two services for SSL connection, as follow:
a) Confidentiality: this is achieved by using the secret key that is defined by the handshake
protocol.
b) Integrity: the handshake protocol also defines a shared secret key (MAC) that is used for
assuring the message integrity.
3. Alert protocol: when either the client or the server detects an error, the detecting party
sends an error message to other party. If the error is fatal, both the parties immediately close
the SSL connection. Both the parties also destroy the session identifiers, secret and keys
associated with this connection before it is terminated.
Other errors, which are not so severe, do not result in the termination of the communication.
Instead, the parties handle the error and continue.
Threats to security:
1. Viruses & worms
2. Intruders & Insiders
3. Criminal organizations
4. Terrorist & Information security
Different types of attacks:
1. Denial of service attack
2. Man – In – Middle attack
3. Backdoors & Trapdoors
4. Sniffing & Spoofing
5. Encryption attack
6. Replay attack
7. TCP/IP hacking attack
8. Hacking & Cracking
9. Pornography
10. Software piracy
11. Intellectual property
12. Legal system of information technology
13. Mail Bombs
14. Bug Exploits
15. Cyber-crime investigation
[Any Related answer shall be considered]
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 15/ 26
a) Describe the role of individual user while maintaining security. What are then limitations
of following biometric identification method?
i. Hand print
ii. Retina
iii. Voice
iv. Signature
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 16/ 26
d) Dumpster diving:
e) Installing Unauthorized Software /Hardware:
f) Access by non-employees:
g) Security awareness:
i. Hand print: Because of cuts in hands and rough work handled by user it may create error while
reading occasionally
ii. Retina: As per change in age and physical conditions and accidents there may be problem in
accessing (Even changing numbers of spectacles, Lenses etc.)
iii. Voice: because health problem illness there is variation in voice even because of weather change
it may cause errors.
iv. Signature: As per mood and temper there is change in signature of user which also creates
problem to access the data.
b)
i. Describe working principle of SMTP.
(2marks diagram, 2 marks explanation of working principle.)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 17/ 26
ii. With neat sketch explain then working of Network Based IDS.
1. Network-based IDS focuses on network traffic —the bits & bytes traveling along the cables &
wires that interconnect the system.
2. A network IDS should check the network traffic when it passes & it is able to analyze traffic
accordingto protocol type, amount, source, destination, content, traffic already seen etc.
3. Such an analysis must occur quickly, &the IDS must be able to handle traffic at any speed the
network operates on to be effective.
4. Network-based IDSs are generally deployed so that they can monitor traffic in &out of an
organization’s major links like connection to the Internet, remote offices, partner etc.
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 18/ 26
Sender Receive
Original Message
Original Message
Application layer
Application layer
data
Transport layer
Transport layer
IPsec layer
IPsec layer
Internet layer
Internet layer
Data linklayer
Data linklayer
Transmission medium
IP sec overview:
It encrypts and seal the transport and application layer data during transmission. It also offers
integrity protection for internet layer.
It sits between transport and internet layer of conventional TCP/IP protocol.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 19/ 26
Rather than subscribing to an expensive leased line for connecting its branches across cities, an
Organization can setup an IPsec enabled network to securely can‘t al lits branches over
internet.
IP packet consist two position IP header & actual data IPsec feature are implemented in the
form of additional headers called as extension header to the standard, default IP header.
IPsec offers two main services authentication & confidentially. Each of these requires its
own extension header. Therefore, to support these two main services, IPsec defines two IP
extension header one for authentication & another for confidentiality.
It consists of two main protocols.
IPSEC
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 20/ 26
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 21/ 26
1) User should be able to create their own easy to remember passwords, but should
not be easy for someone else to guess or obtain using password cracking utilities.
2) Password should meet some essential guidelines for [Link] should contain some special
characters etc
f) Access by non-employees: If attacker can get physical access to a facility then there are
many chances of obtaining enough information to enter into computer systems and
networks. Many organizations restrict their employees to wear identification symbols at
work.
g) Security awareness: security awareness program is most effective method to
oppose potential social engineering attacks when organization‘s security goals and
policies are established. An important element that should concentrate in training is
which information is sensitive for organization and which may be the target of a social
engineering attack.
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 22/ 26
ii. MAC
iii. RBAC
Ans:
(1 Mark for Access control , 1 Mark each for Type of Access Control)
Access is the ability of a subject to interest with an object. Authentication deals with
verifying the identity of a subject. It is ability to specify, control and limit the access to the
host system or application, which prevents unauthorized use to access or modify data or
resources.
Read,
Process 2 Execute Write, Read Read, Write Write
Execute
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 23/ 26
Working
Let us assume that host X on Network 1 wants to send a data packet to host Y on Network 2.
1) Host X creates the packet, inserts its own IP address as the source address and the IP
address of host Y as the destination address.
2) The packet reaches Firewall [Link] 1 now adds new headers to the packet. It changes
the source
IP address of the packet from that of host X to its own address(i.e. IP address of Firewall 1,
F1).
3) It also changes the destination IP address of the packet from that of host Y to the
IP address of Firewall 2,[Link] also performs the packet encryption and authentication,
depending on the settings and sends the modified packet over the Internet
4) The packet reaches to firewall 2 over the Internet, via routers. Firewall 2 discards the
outer header and performs the appropriate decryption. It then takes a look at the plain
text contents of the packet and realizes that the packet is meant for host [Link] delivers the
packet to host Y
Diagram (1 marks)
Data Recovery Ethics: It is concerned with security of your data. These are used to think
through different situations.
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 24/ 26
It is a major part of the society and should be followed in letter and spirit
There are policies in many organizations that provide guidelines for ethics.
It is a behavior of the person in relation with the subject.
There are four primary issues:
Privacy, Accuracy, Property and Access
Some standards are :
Standard of right and wrong behavior
A gauge of personal integrity
The basis of trust and cooperation in relationships with others.
e) Describe any four components of secure electronic transaction. Give sketch also.
a) Purchase request:
Before the purchase request exchange begins, the cardholder has completed
browsing, selecting, and ordering. The end of this preliminary phase occurs when
the merchant sends a completed order from to the customer. All of the preceding
occurs without the use of SET. The purchase request exchange consists of four
messages: initiate Request, Initiate Response, and Purchase Response.
In order sent SET messages to the merchant, the cardholder must have a copy of the
certificates of the merchant and the payment gateway. The customer requests the
MAHARASHTRA STATEBOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 25/ 26
certificates in the Initiate Request message, sent to the merchant. This message
includes the brand of the credit card that the customer is using. The message also
i nc l ud e s an ID assigned to this request/ response pair by the customer and a nonce
used to ensure timeliness.
The cardholder verifies the merchant and gateway certificates by means of their
respective CA signatures and then creates the OI and PI. The transaction ID
assigned by the merchant is placed in both the OI and PI. The OI does not
contain explicit order data such as the n u m b e r a n d p r i c e of items Rather, it
contains an o rd er r e f e r e n c e g e n e r a t e d i n the exchange between merchant
and customer during the shopping phase before the first SET message.
Next, the cardholder prepares the Purchase Request message. For this purpose,
the cardholder generates a one-time symmetric encryption key; K. the message
includes the following:
2. Order-Related information.
3. Cardholder certificate
b) Payment Authorization
During the processing of an order from a cardholder, the merchant authorizes the
transaction with the payment gateway. The payment authorization e n s u r e s that
the transaction was approved by the issuer. This authorization guarantees that the
merchant will receive payment; the merchant can therefore provide the services or goods to
the customer. The payment authorization exchange consists of two messages:
Authorization Request and Authorization response.
The merchant sends an Authorization Request message to the payment
gateway consisting of
1. Purchase-Related i n f ormati on
2. Authorization-related information .
3. Certificates.
Having obtained authorization from the issuer, the payment gateway returns
an Authorization Response message to the merchant. It includes the following elements:
Summer – 15 EXAMINATION
Subject Code: 17514 Model Answer Page 26/ 26
c) Payment Capture
A Secret B
Here, the user of a computer A send a message to user of computer B. another user C
gets access to this message, which is not desired and therefore, defeats the purpose of
Confidentiality.
This type of attack is also called as interception.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
A I am B
user A
3. Integrity: when the contents of the message are changed after the sender sends it,
but before it reaches the intended recipient, we say that the integrity of the message is
lost.
For example, here user C tampers with a message originally sent by user A, which is
actually destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way of knowing that
the contents of the message were changed after user A had sent it. User A also does
not know about this change.
Example: Access of wireless internet connection by bringing one's own computer within
the range of another wireless network & using that without explicit permission.
iii. Threats: It is a set of things which has potential to loss or harm to computer system & network.
iv. Risk: Risk is probability of threats that may occur because of presence of vulnerability in a
system.
A Secret B
Here, the user of a computer A send a message to user of computer B. another user C
gets access to this message, which is not desired and therefore, defeats the purpose of
Confidentiality.
This type of attack is also called as interception.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
A I am B
user A
3. Integrity: when the contents of the message are changed after the sender sends it,
but before it reaches the intended recipient, we say that the integrity of the message is
lost.
For example, here user C tampers with a message originally sent by user A, which is
actually destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way of knowing that
the contents of the message were changed after user A had sent it. User A also does
not know about this change.
This type of attack is called as modification.
These are various formatted partition recovery tool available .Although every tool will have
different GUI & method of recovery.
Any action or activity that leads to disclosure of privacy of the client should be avoided.
The values such as integrity, accuracy & authenticity should be exercised in an ethical
environment. The evidence that is produced before the court should be fairly examined &
analyzed. There should not be any carelessness and ignorance regarding the handling of
evidence. The case evidence should be examined in detail based upon validated principles.
2. Backdoors and Trapdoors: They are the methods used by software developers to
ensure that they could gain access to an application even if something were to happen in
the future to prevent normal access methods. For e.g. A hard coded password that could
be used to gain access to the program in the event that administrator forgot their own
system password. The problem with this sort password (sometimes referred to as
trapdoor) is that since the password is hard coded it cannot be removed. If the attacker
learns about the backdoor, all systems running the software would be vulnerable.
3. Sniffing: A network sniffer is a software or hardware device that is used to observe the
traffic as it passes through the network on shared broadcast media. The device can be
used to view all traffic, all it can target a specific protocol, service or even string of
characters. Normally the network device that connects a computer to a network is
designed to ignore all traffic that is not destined for that computer. Network sniffers
ignore this friendly agreement and observe all traffic on the network whether destined for
that computer or others.
4. Spoofing: It makes the data look like it has come from other source. This is possible in
TCP/IP because of the friendly assumptions behind the protocols. When a packet is sent
from one system to another, it includes not only the destination IP address but the source
IP address. The user is supposed to fill in the source with your own address, but there is
nothing that stops you from filling in another system‘s address.
1. Password selection:
1) User should be able to create their own easy to remember passwords, but should not be
easy for someone else to guess or obtain using password cracking utilities.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
2. Piggybacking is the simple process of following closely behind a person who has
just used their own access card or PIN to gain physical access to a room or building.
An attacker can thus gain access to the facility without having to know the access
code or having to acquire an access card.
Piggybacking, in a wireless communications context, is the unauthorized access of a
wireless LAN. Piggybacking is sometimes referred to as ―Wi-Fi squatting‖.
The usual purpose of piggybacking is simply to gain free network access rather than
any malicious intent, but it can slow down data transfer for legitimate users of the
network. Furthermore, a network that is vulnerable to piggybacking for network
access is equally vulnerable when the purpose is data theft, dissemination of viruses,
or some other illicit activity.
Example: Access of wireless internet connection by bringing one's own computer
within the range of another wireless network & using that without explicit
permission.
6. Access by non-employees: If attacker can get physical access to a facility then there are
many chances of obtaining enough information to enter into computer systems and
networks. Many organizations restrict their employees to wear identification symbols at
work.
A hash is a special function that performs one way encryption meaning that once the
algorithm is processed, there is no feasible way to take the cipher text and retrieve the plain
text that was used to generate it.
Algorithm steps:
Hashing starts with 160-bit seed as hash value.
A sequence of non-linear operation is carried out on the first message block 512-
bits.
The sequence is cyclically repeated 80 times and a 160 bit hash value is generated.
The cyclic sequence is repeated for the second message block of 512 bits.
The process is continued until all the N message block have been hashed and the
final 160bit hash value is generated.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
It Consists of:
User
Authentication service and
Ticket granting server
Service server
Working of Kerberos:
User want to access server, it needs a Kerberos ticket before request.
Request Authentication from request Authentication server (AS), It creates ―session key-
encryption key ―based on your password, its effectively a Ticket-granting ticket.
User sends his/her ticket granting ticket to ticket granting server(TGS), it may be
physically same server as Authentication server, Now TGT returns the ticket that can be
sent to the server for the requested service.
The service rejects the ticket or accepts it to perform service.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Ticket received from TGT is a Time-stamped, It allows user to make additional request
using same ticket within a certain time period without re-authentication. This improves
security as ticket is granted for limited time period.
a) User ID
Client Authentic
ation
server
(AS)
Authentication service receives the request by client and verifies that the client is indeed
the authentic computer. It‘s valid for time-stamp allotted (i.e. 8 hours).
b)
Ticket-Granting Ticket
(Timestamp 8 hours) Authentic
Client
ation
server
(AS)
c)
Client Authentica
tion server
(AS)
d)
Authentic
Client
ation
server
(AS)
e)
Authenticat
ion server
Client (AS)
Ticket
granting
Encrypted Key Ticket-Granting Ticket server
(Timestamp 8 hours) Service
Server
f)
Success Service
Client
Server
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
1) Access controls: Use of physical access controls is same as that of computer &
network access controls to restrict access to unauthorized users. Most common access
control mechanisms are security guard & lock and key combination
Key Transformation
Expansion Permutation
S-Box Substitution
P Box Permutation
b) EXE file protection: another method to break into system is to trick the
vulnerable application into modifying or creating executable file protection defense
is based on in most of the cases, the application does not need to create or modify
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Application Patches will be helpful in this case like Hotfixes, Patches, and upgrades.
Computer - 1
Computer - 2
Computer - 3 INTERNET
FIREWALL
DMZ
ii) Internet:
Internet is a network that can be used to transfer email , financial records, files, remote
access etc. from one network to another network.
It is not a single network it is series of interconnected network, that allows protocol to
operate to make possible a data flow across network. WWW (World Wide Web) term
is used with internet. It is based on HTTP (Hypertext Transfer Protocol service) This
can have different actual services and contents, including files, images, audio, video
and even viruses and worms.
iii) Intranet:
Intranet is a private network that is contained within an organization/enterprise. It may
consists of interlinked local area networks also use leased lines in the wide area
network. It includes connections through one or more gateway computers to the
outside Internet. The main purpose is to share company information and computing
resources among employees. It facilitates working in groups and for teleconferences.
Intranet uses TCP/IP, HTTP, and other Internet protocol.
When part of an intranet is made accessible to customer, partners suppliers or outside
the company, then it becomes part of an extranet.
IDS come in a variety of Flavors and approach the goal of detecting suspicious
traffic in different ways. there are IDS that detect based on comparing traffic patterns
against a ]baseline and looking for anomalies. There are IDS that simply monitor
and alert and there are IDS that perform an action or actions in response to a
detected threat. We‘ll cover each of these briefly.
Cybercrime is a bigger risk now than ever before due to the sheer number of connected
people and devices. ‗Cybercrime, as it's a bigger risk now than ever before due to the
sheer number of connected people and devices. it is simply a crime that has some kind
of computer or cyber aspect to it. To go into more detail is not as straightforward, as it
takes shape in a variety of different formats.
Cybercrime:
Cybercrime has now surpassed illegal drug trafficking as a criminal moneymaker
Somebody‘s identity is stolen every 3 seconds as a result of cybercrime
Without a sophisticated security package, your unprotected PC can become infected
within four minutes of connecting to the Internet.
Criminals committing cybercrime use a number of methods, depending on their skill-
set and their goal. Here are some of the different ways cybercrime can take shape:
Theft of personal data
Copyright infringement
Fraud
Child pornography
Cyber stalking
Bullying
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Types of viruses:
Parasitic Viruses: It attaches itself to executable code and replicates itself. Once it
is infected it will find another program to infect.
Memory resident viruses: lives in memory after its execution it becomes a part of
operating system or application and can manipulate any file that is executed, copied
or moved.
Non- resident viruses: it executes itself and terminates or destroys after specific
time.
Boot sector Viruses: It infects boot sector and spread through a system when it is
booted from disk containing virus.
Overwriting viruses: It overwrites the code with its own code.
Stealth Virus: This virus hides the modification it has made in the file or boot
record.
Macro Viruses: These are not executable. It affects Microsoft word like documents,
they can spreads through email.
Polymorphic viruses: it produces fully operational copies of itself, in an attempt to
avoid signature detection.
Companion Viruses: creates a program instead of modifying an existing file.
Email Viruses: Virus gets executed when email attachment is open by recipient.
Virus sends itself to everyone on the mailing list of sender.
Metamorphic viruses: keeps rewriting itself every time, it may change their
behavior as well as appearance code.
1. User education: Users can be told the importance of using hard-to-guess passwords
and can be provided with guidelines for selecting strong passwords. This user
education strategy is unlikely to succeed at most installations, particularly where there
is a large user population or a lot of turn over. Many users will simply ignore the
guidelines. Others may not be good judges of what is a strong password. For
example, many users believe that reversing a word or capitalizing the last letter makes
a password un-guessable.
2. Computer-generated passwords: Passwords are quite random in nature. Computer-
generated passwords also have problems. If the passwords are quite random in nature,
users will not be able to remember them. Even if the password is pronounceable, the
user may have difficulty remembering it and so be tempted to write it down. In
general, computer-generated password schemes have a history of poor acceptance by
users. FIPS PUB 181 defines one of the best-designed automated password
generators. The standard includes not only a description of the approach but also a
complete listing of the C source code of the algorithm. The algorithm generates words
by forming pronounceable syllables and concatenating them to form a word. A
random number generator produces a random stream of characters used to construct
the syllables and words.
3. Reactive password checking: A reactive password checking strategy is one in which
the system periodically runs its own password cracker to find guessable passwords.
The system cancels any passwords that are guessed and notifies the user. This tactic
has a number of drawbacks. First it is resource intensive, if the job is done right.
Because a determined opponent who is able to steal a password file can devote full
CPU time to the task for hours or even days an effective reactive password checker is
at a distinct disadvantage. Furthermore, any existing passwords remain vulnerable
until the reactive password checker finds them.
4. Proactive password checking: The most promising approach to improved password
security is a proactive password checker. In this scheme, a user is allowed to select
his or her own password. However, at the time of selection, the system checks to see
if the password is allowable and if not, rejects it. Such checkers are based on the
philosophy that with sufficient guidance from the system, users can select memorable
passwords from a fairly large password space that are not likely to be guessed in a
dictionary attack. The trick with a proactive password checker is to strike a balance
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
1) Host-based IDS:
2) Network based IDS:
1) Host based IDS looks for certain activities in the log files are:
1. Logins at odd hours
2. Login authentication failure.
3. Adding new user account
4. Modification or access of critical systems files.
5. Modification or removal of binary files
6. Starting or stopping processes.
7. Privilege escalation
8. Use of certain program
2) Network based IDS looks for certain activities like:
1. Denial of service attacks.
2. Port scans or sweeps
3. Malicious contents in the data payload of packet(s)
4. Vulnerability of scanning
5. Trojans, Viruses or worms
6. Tunneling
7. Brute force attacks.
3) Explain need for firewall and explain one of the type of firewall with diagram.
(Explanation of need: 4M, Any one firewall explanation: 4M)
Ans.
A firewall works as a barrier, or a shield, between your PC and cyber space. When you are
connected to the Internet, you are constantly sending and receiving information in small
units called packets. The firewall filters these packets to see if they meet certain criteria set
by a series of rules, and thereafter blocks or allows the data. This way, hackers cannot get
inside and steal information such as bank account numbers and passwords from you.
Capabilities:
1. All traffic from inside to outside and vice versa must pass through the firewall. To
achieve this all access to local network must first be physically blocked and access only via
the firewall should be permitted.
2. As per local security policy traffic should be permitted.
3. The firewall itself must be strong enough so as to render attacks on it useless.
Types of Firewalls
1. Packet Filter
2. Circuit level Gateway
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
[Link] Filtering Firewall: Packet Filtering Firewalls are normally deployed on the
Routers which connect the Internal Network to Internet. Packet Filtering Firewalls can only
be implemented on the Network Layer of OSI Model. Packet Filtering Firewalls work on
the Basis of Rules defines by Access Control Lists. They check all the Packets and screen
them against the rules defined by the Network Administrator as per the ACLs. If in case,
any packet does not meet the criteria then that packet is dropped and Logs are updated
about this information. Administrators can create their ACLs on the basis Address,
Protocols and Packet attributes.
Advantage:
The Biggest Advantage of Packet Filtering Firewalls is Cost and Lower Resource Usage
and best suited for Smaller Networks.
Disadvantage:
Packet Filtering Firewalls can work only on the Network Layer and these Firewalls do not
support Complex rule based models. And it‘s also Vulnerable to Spoofing in some Cases.
Ciphertext: CMUESCRTOPTREUIY
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Integrity and authentication are provided by the placement of the AH header between the
IP header and the transport (layer 4) protocol header, which is shown as TCP/UDP in the
Figure AH uses an IP protocol ID of 51 to identify itself in the IP header.
AH can be used alone or in combination with the Encapsulating Security Payload (ESP)
protocol.
1. Next Header: Identifies the next header that uses the IP protocol ID. For example, the
value might be "6" to indicate TCP.
2. Length: Indicates the length of the AH header.
3. Security Parameters Index (SPI): Used in combination with the destination address and
the security protocol (AH or ESP) to identify the correct security association for the
communication. The receiver uses this value to determine with which security
association this packet is identified.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
To deliver lawful recognition for transactions through electronic data interchange (EDI)
and other means of electronic communication, commonly referred to as electronic
commerce or E-Commerce. The aim was to use replacements of paper-based methods of
communication and storage of information.
To facilitate electronic filing of documents with the Government agencies and further to
amend the Indian Penal Code, the Indian Evidence Act, 1872, the Bankers' Books
Evidence Act, 1891 and the Reserve Bank of India Act, 1934 and for matters connected
therewith or incidental thereto.
The Information Technology Act, 2000, was thus passed as the Act No.21 of 2000. The I.
T. Act got the President‘s assent on June 9, 2000 and it was made effective from October
17, 2000. By adopting this Cyber Legislation, India became the 12th nation in the world to
adopt a Cyber Law regime.
1. To grant legal recognition for transactions carried out by means of electronic data
interchange and other means of electronic communication commonly referred to as
―electronic commerce‖ in place of paper based methods of communication.
2. To give legal recognition to Digital signatures for authentication of any information
or matter this requires authentication under any law.
3. To facilitate electronic filing of documents with Government departments
4. To facilitate electronic storage of data
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
IT ACT 2008:
It is the information Technology Amendment Act, 2008 also known as ITA-2008
It is a considerable addition to the ITA-2000 and is administered by the Indian Computer
Emergency Response Team (CERT-In) in year 2008.
Basically, the act was developed for IT industries, to control e-commerce, to provide e-
governance facility and to stop cybercrime attacks.
The alterations are made to address some issues like the original bill failed to cover, to
accommodate the development of IT and security of e-commerce transactions.
The modification includes.
[Link] of terms like communication device which reflect the current use.
[Link] of electronic signatures and contracts.
[Link] owner of an IP address is responsible for content that are accessed or
distributed through it.
Organizations are responsible for implementation of effective data security practices.
1. Cardholder
2. Merchant
3. Payment Gateway
4. Certificate Authority
D. Cipher Text: When plain text message is codified using any suitable scheme, the
resulting message is called as cipher text.
B) Spoofing: Spoofing is nothing more than making data look like it has come from a
different source. This is possible in TCP/ IP because of the friendly assumption behind the
protocol. When the protocols were developed, it was assumed that individuals who had
access to the network layer would be privileged users who could be trusted. When a packet
is sent from one system to another, it includes not only the destination IP address ant port
but the source IP address as well which is one of the forms of Spoofing.
These are various formatted partition recovery tools [Link] tool will have different
GUI & method of recovery.
There are standard ethical procedures that need be followed as described in following steps:
1. Incident identification: - Identifying the incident and the analysis of the case.
2. Preparation of tools, monitoring, techniques, management support and authorization
etc.
3. Decide a clear and well defined approach, strategy to proceed with the case.
4. Collection of the evidence & even duplicating the digital evidence is also an important
part of ethical conduct.
5. The evidence that is collected should be incorporated with the date, time & the place
where it was found. The importance of preservation of the evidence need be prevented.
6. The analysis of the evidence should be carried out in such a way so as to eliminate the
evidence that cannot be produced in the court law.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
1. Confidentiality: The principle of confidentiality specifies that only sender and intended
recipients should be able to access the contents of a message. Confidentiality gets
compromised if an unauthorized person is able to access the contents of a message.
Example of compromising the Confidentiality of a message is shown in fig
3. Integrity: when the contents of the message are changed after the sender sends it, but
before it reaches the intended recipient, we say that the integrity of the message is lost.
For example, here user C tampers with a message originally sent by user A, which is
actually destined for user B. user C somehow manages to access it, change its contents and
send the changed message to user B. user B has no way of knowing that the contents of the
message were changed after user A had sent it. User A also does not know about this
change.
This type of attack is called as Modification.
1. Biometric refers study of methods for uniquely recognizing humans based upon one or
more intrinsic physical or behavioral characteristics.
2. Biometric identification is used on the basis of some unique physical attribute of the user
that positively identifies the user. Example: finger print recognition, retina and face scan
technique, voice synthesis and recognition and so on.
3. Biometrics cannot be lost, stolen or forgotten. Barring disease or serious physical injury,
the biometric is consistent and permanent.
4. It is also secure in that the biometric itself cannot be socially engineered, shared or used
by others.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
1) The first block (sensor) is the interface between the real world and the system; it has to
acquire all the necessary data.
2) The 2nd block performs all the necessary pre-processing.
3) The third block extracts necessary features. This step is an important step as the correct
features need to be extracted in the optimal way.
4) If enrolment is being performed the template is simply stored somewhere (on a card or
within a database or both).if a matching phase is being performed the obtained template is
passed to a matcher that compares it with other existing templates, estimating the distance
between them using any algorithm. The matching program will analyze the template with
the input. This will then be output for any specified use or purpose.
C M U E S C R T T C N L G
O P T R E U I Y E H O O Y
Ciphertext: CMUESCRTTCNLGOPTREUIYEHOOY
Figure: VPN
c) Reactive password checking: the system periodically runs its own password cracker
program to find out guessable passwords. If the system finds any such password, the
system cancels it and notifies the user.
HIDS: Host Intrusion Detection Systems are run on individual hosts or devices on the
network. HIDS monitors the inbound and outbound packets from the device only and will
alert the user or administrator when suspicious activity is detected. HIDS is looking for
certain activities in the log file are:
Logins at odd hours
Login authentication failure
Adding new user account
Modification or access of critical system files
Modification or removal of binary files
Starting or stopping processes
Privilege escalation
Use of certain programs
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Figure: HIDS
Basic Components HIDS:
1. Traffic collector: This component collects activity or events from the IDS to examine.
In Host-based IDS, this can be log files, audit logs, or traffic coming to or leaving a
specific system.
2. Analysis Engine:This component examines the collected network traffic & compares it
to known patterns of suspicious or malicious activity stored in the signature database. The
analysis engine acts like a brain of IDS.
3. Signature database: It is a collection of patterns & definitions of known suspicious or
malicious activity.
4. User Interface & Reporting: This is the component that interfaces with the human
element, providing alerts when suitable & giving the user a means to interact with &
operate the IDS.
Advantages:
1. Operating System specific and detailed signatures.
2. Examine data after it has been decrypted.
3. Application specific.
4. Determine whether or not an alarm may impact that specific.
Disadvantages:
1. Should have a process on every system to watch.
2. High cost of ownership and maintenance.
3. Uses local system resources.
4. If logged locally, could be compromised or disable.
Participants/Components of SET
1. Cardholder: A cardholder is an authorized holder of a payment card such as
MasterCard or Visa that has been issued by an Issuer.
2. Merchant: Merchant is a person or an organization that wants to sell goods or services
to cardholders.
3. Issuer: The issuer is a financial institution that provides a payment card to a cardholder.
4. Acquirer: this is a financial institution that has a relationship with merchants for
processing payment card authorizations and payments. Also provides an assurance that a
particular cardholder account is active and that the purchase amount does not exceed the
credit limits. It provides electronic fund transfer to the merchant account.
5. Payment Gateway: It processes the payment messages on behalf of the merchant. It
connects to the acquirer‟s system using a dedicated network line.
6. Certification Authority (CA): This is an authority that is trusted to provide public key
certificates to cardholders, merchant, and Payment Gateway.
Algorithm:
1. The message is written out in rows of a fixed length.
2. Read out again column by column according to given order or in random order.
3. According to order write cipher text.
Example
The key for the columnar transposition cipher is a keyword e.g. ORANGE.
The row length that is used is the same as the length of the keyword.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
O R A N G E
C O M P U T
E R P R O G
R A M M I N
G L E X X M
In the above example, the plaintext has been padded so that it neatly fits in a rectangle. This
is known as a regular columnar transposition. An irregular columnar transposition leaves
these characters blank, though this makes decryption slightly more difficult. The columns
are now reordered such that the letters in the key word are ordered alphabetically.
5 6 1 4 3 2
O R A N G E
C O M P U T
E R P R O G
R A M M I N
G L E X X M
The Encrypted text or Cipher text is:
a) Authentication Header (AH): The AH provides support for data integrity and
authentication of IP packets. The data integrity service ensures that data inside IP
packet is not altered during the transit. The authentication service enables an end user
or computer system to authenticate the user or the application at the other end and
decides to accept or reject packets accordingly. This also prevents IP spoofing attacks.
AH is based on MAC protocol, which means that the two communicating parties must
share a secret key in order to use AH.
b) Encapsulating Security Payload (ESP): ESP is a member of the IPsec protocol suite.
In IPsec it provides origin authenticity, integrity and confidentiality protection
of packets. ESP also supports encryption-only and authentication-only configurations,
but using encryption without authentication is strongly discouraged because it is
insecure.
SYN flooding attack, the attacker sends fake communication requests to the targeted
system. Each of these requests will be answered by the target system, which then waits for
the third part of the handshake. Since the requests are fake the target will wait for responses
that will never come, as shown in Figure.
Distributed denial-of-service (DDoS): DDoS is the attack where source is more than one,
often thousands of, unique IP addresses. It is analogous to a group of people crowding the
entry door or gate to a shop or business, and not letting legitimate parties enter into the
shop or business, disrupting normal [Link] is a type of DOS attack where
multiple compromised systems, which are often infected with a Trojan, are used to target a
single system causing a Denial of Service (DoS) attack. Victims of a DDoS attack consist
of both the end targeted system and all systems maliciously used and controlled by the
hacker in the distributed attack.
A Denial of Service (DoS) attack is different from a DDoS attack. The DoS attack typically
uses one computer and one Internet connection to flood a targeted system or resource. The
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
The biggest danger with a worm is its capability to replicate itself on your system, so rather
than your computer sending out a single worm, it could send out hundreds or thousands of
copies of itself, creating a huge devastating effect. One example would be for a worm to
send a copy of itself to everyone listed in your e-mail address book. Then, the worm
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Due to the copying nature of a worm and its capability to travel across networks the end
result in most cases is that the worm consumes too much system
memory (or network bandwidth), causing Web servers, network servers and individual
computers to stop responding. In recent worm attacks such as the much-talked-about
Blaster Worm, the worm has been designed to tunnel into your system and allow malicious
users to control your computer remotely.
Virus:A computer virus attaches itself to a program or file enabling it to spread from one
computer to another, leaving infections as it travels. Like a human virus, a computer virus
can range in severity: some may cause only mildly annoying effects while others can
damage your hardware, software or files. Almost all viruses are attached to anexecutable
file, which means the virus may exist on your computer but it actually cannot infect your
computer unless you run or open the malicious program.
It is important to note that a virus cannot be spread without a human action, (such as
running an infected program) to keep it going. Because a virus is spread by human action
people will unknowingly continue the spread of a computer virus by sharing infecting files
or sending emails with viruses as attachments in the email.
Virus Worm
The virus is the program code that attaches The worm is code that replicate itself in order
itself to application program and when to consume resources to bring it down.
application program run it runs along with it.
It inserts itself into a file or executable It exploits a weakness in an application or
program. operating system by replicating itself.
It has to rely on users transferring infected It can use a network to replicate itself to other
files/programs to other computer systems. computer systems without user intervention.
Yes, it deletes or modifies files. Sometimes a Usually not. Worms usually only monopolize
virus also changes the location of files. the CPU and memory.
Virus is slower than worm. Worm is faster than virus
E.g. Macro virus, Directory virus, Stealth E.g. Code red
Virus
2. Compression
3. Encryption
4. Enveloping
5. Base-64 Encoding
1. Digital Signature
2. Compression
3. Encryption
4. Enveloping
5. Base-64 Encoding
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Design Principal:
A firewall is a networking device – hardware, software or a combination of both–
whose purpose is to enforce a security policy across its connection. It is much like a
wall that has a window: the wall serves to keep things out, except those permitted
through the window.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
One of the most basic security function provided by a firewall is Network Address
Translation (NAT). This service allows you to mask significant amounts of information
from outside of the network. This allows an outside entity to communicate with an entity
inside the firewall without truly knowing its address.
Basic Packet Filtering, the most common firewall technique, looking at packets, their
protocols and destinations and checking that information against the security policy.
Telnet and FTP connections may be prohibited from being established to a mail or
database server, but they may be allowed for the respective service servers.
This is a fairly simple method of filtering based on information in each packet header,
like IP addresses and TCP/UDP ports. This will not detect and catch all undesired packet
but it is fast and efficient.
A firewall can either be software-based or hardware-based and is used to help keep a
network secure. Its primary objective is to control the incoming and outgoing traffic of
network by analyzing the data packets and determining whether it should be allowed
through or not, based on a predetermined rule set. A network's firewall builds a brigade
between an internal network that is assumed to be secure and trusted, and another
network, usually an external (inter)network, such as the Internet, that is not assumed to be
secure and trusted.
Many personal computer operating systems include software-based firewalls to protect
against threats from the public Internet. Many routers that pass data between networks
contain firewall components and, conversely, many firewalls can perform basic routing
functions.
Limitations:
1. Firewall do not protect against inside threats.
2. Packet filter firewall does not provide any content based filtering.
3. Protocol tunneling, i.e. sending data from one protocol to another protocol which
negates the purpose of firewall.
4. Encrypted traffic cannot be examine and filter.
The search is carried out in waste paper, electronic waste such as old HDD, floppy and
CD media recycle and trash bins on the systems etc.
If the attacker is lucky, the target has poor security process they may succeed in finding
user ID‟s and passwords. If the password is changed and old password is discarded, lucky
dumpster driver may get valuable clue.
To prevent dumpster divers from learning anything valuable from your trash, experts
recommend that your company should establish disposal policy.
User Id
client
Authentication server (AS)
2. Upon verification, a timestamp is crated. This puts the current time in a user session,
along with an expiration date. The default expiration date of a timestamp is 8 hours. The
encryption key is then created. The timestamp ensures that when 8 hours is up, the
encryption key is useless. (This is used to make sure a hacker doesn‟t intercept the data,
and try to crack the key. Almost all keys are able to be cracked, but it will take a lot
longer than 8 hours to do so)
Client
Authentication server (AS)
3. The key is sent back to the client in the form of a ticket-granting ticket, or TGT. This is
a simple ticket that is issued by the authentication service. It is used for authentication
the client for future reference.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
4. The client submits the ticket-granting ticket to the ticket-granting server, or TGS, to get
authenticated.
5. The TGS creates an encrypted key with a timestamp, and grants the client a service
ticket.
6. The client decrypts the ticket, tells the TGS it has done so, and then sends its own
encrypted key to the service.
.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
7. The service decrypts the key, and makes sure the timestamp is still valid. If it is, the
service contacts the key distribution center to receive a session that is returned to the
client.
8. The client decrypts the ticket. If the keys are still valid, communication is initiated
between client and server.
TLS Record Protocol provides connection security with some encryption method such as
the Data Encryption Standard (DES). The TLS Record Protocol can also be used without
encryption. The
TLS Handshake Protocol allows the server and client to authenticate each other and to
negotiate an encryption algorithm and cryptographic keys before data is exchanged.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Important Instructions to examiners:
1) The answers should be examined by key words and not as word-to-word as given in the model answer
scheme.
2) The model answer and the answer written by candidate may vary but the examiner may try to assess the
understanding level of the candidate.
3) The language errors such as grammatical, spelling errors should not be given more Importance (Not
applicable for subject English and Communication Skills.
4) While assessing figures, examiner may give credit for principal components indicated in the figure. The
figures drawn by candidate and model answer may vary. The examiner may give credit for any equivalent
figure drawn.
5) Credits may be given step wise for numerical problems. In some cases, the assumed constant values may
vary and there may be some difference in the candidate‟s answers and model answer.
6) In case of some questions credit may be given by judgement on part of examiner of relevant answer based
on candidate‟s understanding.
7) For programming language papers, credit may be given to any other program based on equivalent concept.
Ans: The need of computer security has been threefold: confidentiality, integrity, and (1 mark for
availability the “CIA” of security. Confidentiality, Integrity, Availability, Availability, each
Authentication, Other elements are Authorization, Non-repudiation, Access control and element)
accountability.
1. Confidentiality: The goal of confidentiality is to ensure that only those individuals who
have the authority can view a piece of information, the principle of confidentiality specifies
that only sender and intended recipients should be able to access the contents of a
message. Confidentiality gets compromised if an unauthorized person is able to access the
contents of a message.
Example of compromising the Confidentiality of a message is shown in fig.
Ans: Attack is any attempt to expose, destroy alter, modify sizable, steal or gain unauthorized (List: 2 mark
access or use of an asset. It is kind of malicious activity that attempts to collect disrupt, and 1 mark
deny degrade, or destroy information system resources or information. each for
explanation
Types of attacks are: of backdoor
Passive attacks and trap
Page 2 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Active attacks door attacks)
Denial of service attacks
Backdoor attacks
Trapdoor attacks
Sniffing/spoofing attacks
Man-in-the middle attacks
Backdoor Attacks:
It is secret entry point into program that allows user to gain access without going
through the usual security access procedures.
It is used legitimately in debugging and testing
It also refers to the entry and placement of a program or utility into a network that
creates a backdoor entry for attackers.
This may allow a certain user ID to log on without password a program or gain of
administrative services.
It becomes threat when programmers use them to gain unauthorized access.
There are several backdoor programs and tools used by hackers in terms of
automated tools
Trapdoor Attacks:
A trap door is an entrance in an system which circumvents the normal safety
measures.
It is secret entry point into a program that allows someone who is aware of gaining
access using procedure other that security procedure.
It might be hidden program which makes the protection system ineffective.
This entry can be deliberately in traduced by the developer to maintain system in
case of disaster management.
Trapdoor programs can be installed through malware using internet.
Ans: (2 marks
Piggybacking: It is the simple process of following closely behind a person who has just each for
used their own access card or PIN to gain physical access to a room or building. An attacker piggybacks
can thus gain access to the facility without having to know the access code or having to & shoulder
acquire an access card. i.e.: Access of wireless internet connection by bringing one's own surfing)
computer within range of another wireless connection & using that without explicit
permission , it means when an authorized person allows (intentionally or unintentionally)
others to pass through a secure door. Piggybacking on Internet access is the practice of
establishing a wireless Internet connection by using another subscriber's
wireless Internet access service without the subscriber‟s explicit permission or knowledge.
It is a legally and ethically controversial practice, with laws that vary by jurisdiction
around the world. While completely outlawed or regulated in some places, it is permitted in
others. The process of sending data along with the acknowledgment is called
piggybacking. Piggybacking is distinct from war driving, which involves only the
logging or mapping of the existence of access points. It is the simple tactic of following
closely behind a person who has just used their own access card or PIN to gain physical
access to a room or building. An attacker can thus gain access to the facility without having
Page 3 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
to know the access code or having to acquire an access card .Piggybacking, in a wireless
communications context, is the unauthorized access of a wireless LAN. Piggybacking is
sometimes referred to as "Wi-Fi squatting." The usual purpose of piggybacking is simply to
gain free network access rather than any malicious intent, but it can slow down data transfer
for legitimate users of the network.
Ans: 1. Cryptography: Cryptography is art & science of achieving security by encoding (1 mark for
messages to make them non-readable. explanation
each term
Readable Cryptography Unreadable and 1 mark
message system message for diagram
drawn)
3. Cryptology: It is originated from the Greek logos, means hidden words. This technique
is used in cryptography for generating secured information.
Ans: ( Diagram 2
marks and
explanation
4 marks)
Page 4 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
OR
A message is to be transferred from one use to another user in secret form using this
security system it can be two or more parties accessing information via Internet.
OR
Sender & receiver are principals of transaction and must cooperate for exchange to take
place.
Model shows four basic tasks:
1. Design algorithm in such a way that an opponent cannot defeat its purpose. This
algorithm is used for security related information.
2. Generate secret information that can be used with algorithm.
3. Develop method for distributing and sharing of secret information.
4. Specify a protocol which can be used by two principals that make use of security
algorithm and secret information to achieve a security service. An information channel is
established by defining a route through Internet from source to destination with the help of
communication protocol like TCP/IP or using normal PC to PC communication through
any media. Techniques for providing security have following components:-
A security related transformation on information to be sent.
This information shared by two principals should be secret.
A trusted party is required to achieve secure transmission.
This is responsible for distributing secret information between two principals.
Page 5 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Ans: 1) IT Act 2000: According to Indian cyber laws, Information technology is the important (3 marks each
law and it had passed in Indian parliament in year [Link] act is helpful to encourage for IT Act
business by use of internet. Due to misuse of internet and increase of cybercrime, the Govt. 2000 ,and IT
of India made an act for safeguarding the internet users. Act 2008)
The main objectives of this act are as follows.
1. To provide legal recognition to the transaction that can be done by electronic way or by
using internet.
2. To provide legal recognition to digital signature used in transaction.
3. To provide facilities like filling of document online relating to admission or registration.
4. To provide facility to any company that they can store their data in electronic storage.
5. To provide legal recognition for bankers and other companies to keep accounts in
electronic form.
It is introduced with many additional features of IT Act 2000: They have amplified the
existing provisions or introduced new provisions. (OPTIONAL)
IT acts 2008: It is the Information Technology Amendment Act, [Link] act was
developed for IT industries, control e-commerce, to provide e-governance facility and to
stop cybercrime attacks.
Following are the characteristics of IT ACT 2008: This act provides legal recognition
for the transaction i.e. Electronic Data Interchange (EDI) and other electronic
communications. This Act also gives facilities for electronic filling of information with the
Government agencies. It is considered necessary to give effect to the said resolution and to
promote efficient delivery of Government services by means of reliable electronic records.
Worms:
Worms are malicious programs that spread them automatically.
Spread from computer to computer, without any human action intervention.
It propagate autonomously, they are spread by exploiting vulnerabilities in
computer system.
Worm is designed to copy itself from PC to PC via networks or internet.
They spread much faster than viruses.
Its effects are localized its damage to the computer network by causing increased
bandwidth.
Worms consists of attack mechanism, payload and target selection
Intruders :
Extremely patient as time consuming More dangerous than outsiders
Outsiders Insiders
Keep trying attacks till success As they have the access and knowledge to cause
immediate damage to organization
Individual or a small group of attackers They can be more in numbers who are
Next level of this group is script writers, i.e. Elite hackers are of three types:
Masquerader, Misfeasor, Clandestine user is misuse of access given by insiders
directly or indirectly access the organization.
They may give remote access to the Organization
Intruders are authorized or unauthorized users who are trying access the system or
network.
They are hackers or crackers
Intruders are illegal users.
Less dangerous than insiders They have to study or to gain knowledge about the
security system
They do not have access to system.
Many security mechanisms are used to protect system from Intruders.
Insiders:
More dangerous than outsiders As they have the access and knowledge to cause
immediate damage to organization
They can be more in numbers who are directly or indirectly access the organization.
They may give remote access to the organization.
Insiders are authorized users who try to access system or network for which he is
unauthorized.
Insiders are not hackers.
Insiders are legal users.
Page 8 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
More dangerous than Intruders.
They have knowledge about the security system.
They have easy access to the system because they are authorized users.
There is no such mechanism to protect system from Insiders.
b) What is access control? Explain DAC, MAC and RBAC access control model. 8M
Ans: Access is the ability of a subject to interest with an object. Authentication deals with (2 marks for
verifying the identity of a subject. It is ability to specify, control and limit the access to the description
host system or application, which prevents unauthorized use to access or modify data or and 2 mark
each for three
resources.
types of
control
including
table)
Page 9 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
permission for objects associated with computer or network. Set of roles are defined.
Role in-turn assigns access permissions which are necessary to perform role.
Different User will be granted different permissions to do specific duties as per their
classification.
c) Explain transposition technique. Convert plain text to cipher text using rail Fence 8M
technique “COMPUTER SECURITY”.
Rail Fence Technique: It is one of the easiest transposition techniques to create cipher
text. When plain text message is codified using any suitable scheme, the resulting message
is called Cipher text or Cipher.
Steps are:
a) Explain use of Biometrics in computer Security. List various Biometrics used for 4M
computer security.
Ans: Use of biometric system in computer Security: Biometric is a science & technology of (Use of
measuring & statically analyzing biological data. The purpose of biometrics is to uniquely biometric
identify or verify an individual through the characteristics of the human body. Biometric system in
technology must first gather information into a computer database, for example, a database
computer
of fingerprints. The computer will compare the fingerprints in the database to any new
sample and recognize when there is a match. The matches can be used for both Security: 2
identification and verification purposes. marks, listing
of any four
Enrollment: A biometrics system searches the database for a match to the newly captured biometric
sample, and grants access if it is found. Using a fingerprint as part of the login process to a
security
computer is an example of this mode.
Verification: A biometrics system searches the database for a match to the newly captured system:2
sample, and authenticates an individual's claimed identity from his or her previously marks)
enrolled pattern. Biometrics uses characteristics that can be physical such hand shape, a
fingerprint, facial characteristics, voice, or DNA. Biometrics can also use characteristics
Page 11 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
that are learned or acquired, behavioral traits such our signature, they way we speak or use
a computer.
Strongest & highly reliable authentication method which involves the creation of users
sample of authentication & store it on high end server.
During actual authentication user is required to provide same sample of authentication
Both are matched up to certain degree
Biometric helps to prove WHO ARE YOU.
At very important places like BARC, ISRO you are supposed to prove your identity
biometric system is the answer.
List of various biometrics used for computer security:
1. Finger print
2. Hand print
3. Iris scan
4. Face recognition
5. DNA recognition
6. Voice pattern
7. Signature recognition
8. Keystrokes
b) Distinguish between substitution cipher and transportation cipher. 4M
Page 12 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Table also having port 80, IP Address [Link] & port 23 firewall will act in the similar packet filter
fashion. Port 23 is for Telnet remote login in this case firewall won‟t allow to login onto as a firewall:
this server 1 mark)
IP Address [Link] is the IP address of individual Host, all the packet having this IP
address as a destination Address will be denied.
Port 80 no HTTP request allowed by firewall.
Diagram of packet filter as a firewall:
Packet Filtering
Ans: The IPSec Authentication Header (AH) protocol allows the recipient of a datagram to verify (IP security:
its authenticity. It is implemented as a header added to an IP datagram that contains 1 mark ,
an integrity check value computed based on the values of the fields in the datagram. This Diagram:
value can be used by the recipient to ensure that the data has not been changed in transit. 1mark ,
The Authentication Header does not encrypt data and thus does not ensure the privacy of Explanation:
transmissions. Authentication Header (AH) is a member of the IPSec protocol suite. AH 2 marks)
guarantees connectionless integrity and data origin authentication of IP packets. Further, it
can optionally protect against replay attacks by using the sliding window technique and
discarding old packets.
Page 13 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
marks)
a) Define Caesar cipher. Write its algorithm and convert “COMPUTER SECURITY” 4M
using Caesar cipher.
Page 14 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Ans: Caesar Cipher: In cryptography, a Caesar cipher, also known as Caesar's cipher, (definition: 1
the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely mark.,
known encryption techniques. It is a type of substitution cipher in which each letter in Algorithm 2
the plaintext is replaced by a letter some fixed number of positions down the alphabet. For marks,
example, with a left shift of 3, D would be replaced by A, E would become B, and so on. Conversion 1
The method is named after Julius Caesar, who used it in his private correspondence. mark)
Plain Text : Computer Security
CIPHER TEXT: FRPSXWHU VHFXULWB
Algorithm:
1. Write all the Alpha bit from A TO Z
2. Give The Numbering As 1 To 26
3. Replace 1st With Fourth Alpha Bit That Is A With D
4. Write the cipher text
Explanation: private network created virtually between two branch networks of same
company across the world. Instead of using dedicated leased line to the internetwork of
company public lines can be used called as VPN. In the diagram two firewalls are acting as
an intermediate between user X & user Y. If the user x is sending the message to user .If
the user X is sending the message to user Y message first comes to firewall 1 which uses its
own address to send this message to user Y thus over the network the packet send from user
X is protected & it‟s IP address is protected like private network .In VPN the Tunnel
technology is used to have communication between two branches of same company by
wrapping the packet on another packet thus protecting network like private network.
Page 15 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Ans: PORNOGRAPHY: Is the depiction of erotic behavior (as in pictures or writing) (Pornograph:
intended to cause sexual excitement material (as books or a photograph) that 2 marks,
depicts erotic behavior and is intended to cause sexual excitement the depiction of software
acts in a sensational manner so as to arouse a quick intense emotional reaction.
piracy:2
Pictures. movies and writing about sex is called pornography (or porn).
Pornography is a picture. movies and writing that is created to make people get marks)
sexually excited.
Ans: Application Hardening : In computing, hardening is usually the process of securing a (Application
system by reducing its surface of vulnerability, which is larger when a system performs Hardening
more functions; in principle a single-function system is more secure than a multipurpose (Each point
one. Reducing available ways of attack typically includes changing default passwords, the carries 1
removal of unnecessary software, unnecessary usernames or logins, and the disabling or mark)
removal of unnecessary services. Application hardening specifically involves updating the
application up to date.
Page 16 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Ans: Diagram: (SYN flood
Attack:
diagram 1
mark,
explanation 2
marks)
1. The client requests a connection by sending a SYN (synchronize) message to the server.
2. The server acknowledges this request by sending SYN-ACK back to the client.
3. The client responds with an ACK, and the connection is established.
This is called the TCP three-way handshake, and is the foundation for every connection
established using the TCP protocol.
A SYN flood attack works by not responding to the server with the expected ACK code.
The malicious client can either simply not send the expected ACK, or by spoofing the
source IP address in the SYN, causing the server to send the SYN-ACK to a falsified IP
address - which will not send an ACK because it "knows" that it never sent a SYN.
The server will wait for the acknowledgement for some time, as simple network congestion
could also be the cause of the missing ACK. However, in an attack, the half-open
connections created by the malicious client bind resources on the server and may eventually
exceed the resources available on the server. At that point, the server cannot connect to any
clients, whether legitimate or otherwise. This effectively denies service to legitimate
clients. Some systems may also malfunction or crash when other operating system
functions are starved of resources in this way.
Page 17 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Ans: packet sniffing: A packet analyzer also known as a network analyzer, protocol (Packet
analyzer or packet sniffer, for particular types of networks, an Ethernet sniffer or wireless sniffing: 3
sniffer) is a computer program or piece of computer hardware that can intercept and log marks packet
traffic that passes over a digital network or part of a network. As data streams flow across spoofing: 3
the network, the sniffer captures each packet. marks)
Packet sniffer specifically viewing the contents of the packet & can intimated to third
required party. Like tender of a company can obtain just by viewing the info of other
companies tender info & can adjusted the value as per requirement.
Packet Spoofing: In the context of network security, a spoofing attack is a situation in
which one person or program successfully masquerades as another by falsifying data,
thereby gaining an illegitimate advantage spoofing involves packet can be captured , data
can be modified as per the requirement of third party and may sent to recipients. Following
are the types of spoofing
IP Address spoofing
GPS spoofing
Caller id spoofing
Mail spoofing
Third party may use any spoofing technique as per requirement & may get
Page 18 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
a) Explain the role of people with respect to password selection in detail. 8M
Ans: Security topology: A security topology is the arrangement of hardware devices on a (2 marks
network with respect to internal security requirements and needs for public access. Definition:
OR 1 mark
Security topology is a local map that depicts the interconnectivity between security
Listing
devices and security domains that host these networks.
zones: 1.5
Security Zone: Security zones are the building blocks for policies; they are logical marks
entities to which one or more interfaces are bound. Security zones provide a means of explanation
distinguishing groups of hosts (user systems and other hosts, such as servers) and their of each
resources from one another in order to apply different security measures to them. zone)
2. Upon verification, a timestamp is created. This puts the current time in a user
session, along with an expiration date. The default expiration date of a timestamp is 8
hours. The encryption key is then created. The timestamp ensures that when 8 hours is up,
the encryption key is useless.
3. The key is sent back to the client in the form of a ticket-granting ticket, or TGT.
This is a simple ticket that is issued by the authentication service. It is used for
authentication the client for future reference.
4. The client submits the ticket-granting ticket to the ticket-granting server, or TGS, to
get authenticated.
5. The TGS creates an encrypted key with a timestamp, and grants the client a service
ticket.
Page 21 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
6. The client decrypts the ticket, tells the TGS it has done so, and then sends its own
encrypted key to the service.
7. The service decrypts the key, and makes sure the timestamp is still valid. If it is, the
service contacts the key distribution center to receive a session that is returned to the
client.
8. The client decrypts the ticket. If the keys are still valid, communication is initiated
between client and server.
Ans: 1. Security awareness program is most effective method to oppose potential social (1 mark for
engineering attacks when organization‟s security goals and policies are established. each
2. An important element that should concentrate in training is which information is relevant
sensitive for organization and which may be the target of a social engineering attack.
point)
3. Companies implement tools and procedures to protect against these threats and to
comply with law and regulations.
4. Establishing and maintaining information-security awareness through a security
awareness program is vital to an organization‟s progress and success. A robust and
properly implemented security awareness program assists the organization with the
education, monitoring, and ongoing maintenance of security awareness within the
organization.
Page 22 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
5. Security awareness should be conducted as an on-going program to ensure that
training and knowledge is not just delivered as an annual activity, rather it is used to
maintain a high level of security awareness on a daily basis.
Page 23 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
(ii). PEM- Privacy Enhanced Mail.
(i). Privacy-Enhanced Mail (PEM) is an Internet standard that provides for secure
exchange of electronic mail.
(ii). PEM employs a range of cryptographic techniques to allow for
(iii). Confidentiality
(iv). Non - repudiation
(v). Message integrity
(vi). The confidentiality feature allows a message to be kept secret from people to whom
the message was not addressed.
(vii). The Non - repudiation allows a user to verify that the PEM message that they have
received is truly from the person who claims to have sent it.
(viii). The message integrity aspects allow the user to ensure that a message hasn't been
modified during transport from the sender.
(iii). PGP- Pretty Good Privacy: Pretty Good Privacy is a popular program used to
encrypt and decrypt email over the internet.
(i). It becomes a standard for e-mail security.
(ii). It is used to send encrypted code (digital signature) that lets the receiver verify the
sender„s identity and takes care that the route of message should not change.
(iii). PGP can be used to encrypt files being stored so that they are in unreadable form and
not readable by users or intruders.
(iv). It is available in Low cost and Freeware version.
(v). It is most widely used privacy ensuring program used by individuals as well as many
corporations.
(iv). S/MIME – Secure Multipurpose Internet Mail Extension:
(i). The traditional email system using SMTP protocol are text based which means that a
person can compose text message using an editor and them sends it over Internet to
the recipient, but multimedia files or documents in various arbitrary format cannot be
sent using this protocol.
(ii). To cater these needs the Multipurpose Internet Mail Extensions (MIME) system
extends the basic email system by permitting users to send the binary files using basic
email system.
(iii). And when basic MIME system is enhanced to provide security features, it is called as
Secure Multipurpose Internet Mail Extensions.
(iv). S/MIME provides security for digital signature and encryption of email message.
Ans: Intrusion detection system (IDS): An intrusion detection system (IDS) monitors network (1 mark
traffic and monitors for suspicious activity and alerts the system or network administrator. IDS: 2
In some cases the IDS may also respond to anomalous or malicious traffic by taking action marks,
Page 24 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
such as blocking the user or source IP address from accessing the network. HIDS
explanation:
HIDS Host Intrusion Detection Systems: 1 mark
(i). They are run on individual hosts or devices on the network.
diagram)
(ii). A HIDS monitors the inbound and outbound packets from the device only and will
alert the user or administrator when suspicious activity is detected.
(iii). HIDS is looking for certain activities in the log file are:
Logins at odd hours
Login authentication failure
Adding new user account
Modification or access of critical system files
Modification or removal of binary files
Starting or stopping processes
Privilege escalation
Use of certain programs
Ans: Secure electronic Transaction is an open encryption and security specification that is (1 mark:
designed for protecting credit card transactions on the Internet. It is a set of security list, 3 marks
protocols and formats that enable the users to employ the existing credit card payment for any
infrastructure on the internet in a secure manner. Three
Page 25 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
WINTER– 16 EXAMINATION
Model Answer Subject Code:
17514
______________________________________________________________________________________________
Components
)
Components of SET:
1. Cardholder
2. Merchant
3. Issuer
4. Acquirer
5. Payment gateway
6. Certification Authority(CA)
1. Cardholder: A cardholder is an authorized holder of a payment card such as
MasterCard or Visa that has been issued by an Issuer.
2. Merchant: Merchant is a person or an organization that wants to sell goods or
services to cardholders.
3. Issuer: The issuer is a financial institution that provides a payment card to a
cardholder.
4. Acquirer: this is a financial institution that has a relationship with merchants for
processing payment card authorizations and payments. Also provides an assurance that a
particular cardholder account is active and that the purchase amount does not exceed the
credit limits. It provides electronic fund transfer to the merchant account.
5. Payment Gateway: It processes the payment messages on behalf of the merchant.
It connects to the acquirer‟s system using a dedicated network line.
6. Certification Authority (CA): This is an authority that is trusted to provide public
key certificates to cardholders, merchant, and Payment Gateway.
Page 26 of 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Important Instructions to examiners:
1) The answers should be examined by key words and not as word-to-word as given in the model answer
scheme.
2) The model answer and the answer written by candidate may vary but the examiner may try to assess the
understanding level of the candidate.
3) The language errors such as grammatical, spelling errors should not be given more Importance (Not
applicable for subject English and Communication Skills.
4) While assessing figures, examiner may give credit for principal components indicated in the figure. The
figures drawn by candidate and model answer may vary. The examiner may give credit for any equivalent
figure drawn.
5) Credits may be given step wise for numerical problems. In some cases, the assumed constant values
may vary and there may be some difference in the candidate’s answers and model answer.
6) In case of some questions credit may be given by judgement on part of examiner of relevant answer
based on candidate’s understanding.
7) For programming language papers, credit may be given to any other program based on equivalent
concept.
Here, the user of a computer A send a message to user of computer B. another user C
gets access to this message, which is not desired and therefore, defeats the purpose
Page | 1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
of Confidentiality.
2. Authentication:
Authentication helps to establish proof of identities.
The Authentication process ensures that the origin of a message is correctly
identified.
For example, suppose that user C sends a message over the internet to user B.
however, the trouble is that user C had posed as user A when he sent a message to
user B. how would user B know that the message has come from user C, who posing
as user A?
This concept is shown in fig. below. This type of attack is called as Fabrication.
3. Integrity:
When the contents of the message are changed after the sender sends it, but before it
reaches the intended recipient, we say that the integrity of the message is lost.
For example, here user C tampers with a message originally sent by user A, which is
actually destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way of knowing that
the contents of the message were changed after user A had sent it. User A also does
not know about this change.
This type of attack is called as Modification.
Page | 2
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(b) What is shoulder surfing? How it can be prevented? 4M
Ans: Shoulder surfing is a similar procedure in which attackers position themselves in (Explanatio
such a way as-to be-able to observe the authorized user entering the correct access n: 3 marks,
code or data. Prevention:
Both of these attack techniques can be easily countered by using simple procedures 1 mark)
to ensure nobody follows you too closely or is in a position to observe your actions.
Shoulder surfing is using direct observation techniques, such as looking over
someone's shoulder, to get information.
Shoulder surfing is an effective way to get information in crowded places because
it's relatively easy to stand next to someone and watch as they fill out a form, enter a
PIN number at an ATM machine.
Shoulder surfing can also be done long-distance with the idea of binoculars or other
vision-enhancing devices.
To prevent shoulder surfing:
Experts recommend that you shield paper work or your keypad from view by using
your body or cupping your hand.
Asymmetric-Key cryptography:
It is also called public key cryptography.
In public key cryptography two keys: a private key and a public key is used.
Encryption is done through the public key and decryption through private key.
Receiver creates both the keys and is responsible for distributing its public key to the
communication community.
Example: The sender (say John) uses the public key to encrypt the plain text into
cipher text and the receiver (say Bob) uses his private key to decrypt the cipher text.
Page | 3
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(d) What is a Virus? Describe various phases of virus. 4M
Ans: Virus is a program which attaches itself to another program and causes damage to the (Definition
computer system or the network. It is loaded onto your computer without your of Virus: 1
knowledge and runs against your wishes. mark
,Listing
During the lifecycle of virus it goes through the following four phases:
phases of
Virus: 1
Dormant phase: The virus is idle and activated by some event. mark,
Propagation phase: It places an identical copy of itself into other programs or into Explanation
certain system areas on the disk. of Phases: 2
Triggering phase: The virus is activated to perform the function for which it was marks)
intended.
Execution phase: The function of virus is performed
Ans: ( Diagram:
2 marks,
Explanation
: 4 marks)
OR
Page | 4
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
A message is to be transferred from one use to another user in secret form using this
security system it can be two or more parties accessing information via Internet.
Sender & receiver are principals of transaction and must cooperate for exchange to
take place.
Model shows four basic tasks:
1. Design algorithm in such a way that an opponent cannot defeat its purpose. This
algorithm is used for security related information.
2. Generate secret information that can be used with algorithm.
3. Develop method for distributing and sharing of secret information.
4. Specify a protocol which can be used by two principals that make use of security
algorithm and secret information to achieve a security service. An information
channel is established by defining a route through Internet from source to destination
with the help of communication protocol like TCP/IP or using normal PC to PC
communication through any media.
Techniques for providing security have following components:-
A security related transformation on information to be sent.
This information shared by two principals should be secret.
A trusted party is required to achieve secure transmission.
This is responsible for distributing secret information between two principals.
OR
(2 mark for each point)
Model for security:
1. Confidentiality:
The principle of confidentiality specifies that only sender and intended recipients
should be able to access the contents of a message.
Confidentiality gets compromised if an unauthorized person is able to access the
contents of a message.
Page | 5
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Example of compromising the Confidentiality of a message is shown in fig:
Here, the user of a computer A send a message to user of computer B. another user C
gets access to this message, which is not desired and therefore, defeats the purpose
of Confidentiality.
This type of attack is also called as interception.
2. Authentication:
Authentication helps to establish proof of identities.
The Authentication process ensures that the origin of a message is correctly
identified.
For example, suppose that user C sends a message over the internet to user B.
however, the trouble is that user C had posed as user A when he sent a message to
user B. how would user B know that the message has come from user C, who posing
as user A?
This concept is shown in fig. below.
This type of attack is called as fabrication.
3. Integrity:
When the contents of the message are changed after the sender sends it, but before it
reaches the intended recipient, we say that the integrity of the message is lost.
For example, here user C tampers with a message originally sent by user A, which is
Page | 6
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
actually destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way of knowing that
the contents of the message were changed after user A had sent it. User A also does
not know about this change.
This type of attack is called as modification.
ii) Spoofing
Page | 7
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
iii) Man-in-the middle
A man in the middle attack occurs when attackers are able to place themselves in the
middle of two other hosts that are communicating in order to view or modify the
traffic.
This is done by making sure that all communication going to or from the target host
is routed through the attacker‘s host.
Then the attacker is able to observe all traffic before transmitting it and can actually
modify or block traffic.
To the target host, communication is occurring normally, since all expected replies
are received.
To prevent this attack both sender and receiver must authenticate each other.
Page | 8
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Page | 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(b) Describe Biometric security mechanism with suitable diagram. 8M
Ans: (Diagram: 2
mark,
Explanation:
4 marks,
Example: 2
mark)
Biometric refers study of methods for uniquely recognizing humans based upon one
or more intrinsic physical or behavioral characteristics.
Biometric identification is used on the basis of some unique physical attribute of the
user that positively identifies the user.
Example: finger print recognition, retina and face scan technic, voice synthesis and
recognition and so on.
Physiological are related to shape of the body.
For example finger print, face recognition, DNA, palm print, iris recognition and so
on.
Behavioral are related to the behavior of a person.
For example typing rhythm, gait, signature and voice.
The first time an individual uses a biometric system is called an enrollment.
During the enrollment, biometric information from an individual is stored.
In the subsequent uses, biometric information is detected and compared with the
information stored at the time of enrollment.
1. Preprocessing
2. Sensor
3. Feature extractor
4. Template generator
5. Matcher
6. Stored templates
7. Application device
8. Enrollment
Page | 10
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Step 1): The first block (sensor) is the interface between the real world and the system;
it has to acquire all the necessary data.
Step 2):The 2nd block performs all the necessary preprocessing.
Step 3) The third block extracts necessary features. This step is an important step as the
correct features need to be extracted in the optimal way.
Step 4) If enrollment is being performed the template is simply stored somewhere (on a
card or within a database or both).if a matching phase is being performed the obtained
template is passed to a matcher that compares it with other existing templates,
estimating the distance between them using any algorithm. The matching program will
analyze the template with the input. This will then be output for any specified use or
purpose.
Example:
Fingerprint registration & verification process
During registration, first time an individual uses a biometric system is called an
enrolment. During the enrolment, biometric information from an individual is stored. In
the verification process, biometric information is detected and compared with the
information stored at the time of enrolment.
Ans: The Data Encryption Standard is generally used in the ECB, CBC, or the CFB mode. (Definition:
DES is a block cipher. It encrypts data in blocks of size 64 bits each. That is, 64 bits of 1 mark ;
plain text goes as the input to DES, which produces 64 bits of cipher text .DES is
Diagram:
based on the two fundamental attributes of cryptography: substitution and
1m; process
transposition. The process diagram as follows.
Diagram: 1
mark, for
each step: 1
Page | 11
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
mark)
Initial Permutation (IP): It happens only once. It replaces the first bit of the original
plain text block with the 58th bit of the original plain text block, the second bit with the
50th bit of original plain text block and so on. The resulting 64-bits permuted text block
is divided into two half blocks. Each half block consists of 32 bits. The left block called
as LPT and right block called as RPT.16 rounds are performed on these two blocks.
Details of one round in DES
Step 1 : key transformation: the initial key is transformed into a 56-bit key by
discarding every 8th bit of initial key. Thus ,for each round , a 56 bit key is available,
from this 56-bit key, a different 48-bit sub key is generated during each round using a
process called as key transformation
Expansion Permutation
Key Transformation
Page | 12
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
S-box substitution
XOR and swap
P-box Permutation
Step 2: Expansion permutation: During Expansion permutation the RPT is expanded
from 32 bits to 48 bits. The 32-bit RPT is divided into 8 blocks, with each block
consisting of 4-bits. Each 4-bits block of the previous step is then expanded to a
corresponding 6-bit block, per 4-bit block, 2 more bits are added. They are the repeated
1st and 4th bits of the 4-bit block. The 2nd and 3rd bits are written as they were in the
input. The 48 bit key is XORed with the 48-bit RPT and the resulting output is given to
the next step.
Step 3: S-box substitution: It accepts the 48-bits input from the XOR operation
involving the compressed key and expanded RPT and produces 32-bit output using the
substitution techniques. Each of the 8 S-boxes has a 6-bit input and a 4-bit output. The
output of each S-box then combined to form a 32-bit block, which is given to the last
stage of a round.
Step 4: P- box permutation: the output of S-box consists of 32-bits. These 32-bits are
permuted using P-box.
Step 5: XOR and Swap: The LPT of the initial 64-bits plain text block is XORed with
the output produced by P box-permutation. It produces new RPT. The old RPT
becomes new LPT, in a process of swapping.
Page | 13
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Final Permutation: At the end of 16 rounds, the final permutation is performed. This is
simple transposition. For e.g., the 40th input bit takes the position of 1st output bit and
so on.
3. Attempt any FOUR of the following: 16Marks
Ans: It is a computer host or a small network inserted as a neutral zone between company’s (Relevant
private network and outside public network. It prevents direct Access to a server that has Diagram: 2
company data. marks, 1
mark per
point)
It avoids outside users from getting direct access to a company’s data server. A DMZ
is an optional but more secure approach to a firewall. It can effectively acts as a
Page | 14
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
proxy server.
The typical DMZ configuration has a separate computer or host in network which
receives requests from users within the private network to access a web sites or
public network.
Then DMZ host initiates sessions for such requests on the public network but it is
not able to initiate a session back into the private network. It can only forward
packets which have been requested by a host.
The public network’s users who are outside the company can access only the DMZ
host.
It can store the company’s web pages which can be served to the outside users.
Hence, the DMZ can’t give access to the other company’s data.
By any way, if an outsider penetrates the DMZ’s security the web pages may get
corrupted but other company’s information can be safe.
Ans: Security awareness program is most effective method to oppose potential social (Importance:
engineering attacks when organization’s security goals and policies are established. An 2 marks,
important element that should concentrate in training is which information is sensitive Relevant
for organization and which may be the target of a social engineering attack
point for
An unaware user is as dangerous to the system as the attacker.
acquiring
An active security awareness program is most effective method to oppose potential
social engineering attacks. security:
User should be able to create their own easy to remember passwords, but should not 1mark)
be easy for someone else to guess or obtain using password cracking utilities.
Password should meet some essential guidelines for e.g. password should contain
some special characters etc.
It should not consist of dictionary words.
An approach of following closely behind a person who has just used their own
access card or PIN to gain physical access. In this way an attacker can gain access to
the facility without knowing the access code.
An attacker positions themselves in such a way that he is able to observe the
authorized user entering the correct access code.
Because of possible risks, many organizations do not allow their users to load
software or install new hardware without the information and help of administrators.
Organizations also restrict what an individual do by received e-mails.
An attacker can get physical access to a facility then there are many chances of
obtaining enough information to enter into computer systems and networks. Many
organizations restrict their employees to wear identification symbols at work.
Page | 15
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(c) What is steganography? What are its applications? 4M
Ans: Steganography is a technique that facilitates hiding of message that is to keep secret (Explanation
inside other message. : 2 marks
,Applications
Steganography is the art and science of writing hidden message in such a way that no : 2 mark,
one, apart from the sender and intended recipient, suspects the existence of the
Any 2
message.
Steganography works by replacing bits of useless or unused data in regular computer applications
files (such as graphics, sound, text, html or even floppy disks) with bits of different, expected )
invisible information. This hidden information can be plain text, cipher text or even
images.
In modern steganography, data is first encrypted by the usual means and then
inserted, using a special algorithm, into redundant data that is part of a particular file
format such as a JPEG image.
Steganography process :
Cover-media + Hidden data + Stego-key = Stego-medium
Cover media is the file in which we will hide the hidden data, which may also be
encrypted using stego-key. The resultant file is stego-medium. Cover-media can be
image or audio file.
Stenography takes cryptography a step further by hiding an encrypted message so
that no one suspects it exists. Ideally, anyone scanning your data will fail to know it
contains encrypted data.
Applications :
1. Confidential communication and secret data storing
2. Protection of data alteration
3. Access control system for digital content distribution
4. Media Database systems
Ans: A Virtual Local Area Network (VLAN) is a logical network allowing systems on (Explanation
different physical networks to interact as if they were connected to the same physical : 3 marks,
network. Diagram: 1
IP Subnet VLANs
mark)
In this type of VLAN, all the incoming traffic will be divided according to the IP subnet
address of each source/destination. This will provide great flexibility in network because
Page | 16
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
the users can move computers from one location to another location and can remain in
the same VLAN. The disadvantage of VLAN is that it needs additional processing for
the layer 3 header and therefore it adds more latency than the other VLAN segments.
Ans: For secure electronic transaction SET participant are there. (Each
1) Cardholders- cardholder is an authorized holder of payment card like Master card, participants:
visa that has been issued by an issuer. 1 mark ,
2) Merchant- A merchant is a person or organization that has goods or services to sell
Any 4
to cardholder.
3) Issuer- This is financial institution like bank. participants
4) Acquirer- This is a financial institution that establishes account with merchant & expected )
process payment card authorization & payment.
5) Payment Gateway- This is a function operated by acquire.
6) The payment gateway process between SET & existing bankcard payment networks
.For authorization & payment function.
7) The merchant exchanges SET messages with payment gateway over internet.
8) Certificate Authority- This is an entity that is trusted to issue public key for
cardholder, merchant & payment gateways.
(a) Convert plain text into cipher text by using simple columnas technique of the 4M
following sentence:
‘ALL IS WELL FOR YOUR EXAM’
Page | 17
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
with other ciphers, such as a substitution cipher, the combination of which can be more
difficult to break than either cipher on its own. The cipher uses a columnar transposition
to greatly improve its security.
Algorithm:
1. The message is written out in rows of a fixed length.
2. Read out again column by column according to given order or in random order.
3. According to order write cipher text.
Example
The key for the columnar transposition cipher is a keyword e.g. MANGO
The row length that is used is the same as the length of the keyword.
4 5 3 2 1
M A N G O
A L L I S
W E L L F
O R Y O U
R E X A M
Page | 18
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(b) Describe IPsec configuration. 4M
Ans: (Diagram: 2
marks ,
Explanation:
2 marks )
IP sec overview:
It encrypts and seal the transport and application layer data during transmission. It also
offers integrity protection for internet layer. It sits between transport and internet layer
of conventional TCP/IP protocol
Page | 20
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Ans: Cybercrime investigation is done to determine the nature of crime and collect (Each step: 1
evidence e.g. hardware, software related with the crime. mark, Any
This is used to stop a crime in progress, report crime which was done in the past. four steps
Relevant IT training is necessary for Cybercrime investigation. expected)
First step of investigation team is to secure computers, networks & components that
are connected with crime.
Investigators may clone the system to explore it. They can take a detailed audit of a
computer
Interviews: Investigators arrange interviews with victims, witness.
Surveillance: Investigators checks the digital activities, monitors all elements of
suspect.
Forensics: Mining a computer for all related information to detect potential
evidence.
Undercover: Steps to uncover to trap criminals using fake online identities.
Obtain a search warrant and seize the victims equipment
Identify the victim's configuration.
Acquire the evidence carefully.
2. Web servers: Web servers are the most common Internet server-side application in
use. These are mainly designed to provide content & functionality to remote users
through a standard web browser.
Page | 21
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Ans: A computer security risk is any event or action that could cause a loss or damage to (Definition: 2
computer hardware, software, data, or information. marks,
Analyzing: 2
Some breaches to computer security are accidental, but some are planned. Any marks,
illegal act involving a computer is generally referred to as a computer crime. Assets: 2
marks)
Cybercrime refers to online or Internet-based illegal acts.
Some of the more common computer security risks include Computer viruses,
Unauthorized access and use of computer systems ,Hardware theft and software
theft, Information theft and information privacy, System failure
It is also important to take into account the chance of each loss occurring.
If a hacker makes a copy of all a company's credit card numbers it does not cost
them anything directly but the loss in fine and reputation can be enormous.
An asset is any data, device, or other component of the environment that supports
information-related activities.
Assets should be protected from unauthorized access, use, alteration, destruction, and/or
theft, resulting in loss to the organization.
Page | 22
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
(b) State the types of attacks and describe Active and Passive attack with at least one 6M
example each.
Passive attacks are in the nature of eavesdropping on, or monitoring of, transmissions.
The goal of the opponent is to obtain information that is being transmitted.
The release of message contents is easily understood. A telephone conversation, an
electronic mail message, and a transferred file may contain sensitive or confidential
information. We would like to prevent an opponent from learning the contents of
these transmissions.
A second type of passive attack, traffic analysis.
Suppose that we had a way of masking the contents of messages or other
information traffic so that opponents, even if they captured the message, could not
extract the information from the message. The common technique for masking
contents is encryption. If we had encryption protection in place, an opponent might
still be able to observe the pattern of these messages. The opponent could determine
the location and identity of communicating hosts and could observe the frequency
and length of messages being exchanged. This information might be useful in
guessing the nature of the communication that was taking place.
Passive attacks are very difficult to detect because they do not involve any alteration
of the data.
Typically, the message traffic is not sent and received in an apparently normal
fashion and the sender nor receiver is aware that a third party has read the messages
or observed the traffic pattern.
However, it is feasible to prevent the success of these attacks, usually by means of
encryption. Thus, the emphasis in dealing with passive attacks is on prevention
rather than detection.
Active Attack:
In an active attack, the attacker tries to bypass or break into secured systems.
This can be done through stealth, viruses, worms, or Trojan horses.
Active attacks include attempts to circumvent or break protection features, to
introduce malicious code, and to steal or modify information.
These attacks are mounted against a network backbone, exploit information in
transit, electronically penetrate an enclave, or attack an authorized remote user
Page | 23
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
during an attempt to connect to an enclave.
Active attacks result in the disclosure or dissemination of data files, DoS, or
modification of data.
In replay attack, authentication sequences can be captured and replayed after a valid
authentication sequence has taken place, thus enabling an authorized entity with few
privileges to obtain extra privileges by impersonating an entity that has those
privileges.
Replay involves the passive capture of a data unit and its subsequent retransmission
to produce an unauthorized effect.
Ans: Password: Password is a secret word or expression used by authorized persons to prove (Password:
their right to access, information, etc. 4 marks,
Four
Components of good password: selection
1. It should be at least eight characters long. Policies: 1
2. It should include uppercase and lowercase letters, numbers, special characters or marks each)
punctuation marks.
3. It should not contain dictionary words.
4. It should not contain the user's personal information such as their name, family
member's name, birth date, pet name, phone number or any other detail that can
easily be identified.
5. It should not be the same as the user's login name.
Page | 24
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
6. It should not be the default passwords as supplied by the system vendor such as
password, guest, and admin and so on.
Ans: An IDS (Intrusion detection system) is intrusion detection system is process of (IDS: 2
monitoring the events occurring in computer system or network & analyzing tem for marks,
signs of possible incident which are threats of computer security. Intrusion detection Diagram: 2
system (IDS) is a device or software application that monitors network or system marks, IDS
activities for malicious activities or policy violations and produces reports to a components
management station. IDS come in a variety of “flavors” and approach the goal of : 2 marks,
detecting suspicious traffic in different ways. Types: 2
marks)
IDS are mainly divided into two categories, depending on monitoring activity:
1) Host-based IDS: Host based IDS looks for certain activities in the log files are:
1. Logins at odd hours
2. Login authentication failure.
Page | 26
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
3. Adding new user account
4. Modification or access of critical systems files.
5. Modification or removal of binary files
6. Starting or stopping processes.
7. Privilege escalation
8. Use of certain program
2) Network based IDS: Network based IDS looks for certain activities like:
Working of Kerberos:
1. The authentication service, or AS, receivers the request by the client and verifies that
the client is indeed the computer it claims to be. This is usually just a simple
database lookup of the user’s ID.
Page | 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
2. Upon verification, a timestamp is created. This puts the current time in a user
session, along with an expiration date. The default expiration date of a timestamp is
8 hours. The encryption key is then created. The timestamp ensures that when 8
hours is up, the encryption key is useless.
3. The key is sent back to the client in the form of a ticket-granting ticket, or TGT. This
is a simple ticket that is issued by the authentication service. It is used for
authentication the client for future reference.
4. The client submits the ticket-granting ticket to the ticket-granting server, or TGS, to
get authenticated.
5. The TGS creates an encrypted key with a timestamp, and grants the client a service
ticket.
Page | 28
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
6. The client decrypts the ticket, tells the TGS it has done so, and then sends its own
encrypted key to the service.
7. The service decrypts the key, and makes sure the timestamp is still valid. If it is, the
service contacts the key distribution center to receive a session that is returned to the
client.
8. The client decrypts the ticket. If the keys are still valid, communication is initiated
between client and server.
Ans: Piggybacking: It is the simple process of following closely behind a person who has (Piggybacki
just used their own access card or PIN to gain physical access to a room or building. An ng: 2
attacker can thus gain access to the facility without having to know the access code or marks,
having to acquire an access card. i.e. Access of wireless internet connection by Prevention:
bringing one's own computer within range of another wireless connection & using that 2 marks)
without explicit permission, it means when an authorized person allows (intentionally
or unintentionally) others to pass through a secure door. Piggybacking on Internet
access is the practice of establishing a wireless Internet connection by using another
subscriber's wireless Internet access service without the subscriber’s explicit permission
Page | 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
or knowledge. It is the simple tactic of following closely behind a person who has just
used their own access card or PIN to gain physical access to a room or building. An
attacker can thus gain access to the facility without having to know the access code or
having to acquire an access card. Piggybacking is sometimes referred to as "Wi-Fi
squatting." The usual purpose of piggybacking is simply to gain free network access
rather than any malicious intent, but it can slow down data transfer for legitimate users
of the network.
Prevention:
1. Piggybacking can be prevented by ensuring that encryption is enabled in router by
using Wireless Encryption Protocol (WEP) or Wireless Protected Access (WPA) or
WPA2.
2. Using a strong password for encryption key, consisting of at least 14 characters and
mixing letters and numbers.
Ans: One time pad Security Mechanism: One time pad (Vernam Cipher) is the encryption (Explanation
mechanism in which the encryption-key has at least the same length as the plaintext and : 2 marks,
consists of truly random numbers. Each letter of the plaintext is mixed with one element Example: 2
marks)
from the OTP. This results in a cipher-text that has no relation with the plaintext when
the key is unknown. At the receiving end, the same OTP is used to retrieve the original
plaintext
Steps for One time pad :
1. The key should be as long as the message
2. Key and plain text calculated modulo 26
3. There should only be 2 copies of the key (1 for sender and 1 for receiver)
Example: Suppose Alice wishes to send the message "HELLO" to Bob In OTP assign
each letter a numerical value: e.g. "A" is 0, "B" is 1, and so on. Here, we combine the
key and the message using modular addition. The numerical values of corresponding
message and key letters are added together, modulo 26. If key is "XMCKL" and the
message is "HELLO", then the encrypted text will be “EQNVZ”
Page | 30
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
Ans: PGP is Pretty Good Privacy. It is a popular program used to encrypt and decrypt email (Diagram: 2
over the internet. It becomes a standard for e-mail security. It is used to send encrypted marks,
code (digital signature) that lets the receiver verify the sender’s identity and takes care Description:
that the route of message should not change. PGP can be used to encrypt files being 2 marks)
stored so that they are in unreadable form and not readable by users or intruders It is
available in Low cost and Freeware version. It is most widely used privacy ensuring
program used by individuals as well as many corporations.
Fig. PGP
There are five steps as shown in fig.
1. Digital signature: it consists of the creation a message digest of the email message
using SHA-1 algorithm. The resulting MD is then encrypted with the sender’s private
key. The result is the sender’s digital signature.
2. Compression: the input message as well as p digital signature are compressed
Page | 31
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
MODEL ANSWER
SUMMER– 17 EXAMINATION
Subject Title: Computer Security Subject Code: 17514
together to reduce the size of final message that will be transmitted. For this the Lempel-
Ziv algorithm is used.
3. Encryption: The compressed output of step 2 (i.e. the compressed form of the
original email and the digital signature together) are encrypted with a symmetric key.
4. Digital enveloping: the symmetric key used for encryption in step 3 is now encrypted
with the receiver’s public key. The output of step 3 and 4 together form a digital
envelope.
5. Base-64 encoding: this process transforms arbitrary binary input into printable
character output. The binary input is processed in blocks of 3 octets (24-bits).these 24
bits are considered to be made up of 4 sets, each of 6 bits. Each such set of 6 bits is
mapped into an 8-bit output character in this process.
(d) What is pornography? 4M
Ans: PORNOGRAPHY: The depiction of nudity or erotic behavior, in writing, pictures, (Explanation
video, or otherwise, with the intent to cause sexual excitement. Is the depiction of erotic : 4 marks)
behavior (as in pictures or writing) intended to cause sexual excitement material (as
books or a photograph) that depicts erotic behavior and is intended to cause sexual
excitement the depiction of acts in a sensational manner so as to arouse a quick intense
emotional reaction? Pornography is defined as imagery, in addition to various forms of
media, that depicts actions presumed to be overtly sexual and erotic in nature. In a legal
spectrum, Pornography can be defined as sexually-explicit material that is displayed or
viewed with the intention of the provision of sexual gratification.
(e) What is SSL/TLS? 4M
Ans: Transport Layer Security (TLS) and Secure Sockets Layer (SSL), both referred to as (Explanation
"SSL" are cryptographic protocols that provide communications security over a network. : 4 marks)
The Transport Layer security (TLS) protocol provides communications privacy over
internet. The protocol allows client-server applications to communicate in a way that is
designed to prevent eavesdropping, tampering or message forgery. The primary goal of
the TLS protocol is to provide privacy in data integrity between two communicating
applications.
The protocol is composed of two layers:
1. TLS Record Protocol provides connection security with some encryption method
such as the Data Encryption Standard (DES). The TLS Record Protocol can also be
used without encryption.
2. The TLS Handshake Protocol allows the server and client to authenticate each other
and to negotiate an encryption algorithm and cryptographic keys before data is
exchanged.
Page | 32
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
WINTER– 17 EXAMINATION
Subject Name: Computer Security Model Answer Subject Code: 17514
Important Instructions to examiners:
1) The answers should be examined by key words and not as word-to-word as given in the model answer
scheme.
2) The model answer and the answer written by candidate may vary but the examiner may try to assess the
understanding level of the candidate.
3) The language errors such as grammatical, spelling errors should not be given more Importance (Not
applicable for subject English and Communication Skills.
4) While assessing figures, examiner may give credit for principal components indicated in the figure. The
figures drawn by candidate and model answer may vary. The examiner may give credit for any equivalent
figure drawn.
5) Credits may be given step wise for numerical problems. In some cases, the assumed constant values
may vary and there may be some difference in the candidate’s answers and model answer.
6) In case of some questions credit may be given by judgement on part of examiner of relevant answer
based on candidate’s understanding.
7) For programming language papers, credit may be given to any other program based on equivalent
concept.
Ans: The need of computer security has been threefold: confidentiality, integrity, and (1 mark for
availability the “CIA” of security. Confidentiality, Integrity, Availability, Availability, each point
; Diagram
Authentication, Other elements are Authorization, Non-repudiation, Access control and
optional)
accountability.
Fig. Loss of
confidentiality
Page 1 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Here, the user of a computer A sends a message to user of computer B. another
user C gets access to this message, which is not desired and therefore, defeats the
purpose of Confidentiality.
This type of attack is also called as interception.
3. Integrity: Integrity is a related concept but deals with the generation and
modification of data. Only authorized individuals should ever be able to create or
change (or delete) information. When the contents of the message are changed after the
sender sends it, but before it reaches the intended recipient, we say that the integrity of
the message is lost.
For example, here user C tampers with a message originally sent by user A, which is
actually destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way of knowing that
the contents of the message were changed after user A had sent it. User A also does
not know about this change.
Page 2 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
4. Availability: The goal of availability s to ensure that the data, or the system
itself, is available for use when the authorized user wants it.
(ii) List types of attacks. Explain back doors and trap doors attacks 4M
Trapdoor Attacks: A trap door is an entrance in a system which circumvents the normal
safety measures. It is secret entry point into a program that allows someone who is aware
of gaining access using procedure other that security procedure. It might be hidden
program which makes the protection system ineffective. This entry can be deliberately in
traduced by the developer to maintain system in case of disaster management. Trapdoor
programs can be installed through malware using internet.
Page 3 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Ans: (Each
comparison
Categories Symmetric key Asymmetric key point:
1mark , any
Key used for encryption Cryptography
Same key is used for Cryptography
One key is used for four points)
/decryption encryption & decryption. encryption & another
different key is used for
decryption.
Key process Ke=Kd (Same) Ke# Kd (not same)
Speed of encryption/ Very fast Slower
decryption
Size of resulting encrypted Usually same as or less than More than the original clear
text agreement/exchange
Key thebig
A original clear text size.
problem textproblem
No size. at all.
Ans: 1. Cryptography: Cryptography is art & science of achieving security by encoding (1mark for
messages to make them non-readable. explanatio
n each
term and 1
mark for
diagram
drawn)
3. Cryptology: it is the art and science of transforming the intelligent data into
unintelligent data and unintelligent data back to intelligent data.
Cryptology = Cryptography + Cryptanalysis
Page 4 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
(A) Sniffing
(B) Spoofing
b) Spoofing:
1. Spoofing is nothing more than making data look like it has come from a different
source.
2. This is possible in TCP/ IP because of the friendly assumption behind the protocol.
When the protocols were developed, it was assumed that individuals who had access to
the network layer would be privileged users who could be trusted.
3. When a packet is sent from one system to another, it includes not only the destination IP
address ant port but the source IP address as well which is one of the forms of Spoofing.
4. Example of spoofing: e-mail spoofing, URL spoofing, IP address spoofing.
Ans: Data recovery: All computer users need to be aware of backup and recovery procedures (Explanatio
to protect their data. Data Protection can be taken seriously as its important for financial, n of Data
legal or personal reasons. recovery : 4
marks,
These are various formatted partition recovery tool available .Although every tool will
Procedure :
have different GUI & method of recovery. 2 marks)
Steps of data recovery:
Step1: If you cannot boot the computer, please use data recovery bootable disk.
Step 2: Select the file types you want to recover & volume where the formatted hard
drive is. The tool will automatically scan the selected volume.
Step 3: Then the founded data will be displayed on the screen & you can get a preview
of it. Then select the file or directory that you want to recover & save them to a healthy
drive.
Data recovery procedures:
A computer data recovery procedure is an important part for any computer literate
personality that cannot be neglected. Computer professional or computer forensic
expert who uses data recovery should maintain the secrecy and privacy of the client. Any
action or activity that leads to disclosure of privacy of the client should be avoided. The
values such as integrity, accuracy & authenticity should be exercised in an ethical
environment. The evidence that is produced before the court should be fairly examined &
analyzed. There should not be any carelessness and ignorance regarding the handling of
Page 5 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
evidence. The case evidence should be examined in detail based upon validated principles.
1. Denial of Service Attack. Denial of service (DOS) attack scan exploits a known
vulnerability in a specific application or operating system, or they may attack features (or
weaknesses) in specific protocols or services. In this form of attack, the attacker is
attempting to deny authorized users access either to specific information or to the
computer system or network itself. The purpose of such an attack can be simply to
prevent access to the target system, or the attack can be used in conjunction with other
actions in order to gain unauthorized access to a computer or network. SYN flooding is
an example of a DOS attack that takes advantage of the way TCP/IP networks were
designed to function, and it can be used to illustrate the basic principles of any DOS
attack. SYN flooding utilizes the TCP three-way handshake that is used to establish a
connection between two systems. In a SYN flooding attack, the attacker sends fake
communication requests to the targeted system. Each of these requests will be answered
by the target system, which then waits for the third part of the handshake. Since the
requests are fake the target will wait for responses that will never come.
2. Backdoors and Trapdoors: They are the methods used by software developers to
ensure that they could gain access to an application even if something were to happen
in the future to prevent normal access methods. For e.g. A hard coded password that
could be used to gain access to the program in the event that administrator forgot their
own system password. The problem with this sort of password (sometimes referred to
as trapdoor) is that since the password is hard coded it cannot be removed. If the
attacker learns about the backdoor, all systems running the software would be
vulnerable.
3. Sniffing: A network sniffer is a software or hardware device that is used to observe the
traffic as it passes through the network on shared broadcast media. The device can
be used to view all traffic, all it can target a specific protocol, service or even string of
characters. Normally the network device that connects a computer to a network
Page 6 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
is designed to ignore all traffic that is not destined for that computer. Network
sniffers ignore this friendly agreement and observe all traffic on the network whether
destined for that computer or others.
4. Spoofing: It makes the data look like it has come from other source. This is possible in
TCP/IP because of the friendly assumptions behind the protocols. When a packet is
sent from one system to another, it includes not only the destination IP address but the
source IP address. The user is supposed to fill in the source with your own address, but
there is nothing that stops you from filling in another system‘s address.
5. Man in the middle attack. A man in the middle attack occurs when attackers are able
to place themselves in the middle of two other hosts that are communicating in order to
view or modify the traffic. This is done by making sure that all communication going to
or from the target host is routed through the attacker‘s host. Then the attacker is able to
observe all traffic before transmitting it and can actually modify or block traffic. To the
target host, communication is occurring normally, since all expected replies are received.
6. Replay Attack: In replay attack an attacker captures a sequence of events or some data
units and resends them. For example suppose user A wants to transfer some amount to
user C’s bank account. Both users A and C have account with bank B. User A might
send an electronic message to bank B requesting for fund transfer. User C could capture
this message and send a copy of the same to bank B. Bank B would have no idea that this
is an unauthorized message and would treat this as a second and different fund transfer
request from user A. So C would get the benefit of the fund transfer twice once
authorized and once through a replay attack.
(b) What is the importance of biometrics in Computer security? Describe finger prints 8M
registration and verification process.
Ans: Importance of Biometrics: Biometric refers study of methods for uniquely recognizing (Diagram: 2
humans based upon one or more intrinsic physical or behavioral characteristics. mark,
Importance
1. Biometric identification is used on the basis of some unique physical attribute of the : 4 marks,
user that positively identifies the user. Example: finger print recognition, retina and face Fingerprint
scan technic, voice synthesis and recognition and so on. registration
&
2. Physiological are related to shape of the body.
verification
3. For example finger print, face recognition, DNA, palm print, iris recognition and so on. process: 2
4. Behavioural are related to the behaviour of a person. mark)
5. For example typing rhythm, gait, signature and voice.
6. The first time an individual uses a biometric system is called an enrolment.
7. During the enrolment, biometric information from an individual is stored.
8. In the subsequent uses, biometric information is detected and compared with the
information stored at the time of enrolment.
Page 7 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
(c) Explain transposition technique. Convert plain text to Cipher text using Rail Fence 8M
technique “COMPUTER ENGINEERING”.
Ans: Transposition Technique: Transposition systems are fundamentally different from (4 mark
substitution systems. In substitution systems, plaintext values are replaced with other for
Explanatio
values. In transposition systems, plaintext values are rearranged without otherwise
n, 2 marks
changing them. All the plaintext characters that were present before encipherment are still for Step 1,
present after encipherment. Only the order of the text changes. Most transposition 2 marks
systems rearrange text by single letters. It is possible to rearrange complete words or for cipher
groups of letters rather than single letters, but these approaches are not very secure and text.)
have little practical value. Larger groups than single letters preserve too much
recognizable plaintext.
a) Some transposition systems go through a single transposition process. These are
called single transposition. Others go through two distinctly separate transposition
processes. These are called double transposition.
b) Most transposition systems use a geometric process. Plaintext is written into a
geometric figure, most commonly a rectangle or square, and extracted from the
geometric figure by a different path than the way it was entered. When the geometric
figure is a rectangle or square, and the plaintext is entered by rows and extracted by
columns, it is called columnar transposition. When some route other than rows and
Page 8 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
columns is used, it is called route transposition.
Rail Fence Technique: It is one of the easiest transposition techniques to create
cipher text. When plain text message is codified using any suitable scheme, the resulting
message is called Cipher text or Cipher.
Steps are: Plain text = COMPUTER ENGINEERING
C M U E E G N E I G
O P T R N I E R N
OR
C U E N I
O P T R N I E R N
M E G E G
Page 9 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
2. Upon verification, a timestamp is crated. This puts the current time in a user session,
along with an expiration date. The default expiration date of a timestamp is 8 hours. The
encryption key is then created. The timestamp ensures that when 8 hours is up, the
encryption key is useless. (This is used to make sure a hacker doesn’t intercept the data,
and try to crack the key. Almost all keys are able to be cracked, but it will take a lot longer
than 8 hours to do so)
3. The key is sent back to the client in the form of a ticket-granting ticket, or TGT. This is
a simple ticket that is issued by the authentication service. It is used for authentication the
client for future reference.
4. The client submits the ticket-granting ticket to the ticket-granting server, or TGS, to get
authenticated.
5. The TGS creates an encrypted key with a timestamp, and grants the client a service
ticket.
Page 10 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
6. The client decrypts the ticket, tells the TGS it has done so, and then sends its own
encrypted key to the service.
7. The service decrypts the key, and makes sure the timestamp is still valid. If it is, the
service contacts the key distribution center to receive a session that is returned to the client.
8. The client decrypts the ticket. If the keys are still valid, communication is initiated
between client and server.
Page 11 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
population or a lot of turn over. Many users will simply ignore the guidelines. Others may
not be good judges of what is a strong password. For example, many users believe that
reversing a word or capitalizing the last letter makes a password un-guessable.
2. Computer-generated passwords: Passwords are quite random in nature. Computer-
generated passwords also have problems. If the passwords are quite random in nature,
users will not be able to remember them. Even if the password is pronounceable, the user
may have difficulty remembering it and so be tempted to write it down. In general,
computer-generated password schemes have a history of poor acceptance by users. FIPS
PUB 181 defines one of the best-designed automated password generators. The standard
includes not only a description of the approach but also a complete listing of the C source
code of the algorithm. The algorithm generates words by forming pronounceable syllables
and concatenating them to form a word. A random number generator produces a random
stream of characters used to construct the syllables and words.
3. Reactive password checking: A reactive password checking strategy is one in which
the system periodically runs its own password cracker to find guessable passwords. The
system cancels any passwords that are guessed and notifies the user. This tactic has a
number of drawbacks. First it is resource intensive, if the job is done right. Because a
determined opponent who is able to steal a password file can devote full CPU time to the
task for hours or even days an effective reactive password checker is at a distinct
disadvantage. Furthermore, any existing passwords remain vulnerable until the reactive
password checker finds them.
4. Proactive password checking: The most promising approach to improved password
security is a proactive password checker. In this scheme, a user is allowed to select his or
her password. However, at the time of selection, the system checks to see if the password
is allowable and if not, rejects it. Such checkers are based on the philosophy that with
sufficient guidance from the system, users can select memorable passwords from a fairly
large password space that are not likely to be guessed in a dictionary attack. The trick with
a proactive password checker is to strike a balance between user acceptability and strength.
If the system rejects too many passwords, users will complain that it is too hard to select a
password. If the system uses some simple algorithm to define what is acceptable, this
provides guidance to password crackers to refine their guessing technique. In the
remainder of this subsection, we look at possible approaches to proactive password
checking.
Packet Filtering
(d) Describe host based IDS with its advantages and disadvantages. 4M
Page 13 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Signature database:
It is a collection of patterns & definitions of known suspicious or malicious activity.
User Interface & Reporting:
This is the component that interfaces with the human element, providing alerts & giving
the user a means to interact with & operate the IDS.
Advantages:
1. Operating System specific and detailed signatures.
2. Examine data after it has been decrypted.
3. Application specific.
4. Determine whether or not an alarm may impact that specific.
Disadvantages:
1. Should have a process on every system to watch.
2. High cost of ownership and maintenance.
3. Uses local system resources.
4. If logged locally, could be compromised or disable.
b) EXE file protection: another method to break into system is to trick the vulnerable
application into modifying or creating executable file protection defense is based on in
most of the cases, the application does not need to create or modify executable files.
Hackers will not be able to perform attacks tampering with executable files on the system.
c) System tampering protection: Another possibility to break into the system is to trick
the vulnerable application into modifying special sensitive area of the operating system
and taking advantage of those modifications. Those sensitive areas include Windows
registry keys used to control launching of application on system startup the [Link] and
[Link] files… The system tampering protection defense is based on the fact that in almost
all cases normal applications do not need to perform such operations for their proper
function, by preventing applications to modify special areas of Operating system. Hackers
will not be able to attack by tampering with sensitive special areas of the system.
Application Patches will be helpful in this case like Hotfixes, Patches, and upgrades.
Page 14 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
4. (a) Attempt any THREE of the following: 12 Marks
(i) Explain simple columnar transposition technique with algorithm and example. 4M
Ans: The columnar transposition cipher is a transposition cipher that follows a simple rule for (Explanati
mixing up the characters in the plaintext to form the cipher-text. It can be combined with on: 1
other ciphers, such as a substitution cipher, the combination of which can be more difficult mark,
to break than either cipher on its own. The cipher uses a columnar transposition to greatly
Algorithm:
improve its security.
1 mark,
Algorithm: Example: 2
1. The message is written out in rows of a fixed length. marks )
2. Read out again column by column according to given order or in random order.
3. According to order write cipher text.
Example:
The key for the columnar transposition cipher is a keyword e.g. ORANGE. The row length
that is used is the same as the length of the keyword.
To encrypt a below plaintext COMPUTER PROGRAMMING
In the above example, the plaintext has been padded so that it neatly fits in a rectangle.
This is known as a regular columnar transposition. An irregular columnar transposition
leaves these characters blank, though this makes decryption slightly more difficult. The
columns are now reordered such that the letters in the key word are ordered alphabetically.
The Encrypted text or Cipher text is: MPMET GNMUO IXPRM XCERG ORAL (Written
in blocks of Five)
Page 15 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
(ii) Draw and explain virtual private network. 4M
Ans: (Diagram
of VPN :2
marks ,
Explanatio
n: 2 marks)
Fig: VPN
Explanation: private network created virtually between two branch networks of same
company across the world. Instead of using dedicated leased line to the internetwork of
company public lines can be used called as VPN. In the diagram two firewalls are acting as
an intermediate between user X & user Y. If the user x is sending the message to user .If
the user X is sending the message to user Y message first comes to firewall 1 which uses
its own address to send this message to user Y thus over the network the packet send from
user X is protected & it‟s IP address is protected like private network .In VPN the Tunnel
technology is used to have communication between two branches of same company by
wrapping the packet on another packet thus protecting network like private network.
Ans: Crimes against people are a category of crime that consists of offenses that usually involve (Relevant
causing or attempting to cause bodily harm or a threat of bodily harm. These actions are Explanatio
taken without the consent of the individual the crime is committed against, or the victim. n of Cyber
These types of crimes do not have to result in actual harm - the fact that bodily harm could Crime: 4
have resulted and that the victim is put in fear for their safety is sufficient. i.e. Assault, marks)
Domestic Violence, Stalking
Cybercrime is a bigger risk now than ever before due to the sheer number of connected
people and devices. Cybercrime, as it's a bigger risk now than ever before due to the sheer
number of connected people and devices. It is simply a crime that has some kind of
computer or cyber aspect to it. To go into more detail is not as straightforward, as it takes
shape in a variety of different formats.
Cybercrime:
Cybercrime has now surpassed illegal drug trafficking as a criminal money maker
Somebody‘s identity is stolen every 3 seconds as a result of cybercrime
Without a sophisticated security package, your unprotected PC can become infected
within four minutes of connecting to the Internet.
Page 16 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Criminals committing cybercrime use a number of methods, depending on their skill-set
and their goal. Here are some of the different ways cybercrime can take shape:
Theft of personal data
Copyright infringement
Fraud
Child pornography
Cyber stalking
Bullying
Cybercrime covers a wide range of different attacks, that all deserve their own unique
approach when it comes to improving our computer's safety and protecting ourselves. The
computer or device may be the agent of the crime, the facilitator of the crime, or the target
of the crime. The crime may take place on the computer alone or in addition to other
locations. The broad range of cybercrime can be better understood by dividing it into two
overall categories.
(iv) What is software piracy? 4M
Ans: Software piracy is the illegal copying, distribution, or use of software. It is such a (Any
profitable "business" that it has caught the attention of organized crime groups in a number Relevant
of countries. Software piracy causes significant lost revenue for publishers, which in turn Descriptio
results in higher prices for the consumer. Software piracy applies mainly to full-function n: 4
commercial software. The time-limited or function-restricted versions of commercial marks)
software called shareware are less likely to be pirated since they are freely available.
Similarly, freeware, a type of software that is copyrighted but freely distributed at no
charge.
Ans: Denial Of Service Attack: Denial of service (DOS) attack scan exploits a known
vulnerability in a specific application or operating system, or they may attack features (or (Explanatio
weaknesses) in specific protocols or services. In this form of attack, the attacker is n of DOS &
DDOS : 2
attempting to deny authorized users access either to specific information or to the computer
marks
system or network itself. The purpose of such an attack can be simply to prevent access to Each,
the target system, or the attack can be used in conjunction with other actions in order to Diagram: 1
Page 17 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
gain unauthorized access to a computer or network. SYN flooding is an example of a DOS mark Each)
attack that takes advantage of the way TCP/IP networks were designed to function, and it
can be used to illustrate the basic principles of any DOS attack. SYN flooding utilizes the
TCP three-way handshake that is used to establish a connection between two systems. In a
SYN flooding attack, the attacker sends fake communication requests to the targeted
system. Each of these requests will be answered by the target system, which then waits for
the third part of the handshake. Since the requests are fake the target will wait for
responses that will never come, as shown in Figure.
Stacheldraht is a piece of software written by Random for Linux and Solaris systems
Page 18 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
which acts as a distributed denial of service (DDoS) agent. This tool detects and
automatically enables source address forgery. Stacheldraht uses a number of different DoS
attacks, including UDP flood, ICMP flood, TCP SYN flood and Smurf attack.
Page 19 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
5. Attempt any TWO : 16 Marks
(a) Explain individual user responsibilities in Computer Security. 8M
Ans: Individual user responsibilities in computer security are: (Each
point: 1
1. Lock the door of office or workspace.
mark, any
2. Do not leave sensitive information inside your car unprotected.
3. Secure storage media in a secure storage device which contains sensitive information. 8 points)
4. Shredding paper containing organizational information before discarding it.
5. Do not expose sensitive information to individuals that do not have an authorized need
to know it.
6. Do not discuss sensitive information with family members.
7. Be alert to, and do not allow, piggybacking, shoulder surfing or access without the
proper identifications.
8. Establish different procedures to implement good password security practice that
employees should follow.
Give proper guidelines for:
(a) Password selection
(b) Piggybacking
(c) Shoulder surfing
(d) Dumpster diving
(e) Installing Unauthorized Software /Hardware
(f) Access by non-employees
(g) Security awareness
(b) What is Security topology? Describe Security zone in detail. 8M
Ans: Security topology: A security topology is the arrangement of hardware devices on a (Security
network with respect to internal security requirements and needs for public access. Topology:
OR 1 mark,
Security topology is a local map that depicts the interconnectivity between security devices security
and security domains that host these networks. zone: 1
mark,
Security Zone: Security zones are the building blocks for policies; they are logical Listing
entities to which one or more interfaces are bound. Security zones provide a means of types of
distinguishing groups of hosts (user systems and other hosts, such as servers) and their security
resources from one another in order to apply different security measures to them. zones: 2
Marks,
Explanati
Types of security zone: on of four
i. Internet Zone: zones: 1
mark
This zone contains websites. each)
These sites are not on your computer or on your local intranet.
It is not a single network but it is a series of interconnected networks.
It is used to transfer email, files, financial records etc. from one network to another.
Since everyone has access to this network, so it is difficult to impose security policies,
so it is considered to be un-trusted system.
Page 20 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
www (World Wide Web) is frequently used with internet.
(c) Explain need for firewall and explain one of the type of firewall with diagram. 8M
3. The firewall filters these packets to see if they meet certain criteria set by a series of
rules, and thereafter blocks or allows the data.
4. This way, hackers cannot get inside and steal information such as bank account
numbers and passwords from you.
Capabilities:
All traffic from inside to outside and vice versa must pass through the firewall.
To achieve this all access to local network must first be physically blocked and access
only via the firewall should be permitted.
Page 21 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
The firewall itself must be strong enough so as to render attacks on it useless.
Types of Firewalls
1. Packet Filter Firewall: A packet filtering router firewall applies a set of rules to
each packet and based on outcome, decides to either forward or discard the packet.
Such a firewall implementation involves a router, which is configured to filter packets
going in either direction i.e. from the local network to the outside world and vice versa.
Packet filter performs the following functions.
b. Pass the packet through a set of rules, based on the contents of the IP and
transport header fields of the packet. If there is a match with one of the set rule,
decides whether to accept or discard the packet based on that rule.
c. If there is no match with any rule, take the default action. It can be discard all
packets or accept all packets.
Page 22 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
the application information (available in the packet). They do this by setting up various
proxies on a single firewall for different applications. Both the client and the server
connect to these proxies instead of connecting directly to each other. So, any suspicious
data or connections are dropped by these proxies. Application level firewalls ensure
protocol conformance. For example, attacks over http that violates the protocol policies
like sending Non-ASCII data in the header fields or overly long string along with Non-
ASCII characters in the host field would be dropped because they have been tampered
with, by the intruders.
Page 25 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Ans: A. SMTP- Simple Mail Transfer Protocol. (Listing: 1
mark: any
1. It is a popular network services in Email communication.
two
2. It is system for sending messages to other computer users based on email.
3. It is request response based activity. protocols:
4. It also provides email exchange process. 1.5 marks)
5. It attempts to provide reliable service but not guarantees to sure recovery from failure.
Confidentiality
Non - repudiation
Message integrity
The confidentiality feature allows a message to be kept secret from people to whom the
message was not addressed.
The Non - repudiation allows a user to verify that the PEM message that they have
received is truly from the person who claims to have sent it.
The message integrity aspects allow the user to ensure that a message hasn't been
modified during transport from the sender.
Pretty Good Privacy is a popular program used to encrypt and decrypt email over the
internet.
It is used to send encrypted code (digital signature) that lets the receiver verify the
sender‘s identity and takes care that the route of message should not change.
Page 26 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
PGP can be used to encrypt files being stored so that they are in unreadable form and
not readable by users or intruders.
It is most widely used privacy ensuring program used by individuals as well as many
corporations.
The traditional email system using SMTP protocol are text based which means that a
person can compose text message using an editor and them sends it over Internet to the
recipient, but multimedia files or documents in various arbitrary format cannot be sent
using this protocol.
To cater these needs the Multipurpose Internet Mail Extensions (MIME) system
extends the basic email system by permitting users to send the binary files using basic
email system.
And when basic MIME system is enhanced to provide security features, it is called as
Secure Multipurpose Internet Mail Extensions.
S/MIME provides security for digital signature and encryption of email message.
An intrusion detection system (IDS) monitors network traffic and monitors for suspicious (IDS:1mark,
activity and alerts the system or network administrator. In some cases the IDS may also Explanati
respond to anomalous or malicious traffic by taking action such as blocking the user or on of
source IP address from accessing the network. HIDS: 2
marks,
HIDS Host Intrusion Detection Systems Diagram:
i. They are run on individual hosts or devices on the network. 1 mark)
ii. A HIDS monitors the inbound and outbound packets from the device only and will
alert the user or administrator when suspicious activity is detected.
iii. HIDS is looking for certain activities in the log file are:
Page 27 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Modification or access of critical system files
Privilege escalation
Traffic collector:
This component examines the collected network traffic & compares it to known patterns of
suspicious or malicious activity stored in the signature database.
The analysis engine acts like a brain of the IDS.
Signature database:
This is the component that interfaces with the human element, providing alerts & giving
the user a means to interact with & operate the IDS.
Page 28 of 29
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
___________________________________________________________________________________________________________________
Ans: The Transport Layer security (TLS) protocol provides communications privacy over (Explanation
internet. The protocol allows client-server applications to communicate in a way that is : 2 marks,
designed to prevent eavesdropping, tampering or message forgery. The primary goal of the Layers: 1
TLS protocol is to provide privacy in data integrity between two communicating mark each)
applications.
The protocol is composed of two layers:
1. TLS Record Protocol provides connection security with some encryption method such
as the Data Encryption Standard (DES). The TLS Record Protocol can also be used
without encryption. The
2. TLS Handshake Protocol allows the server and client to authenticate each other and to
negotiate an encryption algorithm and cryptographic keys before data is exchanged.
Page 29 of 29
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
WINTER– 18 EXAMINATION
Subject Name: Computer Security Model Answer Subject Code:
17514
Important Instructions to examiners:
1) The answers should be examined by key words and not as word-to-word as given in the model answer
scheme.
2) The model answer and the answer written by candidate may vary but the examiner may try to assess the
understanding level of the candidate.
3) The language errors such as grammatical, spelling errors should not be given more Importance (Not
applicable for subject English and Communication Skills.
4) While assessing figures, examiner may give credit for principal components indicated in the figure. The
figures drawn by candidate and model answer may vary. The examiner may give credit for any equivalent
figure drawn.
5) Credits may be given step wise for numerical problems. In some cases, the assumed constant values may
vary and there may be some difference in the candidate’s answers and model answer.
6) In case of some questions credit may be given by judgement on part of examiner of relevant answer based
on candidate’s understanding.
7) For programming language papers, credit may be given to any other program based on equivalent concept.
Ans Computer Security: Computer Security is the protection of computing systems Definition
and the data that they store or access. :1 mark,
Need of computer Security: Need: Any
1. For prevention of data theft such as bank account numbers, credit card three
information, passwords, work related documents or sheets, etc. points:1
2. To make data remain safe and confidential. mark each
3. To provide confidentiality which ensures that only those individuals should OR
ever be able to view data they are not entitled to.
4. To provide integrity which ensures that only authorized individuals should CIA Model
ever be able change or modify information. Explanation
5. To provide availability which ensure that the data or system itself is n: 3 marks
available for use when authorized user wants it.
6. To provide authentication which deals with the desire to ensure that an
authorized individual.
7. To provide non-repudiation which deals with the ability to verify that
message has been sent and received by an authorized user.
OR
Page 2 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
b Describe piggy backing & shoulder surfing. 4M
Page 4 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
a What is dumpster diving? State preventative measures to avoid Dumpster 6M
diving.
a Define the term virus. Describe the different phases of virus with suitable 8M
example.
Ans A virus is a program that can "infect" other programs by modifying them and Definition
inserting a copy of itself into the program. This copy can then go to infect other of Virus: 2
programs. Just like its biological counterpart, a computer virus carries in its mark
,Listing
instructional code the recipe for making perfect copies of itself. A virus attaches
Page 5 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
itself to another program and then executes secretly when the host program is run. phases of
During it lifetime a typical virus goes through the following stages: Virus:
2mark,
Explanation
of Phases: 4
marks
Diagram is
Optional.
Dormant phase: The virus is idle. The virus will eventually be activated by
some event, such as a date, the presence of another program or file, or the
capacity of the disk exceeding some limit. Not all viruses have this stage.
Propagation phase: The virus places a copy of itself into other programs or
into certain system areas on the disk. The copy may not be identical to the
propagating version; viruses often morph to evade detection. Each infected
program will now contain a clone of the virus, which will itself enter a
propagation phase.
Triggering phase: The virus is activated to perform the function for which it
was intended. As with the dormant phase, the triggering phase can be caused
by a variety of system events, including a count of the number of times that
this copy of the virus has made copies of itself.
Execution phase: The function is performed. The function may be harmless,
such as a message on the screen, or damaging, such as the destruction of
programs and data files.
b What is DES algorithm? Explain each step in detail with the help of diagram. 8M
Ans The Data Encryption Standard is generally used in the ECB, CBC, or the CFB Definition:
mode. DES is a block cipher. It encrypts data in blocks of size 64 bits each. That 1 mark ;
is, 64 bits of plain text goes as the input to DES, which produces 64 bits of cipher Diagram:
1m; process
text .DES is based on the two fundamental attributes of cryptography: substitution
Diagram: 1
and transposition. The process diagram as follows:
mark, for
each step:
1marks
Page 6 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Initial Permutation (IP): It happens only once. It replaces the first bit of the
original plain text block with the 58th bit of the original plain text block, the
second bit with the 50th bit of original plain text block and so on. The
resulting 64-bits permuted text block is divided into two half blocks. Each half
block consists of 32 bits. The left block called as LPT and right block called as
RPT.16 rounds are performed on these two blocks. Details of one round in
DES
Step 1 : Key Transformation: The initial key is transformed into a 56-bit key
by discarding every 8th bit of initial key. Thus ,for each round , a 56 bit key is
available, from this 56-bit key, a different 48-bit sub key is generated during
each round using a process called as key transformation Expansion
Permutation Key Transformation S-box substitution XOR and swap P-box
Permutation
Page 7 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
expanded from 32 bits to 48 bits. The 32-bit RPT is divided into 8 blocks, with
each block consisting of 4-bits. Each 4-bits block of the previous step is then
expanded to a corresponding 6-bit block, per 4-bit block, 2 more bits are
added. They are the repeated 1st and 4th bits of the 4-bit block. The 2nd and
3rd bits are written as they were in the input. The 48 bit key is XORed with
the 48-bit RPT and the resulting output is given to the next step.
Step 3: S-box Substitution: It accepts the 48-bits input from the XOR
operation involving the compressed key and expanded RPT and produces 32-
bit output using the substitution techniques. Each of the 8 S-boxes has a 6-bit
input and a 4-bit output. The output of each S-box then combined to form a
32-bit block, which is given to the last stage of a round
Page 8 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Final Permutation: At the end of 16 rounds, the final permutation is performed.
This is simple transposition. For e.g., the 40th input bit takes the position of 1st
output bit and so on.
c Describe the components of NIDS with neat diagram. State its advantages & 8M
disadvantages.
IDS
components
:2 marks,
Advantades:
2 marks,
Disadvantag
es:2 marks
Page 9 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
processing load) can seriously limit an IDS’s ability to detect attacks when
the network load is above a specific amount of network traffic. Although
some vendors have adopted hardware-based solutions for IDSs, to increase
the speed of their processing capability (and the cost of implementation), the
limitation still remains.
• The need to analyse packets as fast as possible, force developers to detect
fewer attacks. Thus, the detection effectiveness is often compromised for the
sake of cost effectiveness.
3 Attempt any FOUR : 16 M
Ans Biometric refers study of methods for uniquely recognizing humans based upon 1 mark-
one or more intrinsic physical or behavioural characteristics. Listing; 1.5
Different types of Biometrics (any two 1 Mark) marks-
diagram;
1. Finger print recognition
1.5 marks-
2. Hand print recognition
explanation
3. Retina/iris scan technique
4. Face recognition
5. Voice patterns recognition
6. Signature and writing patterns recognition
7. Keystroke dynamics
Page 10 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
INTELLIGIBLE UNINTELLIGIBLE
DATA CRYPTOGRAPHY DATA
ii) Cryptanalysis-
Cryptanalysis is the art or science comprising the principles and methods of
transforming an unintelligible message back into an intelligible message
without the knowledge of key.
Page 11 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
iii) Cryptology-
Cryptology is the art or science comprising the principles and methods of
transforming an intelligible message into one that is unintelligible and
unintelligible message back to intelligible one.
iv) Steganography-
Steganography is the art and science of writing hidden message in such a way
that no one apart from sender and intended recipient suspects the existence of
the message.
d Explain IPSec security with help of diagram. 4M
Ans IPsec architecture: IPsec is to encrypt and seal the transport and application 2 Marks-
layer data during transmission. Also offers integrity protection for the Internet Diagram; 2
layer. IPSec layer sits in between the transport and the Internet layers of Marks-
explanation
conventional TCP/IP protocol stack.
Page 13 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
d. Denial of Service(DoS)
Denial of service (DOS) attack scan exploits a known vulnerability in a
specific application or operating system, or they may attack features (or
weaknesses) in specific protocols or services. In this form of attack, the
attacker is attempting to deny authorized users access either to specific
information or to the computer system or network itself.
Passive Attack:
1. A passive attack monitors unencrypted traffic and looks for clear-text
passwords and sensitive information that can be used in other types of
attacks.
2. Passive attacks include
a. traffic analysis,
b. release of message contents
c. monitoring of unprotected communications,
d. decrypting weakly encrypted traffic,
e. Capturing authentication information such as passwords.
3. Passive attacks are in the nature of eavesdropping on, or monitoring of,
transmissions.
4. The goal of the opponent is to obtain information that is being transmitted.
5. The release of message contents is easily understood. A telephone
conversation, an electronic mail message, and a transferred file may
contain sensitive or confidential information. We would like to prevent an
opponent from learning the contents of these transmissions.
6. A second type of passive attack, traffic analysis.
7. Suppose that we had a way of masking the contents of messages or other
information traffic so that opponents, even if they captured the message,
could not extract the information from the message. The common
technique for masking contents is encryption. If we had encryption
protection in place, an opponent might still be able to observe the pattern of
these messages. The opponent could determine the location and identity of
communicating hosts and could observe the frequency and length of
messages being exchanged. This information might be useful in guessing
the nature of the communication that was taking place.
8. Passive attacks are very difficult to detect because they do not involve any
alteration of the data.
9. Typically, the message traffic is not sent and received in an apparently
normal fashion and the sender nor receiver is aware that a third party has
read the messages or observed the traffic pattern.
10. However, it is feasible to prevent the success of these attacks, usually by
means of encryption. Thus, the emphasis in dealing with passive attacks is
on prevention rather than detection.
Page 15 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
b State any four drawbacks of Retina scan Biometrics. 4M
Ans 1. Very intrusive. 1 Mark each
2. It has the stigma of consumer's thinking it is potentially harmful to the eye. for any 4
3. Comparisons of template records can take upwards of 10 seconds, relevant
depending on the size of the database. points
4. Very expensive.
5. eye disease may pose problem
6. not friendly, may cause discomfort to the user
7. It is obscured by eyelashes, lenses and reflections, which create a problem,
more often than not.
8. Iris is partially blocked by eyelids which are difficult to control by
individuals due to frequent blinking.
c What is cyber-crime? Describe hacking and cracking related to cybercrime. 4M
Page 16 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
numbers or client data, infect the system with a virus, or undertake many others
things that cause harm. Cracking can be done for profit, maliciously, for some
harm to organization or to individuals. Cracking activity is harmful, costly and
unethical.
Page 17 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Page 19 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Working:-
1. A packet filtering router firewall applies a set of rules to each packet and
based on outcome, decides to either forward or discard the packet. Such a
firewall implementation involves a router, which is configured to filter
packets going in either direction i.e. from the local network to the outside
world and vice versa.
2. A packet filter performs the following functions.
a. Receive each packet as it arrives.
b. Pass the packet through a set of rules, based on the contents of the IP
and transport header fields of the packet. If there is a match with one
of the set rule, decides whether to accept or discard the packet based
on that rule.
c. If there is no match with any rule, take the default action. It can be
discard all packets or accept all packets.
3. Advantages: simplicity, transparency to the users, high speed
4. Disadvantages: difficult to set up packet filtering rules, lack of
authentication.
Next level of this group is script writers, i.e. Elite hackers are of three types:
Masquerader, Misfeasor, Clandestine user is misuse of access given by insiders
directly or indirectly access the organization.
They may give remote access to the Organization Intruders are authorized or
unauthorized users who are trying access the system or network.
They are hackers or crackers
Intruders are illegal users.
Less dangerous than insiders
They have to study or to gain knowledge about the security system
They do not have access to system.
Many security mechanisms are used to protect system from Intruders
ii)Insiders:
More dangerous than outsiders As they have the access and knowledge to
Page 20 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
cause
immediate damage to organization
They can be more in numbers who are directly or indirectly access the
organization.
They may give remote access to the organization.
Insiders are authorized users who try to access system or network for which
he is unauthorized.
Insiders are not hackers.
Insiders are legal users
iii) Sniffing:
iv) Spoofing:
Spoofing is nothing more than making data look like it has come from a
different source.
This is possible in TCP/ IP because of the friendly assumption behind the
protocol. When the protocols were developed, it was assumed that
individuals who had access to the network layer would be privileged users
who could be trusted.
When a packet is sent from one system to another, it includes not only the
destination IP address ant port but the source IP address as well which is one
of the forms of Spoofing.
Example of spoofing email spoofing, URL spoofing, IP address spoofing.
b What is access control? Describe following access control: 8M
i) DAC
ii) MAC
iii) RBAC
Ans Access control is to specify, control and limit the access to the host system or Access
application, which prevents unauthorized use to access or modify data or control
resources. Definition:
Discretionary Access control (DAC): Restricting access to objects based on the 2M ,Each
identity of subjects and or groups to which they belongs to, it is conditional, access
basically used by military to control access on system. UNIX based System is control
common method to permit user for read/write and execute description:
Mandatory Access control (MAC): It is used in environments where different 2M
levels of security are classified. It is much more restrictive. It is sensitivity based
restriction, formal authorization subject to sensitivity. In MAC the owner or User
cannot determine whether access is granted to or not. I.e. Operating system rights.
Security mechanism controls access to all objects and individual cannot change
Page 21 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
that access.
Role Based Access Control (RBAC): Each user can be assigned specific access
permission for objects associated with computer or network. Set of roles Role in
turn assigns access permissions which are necessary to perform role. Different
User will be granted different permissions to do specific duties as per their
classification.
c Explain the Kerberos with help of suitable diagram. 8M
2 marks
diagrams
4 marks
Explanation
of correct
steps.
Authentication server
Client Ticket granting ticket (AS)
3. The key is sent back to the client in the form of a ticket-granting ticket, or
TGT. This is a simple ticket that is issued by the authentication service. It is
used for authentication the client for future reference.
4. The client submits the ticket-granting ticket to the ticket-granting server,
or TGS, to get authenticated.
Page 23 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Client Authentication
server (AS)
Ticket Granting
Server (TGS)
Service server
5. The TGS creates an encrypted key with a timestamp, and grants the client
a service ticket.
Ticket Granting
Server (TGS)
6. The client decrypts the ticket, tells the TGS it has done so, and then sends
its own encrypted key to the service.
Page 24 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Authentication server
Client
(AS)
Service server
7. The service decrypts the key, and makes sure the timestamp is still valid.
If it is, the service contacts the key distribution center to receive a session
that is returned to the client.
Client Service Server
Success
8. The client decrypts the ticket. If the keys are still valid, communication is
initiated between client and server.
6 Attempt any FOUR : 16 M
Page 25 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Ans Identification accuracy Any 4
Since every individual on the planet possesses unique physiological features that advantages
can’t be easily swapped, shared, or stolen, biometric identification has the 4M, any
potential to accurately identify someone without a shadow of a doubt nearly 100% other
of the time. Occasionally, the ability to accurately identify someone can be suitable
affected by environmental, age, or skin integrity issues, but with a multimodal advantage
biometric identification system you can eliminate those factors. Multiple biometric also carries
attributes can identify someone with 100% certainty every time you scan them. mark
Difficult to forge
Biometric attributes are almost impossible to forge or duplicate. Even if you
manage to forge a biometric attribute such as a fingerprint, modern biometric
devices with liveness detection have the capability to identify a fake from the
original.
Establishes accountability
Implementation of a biometric identification solution creates a concrete activity
audit trail to help establish accountability. Each and every action or transaction
will be recorded and clearly documented by the individual associated with it which
reduces the possibility of system misuse and fraud.
Adds convenience
Biometric technology makes individual identification convenient without the need
to carry around ID cards or remember complicated passwords. Due to the fact that
passwords can be forgotten or easily guessed and the fact that ID cards can be
damaged, swapped, or shared, biometrics are more convenient because individual
physiological attributes are always with you.
Biometrics reduces administrative costs
Modern biometric identification management systems are comprised of hardware
and software that are simple to install and easy to use. This reduces the need for
intense training and ongoing management costs.
Scalable
As your business develops and grows, it’s important to have systems in place that
can scale with the growth of your business. Biometric security systems are flexible
and easily scalable. Whether you want to secure more areas of your facility or just
add more data for additional employees, biometric security systems will grow
alongside your business for ease and security.
Profitable
The return on investment (ROI) on a biometric security system is very high. For
one, it’s much more effective at avoiding fraud than most security systems,
protecting your business from potentially catastrophic breaches.
c What is PGP? How PGP is used for email security? 4M
Ans PGP is Pretty Good Privacy. It is a popular program used to encrypt and decrypt PGP
email over the internet. It becomes a standard for email security. It is used to send Definition:
encrypted code (digital signature) that lets the receiver verify the sender’s identity 2M, Steps
and takes care that the route of message should not change. PGP can be used to in PGP for
encrypt files being stored so that they are in unreadable form and not readable by email
users or intruders It is available in Low cost and Freeware version. It is most security:
widely used privacy ensuring program used by individuals as well as many 2M
corporations.
Page 26 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
This Act aims to provide the legal infrastructure for e-commerce in India. And the
cyber laws have a major impact for e-businesses and the new economy in India.
So, it is important to understand what the various perspectives of the IT Act 2000
are and what it offers.
The Information Technology Act, 2000 also aims to provide for the legal
framework so that legal sanctity is accorded to all electronic records and other
activities carried out by electronic means. The Act states that unless otherwise
agreed, an acceptance of contract may be expressed by electronic means of
communication and the same shall have legal validity and enforceability.
Page 27 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
Some highlights of the Act are listed below:
The Act specifically stipulates that any subscriber may authenticate an electronic
record by affixing his digital signature. It further states that any person can verify
an electronic record by use of a public key of the subscriber.
The Act details about Electronic Governance and provides inter alia amongst
others that where any law provides that information or any other matter shall be in
writing or in the typewritten or printed form, then, notwithstanding anything
contained in such law, such requirement shall be deemed to have been satisfied if
such information or matter is rendered or made available in an electronic form;
and accessible so as to be usable for a subsequent reference and details the legal
recognition of Digital Signatures.
The Act gives a scheme for Regulation of Certifying Authorities. The Act
envisages a Controller of Certifying Authorities who shall perform the function of
exercising supervision over the activities of the Certifying Authorities as also
laying down standards and conditions governing the Certifying Authorities as also
specifying the various forms and content of Digital Signature Certificates.
The Act recognizes the need for recognizing foreign Certifying Authorities and it
further details the various provisions for the issue of license to issue Digital
signature Certificates.
The Act also provides for the constitution of the Cyber Regulations Advisory
Committee, which shall advice the government as regards any rules, or for any
other purpose connected with the said act.
The said Act also proposes to amend the Indian Penal Code, 1860, the Indian
Evidence Act, 1872, The Bankers' Books Evidence Act, 1891, The Reserve Bank
of India Act, 1934 to make them in tune with the provisions of the IT Act.
OR
IT act 2000
According to Indian cyber laws, Information technology is the important law and
it had passed in Indian parliament in year [Link] act is helpful to encourage
business by use of internet. Due to misuse of internet and increase of cybercrime,
the Govt. of India made an act for safeguarding the internet users.
The main objectives of this act are as follows.
1. To provide legal recognition to the transaction that can be done by
electronic way or by using internet.
2. To provide legal recognition to digital signature used in transaction.
3. To provide facilities like filling of document online relating to admission or
registration.
4. To provide facility to any company that they can store their data in
electronic storage.
5. To provide legal recognition for bankers and other companies to keep
accounts in electronic form.
Page 28 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
IT acts 2008: It is the Information Technology Amendment Act, [Link] act was
developed for IT industries, control e-commerce, to provide e-governance facility
and to stop cybercrime attacks.
Following are the characteristics of IT ACT 2008: This act provides legal
recognition or the transaction i.e. Electronic Data Interchange (EDI) and other
electronic communications. This Act also gives facilities for electronic filling of
information with the Government agencies. It is considered necessary to give
effect to the said resolution and to promote efficient delivery of Government
services by means of reliable electronic records
Ans Definition -Secure Sockets Layer (SSL) Secure Sockets Layer (SSL) is a standard Diagram:
protocol used for the secure transmission of documents over a network. Developed 2M,
by Netscape, SSL technology creates a secure link between a Web server and Explanation
browser to ensure private and integral data transmission. SSL uses Transport : 2M
Control Protocol (TCP) for communication.
Working:
In SSL, the word socket refers to the mechanism of transferring data between a
client and server over a network.
When using SSL for secure Internet transactions, a Web server needs an SSL
certificate to establish a secure SSL connection. SSL encrypts network connection
Page 29 of 30
MAHARAS HTRA S TATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(IS O/IEC - 27001 - 2013 Certified)
__________________________________________________________________________________________________
segments above the transport layer, which is a network connection component
above the program layer.
SSL follows an asymmetric cryptographic mechanism, in which a Web browser
creates a public key and a private (secret) key. The public key is placed in a data
file known as a certificate signing request (CSR). The private key is issued to the
recipient only.
The objectives of SSL are:
Data integrity: Data is protected from tampering.
Data privacy: Data privacy is ensured through a series of protocols,
including the SSL Record Protocol, SSL Handshake Protocol, SSL Change
Cipher Spec Protocol and SSL Alert Protocol.
Client-server authentication: The SSL protocol uses standard cryptographic
techniques to authenticate the client and server.
SSL is the predecessor of Transport Layer Security (TLS), which is a
cryptographic protocol for secure Internet data transmission.
Page 30 of 30
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
7) For programming language papers, credit may be given to any other program based on
equivalent concept.
Insiders
has just used their own access card or PIN to gain physical access
to a room or building.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
access rather than any malicious intent, but it can slow down data
transfer for legitimate users of the network.
Shoulder Surfing:
(iii)Risks:
A measure of the extent to which an entity is threatened by a
potential circumstance or event, and typically a function of: [Link]
adverse impacts that would arise if the circumstance or event
occurs; and [Link] likelihood of occurrence.
(iii) Trademark:
A trademark is a sign that individualizes the goods or services of a
given enterprise and distinguishes them from those of competitors.
To fall under law protection, a trademark must be distinctive, and
not deceptive, illegal or immoral.
4M
any 2
attacks
OR
Answer
with
Relevant
Contents
IP Address Spoofing
Source and destination address contained in the IP header are
the only information needed for routing the packet. Anyone who
has access to the IP layer rce
address and then masquerade it as from another host in the
network. The IP address
spoofing is based upon maliciously creating TCP/IP packets
IP address as source address so as to either
conceal own identity or impersonate the identity of the user of
the spoofed IP address being used the packets are routed by the
router to the destination.
Upon receipt the recipient uses the IP address of the source
to reply to the packet. Since the source address is spoofed, the
recipient will reply to the spoofed address and not to the original
sender who had deliberately changed his IP address in the original
packet. Since the address has been changed intentionally it will
be difficult to trace back
to the attacker. Using this concept the following types of attacks
are normally carried out.
Ans Access control is to specify, control and limit the access to the Access
host system or application, which prevents unauthorized use to control
access or modify data or resources. Definition:
2M, Each
Discretionary Access control (DAC): access
Restricting access to objects based on the identity of subjects and control
or groups to which they belongs to, it is conditional, policy
Basically used by military to control access on system. UNIX descriptio
based System is common method to permit user for read/write and n: 2M
execute OR
Answer
Mandatory Access control (MAC): with
It is used in environments where different levels of security are Relevant
classified. It is much more restrictive. It is sensitivity based Contents
restriction, formal authorization subject to sensitivity. In MAC the
owner or User cannot determine whether access is granted to or
not. i.e. Operating system rights. Security mechanism controls
access to all objects and individual cannot change
that access.
Solving
Step 1 as sequence of rows. As, Then concatenate these two example
sequences of text as one to create following using rail
fence
Cipher Text: technique:
Horel ollWd 2M
OR
simple columnar transposition techniques: Answer
The columnar transposition cipher is a transposition cipher that with
follows a simple rule for mixing up the characters in the plaintext Relevant
to form the cipher -text. It can be combined with other ciphers, Contents
such as a substitution cipher, the combination of which can be
more difficult
to break than either cipher on its own. The cipher uses a columnar
transposition to greatly improve its security.
Algorithm:
1. The message is written out in rows of a fixed length.
2. Read out again column by column according to given order or
in random order.
3. According to order write cipher text.
Example:
The key for the columnar transposition cipher is a keyword e.g.
LEAVES. The row length that is used is the same as the length of
the keyword. To encrypt a below plaintext COMPUTER
PROGRAMMING
1 2 3 4 5
C O M P U
T E R P R
O G R A M
M I N G X
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
The Encrypted text or Cipher text is: PPAG OEGI CTOM URMX
MRRN
C E R I A
O T R U I S M T N
M U S C T I P R
P E Y O
the finger, rise in the center forming an arc, and then exit
the other side of the finger.
The loop is a pattern where the ridges enter from one side
of a finger, form a curve, and tend to exit from the same
side they enter.
In the whorl pattern, ridges form circularly around a central
point on the finger.
Retina pattern:
A retinal scan is very difficult to fake because no
technology exists that allows the forgery of a human retina,
and the retina of a deceased person decays too fast to be
used to fraudulently bypass a retinal scan.
A retinal scan is a biometric technique that uses the unique
patterns on a person's retina to identify them. The human
retina is a thin tissue composed of neural cells that is
located in the posterior portion of the eye. Because of the
complex structure of the capillaries that supply the retina
with blood, each person's retina is unique.
A biometric identifier known as a retinal scan is used to map the
unique patterns of a person's retina. The blood vessels within the
retina absorb light more readily than the surrounding tissue and are
easily identified with appropriate lighting. A retinal scan is
performed by casting an unperceived beam of low-energy infrared
message. Example
Steganography works by replacing bits of useless or 1M
unused data in regular computer files (such as graphics, OR
sound, text, html or even floppy disks) with bits of Answer
different, invisible information. with
This hidden information can be plain text, cipher text or Relevant
even images. Contents
In modern steganography, data is first encrypted by the
usual means and then inserted, using a special algorithm,
into redundant data that is part of a particular file format
such as a JPEG image.
Steganography process:
Cover media is the file in which we will hide the hidden data,
which may also be encrypted using stego-key. The resultant file is
stego-medium. Cover-media can be image or audio file.
Stenography takes cryptography a step further by hiding an
encrypted message so that no one suspects it exists. Ideally,
anyone scanning your data will fail to know it contains encrypted
data. Stenography has a number of drawbacks when compared to
encryption. It requires a lot of overhead to hide a relatively few
bits of information. I.e. One can hide text, data, image, sound, and
video, behind image.
d Explain working principle of SMTP. 4M
Ans Simple Mail Transfer Protocol, a protocol for sending e- Explanatio
mail messages between servers. Most e-mail systems that n-2m
send mail over the Internet use SMTP to send messages Diagram-
from one server to another; the messages can then be 2m
retrieved with an e-mail client using either POP or IMAP. OR
In addition, SMTP is generally used to send messages from Answer
a mail client to a mail server. This is why you need to with
specify both the POP or IMAP server and the SMTP server Relevant
when you configure your e-mail application. Contents
SMTP usually is implemented to operate over Internet port
25. An alternative to SMTP that is widely used in Europe
is X.400. Many mail servers now support Extended Simple
Mail Transfer Protocol (ESMTP), which allows
multimedia files to be delivered as e-mail.
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
encryption keys.
Eavesdropping: Monitoring of data (on the network, or on user's
screens) may be used to uncover passwords or other sensitive data.
Authentication:
Authentication helps to establish proof of identities.
The Authentication process ensures that the origin of a
message is correctly identified.
For example, suppose that user C sends a message over the
internet to user B. however, the trouble is that user C had
posed as user A when he sent a message to user B. how
would user B know that the message has come from user
C, who posing as user A?
This concept is shown in fig. below. This type of attack is
called as Fabrication.
discarding it.
Do not divulge sensitive information to individuals
(including other employees) who do not have an
authorized need to know it.
Do not discuss sensitive information with family
members. (The most common violation of this rule occurs
in regard to HR information, as employees, especially
supervisors, may complain to their spouse about other
employees or problems that are occurring at work.)
Protect laptops that contain sensitive or important
organization information wherever the laptop may be
cache which was saved when previous request was made by the
client.
3. Translation
Security Value
Caesar Cipher is not a secure cryptosystem because there are
only 26 possible keys to try out. An attacker can carry out an
exhaustive key search with available limited computing
resources.
For example, here's the Caesar Cipher encryption of a full
message, using a left shift of 3.
P l ai nt e x t:
C ip her t ex t :
Step 2: Select the file types you want to recover & volume where
the formatted hard drive is. The tool will automatically scan the
selected volume.
Step 3: Then the founded data will be displayed on the screen &
you can get a preview of it. Then select the file or directory that
you want to recover & save them to a healthy drive.
e Explain Secure Electronic Transaction. 4M
Ans Secure Electronic Transaction is an open encryption and 1 Mark-
security specification that is designed for protecting credit card What is
transactions on the Internet. It is a set of security protocols and SET;
formats that enable the users to employ the existing credit card 1Mark
payment infrastructure on the internet in a secure manner. Enlisting
any 4
componen
ts; 2
Marks-
Explanatio
n
of any
four
componen
ts
OR
Answer
with
Relevant
Contents
Components of SET:
1) Cardholder
2) Merchant
3) Issuer
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
4) Acquirer
5) Payment gateway
6) Certification Authority(CA)
1) Cardholder: A cardholder is an authorized holder of a payment
card such as MasterCard or Visa that has been issued by an Issuer.
2) Merchant: Merchant is a person or an organization that wants
to sell goods or services to cardholders.
3) Issuer: The issuer is a financial institution that provides a
payment card to a cardholder.
4) Acquirer: This is a financial institution that has a relationship
with merchants for processing payment card authorizations and
payments. Also provides an assurance that a particular cardholder
account is active and that the purchase amount does not exceed the
credit limits. It provides electronic fund transfer to the merchant
account.
WINTER– 19 EXAMINATION
Subject Name: Computer Security Model Answer Subject Code: 17514
Important Instructions to examiners:
1) The answers should be examined by key words and not as word-to-word as given in
the model answer scheme.
2) The model answer and the answer written by candidate may vary but the examiner
may try to assess the understanding level of the candidate.
3) The language errors such as grammatical, spelling errors should not be given more
Importance (Not applicable for subject English and Communication Skills.
4) While assessing figures, examiner may give credit for principal components
indicated in the figure. The figures drawn by candidate and model answer may vary.
The examiner may give credit for any equivalent figure drawn.
5) Credits may be given step wise for numerical problems. In some cases, the assumed
constant values may vary and there may be some difference in the candidate’s
answers and model answer.
6) In case of some questions credit may be given by judgement on part of examiner of
relevant answer based on candidate’s understanding.
7) For programming language papers, credit may be given to any other program based
on equivalent concept.
Dormant phase: The virus is idle. The virus will eventually be activated by
some event, such as a date, the presence of another program or file, or the
capacity of the disk exceeding some limit. Not all viruses have this stage.
Propagation phase: The virus places a copy of itself into other programs
or into certain system areas on the disk. The copy may not be identical to
the propagating version; viruses often morph to evade detection. Each
1|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
infected program will now contain a clone of the virus, which will itself
enter a propagation phase.
Triggering phase: The virus is activated to perform the function for which
it was intended. As with the dormant phase, the triggering phase can be
caused by a variety of system events, including a count of the number of
times that this copy of the virus has made copies of itself.
Execution phase: The function is performed. The function may be
harmless, such as a message on the screen, or damaging, such as the
destruction of programs and data files.
b Describe components of good password. 4M
Ans Components of good password are: 4M for
1. It should be at least eight characters long. correct
2. It should include uppercase and lowercase letters, numbers, special characters explanation
or punctuation marks.
3. It should not contain dictionary words.
4. It should not contain the user's personal information such as their name,
family member's name, birth date, pet name, phone number or any other detail
that can easily be identified.
5. It should not be the same as the user's login name.
6. It should not be the default passwords as supplied by the system vendor such
as password, guest, and admin and so on.
c Consider plain text “Welcome to Computer World”, encrypt with help of Rail 4M
fence technique, and also write the algorithm.
Ans Plain text “Welcome to Computer World” 2M for
problem
Assuming number of rails as 3 solving, 2M
for algorithm
2|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
4) Behavior control: Controls how particular services are used. For example:
The firewall may filter email to eliminate spam or it may enable external access
to only a portion of the information on a Local web server. Filtering of email
spam attacks – may require examination of Sender’s email address in message
headers and message contents.
1. (B) Attempt any ONE of the following: 6M
a Explain spoofing attack with example. State different ways of spoofing.
Ans Spoofing is the act of disguising a communication from an unknown source 2M for
as being from a known, trusted source. explanation
Spoofing can apply to emails, phone calls, and websites, or can be more of spoofing
technical, such as a computer spoofing an IP address, Address Resolution attack, 4M
Protocol (ARP), or Domain Name System (DNS) server. for stating
Spoofing can be used to gain access to a target’s personal information, types
spread malware through infected links or attachments, bypass network
access controls, or redistribute traffic to conduct a denial-of-service attack.
Spoofing is often the way a bad actor gains access in order to execute a
larger cyber-attack such as an advanced persistent threat or a man-in-the-
middle attack.
3|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
4|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
is important to understand what the various perspectives of the IT Act 2000 are and
what it offers. The Information Technology Act, 2000 also aims to provide for the legal
framework so that legal sanctity is accorded to all electronic records and other activities
carried out by electronic means.
The Act states that unless otherwise agreed, an acceptance of contract may be
expressed by electronic means of communication and the same shall have legal validity
and enforceability. Some highlights of the Act are listed below: The Act specifically
stipulates that any subscriber may authenticate an electronic record by affixing his
digital signature. It further states that any person can verify an electronic record by use
of a public key of the subscriber.
The Act details about Electronic Governance and provides inter alia amongst others
that where any law provides that information or any other matter shall be in writing or
in the typewritten or printed form, then, notwithstanding anything contained in such
law, such requirement shall be deemed to have been satisfied if such information or
matter is rendered or made available in an electronic form; and accessible so as to be
usable for a subsequent reference and details the legal recognition of Digital
Signatures. The Act gives a scheme for Regulation of Certifying Authorities.
The Act envisages a Controller of Certifying Authorities who shall perform the
function of exercising supervision over the activities of the Certifying Authorities as
also laying down standards and conditions governing the Certifying Authorities as also
specifying the various forms and content of Digital Signature Certificates. The Act
recognizes the need for recognizing foreign Certifying Authorities and it further details
the various provisions for the issue of license to issue Digital signature Certificates.
The Act also provides for the constitution of the Cyber Regulations Advisory
Committee, which shall advice the government as regards any rules, or for any other
purpose connected with the said act.
The said Act also proposes to amend the Indian Penal Code, 1860, the Indian Evidence
Act, 1872, The Bankers' Books Evidence Act, 1891, The Reserve Bank of India Act,
1934 to make them in tune with the provisions of the IT Act.
IT Act 2008:
IT acts 2008: It is the Information Technology Amendment Act, [Link] act was
developed for IT industries, control e-commerce, to provide e-governance facility and
to stop cybercrime attacks.
Following are the characteristics of IT ACT 2008: This act provides legal recognition
or the transaction i.e. Electronic Data Interchange (EDI) and other electronic
communications. This Act also gives facilities for electronic filling of information with
the Government agencies. It is considered necessary to give effect to the said resolution
and to promote efficient delivery of Government services by means of reliable
electronic records.
Features of I.T. Amendment Act 2008:
•Focusing on data privacy
•Focusing on information security.
•Defining cyber café.
5|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
6|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Initial Permutation (IP): It happens only once. It replaces the first bit of the
original plain text block with the 58th bit of the original plain text block, the
second bit with the 50th bit of original plain text block and so on. The resulting
64-bits permuted text block is divided into two half blocks. Each half block
consists of 32 bits. The left block called as LPT and right block called as RPT.16
rounds are performed on these two blocks. Details of one round in DES.
7|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Step 1: Key Transformation: The initial key is transformed into a 56-bit key
by discarding every 8th bit of initial key. Thus ,for each round , a 56 bit key is
available, from this 56-bit key, a different 48-bit sub key is generated during
each round using a process called as key transformation Expansion Permutation
Key Transformation S-box substitution XOR and swap P-box Permutation.
8|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
9|2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
2) Network based IDS: Network based IDS looks for certain activities like:
1. Denial of service attacks.
2. Port scans or sweeps
3. Malicious contents in the data payload of packet(s)
4. Vulnerability of scanning
5. Trojans, Viruses or worms
6. Tunneling
7. Brute force attacks.
10 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
11 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Ans i) Cryptography: Cryptography is the art or science comprising the 1 M each for
principles and methods of transforming an intelligible message into relevant
one that is unintelligible. definitions
Ans PGP is Pretty Good Privacy. It is a popular program used to encrypt and PGP
decrypt email over the internet. It becomes a standard for email security. It is Definition:
used to send encrypted code (digital signature) that lets the receiver verify the 2M, Steps in
sender’s identity and takes care that the route of message should not change. PGP for
PGP can be used to encrypt files being stored so that they are in unreadable email
form and not readable by users or intruders It is available in Low cost and security: 2M
Freeware version. It is most widely used privacy ensuring program used by
individuals as well as many corporations.
12 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
4. Digital enveloping: the symmetric key used for encryption in step 3 is now
encrypted with the receiver’s public key. The output of step 3 and 4 together
form a digital envelope.
5. Base -64 encoding: this process transforms arbitrary binary input into
printable character output. The binary input is processed in blocks of 3 octets
(24-bits).these 24 bits are considered to be made up of 4 sets, each of 6 bits.
Each such set of 6 bits is mapped into an 8-bit output character in this process.
e Describe SSL protocol.
Ans Definition -Secure Sockets Layer (SSL) Secure Sockets Layer (SSL) is a
standard protocol used for the secure transmission of documents over a network.
Developed by Netscape, SSL technology creates a secure link between a Web
server and browser to ensure private and integral data transmission. SSL uses
Transport Control Protocol (TCP) for communication. Architecture of secure
socket layer (SSL)
Working:
In SSL, the word socket refers to the mechanism of transferring data between
a client and server over a network. When using SSL for secure Internet
transactions, a Web server needs an SSL certificate to establish a secure SSL
connection.
SSL encrypts network connection segments above the transport layer, which is
a network connection component above the program layer.
13 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Ans A denial-of-service (DoS) is any type of attack where the attackers (hackers) 2M
attempt to prevent legitimate users from accessing the service. In a DoS explanation
attack, the attacker usually sends excessive messages asking the network or 2 M diagram
server to authenticate requests that have invalid return addresses. The network
or server will not be able to find the return address of the attacker when
sending the authentication approval, causing the server to wait before closing
the connection. When the server closes the connection, the attacker sends
more authentication messages with invalid return addresses. Hence, the
process of authentication and server wait will begin again, keeping the
network or server busy
14 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Ans Biometric refers study of methods for uniquely recognizing humans based upon
one or more intrinsic physical or behavioral characteristics.
Different types of Biometrics (any two 1 Mark)
1M
1. Finger print recognition Listing; 1.5
M
2. Hand print recognition
diagram; 1.5
3. Retina/iris scan technique M
explanation
4. Face recognition
5. Voice patterns recognition
6. Signature and writing patterns recognition
7. Keystroke dynamics:
15 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Ans Cybercrime : 1M
What is
Cybercrime is defined as a crime in which a computer is the object of the crime cybercrime;
(hacking, phishing, spamming) or is used as a tool to commit an offense (child 1.5 M
pornography, hate crimes). Cybercriminals may use computer technology to Hacking;
access personal information, business trade secrets, or use the Internet for 1.5 M
exploitive or malicious purposes. Criminals can also use computers for Cracking
communication and document or data storage. Criminals who perform these
illegal activities are often referred to as hackers. Cybercrime may also be
referred to as computer crime.
4. Malicious software
5. Child soliciting and abuse Hacking:
Hacking is one of the most well-known types of computer crime. A hacker is
someone who find out and exploits the weaknesses of s computer systems or
networks. Hacking refers to unauthorized access of another’s computer
systems. These intrusions are often conducted in order to launch malicious
programs known as viruses, worms, and Trojan horses that can shut down
hacking an entire computer network. Hacking is also carried out as a way to talk
credit card numbers, intent passwords, and other personal information. By
16 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
accessing commercial database, hackers are able to steal these types of items
from millions of internet users all at once.
There are different types of hackers:
1. White hat
2. Black hat
3. Grey hat
4. Elite hacker
5. Script hacker
Cracking: In the cyber world, a cracker is someone who breaks into a computer
system or network without authorization and with the intention of doing
damage. Crackers are used to describe a malicious hacker. Crackers get into all
kinds of mischief like he may destroy files, steal personal information like credit
card numbers or client data, infect the system with a virus, or undertake many
others things that cause harm. Cracking can be done for profit, maliciously, for
some harm to organization or to individuals. Cracking activity is harmful, costly
and unethical.
d List & explain the key participants in Secure Electronic Transaction 4M
(SET).
Ans For secure electronic transaction SET participant are there. 1M
listing any 4
1) Cardholders- cardholder is an authorized holder of payment card like components ;
Master card, visa that has been issued by an issuer. 2M
2) Merchant- A merchant is a person or organization that has goods or services Explanation
to sell to cardholder of any four
components
3) Issuer- This is financial institution like bank.
4) Acquirer- This is a financial institution that establishes account with
merchant & process payment card authorization & payment.
5) Payment Gateway- This is a function operated by acquire. The payment
gateway process between SET & existing bankcard payment networks .For
authorization & payment function.
7) The merchant exchanges SET messages with payment gateway over
internet.
8) Certificate Authority- This is an entity that is trusted to issue public key
for cardholder, merchant & payment gateways.
17 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
18 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Procedure:
1. Message digest is used to generate the signature. The message digest (MD)
is calculated from the plaintext or message.
2. The message digest is encrypted using user‘s private key.
3. Then, the sender sends this encrypted message digest with the plaintext or
message to the receiver.
4. The receiver calculates the message digest from the plain text or message he
received.
5. Receiver decrypts the encrypted message digest using the sender‘s public
key. If both the MDs are not same then the plaintext or message is modified
after signing.
b Explain VPN with diagram.
Ans A Virtual Private Network (VPN) is a network that uses a public Explanation-
telecommunication infrastructure, such as the Internet, to provide remote 2M
offices or individual users with secure access to their organization’s network. Diagram2M
With a VPN,all network traffic (data,voice,and videos ) goes through virtual OR Answer
tunnel between the host device(client) and the VPN provider server’s and is with
[Link] technology uses a combination of features such as encryption, Relevant
tunneling protocols, data encapsulation, and certified connections to provide Contents
you with a secure connection to private networks and to protect your identity.
19 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
VPN connections technically give you all the benefits of a Local Area Network
(LAN), which is similar to that found in many offices but without requiring a
hard-wired connection. These systems use encryption and other security
mechanisms to ensure that only authorized users can access the network and
that the data cannot be intercepted.
Availability
The goal of availability s to ensure that the data, or the system itself, is
available for use when the authorized user wants it.
Authentication
Authentication helps to establish proof of identities. The
Authentication process ensures that the origin of a message is correctly
identified. For example, suppose that user C sends a message over the
internet to user B. however, the trouble is that user C had posed as user
20 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
A when he sent a message to user B. how would user B know that the
message has come from user C, who posing as user A? This concept is
shown in fig. below.
Authorization
Authorization is a security mechanism used to determine user/client
privileges or access levels related to system resources, including
computer programs, files, services, data and application features.
Authorization is normally preceded by authentication for user
identity verification. System administrators (SA) are typically
assigned permission levels covering all system and user resources.
During authorization, a system verifies an authenticated user's
access rules and either grants or refuses resource access.
b Explain DAC and MAC with principles and policies.
Ans DAC: - In Discretionary access control (DAC), each system object (file or data 4 M- DAC
object) has an owner, and each initial object owner is the subject that causes its explanation;
creation. Thus, an object's access policy is determined by its owner. 4 M- MAC
explanation
A typical example of DAC is Unix file mode, which defines the read, write and
execute permissions in each of the three bits for each user, group and others.
DAC attributes include:
21 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
For best practices, MAC policy decisions are based on network configuration.
In contrast, certain operating systems (OS) enable limited Discretionary Access
Control (DAC).
MAC advantages and disadvantages depend on organizational
requirements, as follows:
22 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
23 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
5. The TGS creates an encrypted key with a timestamp, and grants the client a
service ticket
The client decrypts the ticket, tells the TGS it has done so, and then
sends its own encrypted key to the service.
7. The service decrypts the key, and makes sure the timestamp is still
valid. If it is, the service contacts the key distribution center to receive
a session that is returned to the client.
8. The client decrypts the ticket. If the keys are still valid,
communication is initiated between client and server.
24 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
25 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
• It is the simple tactic of following closely behind a person who has just
used their own access card or PIN to gain physical access to a room or
building.
• An attacker can thus gain access to the facility without having to know
the access code or having to acquire an access card.
• Piggybacking, in a wireless communications context, is the
unauthorized access of a wireless LAN. Piggybacking is sometimes
referred to as "Wi-Fi squatting." The usual purpose of piggybacking is
simply to gain free network access rather than any malicious intent, but
it can slow down data transfer for legitimate users of the network.
• Shoulder Surfing:
• Shoulder surfing is a similar procedure in which attackers position
themselves in such a way as to- be-able to observe the authorized user
entering the correct access code.
• Shoulder surfing is an effective way to get information in crowded
places because it's relatively easy to stand next to someone and watch
as they fill out a form, enter a PIN number at an ATM machine, or use
a calling card at a public pay phone. Shoulder surfing can also be done
long distance with the aid of binoculars or other vision-enhancing
devices.
• To prevent shoulder surfing, experts recommend that you shield
paperwork or your keypad from view by using your body or cupping
your hand.
26 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
27 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Gray hat Hackers Are Hybrid between Black Hat Hackers and
White hat hackers.
They can hack any system even if they don't have permission to
test the security of the system but they will never steal money or
damage the system.
In most cases, they tell the administrator of that system.
But they are also illegal because they test the security of the
system that they do not have permission to test.
Grey hat hacking is sometimes acted legally and sometimes not.
4) Elite Hacker
Elite hackers avoid deliberately destroying information or
otherwise damaging the computer systems they have exploited.
5) Script Kiddie
A script kiddie, or “skiddie,” is someone who lacks
programming knowledge and uses existing software to launch
an attack.
For example, imagine a child gets their first computer. The child
watches a movie about hacking and then downloads a copy of
Kali Linux. They begin playing with the various programs while
searching for online tutorials. At first, they may be perceived as
nothing more than an internet troll or noob, due to their lack of
experience and quickness to brag and boast. Sometimes they will
even resort to cyberstalking or bullying. However, this may
simply be a cover for other more nefarious activity.
28 | 2 9
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2013 Certified)
Malfunction:
Both equipment and software malfunction threats can impact
upon the operations of a website or web application.
Malfunction of software is usually due to poor development
practices where security has not been built into the software
development life cycle.
1) Malware:
Malware, or malicious software, comes in many guises.
Web servers are popular targets to aid distribution of such code
and sites which have vulnerabilities that allow this are popular
targets.
2) Spoofing:
Spoofing where a computer assumes the identity of another and
masquerading where a user pretends to be another, usually with
higher privileges, can be used to attack web systems to poison
data deny service or damage systems.
3) Scanning:
Scanning of web systems are usually part of network or
application fingerprinting prior to an attack, but also include
brute force and dictionary attacks on username, passwords and
encryption keys.
4) Eavesdropping:
Monitoring of data (on the network, or on user's screens) may be
used to uncover passwords or other sensitive data.
29 | 2 9
lOMoARcPSD|34413430
Page 1 / 28
Page 2 / 28
Page 3 / 28
Page 4 / 28
Page 5 / 28
Page 6 / 28
it only checks who is speaking and what is speaking (Who you are and
what you speak)
c) Differentiate between symmetric and asymmetric key 4M
cryptography. 1M for
Ans. each valid
point, any
four points
can be
considered
2M for
explanation
Initial Permutation (IP): It happens only once. It replaces the first bit
of the original plain text block with the 58th bit of the original plain
text block, the second bit with the 50th bit of original plain text block
and so on. The resulting 64-bits permuted text block is divided into
two half blocks. Each half block consists of 32 bits. The left block
called as LPT and right block called as RPT.16 rounds are performed
on these two blocks. Details of one round in DES
Page 7 / 28
Page 8 / 28
new RPT. The old RPT becomes new LPT, in a process of swapping.
Page 9 / 28
Page 10 / 28
Page 11 / 28
resources. Access control is to specify, control and limit the access to 2M for
the host system or application, which prevents unauthorized use to authenticati
access or modify data or resources. on
Authentication -
Authentication helps to establish proof of identities. The
Authentication process ensures that the origin of a message is correctly
identified. For example, suppose that user C sends a message over the
internet to user B. however, the trouble is that user C had posed as user
A when he sent a message to user B. how would user B know that the
message has come from user C, who posing as user A? This concept is
shown in fig. below. This type of attack is called as fabrication
Authentication is the process of determining identity of a user or other
entity. It is performed during log on process where user has to submit
Page 12 / 28
Caesar cipher:
It is proposed by Julius Caesar. In cryptography Caesar cipher also
known as Caesar cipher/code, shift cipher/code. It is one of the
simplest and most widely known encryption techniques. It is a type of
substitution technique in which each letter in the plain text is replaced
by a letter some fixed number of position
down the alphabet. For example, with a shift of 3, A would be replaced
by D, B would became E, and so on as shown in the table below.
Using this scheme, the plain text “SECRET” encrypts as Cipher text
“VHFUHW”. To allow someone to read the cipher text, you tell them
that the key is 3
For S:= (p+k)mod26
= (18 + 3) mod 26
= 21
=V
To allow someone to read the cipher text, you tell them that the key is3
Algorithm to break Caesar cipher:
1. Read each alphabet in the cipher text message, and search for it in
the second row of the table above.
2. When a match in found, replace that alphabet in the cipher text
message with the corresponding alphabet in the same column but the
first row of the table. (For example, if the alphabet cipher text is J,
replace it with G).
3. Repeat the process for all alphabets in the cipher text message.
b) Explain DMZ 4M
Ans. DMZ (Demilitarized Zone):- 1M for
It is a computer host or small network inserted as a “neutral diagram
zone” in a company‟s private network and the outside public network. 2M for
It avoids outside users from getting direct access to a company‟s data explanation
server. A DMZ is an optional but more secure approach to a firewall. It 1M for
Page 13 / 28
Page 14 / 28
Page 15 / 28
Page 16 / 28
4. The receiver calculates the message digest from the plain text or
message he received.
5. Receiver decrypts the encrypted message digest using the sender‟s
public key. If both the MDs are not same then the plaintext or message
is modified after signing.
Page 17 / 28
Page 18 / 28
Page 19 / 28
Page 20 / 28
Page 21 / 28
5. The TGS creates an encrypted key with a timestamp, and grants the
client a service ticket.
6. The client decrypts the ticket, tells the TGS it has done so, and then
sends its own encrypted key to the service server.
7. The service server decrypts the key, and makes sure the timestamp is
still valid. If it is, the
service contacts the key distribution center to receive a session that is
returned to the client.
8. The client decrypts the ticket. If the keys are still valid,
communication is initiated between client and server.
Page 22 / 28
The target system will drop these connections after a specific time-out
period, but if the attacker sends requests faster than the time-out period
eliminates them, the system will quickly be filled with requests. The
number of connections a system can support is finite, so when more
requests come in than can be processed, the system will soon be
reserving all its connections for fake requests. At this point, any further
requests are simply dropped (ignored), and legitimate users who want
to connect to the target system will not be able to. Use of the system
has thus been denied to them.
Page 23 / 28
Working on a PKI:
PKI and Encryption: The root of PKI involves the use of
cryptography and encryption techniques. Both symmetric and
asymmetric encryption uses a public key. There is always a risk of
MITM (Man in the middle). This issue is resolved by a PKI using
digital certificates. It gives identities to keys in order to make the
verification of owners easy and accurate.
Public Key Certificate or Digital Certificate: Digital certificates are
issued to people and electronic systems to uniquely identify them in the
digital world.
The Certification Authority (CA) stores the public key of a user
along with other information about the client in the digital
certificate. The information is signed and a digital signature is also
included in the certificate.
The affirmation for the public key then thus be retrieved by
validating the signature using the public key of the Certification
Authority.
Page 24 / 28
Generates the key pairs – This key pair generated by the CA can be
either independent or in collaboration with the client.
Issuing of the digital certificates – When the client successfully
provides the right details about his identity, the CA issues a
certificate to the client. Then CA further signs this certificate
digitally so that no changes can be made to the information.
Publishing of certificates – The CA publishes the certificates so
that the users can find them. They can do this by either publishing
them in an electronic telephone directory or by sending them out to
other people.
Verification of certificate – CA gives a public key that helps in
verifying if the access attempt is authorized or not.
Revocation – In case of suspicious behavior of a client or loss of
trust in them, the CA has the power to revoke the digital
certificate.
In HTTPS, the Web server's PKI certificate is used by the browser for
two purposes:
Page 25 / 28
Validate the identity of the Web server by verify the CA's digital
signature in the certificate.
Encrypt a secret key to be securely delivered to the Web server. The
secret key will be used to encrypt actual data to be exchanged between
the browser and the Web server.
Page 26 / 28
Page 27 / 28
Page 28 / 28
Page 1 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 2 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Diagram
1M
Page 3 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 4 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 5 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Limitations:-
1) Using the fingerprint scanner does not take into consideration
when a person physically changes
2) The cost of computer hardware and software programs can be
expensive
3) Using the fingerprint scanner can lead to false rejections and false
acceptance.
4) It can make mistakes with the dryness or dirty of the finger„s skin,
as well as with the age (is not appropriate with children, because the
size of their fingerprint changes quickly.
c) Explain Caesar’s cipher substitute technique with suitable 4M
example.
Ans. Caesar cipher technique is proposed by Julius Caesar. It is one of the Explanation
simplest and most widely known encryption techniques. It is a type of 2M
substitution technique in which each letter in the plain text is replaced Example
by a letter some fixed number of position down the alphabet. The 2M
Caesar cipher involves replacing each letter of the alphabet with the
letter three places further down the alphabet. For example, with a
shift of 3, A would be replaced by D, B would became E, and so on
as shown in the table below
Example
PLAIN TEXT - COMPUTER ENGINEERING
Convert each alphabet in the plain text, using the table, the cipher text
can be written as
CIPHER TEXT – FRPSXWHU HQJLQHHULQJ
Algorithm to break Caesar cipher:
Page 6 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
DES Encryption:-
Step 1: In the first step the 64-bit plain text undergoes initial
permutation which rearranges the bits to produce two 32-bit permuted
block which is called left plain text (LPT 32-bit) and right plain text
(RPT 32-bit).
Step 2: Now, 16 rounds of DES encryption will be performed on this
LPT and RPT with a 56-bit key.
Step 3: After the 16th round the 32-bit LPT and 32-bit RPT are
integrated which forms a 64-bit block again and then the final
permutation is applied to this 64-bit block, to obtain the 64-bit cipher
text.
Rounds in Data Encryption Standard
Each round of DES performs the same function. So, below are the
steps of the function performed in each round of DES algorithm:
Page 7 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
5. XOR and Swap:-In this step, the 32-bit LPT of the initial 64-bit
plain text is XOR with the output of P-box permutation. The result of
the XOR is the new RPT for next round and the old RPT is swapped
with LPT.
DES Decryption:-
The same Data Encryption Standard algorithm used for encrypting
the plain text is also used to decrypting the cipher text. But the
algorithm is reversed, such as the initial and final permutation events
are reversed. Even the sequence of the sub keys applied in 16 rounds
of DES is also reversed.
3. Attempt any THREE of the following: 12
a) Explain the term Authorization and Authentication with respect 4M
to security. Explanation
Ans. Authorization: It is a process of verifying that the known person has of each term
2M
the authority to perform certain operation. It cannot occur without
authentication. It is nothing but granting permissions and rights to
individual so that he can use these rights to access computer resources
or information.
Page 8 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
In the above example, the plaintext has been padded so that it neatly
fits in a rectangle. This is known as a regular columnar transposition.
An irregular columnar transposition leaves these characters blank,
though this makes decryption slightly more difficult. The columns are
now reordered such that the letters in the key word are ordered
alphabetically.
Page 9 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 10 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Examples:
1) Web servers
It‟s possible for web servers communicating with internal database
servers to be deployed in a DMZ. This makes internal databases more
secure, as these are the repositories responsible for storing sensitive
information. Web servers can connect with the internal database
server directly or through application firewalls, even though the DMZ
continues to provide protection.
2) DNS servers
A DNS server stores a database of public IP addresses and their
associated hostnames. It usually resolves or converts those names to
IP addresses when applicable. DNS servers use specialized software
and communicate with one another using dedicated protocols. Placing
a DNS server within the DMZ prevents external DNS requests from
gaining access to the internal network. Installing a second DNS
server on the internal network can also serve as additional security.
3)Proxy servers
A proxy server is often paired with a firewall. Other computers use it
to view Web pages. When another computer requests a Web page, the
proxy server retrieves it and delivers it to the appropriate requesting
Page 11 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
This hidden information can be plain text, cipher text or even images. OR
In modern steganography, data is first encrypted by the usual means Advantage
and then inserted, using a special algorithm, into redundant data that 1M
is part of a particular file format such as a JPEG image. Disadvantag
e 1M
Page 12 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Steganography process:
Cover-media + Hidden data + Stego-key = Stego-medium
Cover media is the file in which we will hide the hidden data, which
may also be encrypted using stego-key. The resultant file is stego-
medium. Cover-media can be image or audio file.
Advantages:
1. With the help of steganography we can hide secret message within
graphics image.
2. In modern Steganography, data is encrypted first and then inserted
using special algorithm so that no one suspects its existence.
Drawbacks:
1. It requires lot of overhead to hide a relatively few bits of
information.
2. Once the system is discovered, it becomes virtually worthless.
b) Explain honey pots. 4M
Ans. Honeypots are designed to purposely engage and deceive hackers and
identify malicious activities performed over the Internet. The Explanation
2M
honeypots are designed to do the following:
Any
1. Divert the attention of potential attacker. relevant
diagram 2M
2. Collect information about the intruder‟s action.
3. Provide encouragement to the attacker so as to stay for some time,
allowing the administrations to detect this and swiftly act on this.
Page 13 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 14 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Analysis Engine:
This component examines the collected network traffic & compares it
to known patterns of suspicious or malicious activity stored in the
signature database. The analysis engine acts like a brain of the IDS.
Signature database:
It is a collection of patterns & definitions of known suspicious or
malicious activity.
User Interface & Reporting:
This is the component that interfaces with the human element,
providing alerts & giving the user a means to interact with & operate
the IDS.
d) Describe working principle of SMTP. 4M
Ans. 1. Composition of Mail: A user sends an e-mail by composing an Working
principle
electronic mail message using a Mail User Agent (MUA). Mail User explanation
Agent is a program which is used to send and receive mail. The 2M
message contains two parts: body and header. The body is the main
part of the message while the header includes information such as the Suitable
sender and recipient address. The header also includes descriptive diagram 2M
information such as the subject of the message. In this case, the
message body is like a letter and header is like an envelope that
contains the recipient's address.
Page 15 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 16 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 17 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 18 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
through the internet service provider and then sent to the outside
world (Internet). This way, the packets are tagged with only the
Public IP address (Firewall level) and the internal private IP
addresses are not exposed to potential intruders
Page 19 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 20 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Explanation
4M
It encrypts and seal the transport and application layer data during
transmission. It also offers integrity protection for internet layer. It
sits between transport and internet layer of conventional TCP/IP
protocol 1. Secure remote internet access: Using IPsec make a local
call to our internet services provider (ISP) so as to connect to
organization network in a secure fashion from our house or hotel
from there; to access the corporate network facilities or access remote
desktop/servers. 2. Secure branch office connectivity: Rather than
subscribing to an expensive leased line for connecting its branches
across cities, an organization can setup an IPsec enabled network for
security. 3. Setup communication with other organization: Just as
IPsec allow connectivity between various branches of an
organization, it can also be used to connect the network of different
organization together in a secure & inexpensive fashion. Basic
Concept of IPsec Protocol: IP packet consist two position IP header &
actual data IPsec feature are implemented in the form of additional
headers called as extension header to the standard, default IP header.
IPsec offers two main services authentication & confidentially. Each
of these requires its own extension header. Therefore, to support these
two main services, IPsec defines two IP extension header one for
authentication & another for confidentiality.
Page 21 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 22 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 23 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
5. The TGS creates an encrypted key with a timestamp, and grants the
client a service ticket.
6. The client decrypts the ticket, tells the TGS it has done so, and then
sends its own encrypted key to the service.
Page 24 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
7. The service decrypts the key, and makes sure the timestamp is still
valid. If it is, the service contacts the key distribution center to
receive a session that is returned to the client.
8. The client decrypts the ticket. If the keys are still valid,
communication is initiated between client and server.
c) Write a brief note on firewall configuration 6M
Ans. A firewall is combination of packet filter and application level Diagram
2M
getway , Base on these there are three types of configurations
Explanation
4M
Page 25 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 26 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 27 / 27
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 1 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 2 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 3 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
3. Integrity: when the contents of the message are changed after the
sender sends it, but before it reaches the intended recipient, we say
that the integrity of the message is lost. For example, here user C
tampers with a message originally sent by user A, which is actually
destined for user B. user C somehow manages to access it, change its
contents and send the changed message to user B. user B has no way
of knowing that the contents of the message were changed after user
A had sent it. User A also does not know about this change. This type
of attack is called as modification.
Page 4 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 5 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Fig : Steganography
Page 6 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Cover media is the file in which we will hide the hidden data, which
may also be encrypted using stego-key. The resultant file is stego-
medium. Cover-media can be image or audio file. Stenography takes
cryptography a step further by hiding an encrypted message so that
no one suspects it exists. Ideally, anyone scanning your data will fail
to know it contains encrypted data. Stenography has a number of
drawbacks when compared to encryption. It requires a lot of overhead
to hide a relatively few bits of information. I.e. One can hide text,
data, image, sound, and video, behind image.
Applications :
1. Confidential communication and secret data storing
2. Protection of data alteration
3. Access control system for digital content distribution
4. Media Database systems
Page 7 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
PLAIN TEXT:
MAHARASTRA STATE BOARD OF TECHNICAL EDUCATION
LET ORDER BE:4,5,3,2,1
CIPHER
TEXT:ARTRECUORAEDCACNHTAATIDIASTOFNETMASBOH
LA
Page 8 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Any four
differences
1M each
Page 9 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
2M for
Caesor’s
cipher
technique
Page 10 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 11 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
4) Enter a specific port number. In this case, it’s 443. Click Next.
Page 12 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 13 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Diagram
2M
e) Find the output of initial permutation box when the input is given 4M
in hexadecimal as
0 x 0003 0000 0000 0001
Page 15 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Ans.
0 0 0 3 Hexadecimal
0000 0000 0000 0011 Binary
Correct
0 0 0 0 Hexadecimal output 4M
0000 0000 0000 0000 Binary
0 0 0 0 Hexadecimal
0000 0000 0000 0000 Binary
0 0 0 1 Hexadecimal
0000 0000 0000 0001 Binary
Input
1 2 3 4 5 6
1 0 0 0 0 0 0
2 0 0 0 0 0 0
3 0 0 0 0 0 0
4 0 0 0 0 0 0
5 0 0 0 0 0 0
6 0 0 0 0 0 0
7 0 0 0 0 0 0
8 0 0 0 0 0 0
Permutation table
1 2 3 4 5 6
1 58 50 42 34 26 18
2 60 52 44 36 28 20
3 62 54 46 38 30 22
4 64 56 48 40 32 24
5 57 49 41 33 25 17
6 59 51 43 35 27 19
7 61 53 45 37 29 21
8 63 55 47 39 31 23
Page 16 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Output
1 2 3 4 5 6
1 0 0 0 0 0 0
2 0 0 0 0 0 0
3 0 0 0 0 0 0
4 1 0 0 0 0 0
5 0 0 0 0 0 0
6 0 0 0 0 0 0
7 0 0 0 0 0 0
8 0 0 0 0 0 0
Hexadecimal
0000 0082 0000 0002
Note: Any other relevant logic shall be considered.
5. Attempt any TWO of the following 12M
a) Describe the following terms 6M
i) Asset
ii) Vulnerability
iii) Risks
Ans. i) Asset: Asset is any data, device, or other component of the
environment that supports information-related activities. Assets
Descriptio
generally include hardware, software and confidential information. n of each
term 2M
ii) Vulnerability: It is a weakness in computer system & network.
The term "vulnerability" refers to the security flaws in a system that
allows an attack to be successful. Vulnerability testing should be
performed on an on-going basis by the parties responsible for
resolving such vulnerabilities, and helps to provide data used to
identify unexpected dangers to security that need to be addressed.
Such vulnerabilities are not particular to technology — they can also
apply to social factors such as individual authentication and
authorization policies.
Page 17 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
OR
Risk is any event or action that could cause a loss or damage to
computer hardware, software, data, or information.
b) Describe network base IDS with suitable diagram 6M
Ans.
Diagram
2M
Page 18 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
COBIT stands for ―Control Objectives for Information and related Explanatio
Technology‖, it is a framework that was developed by ISACA n 4M
(Information System Audit and Control Association). It is a set of
guidance material for IT governance to manage their requirements,
technical issues, and business risks.
Page 19 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 20 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 21 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
3. The client decrypts the ticket, tells the TGS it has done so, and
then sends its own encrypted key to the service.
Page 22 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
4. The service decrypts the key, and makes sure the timestamp is still
valid. If it is, the service contacts the key distribution center to
receive a session that is returned to the client.
5. The client decrypts the ticket. If the keys are still valid,
communication is initiated between client and server.
c) Write a brief note on firewall configuration 6M
i) Packet filter as a firewall
ii) Application level gateway firewall
iii) Circuit level gateway firewall Explanatio
n with
Ans. 1. Packet filter as a firewall : As per the diagram given below diagram
Firewall will act according to the table given for example source IP 2M
[Link] is the IP address of a network , all the packets which are each
coming from this network will be blocked by the firewall in this way
it is acting as a firewall. Table also having port 80, IP Address
[Link] & port 23 firewall will act in the similar fashion. Port 23
is for Telnet remote login in this case firewall won’t allow to login
onto this server. IP Address [Link] is the IP address of
individual Host, all the packet having this IP address as a destination
Address will be denied. Port 80 no HTTP request allowed by firewall
Page 23 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 24 / 25
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
(Autonomous)
(ISO/IEC - 27001 - 2005 Certified)
Page 25 / 25