BCA / B.Tech 12 min read

Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में

RK

लेखक Ratan Kumawat · संस्थापक, NotesMedia

प्रकाशित:

त्वरित सारांश और मुख्य बिंदु

  • • विषय फोकस: Network Security & Cryptography | नेटवर्क सिक्यूरिटी नोट्स (BCA / B.Tech Syllabus)
  • • मुख्य विषय: Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में - General Topics
  • • अवलोकन: Quick Answer: Network security और cryptography में Active attack वह हमला है जिसमें attacker सिस्टम के data या resources को बदलता है (modify/alter), नष्...
  • • मुख्य अवधारणाएं: Active passive attacks, Modification eavesdropping examples Hindi, MITM sniffing detection,Active passive attacks, Modification eavesdropping examples, MITM sniffing detection
Quick Answer: Network security और cryptography में Active attack वह हमला है जिसमें attacker सिस्टम के data या resources को बदलता है (modify/alter), नष्ट करता है या normal operations को रोकता है (जैसे Man-in-the-Middle, DoS, Masquerade)। इसके उलट, Passive attack में attacker सिर्फ transmission को चुपचाप सुनता या monitor करता है (जैसे Eavesdropping, Traffic Analysis) बिना data में कोई बदलाव किए। Active attack से data integrity और availability प्रभावित होती है और इसे detect करना आसान होता है, जबकि Passive attack से confidentiality ख़तरे में पड़ती है और इसे detect करने के बजाय encryption से prevent करना पड़ता है।

Active and Passive Attacks in Network Security क्या हैं?

कंप्यूटर नेटवर्क पर जब दो systems आपस में data भेजते हैं, तो communication line पर अनधिकृत व्यक्ति (attacker) data चुराने या नुकसान पहुँचाने की कोशिश कर सकता है। इसे security attack कहते हैं।

Cryptography और network security में हमलों को दो मुख्य श्रेणियों में बाँटा जाता है: Active Attacks और Passive Attacks। इन्हें CIA Triad (Confidentiality, Integrity, Availability) से आसानी से समझा जा सकता है:

  • Passive Attack: यह Confidentiality (गोपनीयता) को तोड़ता है। Attacker का मकसद सिर्फ secret information को पढ़ना होता है।
  • Active Attack: यह Integrity (data की शुद्धता) और Availability (services की उपलब्धता) को नुकसान पहुँचाता है। Attacker data बदलता है या system को down कर देता है।

नेटवर्क सुरक्षा के मूल सिद्धांतों को समझने के लिए पढ़ें: Network Security in Hindi.

Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में

Active Attack और Passive Attack का वर्गीकरण

Advertisement

Network Communication में Attackers की स्थिति (Diagram)

[ Passive Attack: केवल सुनना / Monitoring ]
Sender (Alice) -------------- Data Packets ------------> Receiver (Bob)
                                    |
                                    v (चुपचाप copy किया)
                             Attacker (Eve)
                      (Data में 0% बदलाव, No trace)

[ Active Attack: Data बदलना या रोकना / Tampering ]
Sender (Alice) ---- Data ----> [ Attacker (Mallory) ] ---- बदला हुआ Data ----> Receiver (Bob)
                                  (Intercept & Modify)
                                         OR
Attacker (Mallory) ---- Fake Traffic Flood ----> Server [ Service Blocked (DoS) ]

Passive Attack क्या है? (Passive Attacks in Cryptography)

Passive Attack वह हमला है जिसमें attacker network traffic को सिर्फ monitor करता है, सुनता है या read करता है। इसमें attacker original data, packets या system resources में कोई बदलाव (modification) नहीं करता।

चूँकि data में कोई बदलाव नहीं होता, इसलिए victim (sender और receiver) को पता ही नहीं चलता कि उनका data कोई तीसरा व्यक्ति पढ़ रहा है। इसका मुख्य उद्देश्य information gathering (जानकारी जुटाना) होता है।

Passive Attack के मुख्य प्रकार (Types of Passive Attacks)

1. Release of Message Contents (Eavesdropping / Wiretapping)

जब दो users के बीच confidential data (जैसे passwords, credit card numbers या emails) unencrypted जा रहा हो, और attacker communication line tap करके उसे plain text में पढ़ ले, तो इसे release of message contents कहते हैं।

Example: Public Wi-Fi पर unsecured HTTP वेबसाइट में login करते समय attacker packet sniffer tool से login credentials पढ़ लेता है। इसे Eavesdropping भी कहते हैं।

2. Traffic Analysis

अगर sender और receiver data को strong encryption से सुरक्षित कर दें, तब attacker content नहीं पढ़ पाता। लेकिन वह network traffic के pattern को observe करता है:

  • Sender और receiver का IP address और location क्या है?
  • Communication किस समय हुआ और कितने packets भेजे गए?
  • Packets का size क्या है और बातचीत कितनी बार हो रही है?

Example: Military communication में border post पर अचानक encrypted messages की बाढ़ आने पर दुश्मन समझ जाता है कि कोई बड़ा troop movement होने वाला है। इसे Traffic Analysis कहते हैं।

Active Attack क्या है? (Active Attack in Network Security)

Active Attack वह हमला है जिसमें attacker transmission stream में सीधे दखल देता है। वह data intercept करता है, content बदलता है, fake data inject करता है, या server को ठप कर देता है।

Active attack में network data या system state में बदलाव होता है। इसलिए system logs, errors या धीमेपन से हमले का पता चल जाता है। इन हमलों को रोकना बहुत कठिन होता है, इसलिए सुरक्षा का मुख्य ध्यान इन्हें तुरंत detect करने और recover होने पर होता है।

Active Attack के मुख्य प्रकार (Types of Active Attacks)

1. Masquerade (Impersonation)

इसमें attacker किसी authorized user की identity चुराकर खुद को वही user दिखाता है (जैसे stolen credentials से login करना)। Passwords का अनुमान लगाने के लिए अक्सर Brute Force Attack in Hindi का उपयोग होता है।

2. Replay Attack

Attacker sender के valid data packet को चुपचाप capture कर लेता है और बाद में उसी packet को दोबारा server को भेज देता है ताकि unauthorized action दोहराया जा सके।

Example: Bank transfer request को capture करके server को बार-बार replay करना ताकि duplicate transaction हो जाए।

3. Modification of Messages (Tampering)

इसमें attacker valid message के contents को बदल देता है, messages का order बिगाड़ देता है, या packet देरी से भेजता है ताकि गलत नतीजा निकले।

Example: Original message "Pay ₹10,000 to Acc 1234" को बदलकर "Pay ₹10,000 to Acc 9999" कर देना।

4. Denial of Service (DoS / DDoS)

Attacker server पर फर्जी requests की बाढ़ ला देता है ताकि system का CPU, RAM या network bandwidth full हो जाए और legitimate users के लिए service बंद हो जाए। कई computers से मिलकर किया गया हमला DDoS कहलाता है।

5. Man-in-the-Middle (MitM) Attack

Attacker दो users के बीच बैठकर packets intercept करता है। दोनों users को लगता है कि वे सीधे बात कर रहे हैं, जबकि सारा traffic attacker के router से निकलता है जहाँ वह data बदल भी सकता है।

6. Session Hijacking

User के login करने के बाद attacker चुराए गए session token से active login session पर कब्ज़ा कर लेता है।

7. Virus और Malware Attacks

Target machine पर malicious code भेजकर files delete करना, data corrupt करना या system crash करना।

Active and Passive Attacks Examples (Real-life Scenarios)

Scenario / Service Passive Attack का Example Active Attack का Example
Online Banking Public Wi-Fi पर account number और balance का traffic चुपचाप देखना। Transfer request के destination account number और amount को बदल देना।
Corporate Email गोपनीय contract deal के emails को network tap से पढ़ना। CEO की fake email ID बनाकर Accountant को पैसे भेजने का fake message भेजना (Spoofing)।
E-Commerce Shopping User की product search history का data packet capture करना। Cart checkout पर product price ₹5,000 से बदलकर ₹50 कर देना।
College Web Portal Student exam marks की file चुपके से copy करना। Result के दिन server पर DoS attack करके portal down कर देना।

Worked Example: Banking Transaction पर Step-by-Step Attack Trace

मान लीजिए User A (Account: 10101) User B (Account: 20202) को ₹10,000 transfer कर रहा है:

Step 1: Normal Flow

Client A ----------------- [ Acc 10101 -> Acc 20202, ₹10,000 ] -----------------> Bank Server
Client A <---------------- [ "Success: Debited ₹10,000" ] <--------------------- Bank Server

Step 2: Passive Attack Trace (Attacker Eve सिर्फ सुन रही है)

Step Sender Packet Data Attacker Action Server तक क्या पहुँचा? नतीजा
1 Client A Acc 10101 -> Acc 20202, ₹10,000 Packet sniffer से copy save किया Acc 10101 -> Acc 20202, ₹10,000 Transaction पूरा हुआ। किसी को शक नहीं हुआ। Confidentiality leak हुई।

Step 3: Active Attack Trace (Attacker Mallory Packet बदल रहा है)

Step Event Original Data Attacker का बदला हुआ Data Bank Response नतीजा
1 A ने request भेजी To: Acc 20202, ₹10,000 Packet intercept किया Pending Packet server तक नहीं पहुँचा।
2 Mallory ने edit किया To: Acc 20202, ₹10,000 To: Acc 99999, ₹50,000 Server को forward Server ने request valid मानी।
3 Bank ने process किया ₹10,000 to Acc 20202 ₹50,000 to Acc 99999 "Debited ₹50,000" Integrity Loss: User A के account से ₹50,000 कटकर attacker को मिले।

Difference Between Active and Passive Attacks (Comparison Table)

Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में

Active Attack और Passive Attack के बीच मुख्य अंतर

Comparison Point Active Attack (सक्रिय हमला) Passive Attack (निष्क्रिय हमला)
मूल परिभाषा Attacker system data या resources को modify करता है या service रोकता है। Attacker data बदले बिना सिर्फ network traffic monitor करता है या सुनता है।
Data में बदलाव हाँ, data और message content बदला जाता है। नहीं, data में कोई बदलाव नहीं होता (0% alteration)।
CIA Triad पर प्रभाव Integrity और Availability को नुकसान। Confidentiality (गोपनीयता) को नुकसान।
System Resources CPU, bandwidth और memory प्रभावित होते हैं। System resources पर कोई extra load नहीं पड़ता।
Detection आसान होता है, logs और errors से पता चल जाता है। बहुत कठिन या लगभग नामुमकिन होता है।
सुरक्षा फोकस मुख्य ध्यान Detection और Recovery पर होता है। मुख्य ध्यान Prevention पर होता है (हमला होने ही न दें)।
Victim Awareness User को असर तुरंत या कुछ समय बाद दिखता है। User को हमले की भनक भी नहीं लगती।
मुख्य Examples DoS, DDoS, MitM, Replay, Masquerade, Tampering। Eavesdropping, Packet Sniffing, Traffic Analysis।
बचाव तकनीकें Firewall, IDS/IPS, Digital Signatures, OTP, MAC। Strong Encryption (AES, RSA), Traffic Padding, VPN।
Advertisement

Active और Passive Attacks से बचाव के उपाय (Countermeasures)

1. Passive Attacks से बचाव (Prevention)

चूँकि passive attack को होते समय detect करना लगभग नामुमकिन है, इसलिए सुरक्षा मजबूत encryption से की जाती है:

  • Strong Encryption: Plaintext को मजबूत algorithms (जैसे AES या RSA) से encrypt करें ताकि attacker data copy करने पर भी उसे पढ़ न पाए। Web traffic के लिए HTTPS और SSL Protocol in Hindi इस्तेमाल करें।
  • Traffic Padding: Traffic analysis को रोकने के लिए network stream में लगातार fake/dummy packets जोड़ें ताकि वास्तविक communication का timing न दिखे।
  • VPN: Public networks पर secure encrypted tunnel बनाएं।

2. Active Attacks से बचाव (Detection & Authentication)

Active attacks में data integrity और identity की जाँच मुख्य होती है:

  • MAC और Hash: Data के साथ cryptographic hash भेजें। 1 bit बदलने पर भी hash mismatch हो जाएगा। इस security process के लिए देखें: Hash Function in Hindi.
  • Digital Signatures: Sender की पहचान verify करने के लिए public key cryptography का उपयोग करें।
  • Firewalls और IDS/IPS: अनधिकृत traffic block करें और abnormal network activity पर alert भेजें।
  • Timestamps और Nonce: Replay attacks रोकने के लिए हर packet में unique sequence number और current timestamp जोड़ें।
  • Multi-Factor Authentication (MFA): Password के साथ OTP अनिवार्य करें।

Exam में कैसे लिखें (5 Marks Ready Answer)

यूनिवर्सिटी परीक्षा में 5 marks के लिए उत्तर इस structure में लिखें:

  • 1. Active Attack परिभाषा: वह हमला जिसमें attacker data को alter करता है, delete करता है या service block करता है (जैसे DoS, MitM)।
  • 2. Passive Attack परिभाषा: वह हमला जिसमें attacker data बदले बिना सिर्फ transmission monitor करता है या सुनता है (जैसे Eavesdropping, Traffic Analysis)।
  • 3. CIA Triad: Active हमला Integrity और Availability तोड़ता है; Passive हमला Confidentiality तोड़ता है।
  • 4. Data Modification: Active में data बदला जाता है; Passive में data unchanged रहता है।
  • 5. Detection vs Prevention: Active attack को detect करना आसान है; Passive attack को detect करना असंभव जैसा है, इसलिए इसे prevent किया जाता है।
  • 6. User Alert: Active हमले में user को असर दिखता है; Passive हमले में user unaware रहता है।
  • 7. Defense: Passive के लिए Encryption और Traffic Padding; Active के लिए Firewall, IDS, Digital Signatures, OTP।
  • 8. Diagram: Alice, Bob और attacker का सरल communication flow diagram जरूर बनाएं।

Students की Common Mistakes

  • गलती 1: Man-in-the-Middle (MitM) को Passive समझना: MitM में attacker सिर्फ सुनता नहीं, बल्कि packets intercept करके data alter कर सकता है, इसलिए यह Active Attack है।
  • गलती 2: Passive Attack को नुकसानरहित समझना: Data न बदलने पर भी login credentials leak होना system crash होने से भी बड़ा ख़तरा पैदा करता है।
  • गलती 3: Encryption को DoS attack का हल समझना: Encryption DoS को नहीं रोक सकता क्योंकि DoS का लक्ष्य data पढ़ना नहीं, बल्कि server traffic flood करना है।
  • गलती 4: Detection और Prevention को mix करना: Active attacks का primary defense Detection है, जबकि Passive attacks का primary defense Prevention है।

Exam के लिए Important Questions

Short Questions (2–3 marks)

  1. Active Attack और Passive Attack को एक-एक वाक्य में define कीजिए। (Active data बदलता है; Passive सिर्फ traffic monitor करता है।)
  2. Traffic Analysis क्या है और यह किस category का attack है? (Traffic pattern और timing को analyze करना; यह Passive Attack है।)
  3. Replay Attack क्या है? इसे कैसे रोका जाता है? (Captured valid packet को दोबारा भेजना; इसे Nonce और Timestamps से रोकते हैं।)
  4. CIA Triad के कौन से घटक Active Attack से प्रभावित होते हैं? (Integrity और Availability)
  5. Passive attack को detect करना कठिन क्यों है? (क्योंकि यह data या system resources में कोई बदलाव नहीं करता।)

Long Questions (5–10 marks)

  1. Active और Passive Attacks क्या हैं? इनके types को detail में समझाइए और comparison table बनाइए।
  2. Network Security में Passive Attacks को रोकने और Active Attacks को detect करने के तरीके समझाइए।
  3. Man-in-the-Middle attack और DoS attack कैसे काम करते हैं, diagram और real-life scenario के साथ समझाइए।

FAQs

Active and passive attacks in cryptography का क्या मतलब है?

Cryptography में passive attack का मतलब है ciphertext देखकर key या plaintext का अंदाज़ा लगाना (बिना data बदले)। Active attack का मतलब है ciphertext में बदलाव करके या fake messages inject करके decryption process को धोखा देना।

क्या Passive Attack को detect किया जा सकता है?

Network lines पर zero footprint होने के कारण इसे detect करना लगभग नामुमकिन होता है। सिर्फ cable tap जैसी physical wiretapping में signal loss (dB loss) देखकर physical layer पर शक किया जा सकता है।

Replay attack active attack क्यों है, जबकि इसमें data नहीं बदला जाता?

Replay attack में packet data बदला न भी हो, तो भी valid packet दोबारा inject करने से system की state और balance बदल जाता है। यह system के normal operation में रुकावट डालता है, इसलिए यह Active Attack है।

Active attack से बचाव के लिए सबसे प्रभावी उपाय क्या हैं?

Data integrity के लिए Digital Signatures और Hash, authentication के लिए Multi-Factor Authentication (MFA), और network level पर Firewalls और IDS/IPS सबसे प्रभावी उपाय हैं।

अक्सर पूछे जाने वाले प्रश्न (FAQs)

Quick Answer: Network security और cryptography में Active attack वह हमला है जिसमें attacker सिस्टम के data या resources को बदलता है (modify/alter), नष्ट करता है या normal operations को रोकता है (जैसे Man-in-the-Middle, DoS, Masquerade)।
Network Security & Cryptography | नेटवर्क सिक्यूरिटी नोट्स के पाठ्यक्रम में Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में एक महत्वपूर्ण अध्याय है। यह मुख्य सिद्धांतों, परीक्षा प्रश्नों और सूत्रों को समझने के लिए अत्यधिक आवश्यक है।
हाँ, NotesMedia पर आपको Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में के महत्वपूर्ण प्रश्नोत्तर, हल किए गए उदाहरण और नोट्स बिल्कुल मुफ्त मिलेंगे। अधिक अभ्यास के लिए आप हमारा ऐप भी डाउनलोड कर सकते हैं।
Advertisement

In this Chapter

Active and Passive Attacks in Hindi | सक्रिय और निष्क्रिय हमले हिंदी में
What is Network Security in Hindi
Model of Network & Cryptography in Hindi
MANET in Hindi | मोबाइल ऐड-हॉक नेटवर्क क्या है
Web Security in Hindi | वेब सिक्यूरिटी हिंदी में
Email Security in Hindi | ईमेल सुरक्षा हिंदी में
Phishing in Hindi | फिशिंग हिंदी में
SET(Secure Electronics Transactions) in Hindi | सिक्योर इलेक्ट्रॉनिक ट्रांजैक्शन हिंदी में
Cyber Ethics in Hindi | साइबर नैतिकता हिंदी में
Server Management in Hindi | सर्वर प्रबंधन हिंदी में
VPN in Hindi | VPN हिंदी में
Malware in Hindi | मालवेयर हिंदी में
DDOS in Hindi | डीडीओस हिंदी में
Botnet in Hindi | बोटनेट हिंदी में
Backdoor Attack in Hindi | बैकडोर अटैक हिंदी में
Hash Function in Hindi | हैश फंक्शन हिंदी में
IP Security in Hindi | आई.पी. सिक्योरिटी हिंदी में
IP Spoofing in Hindi | IP स्पूफिंग हिंदी में
Proxy Server in Hindi | प्रॉक्सी सर्वर हिंदी में
SSL in Hindi | SSL हिंदी में
Viruses in Hindi | वायरस हिंदी में
Spyware in Hindi | स्पाईवेयर हिंदी में
Flooding in Hindi | फ़्लडिंग हिंदी में
Hacking in Hindi | हैकिंग हिंदी में
Buffer Overflow in Hindi | बफ़र ओवरफ़्लो हिंदी में
Information Warfare in Hindi | सूचना युद्ध हिंदी में
L2TP in Hindi | L2TP क्या है
DES in Hindi | DES क्या है
Brute-Force Attack in Hindi | ब्रूट-फोर्स अटैक हिंदी में
Transposition Techniques in Hindi | ट्रांसपोजिशन तकनीक क्या है
Caesar Cipher in Hindi | कैसर साइफर क्या है
Avenues of Attack in Hindi | एवेन्यूज़ अटैक हिंदी में
SSH in Hindi | SSH क्या है?
Identity Theft in Hindi | पहचान की चोरी क्या है?
PGP & Hashing in Hindi | PGP और हैशिंग हिंदी में
Virus Scanner in Hindi | वायरस स्कैनर क्या है?
Virus dropper in Hindi | वायरस ड्रोपर क्या है?
Fog Computing in Hindi | फॉग कम्प्यूटिंग क्या है?
MDS & HTTPS in Hindi | MDS और HTTPS क्या है
DNS in Hindi | डोमेन नाम प्रणाली क्या है
Kerberos Protocol in Hindi | केर्बेरोस प्रोटोकॉल क्या है
Hellman Key Exchange in Hindi
Teardrop Attack in Hindi | टियरड्रॉप अटैक क्या है
Digital Signature in Hindi | डिजिटल सिग्नेचर क्या है
Kali Linux in Hindi | काली लिनक्स क्या है
Symmetric & Asymmetric in Hindi | सिमेट्रिक और असिमेट्रिक हिंदी में
IPv4 & IPv6 in Hindi |  IPv4 vs IPv6