Today I will explain you How to Prevent Yourself from Scanning.. and Tomorrow I will give you the Live demonstration of hacking and attacking a website with complete snapshots.
First of all you should know How to protect yourself from these attacks... Its really important that you should know the Counter measures of what you are doing... In case you will face the same problem yourself...:P
THESE ARE THE CERTAIN STEPS AND THINGS YOU SHOULD REMEMBER:
1. Use a Good Firewall to block all the illegal port activity. The Firewall blocks almost all unauthorized attempts by attackers except the following Ports i.e Firewall doesn't monitor port 80,8080,8181,3128,53.
Now You should Know Which Port Stands for What...
Port 80 is for servers(webservers).
Port 8080 is for HTTP clients.
Port 8181 is for HTTPS clients.
Port 3128 is a active port Needed for all Network processes.
Port 53 is for DNS.
Now If you Have a Good Firewall all illegal activity other than these ports can be blocked. Now the Only chance to being attacked is through 80,8080 and 8181. i.e through websites...When you open some malicious website containing malware scripts there are most chances of being attacked.
So from this you can guess What will be the Second point...Right..
2. Use a Good Web Shield Preferable AVG or any other Good Web shield. This will prevent you from attack through websites...
3. Third way to get attacked is through softwares.
As we all know most of us use Pirated Softwares and Download it from anywhere i.e where we find it and also we doesn't know the Uploaders...
This is the currently going practice Nowadays. Hackers upload softwares and attach a malicious softwares and hack tools with them like keyloggers, trojans, spywares etc.. with them. Now Here user Himself downloads the attacker files. SO there must be something to prevent from this attack. You can guess for what I am talking...
Ya Surely I am talking about Good Antivirus... I will recommend all to use AVIRA Antivirus and KASPERSKY. Its because of their interativeness.
4. Fourth Point And most Important One...Please Note Most Important One...
Note: It took only 50 sec to 1 minute to scan the system and 3 minutes to attack any system and damage it.
Why I am saying this Important its because no tool is made to detect these type of attacks...If you open this nothing can prevent you from attacked...
So prevention is better than Cure. Don't open them. For which I am talking.
I am talking about anonymous mails and spams in your Email ID's. Point to remember 3 out of 1 mail is a spam and 5 out of 1 contains a virus or attack script. Nowadays you will get emails like you have won 100000$ or something like these... these all mails are BOTNETS., these are viruses. they all are asking you about your personal Information and ask you to follow the Link..
You all have noticed that when you click the link it shows Redirecting ...around 30 sec ..and then just show you are not eligible for this or this offer is not available in you country... Between the time when they say redirectingggg... they are scanning your system.....and if they find something on you system they attack your system and get access to it...
Sooooooo, DON'T open the mails that come from some anonymous source...
This is all about Scanning Part .. I think you all will like this..
If you have any queries ask me.. I will reply soon.
As we have covered almost all topics of scanning this is the last topic that come under scanning....
First of all ..
WHAT IS IP SPOOFING??
Ip spoofing is basically encrypting your Ip address so that it appears something else to attacker or victim i.e it is the virtual Ip address..
~ IP Spoofing is when an attacker changes his IP address so that he appears to be someone else.
~ When the victim replies back to the address, it goes back to the spoofed address and not to the attacker’s real address.
~ You will not be able to complete the three-way handshake and open a successful TCP connection by spoofing an IP address.
You Will Better Understand It With SNAPSHOT..
HOW TO DETECT IP SPOOFING ??
When an attacker is spoofing packets, he is usually at a different location than the address being spoofed
Attacker's TTL(Time to Live i.e Time for which IP is allocated for use) will be different from the spoofed address' real TTL. If you check the received packet’s TTL with spoofed one, you will see TTL doesn't match.
These things are blocked in latest versions of Windows i.e after SP3. Firewall will itself block any spoofing attacks...
This Is all about the IP spoofing and Scanning Part.
The Next Two Parts of upcoming class:
1. How to Protect Yourself From Scanning .
2. How to Hack Websites Using things that We Studied until Now . A little SQL injection tutorial is also required for that. We will try to cover it as quick as Possible..
If you have any doubts about Ip spoofing you can ask..
First of all Guys You Must Know What is Cyberoam and What Idea it uses to block the user.
What is Cyberoam :
Cyberoam is Identity-based unified threat management appliances, offer comprehensive threat protection with firewall-VPN, anti-virus, anti-spam, intrusion prevention system, content filtering in addition to bandwidth management and multiple link load balancing and gateway failover.Identity-based controls and visibility are critical components of network security. With identity and network data combined, enterprises are able to identify patterns of behavior by specific users or groups that can signify misuse, unauthorized intrusions, or malicious attacks from inside or outside the enterprise. Activities and security policy rules can be enforced on network segments based on identity.
THINGS THAT WE NEED TO HACK CYBEROAM??
1.FootPrint IP . (Our Ip that is being footprinted or traced by any website that we visit. In short NAT outside local IP).
2. An Open PORT generally its 3128. (3128 port is active port which is always open If your computer has Network assessiblity.)
3. Proxifer and Its Settings. (any Version after 2.17).
Now that's the only things that we need If we want to hack or bypass the cyberoam Client. Now Detailed Hack Is below...
HACKING CYBEROAM (DETAILED HACK)
1. First of all We need to get the FootPrint IP . Simple Method to Get FootPrint IP.
2. Open Your Mozilla Firefox Web Browser And type the Following Site.
3. When you Open the Site you will see something like this:
Click On I understand the risk (THIS IS TO ACCEPT SSL CERTIFICATE)
Click on Add Exception
CLICK ON CONFIRM SECURITY CERTIFICATE.
4. Now Guys We have Got the Footprint IP. Next thing is that We Neeed PORT for Accessing It.
USE PORT 3128 as Its open by default on system which have aceess to Internet.
5. NOW DOWNLOAD THE FOLLOWING SOFTWARE (PROXIFIER)
6. Its a Portable version of Proxifier . So need Not To Install. Just Click on It And Extract Anywhere you want. I prefer In Pen Drive.
7. After that You will Get Some Files LIKE THIS and CLICK ON PROXIFER TO RUN IT.
8. Now see the Task Bar. You will See something Like This. Clcik on that.
9. CLICK ON OPTIONS AND THEN ON ROXY SETTINGS.
10. NOW TO THE FOLLOWING SETTINGS AS SHOWN:
11. Now do the Settings as Shown Below. and Click Ok.
12. Now CLICK OK . AND OPEN THE WEBSITE YOU WANT:
NOW THATS ALL OVER THE FULL TUTORIAL. HOPE YOU WILL ENJOY IT ..
ALL QUESTIONS ARE WELCOMED.. IF YOU HAVE ANY QUERY ASK ME I WILL HELP YOU.
SPECIAL SETTINGS FOR AMU STUDENTS :
HEY FRENS THIS FOR YOU :
YOU NEED NOT TO FIND FOOTPRINT IP I HAVE ALREADY DONE FOR YOU.
IN the Proxy setting Enter the Following:
Address : 184.108.40.206 Port :3128
And select HTTPS PROTOCOL. And then CLICK on OK...
AND THEN OPEN ANY WEBSITE YOU WANT...
DON'T FORGET TO SAY THANKS !
Tool to Bypass Government Censor : Psiphon Tool
~Psiphonis a censorship circumvention solution that allows users to access blocked sites in countries where the Internet is censored.
~Psiphonturns a regular home computer into a personal, encrypted server capable of retrieving and displaying web pages anywhere .
~Psiphonacts as a "web proxy" for authenticated psiphonites, retrieving requested web pages and displaying them in a user's browser.
~Psiphonuses a secure, encrypted connection to receive web requests from the psiphoniteto the psiphonode who then transports the results back to the psiphonite.
For More Details About Tool Visit:
How To Bypass Google Tracing and What's the Need??
First I will tell you the Need . Everything that We searches over the Net i.e through google , Google makes a log of us ... Log contains 4 basic fields :
1. IP address
2. Search Query
3. ISP from which search is made
4. Time ,date,year etc..
Now If you do anything that doesn't pass google censorship then you will surely going to suffer.
TOOL TO BYPASS GOOGLE TRACING : G-Zapper
SAMPLE LOOK UP OF YOUR SEARCHES:
Sorry Guys Currently my version of this software has expired so you have to work with trial..
We Will Continue Discussion in evening...
If you have any Queries Ask me..
NOTE : STRICTLY FOR EDUCATIONAL PURPOSES.. I AND ISOFTDL IS NOT RESPONSIBLE FOR ANY ILLEGAL ACTIVITY AND MISUSE...
Hey guys as I have Already Mentioned above this is only for educational purpose so don't misuse it. I and Isoftdl is not responsible for any malpractice... Now you all thinking why I am saying this.. Itz pity simple because Its the most dangerous part i.e Hiding your identity from being traced by anyone i.e government,ISP,Raw...everything... So Read On...
Let's have a Breif Look up of Topics That we Cover Here:
1. Proxies and Anonymous Web Browsers
3. Tools to bypass Government Censorship :P
4. Tools to Bypass Google Tracing :P
5. HTTP Tunneling for Windows
6. IP spoofing :P
Today we Will Cover First two Topics...
FIRST OF ALL ..
WHAT IS PROXY AND HOW IT WORKS???
Proxy is a network computer that can serve as an intermediate for connection with other computers .
They are usually used for the following purposes:
• As a firewall, a proxy protects thelocal network from outside access.
• As an IP addresses multiplexer, a proxy allows the connection of a number of computers to the Internet
when having only one IP address.
• Proxy servers can be used (to some extent) to anonymize web surfing.
• Specialized proxy servers can filter out unwanted content, such as ads or 'unsuitable' material.
• Proxy servers can afford some protection against hacking attacks. (For Our Purpose)
HOW AND WHY TO GET FREE PROXY SERVERS ??
~ Attacks using thousands of proxy servers around the world are difficult to trace.
~ Thousands of free proxy servers are available on the Internet .
~ Search for “free proxy servers” in Google .
~ Using proxy servers can mask your trace .
I will recommend two sites for getting the Free Proxy servers. As these sites Daily provides Fresh anonymous Proxies...
1. http://www.tech-faq.com/proxy.shtml (provides almost all type of Proxies)
2. http://proxy.org/ (check the Right Hand Side For Proxies)
BELOW SNAP SHOWING HOW PROXIES USED TO ATTACK..
ANONYMOUS WEB BROWSERS
Anonymous Web Browsers have inbuilt proxy finders they search for proxies by default and make our surfing anonymous...
TWO BEST ANONYMOUS WEB BROWSERS ARE:
1. Invisible Browsing v7.0
2. BrowZar 2.0
You can also find more by googling it but these two are just Best.. :P
Anonymizers are services that help to make web surfing anonymous. The first anonymizer developed was Anonymizer.com, created in 1997 by Lance Cottrel.
An anonymizer removes all the identifying information from a user’s computers while the user surfs the Internet, thereby ensuring the privacy of the user.
Why Use Anonymizer?
• Example: Google.com keeps track of all your web searches on their servers by placing a cookie on your machine.
• Every single search you entered at Google is logged.
SEVERAL ANONYMIZER TOOLS ARE:
1. Hide Platinum IP
2. Hide My IP
3.Hide My Ip Address
Note: I am not providing the Below Three Because Almost 99% of their cracked version contains viruses and Spywares which can cause damage to your system...
The Rest Four Topics About Hiding Our Traces We will discuss Tomorrow..
Hope that You all have Like This...
IF you have Any Queries ASK in FORM OF COMMENTS !
Now We move further in scanning phase and now we will scan the systems for vulnerabilities i.e finding the weakness in security ,OS,database and so on..
What is Vulnerability???
As I have Told in First class that Vulnerability is weakness in the network,system,database etc... We can call vulnerability as the Loophole i.e through which victim can be attacked.. We first analyze the loophole and then try to use it to best to Hack the System of victim or oraganisation or website...
TOOL THAT WE USE FOR VULNERABILITY SCANNING ARE :
~ NASL (Nessus Attack Scripting Language)
~ Can test unlimited number of hosts simultaneously
~ Smart service recognition
~ Client-server architecture
~ Smart plug-ins
~ Up-to-date security vulnerability database
DOWNLOAD NESSUS :
~ Retina network security scanner is a network vulnerability assessment scanner.
~ It can scan every machine on the target network, including a variety of operating system platforms, networking devices, databases, and third party or custom applications.
~ It has the most comprehensive and up-to-date vulnerability database and scanning technology.
Now After Scanning the Systems for Vulnerabilites .. We will Now Going to attack the Systems but before this we should know the Risk . This risk can be reduced to great extent by using Proxies.. In Next Class We will Discuss what are Proxies and How they work and how they are going to Help us and some undetectable and untraceable Proxy servers...
So wait For Next Class.... And Keep Learning...
If you Have Any Queries You can Ask In form Of Comments!
Now we Discuss some internal and advanced scanning Methods..
First of Which is OS Fingerprinting...
What is OS Fingerprinting ??
OS fingerprinting is the method to determine the operating system that is running on the target system.
The two different types of fingerprinting are:
• Active stack fingerprinting
• Passive fingerprinting
Active Stack FingerPrinting:
Based on the fact that OS vendors implement the TCP stack differently.Specially crafted packets are sent to remote OSs and response is noted. The responses are then compared with a database to determine the OS.
Passive banner grabbing refers to indirectly scanning a system to reveal its server’s operating system.
It is also based on the differential implantation of the stack and the various ways an OS responds to it.
It uses sniffing techniques instead of the scanning techniques. It is less accurate than active fingerprinting.
TOOL USED FOR OS FINGERPRINTING :p0f Os Fingerprinting Tool
P0f v2 is a versatile passive OS fingerprinting tool. P0f can identify the operating system on:
- machines that connect to your box (SYN mode),
- machines you connect to (SYN+ACK mode),
- machine you cannot connect to (RST+ mode),
- machines whose communications you can observe.
P0f can also do many other tricks, and can detect or measure the following:
- firewall presence, NAT use (useful for policy enforcement),
- existence of a load balancer setup,
- the distance to the remote system and its uptime,
- other guy’s network hookup (DSL, OC3, avian carriers) and his ISP.
We will continue class on scanning in the evening...Today I will explain more about scanning.. So wait for Next article...
If You Have Any Queries ask Me ... I will Help You
In Scanning Part We Will Cover the Following Topics in details :
~ Definition of scanning
~ Types and objectives of Scanning
~ Understanding Scanning methodology
~ Checking live systems and open ports
~ Understanding scanning techniques
~ Different tools present to perform Scanning
~ Understanding banner grabbing and OS fingerprinting
~ Drawing network diagrams of vulnerable hosts
~ Preparing proxies
~ Understanding anonymizers
~ Scanning countermeasures
What Is Scanning ?? And Why We Focus On that ?
Scanning as from the name means that we will scan something to find some details etc etc... Scanning basically refers to the gathering of following four informations...
We Scan systems for four basic purposes :-
- To find specific IP address
- Operating system
- System Architecture
- Services Running on system
The various types of scanning are as follows:
I want to Define These Terms here Only as they are of great use in further tutorial...
PORT SCANNING : There are 64k ports in a computer out of which 1k are fixed for system or OS services. In Port scanning we scan for the open Ports which can be used to attack the victim computer.
In Port scanning a series of messages sent to break into a computer to learn about the computer’s network services. Through this we will know that which port we will use to attack the victim..
Network Scanning : Network scanning is basically a procedure of finding the active hosts on the Network.
i.e We tries to find that system is standalone or multiuser...
This is done either for the purpose of attacking them or for network security assessment i.e how secured the network Is ??
Vulnerability Scanning : As from the name , In this type of scanning We scan the systems for finding the vulnerability i.e the weakness in OS/database ... Once we find the vulnerability or loop hole we can utilize it to Best..and attack the victim through that ...
OBJECTIVES OF SCANNING
These are Primary objectives of scanning i.e why do we do scanning :
~ To detect the live systems running on the network.
~ To discover which ports are active/running.
~ To discover the operating system running on the target system (fingerprinting).
~ To discover the services running on the target system.
~ To discover the IP address of the target system.
We will prefer TOOLS for this because they will reduce our Hectic Work... The first Tool that we Use is the NMAP :
Features of NMAP :
~ Nmap is used to carry out port scanning, OS detection, version detection, ping sweep, and many other techniques.
~ It scans a large number of machines at one time.
~ It is supported by many operating systems.
~ It can carry out all types of port scanning techniques.
SECOND TOOL IS NET TOOLS 5.0.70 :
Itz is a collection of various Networking Tools ... must for beginners...
~ Net Tools Suite Pack is a collection of scanning tools.
~ This toolset contains tons of port scanners, flooders, web rippers, and mass e-mailers.
Note: Some of these tools may not Work but some are too good.
I thisnk that's Enough for Today .We will discuss more on scanning tomorrow Until You try these tools..
If you have any problem in Using these tools then you can ask me ..I will help you use these tools...
ENJOY AND HAVE FUN ! IF YOU HAVE ANY QUERIES ASK ME IN FORM OF COMMENTS !
Today i will continue With Footprinting and take you to some more deep level... And then tell you how to make Blueprints from them.. So read on....
UNEARTHING BASIC INFORMATION
First of all We will focus on Unearthing the Basic Information about the site... i.e the IP and server informations..
I will Show you with the help on snapshots :
First go to START --> RUN --->type cmd--->then type tracert www.websitename.com
Here we will use two basic commands in command Prompt(cmd): tracert www.webistetobeanlysed.com
and ping www.websitename.com
It will look something like this:
Here I explain what it shows...
We trace routed www.amulive.com
1. Shows Our Gateway of connectivity.
2. Shows our Outgoing Footprint Ip(i.e the our IP that is being analyzed by website)
3. Shows Connectivity passes through which service Provider. I uses BSNL but its showing airtel because I prefer DNS of Airtel for surfing Quick).
Next steps showing the Ip's of Webservers through which amulive is being maintained.
After This We will came to now the IP of the Website and Ip of itz web servers which are being used further.
website Ip can be used to gather more information about the website..
How to Find The Personal Information About the Individual Over Net ??
Its one of the Most important task. Its also helpful in finding the fake profiles... But unfortuantely this is limited But we can use it to the Most... There are two website which will help us...
1. http://people.yahoo.com ( best Site To trace People for their Personal Information and also reverse Phone or mobile number Look up)
2. http://www.intellius.com ( But this site is limited to US only)
Sample Report from Intellius :
Now Using these Sites you will be able to collect the personal information of the individuals and also being able to identify the fake profiles..
TOOLS NEEDED FOR FOOTPRINTING :
You can avoid above hectic work by using this tool : SpiderFoot
Download link: http://www.binarypool.com/spiderfoot/
Information about SpiderFoot:
SpiderFoot is a free, open-source, domain footprinting tool. Given one or multiple domain names (and when I say domains, I'm referring to the DNS kind, not Windows domains), it will scrape the websites on that domain, as well as search Google, Netcraft, Whois and DNS to build up information like:
- Web server versions
- Users (i.e. /~user)
- Similar domains
- Email addresses
ADDITIONAL FOOTPRINTING TOOLS :
Note all these tools are freewares .. U can easily google then and download these..
~ Neo Trace
~ VisualRoute Trace
~ Website watcher
~ Google Earth
~ GEO Spider
~ HTTrack Web Copier
~ E-mail Spider
This is all about Footprinting . Now Use the Gathered information to make basic Detailed Information about the Website/person...
I thinks This is Enough for Today. Please Comment . If you have any queries Post them in form of comments.
What Is FOOTPRINTING ??
Basically footprint is the blueprints of site/organisation/system that a hacker want to Hack i.e basic internal structure.Footprinting is the blueprint of the security profile of an organization, undertaken in a methodological
Footprinting is one of the three pre-attack phases. The others are scanning and enumeration.
Important Thing to be Noted : An attacker will spend 90% of the time in profiling an organization and another 10% in launching the attack.
Now What is the result of Footprinting??? Can anyone guess It.... I explain it..
Footprinting results in a unique organization profile with respect to networks (Internet/intranet/extranet /wireless) and systems involved.Don't It look amazing...
The most interesting stage of a targeted attack is the reconnaissance, or footprint analysis. Here you use the web, search engines, whois.com, to discover as much about the target as possible. A whois.com can tell you email address formats for instance (first letter last name @ company.com).
A Google search could reveal submission to forums by security personnel that reveal brands of firewall or antivirus in use at the target.
Sometimes network diagrams are even found that can guide an attack. The next stage, scanning, meant using special tools, ( I date myself by mentioning Cybercop and Internet Security Scanner, these were the days before the open source Nessus) to discover open ports, services, and machines on the target network. And then, finally, you could start attacking various vulnerabilities that you had discovered.
SITES THAT HELP IN FOOTPRINTING!
Now How It can Help You To GET Info . I will Show It Through Snapshots...
2. Now you can use this information to search more about Person using Simply google as shown in next snapshot..
Now Its on you need How much info u want to explore about the person and website which u want to hack...
I think you all Will Like Thisss.... WE will continue Our Discussion on FOOTPRINTING tomorrow also... As It is the Most Important Phase.....
We will Explore More Information in the Next class.... I will explain Few More interesting facts and information exploring things so read on...
I think this Deserves For Comments...Comments Please!
First of all I will try Explain what the Hacking really is....
What Is Hacking??
Everyone Here thinks that hacking is just stealing of data and information illegally but this perception is absolutely wrong.
The below is definition from Wikipedia.... Itz clearly showing hacking as a negative thing...
"Hacking is unauthorized use of computer and network resources. (The term "hacker" originally meant a very gifted programmer. In recent years though, with easier access to multiple systems, it now has negative implications.)"
Hacking is not always unauthorized... Hacking also include Exploring the Things that are being Hidden from the general usage... So exploring things i.e being Hidden from general User is also hacking...
Hacking Definition by Me...
" Hacking is art of exploring the hidden things that are being hidden from general usage and finding loop holes in the security and use them to benefit the others"
WHO ARE HACKERS ??
Everybody here thinks thats hackers are criminals of the virtual world (i.e digital World ). But this thought is also wrong. Hackers are not always criminals.. It doesn't have any doubt that Hackers are extremely genious peoples in the field of Computers...
I want to Categorize hackers in three Categories:
1. Crackers or Black Hat hackers or cheaters or simply criminals : They are called criminals because they are having the mindset of causing harm to security and they steals very useful data and use it in wrong ways. Phishers also some in this category who steals account info and steal your credit card nos. and money over the Net.
2. Ethical hackers : Ethical Hacking Means you think like Hackers. i.e First you Hack the Systems and find out the loop holes and then try to correct those Loop Holes..These type of hackers protect the cyberworld from every possible threat and fixes the future coming security loop holes. These peoples are also called as "GURU's" of Computer Security.
3. Simply Prankers : The hackers who just do hacking for fun...play pranks to their friends..
INTRODUCTION TO SIMPLE TERMS RELATED TO HACKING !
Threat –An action or event that might compromise security. A threat is a potential violation of
Vulnerability –Existence of a weakness, design, or implementation error that can lead to an unexpected, undesirable event compromising the security of the system.
Exploit –A defined way to breach the security of an system through vulnerability. i.e Use the vulnerability to damage the database or system.
Attack –An assault on system security that derives from an intelligent threat. An attack is any action that violates security.
Target of Evaluation –An IT system, product, or component that is identified/subjected as requiring security evaluation.
Security – A state of well-being of information and infrastructures in which the possibility of successful yet undetected theft, tampering, and disruption of information and services is kept low or tolerable.
Security rests on confidentiality, authenticity, integrity, and availability.
•Confidentiality –The concealment of information or resources.
•Authenticity –The identification and assurance of the origin of information.
•Integrity –The trustworthiness of data or resources in terms of preventing improper and unauthorized changes.
•Availability –The ability to use the information or resource desired.
INTRODUCTION TO TOPICS THAT WE COVER IN THESE CLASSES !
- Introduction to Ethical hacking
- Hacking Systems and OS
- Trojans and backdoors
- Sniffers and DDOS(Denial of Service)
- Social Enginnering
- Hacking Websites
- Hacking Web applcations and Softwares
- Password Hacking and Cracking
- Phising and fake pages
- SQL Injection
- Hacking Wireless (wifi's)
- virus and worms
- Creating Viruses and trojan and Making them undetectable
- Exploit Writing and virus source codes of very famous viruses
- Hacking Webservers
- ...... And Much more... List is endless...
I think You all would have like this and want to see more.. I will regularly post material.
I think this deserves Comments and facts that Users want's to ask about Hacking...
So Don't hesitate and ask your queries . I am there to reply them all...
Have Fun and Keep Learning.... As Hacking is the art of expertising Computers...