Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5Ghz Testing Issues #33

Closed
D3adP3nguin opened this issue Aug 11, 2021 · 6 comments
Closed

5Ghz Testing Issues #33

D3adP3nguin opened this issue Aug 11, 2021 · 6 comments

Comments

@D3adP3nguin
Copy link

Previously I have been using a AWUS036NHA and I wanted to switch to testing 5Ghz channels so I got a AWUS036ACM. The provided ubuntu os was able to detect my device and I was able to set it into monitor. mode. However when trying to run a simple command such as ./fragattack.py wlan0mon pin I get the following error:

Unable to connect to control interface. Did hostap/wpasupplicant start properly?
Try recompiling then using ./build.sh and doucle-check client.conf and hostapd.conf

Now I have been doing these tests for a while so Im very confident in my setup however just when swapping the cards from the NHA to the ACM this error occurs. Any thoughts or fixes?
Not only does the command fail but it seems any other command sent after the failed command freezes the machine and requires a reboot.

@D3adP3nguin
Copy link
Author

D3adP3nguin commented Aug 11, 2021

wlan0mon = AWUS036NHA
wlan1mon= AWUS036ACM

./fragattack.py wlan0mon ping = success
./fragattack.py wlan1mon ping = fail message from 1st comment; then when I issue any network commands such as ifconfig the command prompt becomes unresponsive.

When i check with ps to see if any process is in the background I don't see anything besides the bash shell that is currently checking with ps (hope that last bit made sense)

@vanhoefm
Copy link
Owner

Sounds like this is an issue with the AWUS036ACM on Linux itself. Have you tried using the AWUS036ACM as a normal Wi-Fi dongle? That is, connect it to the computer, and use the normal Linux network manager to connect to a Wi-Fi network.

@D3adP3nguin
Copy link
Author

sudo ip link set wlan0 down
sudo iw wlan0 set monitor control
sudo ip link set wlan0 name wlan0mon
sudo ip link set wlan0mon up
iwconfig wlan0mon freq 5.220G
iwconfig wlan0mon channel 44

I did this for both AWUS036ACM cards. Then I run the python enviroment.
AND IT WORKS AFTER THAT!!!

@D3adP3nguin
Copy link
Author

D3adP3nguin commented Aug 13, 2021

MY_FnF_scripts.zip - This is to be used within the LiveOS image

Attached is a zip file of a few FnF scripts that I've made. This should be used after the python environment is launched.
The NiC should be changed to match the user's NiC but this does help with long-term testing if you want me to submit it to you in another way please do let me know. I won't reopen the issue but did want to provide these to help anyone that will see it lol.

@D3adP3nguin D3adP3nguin changed the title Alfa AWUS036ACM ISSUES: freezing CMD 5Ghz Testing Issues Aug 13, 2021
@vanhoefm
Copy link
Owner

Glad to hear you got it working!

So the summarize the issue, since this may be useful for others: the AWUS036ACM was unable to see the 5GHz SSID that was being tested when using the live OS (i.e. the build-in network manager couldn't see it). Other 5GHz networks could be seen though. When executing sudo airodump-g wlan0mon --band a you could see the SSID. Finally, with the above commands that you posted, the test tool worked.

@D3adP3nguin
Copy link
Author

Yes sir. It seems that you have to manually set the frequency and channel for 5Ghz bands to be targeted by the PoC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants