Skip to contentSkip to conversation

About making batman-adv mesh network invisible (by encrypting Beacon frame)

B.A.T.M.A.N. Xuebing Wang 2 participants 4 messages Mar 30, 2019 – Apr 8, 2019

lore
Share & tools
lore
#0 lore raw

Hi community,

We have batman-adv + OpenWRT + ath9k chip + ath9k driver reliably running for about 2 years. The biggest batman-adv mesh network is with 100+ nodes.

As this is a closed network, we have a new requirement which is to make our batman-adv mesh network invisible, although the current SSID is just some meaningless characters.

One thought is hidden_ssid. But, it seems hidden_ssid is only supported for AP mode (not IBSS mode).

802.11w does not protect Beacon frame (because it is before four-ways handshake).

As this is a closed network, what about encrypting Beacon (maybe all management frames later) using a hard-coded key in wpa_supplicant?

Thanks for your help.

Xuebing Wang

#1 lore raw

Hi Xuebing,

at least for Ad-Hoc mode, you can't hide the SSID without changing the kernel driver (mac80211). Encrypting the beacon doesn't help here, as the SSID needs to be clear text eventually even if management frames get encrypted.

Cheers,
Simon

Quoted 22 lines · CEST Xuebing Wang

Hi community,

We have batman-adv + OpenWRT + ath9k chip + ath9k driver reliably running for about 2 years. The biggest batman-adv mesh network is with 100+ nodes.

As this is a closed network, we have a new requirement which is to make our batman-adv mesh network invisible, although the current SSID is just some meaningless characters.

One thought is hidden_ssid. But, it seems hidden_ssid is only supported for AP mode (not IBSS mode).

802.11w does not protect Beacon frame (because it is before four-ways handshake).

As this is a closed network, what about encrypting Beacon (maybe all management frames later) using a hard-coded key in wpa_supplicant?

Thanks for your help.

Xuebing Wang

#2 lore raw

Re: [B.A.T.M.A.N.] About making batman-adv mesh network invisible

Hi Simon,

Thanks a lot for your reply.

With ath9k chip and ath9k driver, do you think it is possible to use "proprietary modulation" (slightly modified), so wireshark + wlan in monitor mode won't be able to detect wireless frames batman-adv network sends?

Xuebing Wang

Quoted 32 lines · Simon Wunderlich

Hi Xuebing,

at least for Ad-Hoc mode, you can't hide the SSID without changing the kernel driver (mac80211). Encrypting the beacon doesn't help here, as the SSID needs to be clear text eventually even if management frames get encrypted.

Cheers,
Simon

Quoted 22 lines · CEST Xuebing Wang

Hi community,

We have batman-adv + OpenWRT + ath9k chip + ath9k driver reliably running for about 2 years. The biggest batman-adv mesh network is with 100+ nodes.

As this is a closed network, we have a new requirement which is to make our batman-adv mesh network invisible, although the current SSID is just some meaningless characters.

One thought is hidden_ssid. But, it seems hidden_ssid is only supported for AP mode (not IBSS mode).

802.11w does not protect Beacon frame (because it is before four-ways handshake).

As this is a closed network, what about encrypting Beacon (maybe all management frames later) using a hard-coded key in wpa_supplicant?

Thanks for your help.

Xuebing Wang

#3 lore raw

Re: [B.A.T.M.A.N.] About making batman-adv mesh network invisible

Hi Xuebing,

I'm not aware of any "proprietary modulation", and I doubt it's possible - at least not while using an AP at the same time. You can look into 5/10 MHz mode or do other quirks if mesh is the only thing running on your module though.

Cheers,
Simon

Quoted 46 lines · CEST Xuebing Wang

Hi Simon,

Thanks a lot for your reply.

With ath9k chip and ath9k driver, do you think it is possible to use "proprietary modulation" (slightly modified), so wireshark + wlan in monitor mode won't be able to detect wireless frames batman-adv network sends?

Xuebing Wang

Quoted 34 lines · Simon Wunderlich

Hi Xuebing,

at least for Ad-Hoc mode, you can't hide the SSID without changing the kernel driver (mac80211). Encrypting the beacon doesn't help here, as the SSID needs to be clear text eventually even if management frames get encrypted.

Cheers,

Simon

Quoted 22 lines · CEST Xuebing Wang

Hi community,

We have batman-adv + OpenWRT + ath9k chip + ath9k driver reliably running for about 2 years. The biggest batman-adv mesh network is with 100+ nodes.

As this is a closed network, we have a new requirement which is to make our batman-adv mesh network invisible, although the current SSID is just some meaningless characters.

One thought is hidden_ssid. But, it seems hidden_ssid is only supported for AP mode (not IBSS mode).

802.11w does not protect Beacon frame (because it is before four-ways handshake).

As this is a closed network, what about encrypting Beacon (maybe all management frames later) using a hard-coded key in wpa_supplicant?

Thanks for your help.

Xuebing Wang