Today I Learn Security Attacks in Cryptography.


Security is defined as to protect something from unauthorized access. 


Type of Security Attacks

Active Attacks ➛ Active attacks are that type of attack that modifies or changes system resources.
Types:


1. Masquerade ⇢ Unauthorized person pretends to be an authorized person.





2. Modification of  Message ⇢ It modifies or alters (change) the original message.




for example, You Send a message "I Love You" to your GF and your friend modify/change the message to "I Hate You". then there is a problem ;)



3.Repudiation ⇢ Denial of truth

for example: Suppose Sonu goes to the Bank and said to the manager to transfer 500 to their GF account. after 2 days Sonu again comes to Bank and he does not agree that he said to Transfer the money.


4. Replay ⇢ Capture the message and send it again & again to the receiver.





for ex: Suppose You work in any Company and you send a message to your boss to give the salary and that time an unauthorized person captures your message and send it again and again to your Boss. So of course You're Kicked Out from the Job.



5. Denial Of Service ⇢ The Purpose is to disturb the whole organization network by sending fake requests to the server.






For ex: If you visit Website Sometimes then it's taking too much time for the response to your request. here the main aim of the attackers is to down the site by sending false requests and keeps server too busy.


Passive Attacks ➛ In this, the attackers/unauthorized person read/see the confidential data and they do not affect the system resources.

Types:

1. Sharing of Data/The release of message content ⇢ Any Unauthorized Person/Attackers Read/Listen personal data of telephone calls, email, etc. 
may be unauthorized person blackmail you for something then there is a problem 


2. Traffic Analysis ⇢ In this attacker tries to find out the patterns of the message.





ex: Suppose we send a message with encryption so here attackers not understand the message but they try to find out the pattern of the message.