Detections · Harmful behavior
Mac browser and settings hijacking: homepage, search, proxy, DNS and certificates
A settings hijacker changes the choices other programs rely on: your browser’s homepage and search engine, its extensions, or the Mac-wide proxy, DNS servers, hosts file and trusted certificates. Your traffic then goes where the attacker wants, often with no visible sign beyond a different search page.
Updated November 25, 2026 · 59 detections in this category
In short
Changing settings other programs rely on: a browser's homepage, search engine or extensions, the hosts file, or system-wide DNS, proxy and trusted certificates.
MacVigil has 59 detections in this category. It reads the file to find them and never runs it.
What settings hijacking is
Browsers and macOS keep settings that decide where your searches go, which server your web traffic passes through and which certificates count as trustworthy. A hijacker rewrites them. At the mild end, it earns money from redirected searches and ads; at the serious end, a proxy plus a trusted root certificate lets it read and alter encrypted traffic, including sign-ins.
Many hijackers also lock their change in place, through a configuration profile or a managed policy that the browser enforces and you cannot simply switch back.
How Mac malware does it
- It writes a new homepage, startup pages or search engine into a browser’s preference files, or a Firefox profile preference.
- It installs a browser policy or a configuration profile that force-installs an extension, sets the homepage or fixes the search engine.
- It launches a browser with
--load-extension, so an extension nobody installed runs from a folder. - It uses
networksetupto set a web proxy, an automatic proxy file or new DNS servers, or writes the system network configuration file directly. - It adds a line to
/etc/hostsmapping a domain to another address. - It asks the keychain to trust a root certificate and points the proxies at the same server.
- It registers itself as the default app for web links or many file types without asking.
- It names commands that turn on Remote Login, automatic login, the root or guest account, or a tunnel back to an outside host.
What MacVigil looks for
MacVigil reads the file and never runs it. Its strongest findings are a command that writes a web address into another browser’s homepage or search engine, a program that installs a browser policy forcing an extension, and a program that writes a homepage preference precisely in the branch where the user declined the change. It also ties a replaced browsing setting to the address the file contacts, or to persistence or quitting the browser.
It reads browser extension manifests that replace the New Tab page, homepage, startup pages or search engine, and extension code that sets the browser’s proxy. Configuration profiles that set a global proxy or DNS, or impose browser rules, are reported, as are commands that edit the hosts file or add a trusted certificate.
A command name on its own, such as add-trusted-cert or -setdnsservers, says only that the file names it; it does not establish that the change was made.
When it is normal
Companies and schools set browser policies, proxies, DNS and certificates through device management, and a company browser policy can reimpose a search provider just as a hijacker does. VPN apps change DNS, web browsers ask to become the default browser, and developer tools edit the hosts file. The difference is consent, and whether an organization you belong to stands behind it.
How to check your Mac
- Open System Settings > General > Device Management and remove profiles you do not recognize, unless your organization installed them.
- In System Settings > Network, select your connection, click Details, and review Proxies and DNS.
- In Terminal,
cat /etc/hostsshows the hosts file; on a personal Mac it usually holds only localhost lines. - Open Keychain Access and look in the System keychain for certificates you did not add.
- Review extensions in Safari > Settings > Extensions, and visit
chrome://policyin Chrome orabout:policiesin Firefox to see enforced policies.
Related categories
- Remote control: What lets someone drive this Mac from a distance: a channel that receives commands, and the means to run them.
- Network access: The addresses, domains and networking functions found in the file. Most software has some.
- Persistence: How a program arranges to start again on its own: launch agents and daemons, login items, scheduled jobs.
- Credential theft: What touches the places where passwords, keys and sessions are kept: keychains, browser profiles, wallets, SSH and cloud credentials.
On the blog
Know what a file does before you open it
MacVigil reads any app, disk image, installer or script without running it, and shows the evidence behind every finding. Nothing leaves your Mac.
Free for 7 days, then $29.95 a year for 2 Macs, a launch price: the regular price will be $59 a year. Requires macOS 15 Sequoia or later on a Mac with Apple silicon.
More: all detection categories · what MacVigil detects · the blog