BCA / B.Tech 11 min read

IP Spoofing in Hindi | IP स्पूफिंग हिंदी में

RK

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

प्रकाशित:

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

  • • विषय फोकस: Network Security & Cryptography | नेटवर्क सिक्यूरिटी नोट्स (BCA / B.Tech Syllabus)
  • • मुख्य विषय: IP Spoofing in Hindi | IP स्पूफिंग हिंदी में - General Topics
  • • अवलोकन: Quick Answer: Spoofing का मतलब है किसी और का नाम या पहचान लगाकर खुद को वही बताना, यानी "भेस बदलना"। IP Spoofing में attacker अपने packet के IP header मे...
  • • मुख्य अवधारणाएं: IP spoofing, Forging source IP blind spoofing Hindi, Attacks smurf prevention filters,IP spoofing, Forging source IP blind spoofing, Attacks smurf prevention filters
Quick Answer: Spoofing का मतलब है किसी और का नाम या पहचान लगाकर खुद को वही बताना, यानी "भेस बदलना"। IP Spoofing में attacker अपने packet के IP header में source IP address बदल देता है, ताकि receiver को लगे कि packet किसी और (trusted या random) computer से आया है। इसका इस्तेमाल DDoS attack, IP-based trust को bypass करने और अपनी पहचान छुपाने में होता है। बचाव: ingress/egress filtering (BCP 38), IP पर आधारित authentication बंद करना, और IPsec/TLS जैसी cryptographic authentication.

Spoofing का मतलब क्या है? (Spoofing Meaning in Hindi)

English में "spoof" का मतलब है नकल करना या धोखा देना। Network Security में spoofing वह attack है जिसमें attacker खुद को कोई और बताता है, जैसे कोई दूसरा user, computer, server या website. Real life example: कोई आपको call करे और बोले "मैं bank से बोल रहा हूँ", जबकि वह bank से नहीं है। यही spoofing है।

Spoofing अपने आप में data नहीं चुराता। यह एक नकली पहचान है, जिसके सहारे attacker दूसरे attacks (phishing, DDoS, session hijacking) करता है। इसलिए इसे active attack की category में रखा जाता है, क्योंकि attacker data को सिर्फ पढ़ता नहीं, बल्कि नकली packets खुद बनाकर भेजता है।

Advertisement

Spoofing के मुख्य Types

Typeक्या नकली बनाया जाता हैExample
IP SpoofingPacket का source IP addressAttacker का packet ऐसे दिखे जैसे 10.0.0.5 (trusted server) से आया है
Email SpoofingEmail का "From" addressMail पर लिखा हो support@yourbank.com, पर भेजा किसी और ने
ARP SpoofingLAN में IP-to-MAC mappingAttacker कहे "gateway का IP मेरा MAC है", तो LAN का traffic उसके पास आने लगे
DNS SpoofingDomain name का IP वाला जवाबbank.com खोलने पर user नकली website के IP पर पहुँच जाए
Caller ID SpoofingPhone पर दिखने वाला numberScreen पर किसी जान-पहचान वाले या company का number दिखे

इस note में हम IP Spoofing को detail में पढ़ेंगे, क्योंकि Network Security & Cryptography के exam में यही सबसे ज़्यादा पूछा जाता है।

IP Spoofing क्या है? (What is IP Spoofing in Hindi)

Internet पर हर data छोटे-छोटे packets में जाता है। हर packet के ऊपर एक IP header होता है, जैसे letter के envelope पर "भेजने वाले" और "पाने वाले" का address. IP Spoofing में attacker इस header का Source IP Address field बदल कर किसी दूसरे का IP लिख देता है।

IP Header का Source Address Field

FieldSize (IPv4)Spoofing से संबंध
Source IP Address32 bitsयही field attacker बदलता है
Destination IP Address32 bitsVictim का असली IP, ताकि packet उस तक पहुँचे
Header Checksum16 bitsसिर्फ header में गलती (error) पकड़ता है, sender की पहचान check नहीं करता

IPv6 में source address 128 bits का होता है, पर problem वही है। IPv4 और IPv6 header के बारे में पढ़ें: IPv4 और IPv6 in Hindi.

Receiver Source IP को verify क्यों नहीं कर पाता?

  • IP में authentication नहीं है: IP protocol को सिर्फ packet पहुँचाने के लिए design किया गया था। उसमें यह check करने का कोई तरीका नहीं कि source IP सच में भेजने वाले का है।
  • Routers सिर्फ destination देखते हैं: Normal routing में router यह देखता है कि packet कहाँ भेजना है, यह नहीं कि packet कहाँ से आया।
  • Checksum दोबारा बन जाता है: Attacker source IP बदलने के बाद checksum फिर से calculate कर देता है, तो packet पूरी तरह valid दिखता है।
  • Connectionless nature: IP हर packet को अलग से handle करता है, उसे पिछले packets का कुछ याद नहीं रहता।

IP Spoofing कैसे काम करता है? (Diagram)

  Attacker (असली IP: 203.0.113.9)
        |
        |  Packet: Source IP = 10.0.0.5  (नकली, trusted host का)
        |          Dest IP   = 10.0.0.20 (Victim server)
        v
  +-----------------+
  |  Victim Server  |   "यह तो 10.0.0.5 से आया है, trusted है"
  |   10.0.0.20     |
  +-----------------+
        |
        |  Reply: Dest IP = 10.0.0.5
        v
  Trusted Host (10.0.0.5)   <-- reply यहाँ जाता है, attacker के पास नहीं

Diagram से सबसे ज़रूरी बात समझिए: victim का reply हमेशा उसी address पर जाता है जो source IP में लिखा है। Attacker ने नकली IP लिखा है, तो reply attacker को नहीं मिलता। ज़्यादातर cases में attacker को victim का reply दिखता ही नहीं, यही spoofing की सबसे बड़ी limitation है।

Blind Spoofing vs Non-Blind Spoofing

PointNon-Blind SpoofingBlind Spoofing
Attacker कहाँ हैVictim वाले same network (subnet) मेंVictim से दूर, किसी दूसरे network में
Reply दिखता है?हाँ, वह traffic sniff करके reply देख सकता हैनहीं, reply spoofed address पर चला जाता है
TCP sequence numberTraffic से सीधे देख लेता हैअंदाज़ा (predict) लगाना पड़ता है
मुश्किलआसानबहुत मुश्किल, खासकर आज के systems पर

IP Spoofing का इस्तेमाल कहाँ होता है?

1. DDoS Attack: Reflection और Amplification

Spoofing का सबसे बड़ा use DDoS में है, क्योंकि यहाँ attacker को reply चाहिए ही नहीं। दो common तरीके:

  • Source छुपाना: SYN flood जैसे attacks में हर packet पर अलग random source IP होता है, तो victim attacker का IP block नहीं कर पाता।
  • Reflection: Attacker बहुत सारे public servers को request भेजता है, और हर request में source IP की जगह victim का IP लिखता है। सारे servers अपना reply victim को भेज देते हैं। Victim को लगता है attack उन servers से हो रहा है।
  • Amplification: अगर छोटी request का जवाब बहुत बड़ा हो, तो attack कई गुना बढ़ जाता है।

Example: DNS Amplification — Attacker open DNS resolvers को छोटी-सी DNS query भेजता है (लगभग 60 bytes), source IP में victim का address डाल कर। DNS server का जवाब कई गुना बड़ा (हज़ारों bytes तक) हो सकता है और वह सीधे victim पर जाता है। हज़ारों servers से ऐसा traffic आने पर victim का bandwidth भर जाता है और उसकी service बंद हो जाती है। पुराना Smurf attack भी इसी idea पर था: ICMP ping broadcast address पर, source में victim का IP.

2. Session Hijacking और TCP Sequence Number Prediction

TCP connection three-way handshake (SYN → SYN-ACK → ACK) से बनता है। हर side एक Initial Sequence Number (ISN) चुनती है, और आगे के हर packet में सही sequence number होना ज़रूरी है।

  • Blind spoofing में server का SYN-ACK असली host को जाता है, attacker को नहीं। फिर भी connection पूरा करने के लिए attacker को server का ISN guess करना पड़ता है।
  • पुराने systems में ISN एक fixed pattern से बढ़ता था, इसलिए उसका अंदाज़ा लगाया जा सकता था। 1994 का मशहूर Kevin Mitnick case इसी कमज़ोरी का example माना जाता है।
  • Session hijacking में attacker पहले से चल रहे session में सही sequence number वाले नकली packets डाल कर session पर कब्ज़ा करने की कोशिश करता है।
  • आज के OS ISN को random रखते हैं, इसलिए blind prediction लगभग नामुमकिन है।

3. IP-Based Trust को Bypass करना

कुछ पुराने systems सिर्फ IP देख कर access दे देते थे, जैसे Unix की rlogin/rsh services, जो ".rhosts" file में लिखे trusted IP से बिना password login दे देती थीं। कई firewalls भी "इस IP range से आने वाला traffic allow करो" जैसे rules पर चलते हैं। अगर attacker trusted IP spoof कर ले, तो ऐसी जगह पर उसे access मिल सकता है। इसीलिए IP address को password की तरह इस्तेमाल करना गलत design है।

Advertisement

IP Spoofing से बचाव (Prevention)

Methodक्या करता हैकिस attack से बचाता है
Ingress Filtering (BCP 38 / RFC 2827)ISP या network के edge router पर: बाहर से आने वाले packet पर अगर अपने अंदर वाले network का source IP है, तो dropबाहर से trusted internal IP की नकल
Egress Filteringअपने network से बाहर जाने वाले packets में source IP अपने ही network range का होना चाहिए, वरना dropअपने network से spoofed DDoS traffic निकलना
Router/Firewall Packet FilteringPrivate (जैसे 10.x.x.x, 192.168.x.x) या गलत source IP वाले packets को internet side पर block करना, Unicast RPF checkObvious नकली source वाले packets
IP-based Authentication बंद करनाLogin के लिए सिर्फ IP नहीं, password, keys या certificates इस्तेमाल करना (rsh की जगह SSH)Trust bypass
IPsec / TLSहर packet या session को cryptographic तरीके से authenticate करना; नकली sender के पास key नहीं होतीSpoofing, session hijacking
Random TCP Sequence NumbersISN को unpredictable बनाना (RFC 6528)Blind TCP spoofing, hijacking

याद रखिए: Spoofing को पूरी तरह रोकने के लिए filtering हर ISP पर होनी चाहिए, क्योंकि packet बनते ही उसके source को check करना सबसे आसान है। IPsec के AH और ESP protocols के बारे में पढ़ें: IP Security (IPsec) in Hindi.

Spoofed Packets को पहचानें कैसे? (Detection)

Prevention के साथ network admin को यह भी पता होना चाहिए कि spoofing हो रही है या नहीं। Exam के लिए ये points काफी हैं:

  • गलत interface पर आया packet: अगर internet वाले port पर ऐसा packet आए जिसका source IP अंदर के LAN का है, तो वह पक्का नकली है।
  • TTL (Time To Live) में फर्क: एक ही host से आने वाले packets का TTL लगभग एक जैसा होता है। अगर उसी source IP के packets का TTL अचानक बहुत अलग दिखे, तो वे शायद किसी दूसरी जगह से भेजे गए हैं।
  • बिना request के आए replies: अगर आपके server पर ऐसे DNS या SYN-ACK replies आ रहे हैं जिनकी request आपने भेजी ही नहीं, तो कोई आपका IP spoof करके reflection attack कर रहा है।
  • Half-open connections की भीड़: Server पर बहुत सारे अधूरे TCP connections (SYN आया, ACK नहीं) अलग-अलग random IPs से दिखें, तो यह spoofed SYN flood की निशानी है।
  • IDS (Intrusion Detection System): Snort जैसे IDS ऊपर वाले patterns को अपने आप पकड़ कर alert देते हैं।

Example Scenario: College Network

मान लीजिए एक college का exam server (10.0.0.20) सिर्फ admin office के computer (10.0.0.5) से आने वाली requests accept करता है, और कोई password नहीं माँगता।

  1. बाहर बैठा attacker ऐसे packets भेजता है जिनका source IP 10.0.0.5 है।
  2. अगर college के edge router पर ingress filtering नहीं है, तो ये packets अंदर आ जाते हैं, क्योंकि router सिर्फ destination देखता है।
  3. Server का reply 10.0.0.5 को जाता है, attacker को नहीं, इसलिए यह blind spoofing है। TCP connection बनाने के लिए attacker को sequence number guess करना पड़ेगा, जो random ISN वाले server पर practically नहीं हो पाएगा।
  4. सही fix: Edge router पर ingress filtering लगाओ (बाहर से आया packet, अंदर का source IP = drop) और server पर IP की जगह login + TLS से authentication करो।

IP Spoofing vs ARP Spoofing vs DNS Spoofing

PointIP SpoofingARP SpoofingDNS Spoofing
LayerNetwork Layer (Layer 3)Layer 2 और 3 के बीच (LAN)Application Layer
क्या नकली हैSource IPIP-to-MAC mappingDomain का IP वाला जवाब
RangeInternet पर कहीं से भीसिर्फ same LAN मेंDNS cache/resolver पर
Main useDDoS, trust bypassMan-in-the-MiddleUser को नकली website पर भेजना
बचावBCP 38 filtering, IPsecStatic ARP, Dynamic ARP InspectionDNSSEC

Network Security की basics के लिए पढ़ें: Network Security क्या है.

Exam के लिए Important Questions

Short Questions (2–3 marks)

  1. Spoofing क्या है? इसके कोई चार types लिखिए।
  2. IP Spoofing को define कीजिए। IP header का कौन-सा field बदला जाता है?
  3. Blind और Non-blind spoofing में अंतर बताइए।
  4. Ingress filtering और Egress filtering क्या हैं?
  5. BCP 38 क्या है?

Long Questions (5–10 marks)

  1. IP Spoofing क्या है? Diagram की मदद से समझाइए कि यह कैसे काम करता है और receiver source IP verify क्यों नहीं कर पाता।
  2. DDoS attack में IP spoofing का इस्तेमाल कैसे होता है? DNS amplification attack को example के साथ समझाइए।
  3. TCP sequence number prediction और session hijacking को समझाइए। Random ISN इससे कैसे बचाता है?
  4. IP Spoofing से बचने के तरीके (prevention techniques) लिखिए।

FAQs

Spoofing meaning in Hindi क्या है?

Spoofing का मतलब है नकली पहचान बनाकर खुद को कोई और बताना। Network में attacker नकली IP, email address, MAC address या phone number दिखाकर receiver को धोखा देता है।

क्या IP Spoofing से attacker data चुरा सकता है?

सीधे नहीं। Spoofed packet का reply असली IP वाले host को जाता है, attacker को नहीं। Data चोरी के लिए attacker को same network में होना पड़ता है (non-blind) या ARP spoofing जैसे दूसरे attack के साथ मिलाना पड़ता है।

Firewall IP Spoofing को पूरी तरह रोक सकता है?

पूरी तरह नहीं। Firewall obvious नकली packets (जैसे बाहर से आया internal IP) block कर सकता है, पर internet पर किसी random public IP की नकल पहचानना मुश्किल है। इसलिए filtering के साथ IPsec/TLS जैसा authentication भी ज़रूरी है।

IP Spoofing illegal है क्या?

किसी और के network या system पर attack के लिए spoofing करना भारत में IT Act, 2000 के तहत अपराध है। Students इसे सिर्फ अपने lab या permission वाले test network में पढ़ाई के लिए समझें।

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

Quick Answer: Spoofing का मतलब है किसी और का नाम या पहचान लगाकर खुद को वही बताना, यानी "भेस बदलना"।
Network Security & Cryptography | नेटवर्क सिक्यूरिटी नोट्स के पाठ्यक्रम में IP Spoofing in Hindi | IP स्पूफिंग हिंदी में एक महत्वपूर्ण अध्याय है। यह मुख्य सिद्धांतों, परीक्षा प्रश्नों और सूत्रों को समझने के लिए अत्यधिक आवश्यक है।
हाँ, NotesMedia पर आपको IP Spoofing in Hindi | IP स्पूफिंग हिंदी में के महत्वपूर्ण प्रश्नोत्तर, हल किए गए उदाहरण और नोट्स बिल्कुल मुफ्त मिलेंगे। अधिक अभ्यास के लिए आप हमारा ऐप भी डाउनलोड कर सकते हैं।
Advertisement

In this Chapter

IP Spoofing in Hindi | IP स्पूफिंग हिंदी में
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 | आई.पी. सिक्योरिटी हिंदी में
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 | ब्रूट-फोर्स अटैक हिंदी में
Active and Passive Attacks 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