Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I have setup WiFi Direct connection between two Android devices by using Wi-Fi Protected Setup (WPS) "push button" for authentication.I also want to secure the connection itself by securing the data transmission between any two peers.

Edit: The WiFi Direct standard says to support WPA2 ciphering, but I'm not sure how it works (there is no way to configure the passphrase of it), and if it works at all.

One way of doing this could be to make some cipher key that the two peers shares and encrypt all the traffic coming out of specific port that I'm using.

Can you suggest some other method to make the connection secure?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

There are several methods, which depend on where you want to use it for.

You should use WPA2 (with a pass-phrase), which is the standard for wireless network security. According to Wikipedia WPS generates the passphrase from the 8 digit PIN code and is vurnable to brute-force.

It is also possible to have security at application level. For various types of traffic, you can use an SSL layer. SSL is most commonly used in https.

share|improve this answer

The simple answer is do not use WPS as it is vulnerable to the reaver attack.

This greatly reduces the amount of time needed to bruteforce your passpharse.

share|improve this answer
    
The WPS method is the one with a "push button" and not passphrase, which make the vulnerability that found in 2011 irrelevant. But I'm not asking about the authentication security, I'm asking about the communication data that the peers send after the authentication already done. –  Bush Jan 1 '13 at 14:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.