Skip to content

Services, Wiki-Artikel, Blog-Beiträge und Glossar-Einträge durchsuchen

↑↓NavigierenEnterÖffnenESCSchließen
Firewall for macOS - looking at two Open Source options
Offensive Security

Firewall for macOS - looking at two Open Source options

Which apps and applications send data from my Mac? This question can be answered by a firewall for macOS, which logs outgoing connections.

Vincent Heinen Vincent Heinen Abteilungsleiter Offensive Services
Updated: October 7, 2024 2 Min. read
OSCP+ OSCP OSWP OSWA

TL;DR

macOS's built-in firewall only filters incoming connections. To monitor and block outgoing traffic - preventing apps from silently sending usage data or malware from phoning home - third-party tools are needed. Two open-source options are LuLu (by Objective-See, alerts on unauthorized outbound connections) and Lockdown (available on GitHub and the App Store). Both are free and auditable via source code. Neither tool protects against sophisticated targeted attacks, but both improve visibility into what processes are communicating over the internet.

Table of Contents (2 sections)

Most users use a variety of apps and programs on their computer, but few of them really need an Internet connection. If you want to prevent usage data from leaving your computer unsolicited, you can use a firewall that blocks outgoing connections. We have taken a closer look at two options for an open source firewall for macOS.

Why use a firewall for macOS?

A firewall regulates which data packets may be received and sent over the network and thus ensures that only authorized apps and programs can exchange data over the network. The native macOS firewall is limited to incoming connections. However, some programs send more or less detailed usage data to their developers. If you want to prevent or regulate which programs are allowed to send data over the Internet, you have to use third-party software. Even malware that has somehow found its way onto the computer will often want to phone home and can be detected in this way. LuLu

LuLu warns when detecting new or unauthorised  connections (Source: github.com/objective-see/LuLu) We have considered these open source firewall alternatives for macOS:

Both apps are free and can be downloaded as source code from GitHub, the AppStore, or as an installation file from the provider’s site. The advantage of open source software is that anyone can read the source code and thus, with the appropriate knowledge, understand how the program works. Nevertheless, users have to have a certain amount of trust, because the programs get a deep insight into the outgoing connections.

Security Software is not unfallible

Using a firewall for macOS can reduce data protection concerns and security risks on your own system, but is no guarantee that no data will leave your system unintentionally. The developer of LuLu also informs about the weaknesses of his firewall on his website. Firewalls (as well as antivirus programs) are not designed against targeted and well-prepared attacks. Nevertheless, the initial configuration effort is worth it if you want to get a better overview of which programs and processes communicate over the Internet.

Next Step

Our certified security experts will advise you on the topics covered in this article — free and without obligation.

Free · 30 minutes · No obligation

Share this article

About the author

About the Author

Vincent Heinen
Vincent Heinen

Abteilungsleiter Offensive Services

E-Mail

M.Sc. IT-Sicherheit mit über 5 Jahren Erfahrung in offensiver Sicherheitsanalyse. Leitet die Durchführung von Penetrationstests mit Spezialisierung auf Web-Applikationen, Netzwerk-Infrastruktur, Reverse Engineering und Hardware-Sicherheit. Verantwortlich für mehrere Responsible Disclosures.

OSCP+ OSCP OSWP OSWA
Certified ISO 27001ISO 9001AZAVBSI

Cookielose Analyse via Matomo (selbst gehostet, kein Tracking-Cookie). Datenschutzerklärung