View previous topic :: View next topic |
Author |
Message |
Leonardo.b Guru
Joined: 10 Oct 2020 Posts: 308
|
Posted: Sat Dec 26, 2020 8:04 pm Post subject: Preventing UEFI from internet access? |
|
|
This question is mainly adressed to the paranoid guys I know frequent the forum - hello people.
You are warned: I know nothing about this, and probably my question is idiot (but harmless).
So; is there a way to prevent UEFI from connecting to the internet?
Can I suppose that inside the bios .bin there is something similar to the firmware blob used by my wifi chipset?
Can I fulfill that region with zeroes and reflash the bios?
Oh - that probably doesn't make any sense.
Don't try.
Leonardo. |
|
Back to top |
|
|
pa4wdh l33t
Joined: 16 Dec 2005 Posts: 910
|
Posted: Sat Dec 26, 2020 9:24 pm Post subject: |
|
|
UEFI bins are usually signed, so reverse engineering and modifying has a low chance to work.
Some random ideas:
If you're really paranoid, make sure you have a motherboard which can use an open source bios. I don't have any experience with this, but i know there a just a few motherboards which are supported.
An other way is to verify if your UEFI is actually using the internet, so you need an other PC and tools like tcpdump or wireshark to analyze the traffic.
If your UEFI wants to access the internet it needs configuration (IP, gateway, etc) and it will probably use DHCP to obtain that. Disabling DHCP and using static configuration where you need internet access might be a nice workaround. _________________ The gentoo way of bringing peace to the world:
USE="-war" emerge --newuse @world
My shared code repository: https://code.pa4wdh.nl.eu.org
Music, Free as in Freedom: https://www.jamendo.com |
|
Back to top |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sat Dec 26, 2020 11:28 pm Post subject: |
|
|
I think that the UEFI/BIOS is mainly programmed by the compagny who own it. If you want modifications to this microcode only them can help you. You can look to Welcome_to_coreboot to know if your material is supported, if yes it can give you an alternative to your UEFI/BIOS constructor. One thing who can be done right now is to disable the right of the UEFI/BIOS to boot on any network card and disable the wake on land feature too in it's configuration setup. _________________ Paul |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Dec 27, 2020 3:26 am Post subject: |
|
|
The only way to be certain is to be in control of the router/firewall it connects to. |
|
Back to top |
|
|
Leonardo.b Guru
Joined: 10 Oct 2020 Posts: 308
|
Posted: Thu Dec 31, 2020 6:24 pm Post subject: |
|
|
It took me some time to understand what DHCP, IP, gateway etc mean...
pa4wdh, I like your random ideas. The last one is especially evil.
Anyway, managing the router/firewall sounds like the most solid solution.
Now I think I'll play with this.
Do you know about an "Iptables Made Simple" lecture for a complete beginner?
I am reading the pietinger guide on the German forum right now.
Iptables seem a bit a mess. I like PF syntax much more.
Does BSD Gentoo still breath?
And let me a last question.
What does happen if I plug my laptop directly in the ethernet cable connected to the road? The one plugged in the WiFi router, right now.
Is the home router's firewall the only thing that prevent all the world wide web to come into my laptop?
Thanks for everything,
Leonardo |
|
Back to top |
|
|
Etal Veteran
Joined: 15 Jul 2005 Posts: 1932
|
|
Back to top |
|
|
Buffoon Veteran
Joined: 17 Jun 2015 Posts: 1369 Location: EU or US
|
Posted: Thu Dec 31, 2020 7:34 pm Post subject: |
|
|
Quote: | Is the home router's firewall the only thing that prevent all the world wide web to come into my laptop? |
Router does NAT, it is not exactly firewall, but yes. The whole IPv4 address space is constantly scanned by bad guys for open ports. If an open port is found then it is attacked. |
|
Back to top |
|
|
Leonardo.b Guru
Joined: 10 Oct 2020 Posts: 308
|
Posted: Thu Dec 31, 2020 8:15 pm Post subject: |
|
|
Ook.
This seem something I should really take care about. |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Fri Jan 01, 2021 4:19 am Post subject: |
|
|
Not necessary to make light of your router's NAT. If you don't have open ports via your router from the Internet to your PC, you should be invisible. If you do open ports, know how to protect them.
Check them: https://www.grc.com/shieldsup _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
Leonardo.b Guru
Joined: 10 Oct 2020 Posts: 308
|
|
Back to top |
|
|
|