Showing posts with label Learn Hacking. Show all posts
Showing posts with label Learn Hacking. Show all posts

Thursday, 30 August 2012

About TCP/IP/UDP Attacks

| 0 comments

Hello, Lets explain "TCP/IP & UDP Attacks", Most common and effective Web attacks...Lets Know abt its basic and types...

TCP/IP Attacks
1. TCP SYN or TCP ACK Flood Attack
2. TCP Sequence Number Attack
3. TCP/IP




UDP attacks :

1. ICMP Attacks
2. Smurf Attacks
3. ICMP Tunneling

TCP operates using synchronized connections. The synchronization is vulnerable to attack; this is probably the most common attack used today. The synchronization or handshake, process initiates a TCP connection. This handshake is particularly vulnerable to a DoS attack referred to as the TCP SYN Flood attack. The process is also susceptible to access and modification attacks, which are briefly explained in the following sections.

TCP SYN or TCP ACK Flood Attack - This attack is very common... The purpose of this attack is to deny service. The attack begins as a normal TCP connection: the client and the server exchange information in TCP packets. The TCP client continues to send ACK packets to the server, these ACK packets tells the server that a connection is requested. The server thus responds to the client with a ACK packet, the client is supposed to respond with another packet accepting the connection to establish the session. In this attack the client continually send and receives the ACK packets but it does not open the session. The server holds these sessions open, awaiting the final packet in the sequence. This cause the server to fill up the available connections and denies any requesting clients access.

TCP Sequence Number Attack - This is when the attacker takes control of one end of a TCP session. The goal of this attack is to kick the attacked end of the network
for the duration of the session. Only then will the attack be successful. Each time a TCP message is sent the client or the server generates a sequence number. The attacker intercepts and then responds with a sequence number similar to the one used in the original session. This attack can then hijack or disrupt a session. If a valid sequence number is guessed the attacker can place himself between the client and the server. The attacker gains the connection and the data from the legitimate system. The only defense of such an attack is to know that its occurring... There is little that can be done...

TCP Hijacking - This is also called active sniffing, it involves the attacker gaining access to a host in the network and logically disconnecting it from the network. The attacker then inserts another machine with the same IP address. This happens quickly and gives the attacker access to the session and to all the information on the original system.

UDP packets aren't connection oriented and don't require the synchronization process as with TCP. UDP packets, however, are susceptible to interception, thus it can be attacked. UDP, like TCP, doesn't check the validity of an IP address. The nature of this layer is to trust the layer above it (I'm referring to the IP layer). The most common UDP attacks involve UDP flooding. UDP flooding overloads services, networks, and servers. Large streams of UDP packets are focused at a target, causing UDP services on that host to shut down. It can also overload the network and cause a DoS situation to occur.

ICMP Attacks - This occur by triggering a response from the ICMP protocol when it responds to a seemingly legitimate request (think of it as echoing). Ping for instance, that uses the ICMP protocol. sPing is a good example of this type of attack, it overloads te server with more bytes than it can handle, larger connections. Its ping flood.

Smurf Attacks - This attack uses IP spoofing and broadcasting to send a ping to a group of hosts on a network. When a host is pinged it send back ICMP message traffic information indicating status to the originator. If a broadcast is sent to network, all hosts will answer back to the ping. The result is an overload of network and the target system. The only way to prevent this attack is to prohibit ICMP traffic on the router.

ICMP Tunneling - ICMP can contain data about timing and routes. A packet can be used to hold information that is different from the intended information. This allows an ICMP packet to be used as a communications channel between two systems. The channel can be used to send a Trojan horse or other malicious packet. The counter measure is to deny ICMP traffic on your network.

Warning : ICMP can be very dangerous..and Even,as i said ...Don't try such attack from your pc,untill you don't know that how to be invisible on net ! Beccause once you get traced out ...No one can help you from Troubles..

Read More

Wednesday, 29 August 2012

Protect Yourself - Using Proxis

| 0 comments

This section will go over using proxies, which mask your IP address when on the web. This is useful for doing things you don't want to be traced to your IP address, or if you just want to hide your IP address from a certain website.

What is a proxy?

Think of a proxy as a man in the middle for the internet. Normally when you open a website, your PC sends your IP address to the website, so that it may then send the webpage to your computer. With a proxy, your information is being sent to the proxy first, and then the proxy is pulling the website for you, then forwarding it to you. This way, on the websites end, they see the IP address of the proxy you used, and not yours.

Where to get a proxy?

Proxies are all over the web, a quick google search will pull up a bunch. Below are some websites you can use to find proxy servers. Note that you may have to try multiple proxies before finding a working one.

http://www.proxy-list.org
http://www.hidemyass.com

How to use a proxy?

This tutorial will go over setting up a proxy in internet explorer, but it should be very similar for other browsers as well.

  1. Find a proxy server you want to use. You will need the IP address and port of the server.
  2. In internet explorer, click on internet options
  3. Navigate to the connections tab and click on LAN settings
  4. Check Use a proxy server for your LAN and enter in the proxy servers IP address and port
  5. Click apply and you're done! Now when you navigate to a website, it will be through the proxy you entered. To stay 100% anon, make sure you use a proxy server that doesn't log IP addresses. These proxies will usually be advertised as being anonymous proxies.

Read More

Protect Yourself - Clear System Log

| 0 comments

The following steps will walk you through clearing the system logs on a windows computer. The windows system keeps a long of what programs you opened, hardware used, etc, along with time stamps, and a bunch of other information you might not want someone to see. This tutorial assumes you're using a Windows based PC.



1. Navigate to Control Panel
2. Click Administrative tools. In Windows 7, this is under System and Security in the control panel.
3. Double click and open Event Viewer
4. In the left pane, you will see all the different things that are logged. Expand these, right click, and choose Clear log for each log you wanted wiped.

Read More

Protect Yourself - Wi-Fi

| 0 comments

Another way your making all your accounts easily hacked, is by being connected to an insecure wifi, or connected to a wifi with an easily hacked password.



Use free public wifi at your own risk. Anyone connected to the same wifi as you with malicious intent can sniff the traffic over the network and have access to any account you log in to. Facebook, youtube, online banking... anything. Only access accounts you care about on wifi networks you trust.

DO NOT use WEP for your router security, use WPA or preferably WPA2. WEP keys are extremely easy to hack.

If your router has WPS enabled (wireless protected setup), DISABLE IT. An exploit allows WPS to be cracked pretty quickly allowing the attacker to figure out your WPA2 key.

If you think someone on your network may be trying to access your accounts, browse using HTTPS. Most popular websites support HTTPS (facebook, gmail, etc) and this prevents most network sniffing applications fail to retrieve your account info. You can use the HTTPS version of a website simply by replacing HTTP to HTTPS in the url. Example: https://facebook.com instead of http://facebook.com. Some hacks out there can redirect you from the secure HTTPS to HTTP, so if you're onsure of the network you're connected to, stay aware of the URL.

Don't buy things online while connected to a public network. Just don't do it.
Read More

Protect Yourself - Check For Viruses

| 0 comments
All of us know that virus is a malicious and harmful programs which are intended to do some harm to your system.

Therefor now, I'm going to tell you how to check a program for viruses before you run it. Do this with any new software you're unsure about.



1. Buy any good antivirus program, and update it on regular basis so that you get protection from latest harmful viruses 

2. If you don't want to spend money on any software don't worry just Upload the file or file URL to http://www.virustotal.com/

Look at the virustotal scan results. If anything suspicious shows up, delete the file and don't run it.

Simple enough, but most people don't bother to scan things, or have expired anti-virus. If you would like some high quality, free anti-virus software for Windows, I highly recommend Microsoft Security Essentials, and Quick Heal is the best antivirus program I ever had.
Read More

Protect Yourself - Password Security

| 0 comments
Fact : According to a research about 20% of all the passwords can be easily guessed. The  example of such bad passwords are 12345, qwerty, your name, your surname, your birth date etc.

So it is very easy for someone to guess your password and get access to your account, the persons who know you most can be easily get access to your account by guessing if you use such a bad passwords listed above, the persons include your friends who knows much about yourself.



The best way to prevent someone from getting your passwords, is to use a strong password. The best passwords are 8+ characters long, which must contain combination of capital and small letters also contains some numbers and you can also use some special characters.
Using special character string in a password is give you very high security because it is very difficult to guess such passwords, even for the bruitforsing software's.  What is Bruteforcing Software ? It is a program that tries every letter/number/symbol combination to guess your password. If you follow these tips for a stronger password, it will take years to bruteforce your password.

Security questions. The easiest way someone can gain access into your accounts, is to guess the answers to the security questions of your account. These are the questions you're asked when you first make an email account, like What was your first dogs name?, or Whats your first grade teachers name. Make sure the security questions you choose have answers that aren't easily guessable. If you have a security question that asks Where did you meet your spouse? this is a bad question to choose. Anyone who browses your Facebook or asks someone you know can get the answer to this. So make sure you choose questions NO ONE knows the answer to, or make the answers something only you would know.

Don't ever use the same passwords for all of your accounts. Make your e-mail password different from your Facebook password, and so on. If someone manages to get one of your passwords, they will have access to ALL your accounts if you use the same password.

Read More