Hacking For Beginners |
Hacking For Beginners – Manthan Desai w w w . h a c k i n g t e c h . c o . t v Legal Disclaimer Any proceedings and or activities related to the material contained within this book are exclusively your liability. The While using this book and reading various hacking tutorials, you agree to follow the below 1. All the information provided in this book is for educational purposes only. The book author is no way responsible for 2. "Hacking for Beginners” is just a term that represents the name of the book and is not a book that provides any illegal 3. This book is totally meant for providing information on "Computer Security”, "Computer Programming” and other 4. Few articles (tutorials) in this book may contain the information related to "Hacking Passwords” or "Hacking Email 5. The virus creation section in this book provides demonstration on coding simple viruses using high level programming 6. All the information in this book is meant for developing Hacker Defense attitude among the readers and help 7. The word "Hack” or "Hacking” that is used in this book shall be regarded as "Ethical Hack” or "Ethical Hacking” 8. We believe only in White Hat Hacking. On the other hand we condemn Black Hat Hacking. 9. Most of the information provided in this book are simple computer tricks (may be called by the name hacks) and are no 10. Some of the tricks provided by us may no longer work due to fixture in the bugs that enabled the exploits. We are not w w w . h a c k i n g t e c h . c o . t v About the Author Manthan Desai is a sovereign Computer Security Consultant and has state-of-the-art familiarity in the field of computer. Manthan is indeed a writer on the internet through his website. Over 10,000 visits have been incurred on his website and Manthan is currently perusing his bachelor’s degree in computer science engineering and is working as and information He is providing the services like Ethical hacking training and workshops, website Development and maintenance, security The one and the only quote that Manthan uses while his ethical hacking is “Hack it and Have it.” To Know More about the Author Please Visit: www.manthandesai.co.cc w w w . h a c k i n g t e c h . c o . t v Preface Computer hacking is the practice of altering computer hardware and software to carry out a goal outside of the creator‘s The majority of people assume that hackers are computer criminals. They fall short to identify the fact that criminals and Years ago, no one had to worry about Crackers breaking into their computer and installing Trojan viruses, or using your This Book is written by keeping one object in mind that a beginner, who is not much familiar regarding computer hacking, After Reading this book you will come to recognize that how Hacking is affecting our every day routine work and can be So Take care of yourself and Defend Yourself By hacking the hacker and be safe after that. So If you know how to hack a “Hack It and Have It...” - Manthan Desai (author) w w w . h a c k i n g t e c h . c o . t v Acknowledgements Book or volume "Hacking for Beginners” is tremendously complex to write, particularly without support of the Almighty I express heartfelt credit to My Parents Mr.Manish Desai and Mrs. Jagruti Desai without them I have no existence. I am To finish, I am thankful to you also as you are reading this book. I am sure this will book make creative and constructive Again Nothing but “Hack It and Have It...” - Manthan Desai w w w . h a c k i n g t e c h . c o . t v Index SECTION 1:- The Theatrical concepts and Explanation. 1. Concept of Ethical Hacking……………………………………………………………………………………………………………..……. 12 What Is Hacking …………………………………………………………………………….…………………………………………………………….….. 12 Types of hacker ………………………………………………………………………………………………...………………………………………….…. 13 Why hackers hack? ……………………………………………………………………………………………………………………………………….…. 15 Preventions from hacker ……………………………………………………………………………………………………………………..………..… 15 Steps Performed by hackers ………………………………………………………………………………………………………………………....….16 Working of an Ethical hacker ………………………………………………………………………………………………………………………….…17 2. Email Hacking ……………………………………………………………………………………………………………………..….…..……… 19 How Email Works? ……………………………………………………………………………………………………………………………………….…. 19 Email service protocols ……………………………………………………………………………………………………………………………….…...20 Email spoofing …………………………………………………………………………………………………………………………………………….….. 21 PHP Mail sending script …………………………………………………………………………………………………………………………….……. 22 Email Spamming …………………………………………………………………………………………………………………………………………..... 23 Phishing …………………………………………………………………………………………………………………………………………………….……. 23 Prevention from phishing ………………………………………………………………………………………………………………………….……. 24 Email Tracing …………………………………………………………………………………………………………………………………………….……. 24 Keystroke loggers ……………………………………………………………………………………………………………………………………….….. 26 Securing Your Email account ………………………………………………………………………………………………………………………….. 27 3. Windows Hacking and Security.…...……………………………………………………………………………………….…………… 28 Security Architecture of Windows………………………………………………………………………………………………………………….. 28 Windows user account Architecture………………………………………………………………………………………………………………. 29 Cracking Windows User Account password …………………………………………………………………………………………………... 30 Windows User Account Attack …………………………………………………………………………………………………………………....… 33 Counter Measures of Windows Attack ………………………………………………………………………………………………………….. 33 To hide a file behind a image …………………………………………………………………………………………………….………………..… 34 Make a private folder…………………………………………………………………………………………………………………………………….. 35 To run net user in Vista and Windows 7 …………………………………………………………………………………………………..…... 37 w w w . h a c k i n g t e c h . c o . t v Brute Force Attack ……………………………………………………………………………………………………………………………………….… 38 Rainbow table attack …………………………………………………………………………………………………………….…………………….…. 39 Counter Measures for Windows Attack ………………………………………………………………………………….………………….….. 40 4. Trojans in Brief ………………………………………………………………………………………………….………………….………..…. 42 Knowing the Trojan ………………………………………………………………………………….………………………………………………...…. 42 Different Types of Trojans ……………………………………………………………………………………………………………………….…….. 43 Components of Trojans …………………………………………………………………………………………………………………..…………….. 45 Mode of Transmission for Trojans …………………………………………………………………………………………………………….…… 47 Detection and Removal of Trojans ………………………………………………………………………………………………………………... 48 Countermeasures for Trojan attacks ………………………………………………………………………………………………………….…. 48 5. Attacks on web servers and Security ……….………………………………………………………………………….………….…. 49 Introduction to Web Servers..………………………………………………………………….………………………………………………...…. 49 The Basic Process: How Web servers work …………………………………………………………………………………………….………. 49 Attacks on Web servers …………………………………………………………………………………………………………………………….…... 50 Web Ripping …………………………………………………………………………………………………………………………………………….….… 50 Google Hacking …………………………………………………………………………………………………………………………………………..…. 51 Protecting Your Files from Google ……………………………………………………………………………………………………………….... 53 Cross Site Scripting (XSS) …………………………………………………………………………………………………………………….……….… 54 Directory Traversal Attack …………………………………………………………………………………………………………….…..………..… 55 Database Servers ………………………………………………………………………………………………………………………………….……….. 57 Login Process on the websites ………………………………………………………………………………………………….……….………….. 58 SQL injection …………………………………………………………………………………………………………………………………………….…… 58 Input validation on the SQL Injection ……………………………………………………………………………….……………………….…… 59 PHP Injection: Placing PHP backdoors …………………………………………………………………………………………………….…….. 60 Directory Access controls ……………………………………………………………………………………………………………………………... 62 How Attackers Hide Them While Attacking …………………………………………………………………………………………….….…. 62 Types of Proxy Servers ………………………………………………………………………………………………………………………………..… 63 6. Wireless hacking …………………………………..………………………………………………………………………………..…….….. 65 Wireless Standards …….……………………………………………………………………………………………………………………………….… 65 Services provided by Wireless Networks ……………………………………………………………………………………………………….. 67 w w w . h a c k i n g t e c h . c o . t v MAC address filtering …..…………………………………………………………………………………………………………………………….…. 68 WEP key encryption …………………………………………………………………………………………………………………………………….… 69 Wireless attacks ……………………………………………………………………………………………………………………………………….……. 69 MAC spoofing ……………………………………………………………………………………………………………………………………….……….. 70 WEP cracking ……………………………………………………………………………………………………………………………………………..….. 70 Countermeasures for Wireless attacks …………………………………………………………………………………………………….….…. 71 7. Mobile Hacking – SMS & Call forging…………………………………………………………………………….…………..…..…….72 What Does It Involve ……………………………………………………………………………………………………………………………..…..….. 72 Call Spoofing / Forging ……………………………………………………………………………………………………………………….……..…… 74 SMS Forging …………………………………………………………………………………………………………………………………………………… 75 Bluesnarfing ………………………………………………………………………………………………………………………………………………..... 76 8. Information gathering and Scanning ……………………………………………………………………………….………………….78 Why Information gathering? ………………………………………………………………………………………………………………………….. 78 Reverse IP mapping ………………………………………………………………………………………………………………………………….……. 78 Information Gathering Using Search Engine …………………………………………………………………………………………….……. 79 Detecting ‘live’ systems on target network …………………………………………………………………………………………….……… 81 War diallers ……………………………………………………………………………………………………………………………………………….….… 81 9. Sniffers ……………………………………………….………………………………………………………………………….….………..….… 82 What are Sniffers ? ………………………………………………………………………………………………………………….………………….…. 82 Defeating Sniffers………………………………………………………………………………………………………………….……………………..…. 83 Ant Sniff ……………………………………………………………………………………………………………………………….……………………..…. 83 10. Linux Hacking..…………………………………….…………………………………………………………….………….………….…...… 85 Why Linux?..............…………………………………………………………………………………………………………………………………...….. 85 Scanning Networks …………………………………………………………………………………………………………………………………..……. 86 Hacking tool Nmap ……………………………………………………………………………………………………………………………………..…. 87 Password cracking in Linux ………………………………………………………………………………………………………………………..….. 87 SARA (Security Auditor’s Research Assistant) ……………………………………………………………………………………………..…. 88 Linux Root kits …………………………………………………………………………………………………………………………………………..…… 88 Linux Tools: Security Testing tools …………………………………………………………………………………..………………………….…. 90 Linux Security Countermeasures ……………………………………………………………………..………………………………………..…... 90 w w w . h a c k i n g t e c h . c o . t v SECTION 2:- The Tutorial based hacks and explaination as online. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Tab Napping A New Phishing Attack …………………………………………………………………………………………….……………. 110 11. How to Check The email is original or Not ……………………………………………………………………………………….………… 113 12. Hack facebook account using facebook hacker …………………………………………………………………………….….………... 116 13. What Are Key loggers ?.................................................................................................................................. 118 14. How to remove New Folder virus ………………………………………………………………………………………..……….……….... 120 15. Mobile hack to call your friends From their own Number …………………………………………………….….…………….… 121 16. Get Orkut Scraps on Mobile for free using Google SMS Channel!................................................................. 124 17. Internet connection cut-off in LAN/Wi-Fi ……………………………………………………………………….………………….…….. 127 18. WEP cracking using Airo Wizard……………………………………………………………………………………………………….………. 129 19. 12 Security tips for online shopping ……………………………………………………………………………………………….……..... 133 20. How to check if Your Gmail account is hacked or not ………………………………………………………………………….…… 134 21. Beware of common Internet Scams and Frauds ………………………………………………………………………….…………… 137 22. 12 Tips to maintain a virus free PC………………………………………………………………………………………………………….… 138 23. 10 Tips for Total Online Security………………………………………………………………………………………………………………. 140 24. What to do when your Orkut account is hacked…………………………………………………………………………………..….. 142 25. Making a computer virus …………………………………………………………………………………………………………………….….. 143 26. SQL injection for website hacking…………………………………………………………………………………………………………….. 147 27. How a ‘Denial of service’ attack works …………………………………………………………………………………………………….. 151 28. XSS vulnerability found on You Tube explained ………………………………………….………………………………………….... 154 w w w . h a c k i n g t e c h . c o . t v 29. Hacking Deep Freeze …………………………………………………………………………………………………………………………………. 157 30. How to watch security cameras on internet ………………………………………………………………………………………..……. 159 31. List of PC file Extensions…………………………………………………………………………………………………………………………….. 161 32. Nice List of Windows Shortcuts …………………………………………………………………………………………………………………. 185 33. How to find serial numbers on Google ………………………………………………………………………………………………………. 191 34. How to create a CON folder in Windows …………………………………………………………………………………………………… 192 35. 10 Reasons why PC’s crash you must know………………………………………………………………………………………………… 195 36. How to use Kaspersky for Lifetime without Patch ……………………………………………………………………………………… 200 37. Disguise as Google Bot to view Hidden Content of a Website …………………………………………………………………… 201 38. How to Download Facebook videos ………………………………………………………………………………………………………….. 203 39. Hack a website by Remote File Inclusion ………………………………………………………………………………………………….. 205 40. What is CAPTCHA and how it works?…………………………………………………………………………………………………….….. 207 41. Hack Password of any Operating System …………………………………………………………………………………….…………... 209 42. Windows PowerShell Security in Brief………………………………………………………………………………………………………. 211 43. What is Secure Sockets Layers (SSL)? ……………………………………………………………………………………………………….. 216 44. Make a Private folder With your password ………………………………………………………………………………………………. 220 45. Making a Trojan using Beast 2.06……………………………………………………………………………………………………………… 222 46. Hacking yahoo messenger for multi login ………………………………………………………………………………………………… 228 47. 5 Tips to secure your Wi-Fi a connection …………………………………………………………………………………………………. 229 48. Upgrade Windows 7 to any higher version ……………………………………………………………………………………………… 230 49. World’s top 10 internet hackers of all time ……………………………………………………………………………………….…….. 231 50. The complete History of hacking …………………………………………………………………………………………………………….. 238 w w w . h a c k i n g t e c h . c o . t v The Theatrical concepts and Explanation. w w w . h a c k i n g t e c h . c o . t v 1. Concept of Ethical Hacking Hacking The Art of exploring various security breaches is termed as Hacking. Computer Hackers have been around for so many years. Since the Internet became widely used in the World, We have started to hear more and more about hacking. Only a few Hackers, such as Kevin Mitnick, are well known. In a world of Black and White, it’s easy to describe the typical Hacker. A general outline of a typical Hacker is an Antisocial, Pimple-faced Teenage boy. But the Digital world has many types of Hackers. Hackers are human like the rest of us and are, therefore, unique individuals, so an exact profile is hard to outline. The best broad description of Hackers is that all Hackers aren’t equal. Each Hacker has Motives, Methods and Hacker Traditionally, a Hacker is someone who likes to play with Software or Electronic Systems. Hackers enjoy Exploring and Learning how Computer systems operate. They love discovering new ways to work electronically. Recently, Hacker has taken on a new meaning — someone who maliciously breaks into systems for personal gain. Technically, these criminals are Crackers as Criminal Hackers. Crackers break into systems with malicious They do it for Personal gain, Fame, Profit and even Revenge. They Modify, Delete and Steal critical information, often making other people's life miserable. Hacking has a lot of meanings depending upon the person’s knowledge and his work intentions. Hacking is an Art as well as a Skill. Hacking is the knowledge by which one gets to achieve his Goals, anyhow, using his Skills and Most people associate Hacking with breaking law, therefore calling all those guys who engage in hacking activities to be criminals. We agree that there are people out there who use hacking techniques to break the law, but Hacker vs. Cracker What Is the Difference Between a Hacker and a Cracker? w w w . h a c k i n g t e c h . c o . t v constantly seek further knowledge, share what they have discovered, and they never have intentions about Types of Hacker Let’s see the categories of Hackers on the basis on their knowledge. Coders Admins Script Kiddies Types of Hackers on the basis of activities performed by them. w w w . h a c k i n g t e c h . c o . t v White Hat Hacker Black Hat Hacker Grey Hat Hacker Ethical Hacking Ethical Hacking is testing the resources for a good cause and for the betterment of technology. Technically Ethical Hacking means penetration testing which is focused on Securing and Protecting IT Systems. Hactivism Another type of Hackers are Hacktivists, who try to broadcast political or social messages through their work. A Hacktivist wants to raise public awareness of an issue. Examples of hacktivism are the Web sites that were Cyber Terrorist There are Hackers who are called Cyber Terrorists, who attack government computers or public utility infrastructures, such as power stations and air-traffic-control towers. They crash critical systems or steal classified w w w . h a c k i n g t e c h . c o . t v Why Hackers Hack? The main reason why Hackers hack is because they can hack. Hacking is a casual hobby for some Hackers — they just hack to see what they can hack and what they can’t hack, usually by testing their own systems. Many Hackers The knowledge that malicious Hackers gain and the ego that comes with that knowledge is like an addiction. Some Hackers want to make your life miserable, and others simply want to be famous. Some common motives of Many Hackers say they do not hack to harm or profit through their bad activities, which helps them justify their work. They often do not look for money full of pocket. Just proving a point is often a good enough reward for Prevention from Hackers What can be done to prevent Hackers from finding new holes in software and exploiting them? Information security research teams exist—to try to find these holes and notify vendors before they are exploited. There is a beneficial competition occurring between the Hackers securing systems and the Hackers Defending Hackers create Detection Systems to track attacking Hackers, while the attacking Hackers develop bypassing techniques, which are eventually resulted in bigger and better detecting and tracking systems. The net Now when you need protection from Hackers, whom you want to call, “The Ethical Hackers”. An Ethical Hacker possesses the skills, mindset, and tools of a Hacker but is also trustworthy. Ethical Hackers perform the hacks as Ethical Hacking — also known as Penetration Testing or White-Hat Hacking —involves the same Tools, Tricks and Techniques that Hackers use, but with one major difference: Ethical hacking is Legal. Ethical hacking is performed with the target’s permission. The intent of Ethical Hacking is to discover vulnerabilities from a Hacker’s viewpoint so systems can be better secured. Ethical Hacking is part of an overall As Hackers expand their knowledge, so should you. You must think like them to protect your systems from them. You, as the ethical Hacker, must know activities Hackers carry out and how to stop their efforts. You should know You don’t have to protect your systems from everything. You can’t. The only protection against everything is to unplug your computer systems and lock them away so no Go back |
30-01-2023, 16:55 |