Cryptographic attacks can be classified into two types: Passive attacks and Active attacks.  If the data is monitored by an unauthorised person, without modifying it is called a passive attack. But in an active attack, the data can be modified which makes an active attack more dangerous than a passive attack.