Ethical Hacking क्या है और यह क्यों Important है?

 

Ethical Hacking क्या है और यह क्यों Important है

Ethical Hacking क्या है और यह क्यों Important है?

Ethical Hacking क्या है?

यह एक निर्धारित Process है, जिसका इस्तेमाल Ethical Hackers द्वारा Information Systems के Operational Environments में मौजूद Vulnerabilities को खोजने के लिए किया जाता है।

Ethical Hacking क्यों Important है?

किसी भी समय Internet पर कौन-कौन सी Vulnerabilities दिखाई दे रही हैं, यह पता लगाने के लिए Ethical Hacking महत्वपूर्ण है। Attack and Penetration Testing, White-hat Hacking और Red Teaming इसी तरह की गतिविधियों के लिए इस्तेमाल किए जाने वाले Terms हैं।

यह Legal है, लेकिन Ethical Hackers के पास Hackers जैसी ही Abilities, Mindset और Tools होते हैं। अंतर यह है कि उनके Attacks Non-destructive होते हैं।

Hacking

Systems में Unauthorized तरीके से प्रवेश करने की Process को Hacking कहा जाता है, जिसका उद्देश्य हो सकता है:

  • Personal या Commercial Gains
  • Malicious Intent – Information और Assets को गंभीर नुकसान पहुंचाना

Hackers क्या करते हैं?

  • Computer System या Network/Firewall में Unauthorized Access प्राप्त करना।
  • ऐसा करने वाला व्यक्ति Law तोड़ता है और उसे Prison की सजा हो सकती है।

Crackers

  • Data को Steal या Destroy करना और Systems में Break करना।

Ethical Hacker

Ethical Hacker भी Hackers और Crackers जैसी कई Activities करता है, लेकिन वह Owner की Permission के साथ ऐसा करता है।

Script Kiddies या Packet Monkeys

  • Young और Inexperienced Hackers
  • Knowledgeable Hackers द्वारा इस्तेमाल किए गए Codes और Strategies को Copy करना

आप Legally क्या नहीं कर सकते?

  • बिना Permission के किसी Computer तक Access प्राप्त करना Law के खिलाफ है।
  • अन्य Illegal Actions:

  1. Worms या Viruses Install करना
  2. Denial of Service Attacks करना
  3. Users को Network Resources Access करने से रोकना

  • दूसरे लोगों के Passwords अपने पास रखना Illegal है।

Ethical Hacking में Ethical क्या है?

Accepted Professional Standards of Conduct का पालन करना।

  • Black-hat – Bad Guys
  • White-hat – Good Guys

Ethical Hackers के पास कई तरह की Abilities होती हैं। सबसे पहले और सबसे महत्वपूर्ण बात यह है कि उन्हें पूरी तरह Trustworthy होना चाहिए। Ethical Hackers आमतौर पर Programming और Computer Networking में अच्छी जानकारी रखते हैं।

Ethical Hacking – Process

  • Preparation
  • Footprinting
  • Enumeration & Fingerprinting
  • Identification of Vulnerabilities
  • Attack – Exploit the Vulnerabilities

Preparation

  1. Identification of Targets – Company Websites, Extranets, Mail Servers
  2. Signing of Contract
  • किसी Legal Issue की स्थिति में Legal Protection के लिए Agreement
  • ऐसे Contracts जो Test के Parameters और Risks को Explain करते हैं।
  • Denial of Service (DoS) Tests, Social Engineering और अन्य Details
  • Attacks के लिए Time Window
  • Systems के बारे में Prior Knowledge
  • Testing के बारे में किन लोगों को जानकारी होनी चाहिए

Footprinting

Target के बारे में अधिक से अधिक Information प्राप्त करना।

  1. DNS Servers
  2. IP Ranges
  3. Administrative Contacts
  4. Administrators द्वारा सामने आई Problems

Information Sources

  1. Search Engines
  2. Information Sources
  3. Search Engine
  4. Forums
  5. Databases – Whois, RIPE, ARIN, APNIC
  6. Tools – PING, Nslookup, Whois, Traceroute, Dig, Sam Spade

Enumeration & Fingerprinting

  1. Specific Targets निर्धारित किए जाते हैं।
  2. Services / Open Ports की Identification
  3. Operating System Enumeration

Methods और Tools का इस्तेमाल

  1. Banner Grabbing
  2. विभिन्न Protocol Commands (ICMP और TCP) के Responses
  3. Port / Service Scans – TCP SYN, TCP FIN, TCP Connect आदि
  4. Nmap, FScan, Hping, Firewalk, Netcat, Tcpdump, Telnet, SSH, SNMP Scanner

Identification of Vulnerabilities

  • Insecure Configuration
  • Weak Passwords
  • Services, Operating Systems और Apps में ऐसी Vulnerabilities जिन्हें Patch नहीं किया गया है।
  • Services और Operating Systems में Possible Vulnerabilities
  • SQL Injection और Traffic Listening, Insecure Programming के उदाहरण हैं।
  • SQL Injection और Application Logic का इस्तेमाल करके Weak Access Control

Vulnerabilities को Exploit करने के Methods

ऐसी Conditions और Vulnerabilities को Exploit करना जिनका फायदा उठाया जा सकता है।

  • Unpatched/Possible Vulnerabilities – Tools और Vulnerability Websites पर उपलब्ध Information
  • Weak Passwords – Default Passwords, Social Engineering, Listening to Traffic, Brute Force
  • Insecure Coding – SQL Injection, Traffic Listening
  • Vulnerable Access Control – Application Logic और SQL Injection का इस्तेमाल

Vulnerabilities Exploit Tools

  • Vulnerability Scanners – SAINT, Nessus, ISS, SARA
  • Listening to Traffic – Ethercap, Tcpdump
  • Password Crackers – Pwdump, John the Ripper, LC4
  • Intercepting Web Traffic – Whisker, Legion, Achilles

Vulnerabilities खोजने वाली Websites

  • Common Vulnerabilities & Exposures – cve.mitre.org
  • Bugtraq – securityfocus.com
  • Hacker Websites से Free Exploits

Attack – Exploit the Vulnerabilities

  • Target System से अधिक से अधिक Information Gather करना
  • Normal Access प्राप्त करना
  • Privileges को Escalate करना
  • दूसरे Connected Systems तक Access प्राप्त करना
  • Denial of Service

Attack के Different Types क्या हैं?

Network Infrastructure Attacks

  • Modem के जरिए Network से Connect करना
  • TCP/IP और NetBIOS की Weaknesses
  • DOS करने के लिए Network को Flood करना

Operating System Attacks

  • Authentication Systems पर Attack करना
  • Protocol Implementations को Exploit करना
  • Insecure Configuration को Exploit करना
  • File-System Security को Break करना

Application-Specific Attacks

  • HTTP और SMTP Protocols की Implementations को Exploit करना
  • Application Databases तक Access प्राप्त करना
  • SQL Injection
  • Spamming

Penetration Test का Purpose क्या है?

किसी Company के Network तक Legal Access प्राप्त करने का प्रयास करना, ताकि उसकी सबसे Weak Link की पहचान की जा सके।

Ethical Hackers क्या करते हैं?

एक Ethical Hacker System की Security को Evaluate करता है और इन Basic Questions के Answers खोजता है:

  • Victim Systems पर Hackers क्या देख सकते हैं?
  • एक Intruder उस Data के साथ क्या कर सकता है?
  • क्या Target पर कोई व्यक्ति Intruder की Activities या Success पर ध्यान दे रहा है?
  • आप किस चीज को Protect करने की कोशिश कर रहे हैं?
  • आप किससे Protect करने की कोशिश कर रहे हैं?
  • Proper Security प्राप्त करने के लिए आप कितना Time, Effort और Money खर्च करने के लिए तैयार हैं?

Ethical Hacker के लिए Required Skills

  • Routers: अलग-अलग प्रकार के Model Routers, Routing Protocols और Access Control Lists में Expertise
  • Microsoft: Operation, Configuration और Management Capabilities
  • Linux: Linux/Unix Operating System के साथ-साथ Configuration और Services की अच्छी समझ
  • Firewalls: Intrusion Detection System Setups और Operation
  • Network Protocols: TCP/IP – ये कैसे काम करते हैं और इन्हें कैसे Exploit किया जा सकता है।
  • Project Management: Penetration Testing Team को Lead, Plan, Organize और Control करने की पूरी समझ

  1. Insider Attack
  2. Outsider Attack
  3. Stolen Equipment Attack
  4. Physical Entry
  5. Bypassed Authentication Attack (Wireless Access Points)
  6. Social Engineering Attack

Attack में इस्तेमाल होने वाली Terminology

  • Reconnaissance – Attacker द्वारा Information Gather की जाती है, जिसमें Social Engineering भी शामिल हो सकती है।
  • Scanning – Scanning Open Ports (Port Scan) की पहचान करती है और Vulnerabilities के लिए Probe करती है।
  • Gaining Access – Attacker Vulnerabilities को Exploit करके Inner System तक Access प्राप्त करता है; इसका इस्तेमाल IP Spoofing के लिए किया जाता है।
  • Maintaining Access – Trojans के इस्तेमाल से Backdoor Create किया जाता है। एक बार Attacker को Access मिल जाने के बाद यह सुनिश्चित किया जाता है कि वह दोबारा Access प्राप्त कर सके।
  • Covering Tracks – Files और Documents को Delete करना, Files को Hide करना और Log Files को Erase करना, ताकि Hackers की पहचान न हो सके या उन्हें Penalize न किया जा सके।

Hacker Classes

  • Black Hats – Black Hats ऐसे "Crackers" होते हैं जो बेहद Talented, Malevolent और Destructive होते हैं।
  • White Hats – Defensive Security Analysts की Skills
  • Gray Hats – Offensive और Defensive Hacking; Situation के आधार पर अलग-अलग कारणों से Hack करते हैं।
  • Hacktivism – किसी Social या Political Cause के लिए Hacking को Hacktivism कहा जाता है।

Ethical Hackers यह Assess करते हैं कि Attackers कौन-सी Information Access कर सकते हैं, वे उस Information के साथ क्या कर सकते हैं और क्या उनकी पहचान की जा सकती है।

Ethical Hacker बनने के लिए क्या-क्या जानना जरूरी है?

  • Footprinting
  • Scanning
  • Enumeration
  • System Hacking
  • Trojans और Backdoors
  • Viruses और Worms
  • Sniffers
  • Denial of Service
  • Social Engineering
  • Session Hijacking
  • Hacking Web Servers
  • Web Application Vulnerabilities
  • Web-Based Password Cracking Techniques
  • SQL Injection
  • Hacking Wireless Networks
  • Viruses
  • Novell Hacking
  • Linux Hacking
  • Evading IDS, Firewalls और Honeypots
  • Buffer Overflows
  • Cryptography
  • Social Engineering
  • Computer Forensics

Hacking Tools: Footprinting और Reconnaissance

Ethical Hacking के लिए कुछ Basic Footprinting और Reconnaissance Tools की जानकारी होनी चाहिए:

  • Whois
  • Sam Spade
  • Nslookup
  • Traceroute
  • Ping और Ping Options

Hacking Tools: Scanning और Enumeration

  • Nmap
  • NMapWin
  • SuperScan
  • IP Scanner
  • Hyena
  • Retina
  • LAN Guard

Hacking Tools: System Hacking

  • Telnet
  • Snadboy
  • Password Cracking with LOphtcrack
  • Keylogger

Hacking Tools: Trojans और Backdoors

  • NetBus
  • Game Creates Backdoor for NetBus
  • SubSeven

Hacking Tools: Sniffers

  • Spoofing a MAC Address Original Configuration
  • Spoofed Mac
  • Ethereal
  • Iris
  • Snort

Hacking Tools: Web-Based Password Cracking

  • Cain and Abel
  • Legion
  • Brutus

Hacking Tools: Covering Tracks

  • ImageHide
  • ClearLogs

Hacking Tools: Google Hacking और SQL Injection

  • Google Hacking
  • Google Cheat Sheet

SQL Injection: आइए जानते हैं यह क्या है?

  • यह किसी Remote Attacker को Database पर SQL Operations Run करने की अनुमति देता है।
  • यह Ill-formed Database Queries और Input Validation की कमी पर निर्भर करता है।

Hacker Challenge Websites

  • Hackr.org
  • Hackthissite.org
  • Hackits (hackits.de/challenge)
  • Legion of Ethical Hacking
  • Hacker Highschool
  • johnny.ihackstuff.com
  • HappyHacker.org
  • Foundstone
  • Insecure.org
  • SANS Institute

Post a Comment

Please do fair and genuine comment only

Previous Post Next Post