I have been reading about MSFvenom and its usage as a tool to attack devices connected to a common network (for example, see here and here). Kali is a well-known Linux distribution that implements MSFvenom.
Since realizing about this, I not longer connect my mobile device to free internet. Yet, since my computer uses Ubuntu, I imagine there must be a way to protect me from these attacks whilst connected to a free internet network. Any ideas?