Monday, 4 April 2011

Securing Wi-fi Networks

WHAT IS WI-FI ?


Wi-Fi is the name given to man’s quest for wireless networking. Even though wireless communications were possible in the past also, thanks to GSM, CDMA, Infrared, Bluetooth etc, the paltry data rates provided by these standards were hardly enough to sustain networks. 

Wi-Fi stands for Wireless Fidelity. It ensures mobility and yet retains the data rate which is comparable to wired networks. It is the name given to the set of standards belonging to the 802.11 category instituted by the Institute of Electrical and Electronic Engineers (IEEE). It basically comprises of the following standards:

Standard Frequency Speed

1. 802.11a 5 GHz 54 Mbps

2. 802.11b 2.4 GHz 11 Mbps

3. 802.11g 2.4 GHz 11 Mbps

THE NEED FOR WI-FI SECURITY:

In a wired network the system can be hacked into only through a system attached to a network. Data interception, data alteration and intrusion are possible only when the hacker can access a node attached to the network in some manner. 

But Wi-Fi works on wireless technology. This means that any machine with a wireless network adapter can gain entry into a wireless network. Devices that allow scanning of wireless access points are available cheap (compared to the amount of data they can possibly allow access to) in the market. This further simplifies the job of a potential hacker who can use it to track users. All a hacker needs to do is to be in the range of a wireless network. Then he can simply intercept the signal (sniffing), manipulate it and get access into the network (spoofing). For example a business man transferring his money to an account while sitting in a Wi-Fi enabled Mc Donald’s can easily be cyber looted by a hacker sitting in the opposite end of the restaurant if he has a wireless adapter and the tools needed to intercept and modify the signals. The recently occurred Lowe’s case in North Carolina is proof enough that Wi-Fi is certainly not so safe for transferring sensitive data like credit card numbers, company plans or the personal health records of a company’s employees. This is reason enough for users to secure their networks in all possible ways.

THE METHODS FOR SECURING WI-FI:

SSID: Service Set Identifier is a 32 character unique identifier attached to the header of the packet transferred over the wireless connection. It distinguishes one network from another. All Access Points belonging to the same network have a common SSID. It is like a school scenario where the students of a particular class are identified by their class name.
The SSID is also called the Network Name.
When a new Access Point is installed the default SSID value should be changed and should be assigned a network key. This serves as a basic means of security and privacy.

WEP:
Wired Equivalent Protocol was proposed by the IEEE to bring the level of security enjoyed by wired networks to wireless networks. WEP uses secret encrypted keys to alter the data bits passing in a wireless network. This ensures (or at least used to) that even if the data is sniffed, without the key, it will be rendered useless. This key is made available only to the source and destination parties. It is more like a symmetric cryptography scheme.
The encryption can be 64 bit, 128 bit or 256 bit. Till recently 64 bit was safe enough but with rumours that a crack for this key has been found, it is advisable to use 128 bit or 256 bit encryption. Another way to keep data secure while using WEP is to frequently change the key. A downfall to this is that it is susceptible to man in the middle attacks (the key can be stolen while it is being exchanged).

ACL:
Access Control List is a table of the MAC addresses of all access points in the network. The MAC (Media Access Control) address is a unique address assigned to each wireless device. The ACL ensures that only those MAC addresses which are present in the list are allowed to enter the network. The downfall to this is that the MAC addresses can be stolen and spoofed.

IEEE 802.1x:
This is basically a method of security based on the principle of network restriction through user restriction.
This standard recommends the use of a Remote Authentication Dial In User Service (RADIUS) server. This is used along with two data communication protocols viz. Extensible Authentication Protocol (EAP) and Transport Layer Security (TLS).
The RADIUS server requires the user to login with a user name and password and also answer an encryption key question. The request is then constructed and wrapped in a specific manner based on the EAP/TLS standards. TLS prevents sniffing and tampering of the communication channel and also prevents message forgery. This is brought about by the use of a trust relationship between the source and destination by means of a certificate of validity. This is provided by a trusted third party certifying authority. An extension to this is called the Tunneled Transport Layer Security (TTLS)
FIPS 140: Federal Information Protection Standard 1.40 is a higher level security. It provides data encryption of different types like Advanced Encryption Standard (AES) or Triple Data Encryption Standard (3DES). Since the level of encryption provided by these standards is almost impossible to crack, as of now this is the best method of security available.

SUMMARY:

Securing wireless networks can seem to be a complicated process. Many times users are just too ignorant about the aspect of security. They think “Why would anyone hack me? That is really a silly question because a hacker doesn’t need motivation to hack; all he needs is a chance. Some users even if concerned about security find implementing it confusing. At such times it is advised to take the help of manuals on the same or better yet get professional help. It is a small price to pay for keeping your data and privacy safe.

And last but not the least; ensure to follow the three tier step of networking:
1. Plan 

2. Implement 
3. Test
This basically means that plan before setting up your network. Be clear with your network. Understand why you want to network. Then get a tailored security package according to your network. Use different methods together to attain the desired level of security. Plan a security policy and make sure to enforce it.
Implement your network along with the security package and security policy. Make sure all users adhere to the policy.
Test your network. Once you finish setting up your network check for unknown access points. Try to sniff your own signals. See if your network can be compromised in any way. Watch out for suspicious activity in the range of your network. If you feel that your network is still weak in some manner then plan again, improve the measures, implement the new packages and again test it. This should be a continued cycle. 

6 ways how to prevent Gmail from hacker or phisher

What is a phisher ?
Phishing is the best working method of hacking email account. The advantage of phishing in email account hacking is that victim is not able to recognise the fake page (phisher) as this phisher matches with the original page(depends on hacker skills).


So, here i have mentioned few tips which you should follow to prevent hacking of your email account by hackers. So lets start:

1. Fishing filter:


I will recommend use of browser which has phishing filter. Internet browsers like Firefox 3.0(my favorite), Internet Explorer 7, Opera 7x which contain phishing filter should be used for safe browsing.

2. Do not provide sensitive information :


Yes, this is the main thing you have to remember. Unless and until, you know the person or institute, do not give your sensitive information like userids , passwords, bank account numbers as a reply to any email. In fact, 90% emails demanding such information are meant for hacking..remember !

3. Suspicious Filters :


Check whether there are any suspicious filters not created by you. For checking ur email filters, go to Settings->Filters. If you find any such suspicious filter not created by you, delete it urgently.

4. Great offers, ads, winners :


Generally, Gmail users are deceived by emails which contain great offers, ads or declaring that u are lucky winner and you should provide listed query information to receive your cash prize. Never click or provide any information for such claiming emails.

5. Disable Forwarding and POP/IMAP :


To disable forwarding and POP/IMAP, go to Settings-> Forwarding and POP/IMAP and disable forwarding and POP/IMAP.

6. The most important :


The most important precaution which one must follow is "do not click on the link" provided in the email without knowing to which page the link will take you.I have added my personal experience of phishing and the method to determine the link target, where i received a paypal phisher, in my article Paypal phisher to hack Paypal account. One more thing, always open link given in email by typing address of site in new tab/window.

Thus, if you will follow these guidelines, i bet ur Gmail account will never be hacked by a phisher. Just remember the guidelines and prevent Gmail account from being hacked by hackers.

Enjoy ..... 

Sunday, 3 April 2011

Running a Locked cmd.exe system32

First Way



  • Open up 'Notepad' or a similar text editor.
  • Type in "start" with no quotations.
  • Save it as a .bat file. i.e. fakecmd.exe
  • Double-click it to run.  
That's the easiest way, but not always guaranteed to work. Here's a better way that will work.

Second Way

  • Open up your text editor.
  • Put the following:
@echo off
  command
  comand.com
  pause
  • Save it as a .bat file
  • Double-click it, and voila!


how to lock Folders

This will be a lock and key method. Where locked the folder will become a Control Panel shortcut. This makes it impossible get in the folder without the key which will revert it back to normal. Ok now to the CODE.(Save as .bat in Notepad)


Lock.bat:


ren Fonts Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D}


Key.bat: 




ren Fonts.{21EC2020-3AEA-1069-A2DD-08002B30309D} Fonts


For best unlocking temporarily place the .bat file in the same place as the locked folder and click. 

Friday, 1 April 2011

search engines SEO


So much information is on the web, its mind boggling. Thankfully we have search
engines to sift through them and catagorize them for us. Unfortunatly, there is still so
much info that even with these search engines, its often a painstakingly slow process
to find exactly what you're looking for.

Lets get right into it.

I use google.com as my primary search engine because it presently tops the charts as far as
the sites that it indexes which means more pertinent info per search.

1. Page translation.
Just because someone speaks another language doesn't mean they dont have anything useful to say. I use translation tools like the ones found at

http://babelfish.altavista.com
and

http://world.altavista.com
to translate a few key words I am searching for. Be specific and creative because these tools arent the most accurate things on the planet.

2. Directories.
These days everything is about $$$. We have to deal/w SEO (search engine optimization) which seems like a good idea on paper until you do a search for toys and get 5 pornsites in the first 10 results. Using a sites directory will eliminate that. You can narrow your search down easily by looking for the info in specific catagories. (PS google DOES have directories, they're at: directory.google.com)

3. Here are some tips that google refers to as "advanced"

A. "xxxx" / will look for the exact phrase. (google isnt case sensitive)
B. -x / will search for something excluding a certain term
C. filetype:xxx / searches for a particular file extention (exe, mp3, etc)
D. -filetype:xxx / excludes a particular file extention
E. allinurl:x / term in the url
F. allintext:x / terms in the text of the page
G. allintitle:x / terms in the html title of that page
H. allinanchor:x / terms in the links

4. OR
Self explanatory, one or the other... (ie: binder OR joiner)

5. ~X
Synonyms/similar terms (in case you can't think of any yourself)

6. Numbers in a range.
Lets say you're looking for an mp3 player but only want to spend up to $90. Why swim through all the others? MP3 player $0..$90 The 2 periods will set a numeric range to search between. This also works with dates, weights, etc

7. +
Ever type in a search and see something like this:
"The following words are very common and were not included in your search:"
Well, what if those common words are important in your search? You can force google to search through even the common terms by putting a + in front of the denied word.

8. Preferences
It amazes me when I use other peoples PCs that they dont have their google search preferences saved. When you use google as much as I do, who can afford to not have preferences? They're located on the right of the search box, and have several options, though I only find 2 applicable for myself...
A. Open results in new browser
B. Display 10-100 results per page. (I currently use 50 per page, but thats a resolution preference, and 5X's the default)

9. *
Wildcard searches. Great when applied to a previously mentioned method. If you only know the name of a prog, or are looking for ALL of a particular file (ie. you're DLing tunes) something like *.mp3 would list every mp3.

10. Ever see this?
"In order to show you the most relevant results, we have omitted some entries very similar to the X already displayed. If you like, you can repeat the search with the omitted results included." The answer is YES. yes yes yes. Did I mention yes? I meant to.

11. Search EVERYWHERE
Use the engine to its fullest. If you dont find your answer in the web section, try the group section. Hell, try a whole different search engine. Dont limit yourself, because sometimes engines seem to intentionally leave results out.
ex. use google, yahoo, and altavista. search the same terms... pretty close, right? Now search for disney death. Funny, altavista has plenty of disney, but no death...hmmm.

If you've read this far into this tutorial without saying, "Great, a guy that copied a few google help pages and thinks its useful info" then I will show you WHY (besides accuracy, speed, and consistancy finding info on ANYTHING) its nice to know how a search engine works. You combine it/w your knowledge of other protocol.

Example:
Want free music? Free games? Free software? Free movies? God bless FTP! Try this search:
intitle:"Index of music" "rolling stones" mp3
Substitute rolling stones/w your favorite band. No? Try the song name, or another file format. Play with it. Assuming SOMEONE made an FTP and uploaded it, you'll find it.

For example....I wanted to find some Sepultura. If you never heard them before, they're a Brazilian heavy metal band that kicks ass. I started with this:
intitle:"Index of music" "Sepultura" mp3 <-- nothing
intitle:"Index of música" "Sepultura" mp3 <-- nothing
intitle:"Index of musica" "Sepultura" mp3 <-- not good enough
intitle:"Index of music" "Sepultura" * <-- found great stuff, but not enough Sepultura

At this point it occurs to me that I may be missing something, so I try:
intitle:"index of *" "sepultura" mp3 <-- BANG!
(and thats without searching for spelling errors)
Also try inurl:ftp

I find that * works better for me than trying to guess other peoples mis-spellings.

The same method applies for ebooks, games, movies, SW, anything that may be on an FTP site.




Ps. I've said it before, I'll say it again... BE CREATIVE.
You'll be surprised what you can find.