ABA’s GitHub page was taken down

On 5 December, GitHub suspended the account that holds ABA’s code. The reason was our automated tests: they ran too many jobs on GitHub’s free test machines and opened real websites and apps there, which GitHub’s rules don’t allow.

ABA itself isn’t affected. This wasn’t a security problem and no user data was involved. If ABA is already installed, it keeps protecting you.

I’m working with GitHub to get the page back. Until then, only download ABA from abetterantivirus.com. Copies anywhere else, including on GitHub, aren’t from us.

Need help, or want ABA news? Join the official ABA Discord: discord.gg/9SBt5BvGjh

A Better Antivirus Download

NetShield

How ABA's DNS filter works, on Windows, macOS and Linux: the lists, what is never blocked, and what happens when something goes wrong.

From docs/netshield.md in ABA's source code

NetShield is ABA's DNS filter. With it on, every name lookup on the PC goes through a small resolver inside ABA's service. Names on the block lists you switch on get "nowhere" (0.0.0.0 / ::); every other question is passed, unchanged, to the DNS servers the PC was already using. It works for every program (browsers, games, updaters, malware's own downloaders), not only browsers.

It adds to Windows Defender and SmartScreen rather than replacing them: SmartScreen checks what Edge opens and what you run; NetShield stops any program from even finding a known malware, phishing or scam host. (The owner asked for it explicitly; it is the one ABA feature that isn't a trap.)

Code: internal/netshield (lists, matcher, resolver, per-system switch), internal/service/netshield.go (the service's side), internal/cli/netshield.go (aba netshield), internal/appapi/netshield.go (the app's read model), cmd/aba-app/frontend/js/screens/netshield.js (Settings › NetShield).

The lists

Every list is from HaGeZi's DNS blocklists (https://github.com/hagezi/dns-blocklists, GPL-3.0): one maintainer, rebuilt several times a day, with an allowlist process that keeps false blocks rare, all in the same "domains, no subdomains" format (each name blocks itself and everything under it). ABA never ships, changes or redistributes them: each PC downloads them itself from the maintainer, so the GPL's redistribution terms don't come into play. (Considered and not used: StevenBlack/hosts (MIT) mixes ads and malware in one list; OISD's license doesn't allow this kind of use; Phishing Army is CC BY-NC; URLhaus alone is already part of HaGeZi's threat feed.)

switch (ID)listsnames (29 Nov 2026)default
Malware, phishing & scams (malware)Threat Intelligence Feeds (tif), Fake (fake)877,274 + 10,690on
Ads & trackers (ads)Multi NORMAL (multi), Pop-Up Ads (popupads)180,102 + 71,689on
Device telemetry (telemetry)Native trackers: Microsoft, Apple, Amazon, Samsung, LG webOS~1,550off
Adult content (adult)NSFW (nsfw)102,520off
Gambling (gambling)Gambling (gambling)727,208off
Social media (social)Social Networks (social)8,327off
Piracy (piracy)Anti-Piracy (anti.piracy)66,294off
DNS bypass (bypass)Encrypted DNS/VPN/Tor/Proxy Bypass16,596off

All on: 1.85 to 2 million distinct names (the lists grow and shrink daily).

Fetching. HTTPS only, from pinned addresses: raw.githubusercontent.com first, then jsDelivr's copy of the same repository (cdn.jsdelivr.net/gh/…). Redirects must stay on HTTPS. 64 MB at most per download. A download that breaks off tries the next address; a list that's refused doesn't (the mirror has the same list). jsDelivr serves GitHub files up to 20 MB only: the biggest list (Threat Intelligence Feeds) is 16 MB today, so if it ever passes 20 MB its fallback stops working and only GitHub serves it. Once a day per list (and at once when a list's copy on disk is missing or damaged) (a list without a copy is tried every 10 minutes; a failed try waits an hour). The service does it; aba netshield update does it now.

Checks before a copy is used (ParseList, Sane); a copy that fails any is refused whole and the last good copy stays in use:

Entries that are whole public suffixes (co.uk, github.io, duckdns.org: the Public Suffix List, ICANN and private sections) are left out of a list rather than block every site under them.

Never blocked, whatever a list says (protectedNames, checked on every question): Windows Update, Store downloads, activation and licensing, Microsoft sign-in, Defender and SmartScreen's cloud, every system's "am I online?" check (so captive portals keep working: msftconnecttest.com, captive.apple.com, connectivitycheck.gstatic.com, …), Apple software update and activation, certificate checks, time servers (time.windows.com, pool.ntp.org, …: a wrong clock breaks every HTTPS site), Windows Update's peer delivery, Linux package and app stores (Ubuntu, Debian, Fedora, Snap, Flathub), ABA's own update host (GitHub and its asset hosts), the lists' hosts, ntfy.sh and canarytokens, and the servers this PC's phone alerts go to (from the secrets: a Discord webhook keeps discord.com open even with Social media on, an SMTP server, an ntfy server of your own).

Storage. Lists are kept as sorted 64-bit FNV-1a hashes of the names, not as text (ABANS1 files with a SHA-256 trailer, in <data dir>/netshield/lists/), next to lists.json (per list: count, version, when, from where, the last error). The data folder is administrators-only. Nothing of the lists is ever inside aba.exe (the miner trap's lesson: malware names inside an exe are what antivirus engines look for), and the hash form keeps any scanner from reading a file of malware names on disk.

Answers

How lookups reach it, and how they stop reaching it ("fail open")

The rule everywhere: a NetShield that isn't answering means names resolve as if it had never been on, never that they stop resolving. ABA's own internet (updates, phone alerts) and yours never depend on ABA running.

The resolver shares the miner trap's DNS listener on 127.97.98.97:53 (one listener, dnsHandle in the service): pool names go to the miner trap while it's on, everything else to NetShield; with neither on, the listener refuses everything and closes.

The service switches NetShield in only once the listener answers, the PC's own DNS servers are known and the lists are loaded; then it checks a lookup of netshield-check.aba.example through the system. It switches NetShield out before the listener closes (aba netshield off, stopping, an update, uninstall), whenever it can't do its job (no DNS server known, another program in charge of DNS), and after three failed checks.

Windows

One Name Resolution Policy Table rule ({ABA0A0A0-4E45-5453-4849-454C44000001}, "NETSHIELD" in hex) for the namespace . (every name) in the local NRPT store, GenericDNSServers = 127.97.98.97;<the PC's own servers>. The same mechanism as the miner trap, VPNs' split DNS and DirectAccess. More specific rules win: the miner trap's pool names, a VPN's company names (Add-DnsClientNrptRule, AnyConnect, Tailscale's MagicDNS names) keep going where they went.

The PC's own servers come from the network adapters (GetAdaptersAddresses): lowest interface metric first, as Windows asks them (a VPN's tunnel, metric 5 as a rule and often without a gateway address, before Wi-Fi or Ethernet; the same metric: the one with a gateway first), an adapter's link-local IPv6 servers after its others; names under an adapter's DNS suffix or search list go to that adapter's servers first (a router's .lan, a split-tunnel VPN's corp.example.com). Windows' placeholders for "no IPv6 server" (fec0:0:0:ffff::) are left out. When the adapter Windows asks first is also the one internet traffic goes through (a full-tunnel VPN while it's connected; found with GetBestInterfaceEx, a route lookup that sends nothing), only its servers are asked, and only they are the rule's fallback: the other adapters' servers are past the tunnel, and asking them would be a DNS leak the VPN alone doesn't have (they still answer for their own DNS suffixes). A split-tunnel VPN keeps Windows' order: its servers, then the Wi-Fi's. The same holds without a VPN: on a PC with two networks up (Ethernet and Wi-Fi), only the one Windows asks first and sends internet traffic through is asked, and only its servers are the rule's fallback. Checked every 5 seconds: when you join another network or a VPN connects, the resolver and the rule's fallback list follow.

Failing open on Windows:

  1. The fallback servers in the rule. When nothing answers on 127.97.98.97 (ABA killed, crashed, being updated, or deleted by an antivirus), Windows' DNS Client moves on to the PC's own servers listed after it. Lookups keep working, unfiltered.
  2. A volatile registry key. Windows forgets the rule at every restart, so a PC never starts up with a rule nobody keeps up to date; the service puts it back once its resolver answers.
  3. Taken out first. The service removes the rule before it stops, updates, or is uninstalled, and when NetShield is switched off (the CLI also removes it at once, whatever the service is doing).
  4. The service comes back by itself (recovery actions: 2 s, 5 s, 30 s), and puts the rule back with fresh servers.

What's left: if ABA's service is killed and stays dead, and you then move to another network before Windows restarts, the rule's fallback servers are the old network's: lookups may fail until a restart (the rule is gone then) or until ABA is back. That needs ABA dead and a network change in the same session.

NetShield stands back (and says why, in the app, aba netshield status and aba doctor) when another program already sends every name to its own server (a "." rule of a VPN, Tailscale's "Override local DNS": the two can't both be the one), on PCs whose NRPT rules come from Group Policy (a company or school manages its DNS), and while a question to its own address doesn't get through: a VPN's kill switch (WireGuard's "Block untunneled traffic", OpenVPN's block-outside-dns) is a Windows Filtering Platform rule that lets DNS reach only the VPN's servers, from every program but the VPN's own, loopback included. Measured before this check existed: every lookup waited about a second on ABA's blocked address, then went to the VPN's server, unfiltered, and NetShield never noticed. The service asks its own address before switching in and every 5 seconds; it's back in within 5 seconds of the other program's rule or kill switch going away. When the service comes back after being stopped or killed, it also has the DNS Client read its rules again (without that, Windows kept asking the fallback servers it had moved on to, and nothing was blocked for minutes).

Linux

systemd-resolved: a drop-in, /run/systemd/resolved.conf.d/aba-netshield.conf (DNS= empty first, DNS=127.97.98.97, Domains=~.), then systemctl reload systemd-resolved (a restart on a systemd that can't reload it). Taking it out is always a restart: a reload doesn't drop the global ~. domain once the drop-in is gone (systemd 262). resolved keeps what VPNs and DHCP told it across a restart (it saves its networks' settings under /run; checked on Ubuntu 24.04 and Fedora 45 with a split-DNS link). Names under a network's own routing domains (NetworkManager's or networkd's VPN and LAN domains) still go straight to that network's servers: resolved prefers the longer match. The empty DNS= sets aside a server configured for the whole system in resolved.conf, which would otherwise come before ABA's.

NetShield asks resolved itself where lookups went before (its D-Bus interface, org.freedesktop.resolve1) and asks the servers resolved itself would ask (resolvedUpstreams in routing.go): when a network claims every name with the routing domain ~. (wg-quick's tunnel, a full-tunnel NetworkManager VPN), only that network's servers; otherwise the servers for the whole system and those of every network that's a default route for names (DefaultRoute), the network internet traffic goes through first (a full-tunnel OpenVPN with update-systemd-resolved, which doesn't claim ~., before the LAN). A network's own domains go to its servers first, and a network that only serves its own domains (a split VPN) is never asked about anything else. Without D-Bus: resolved's uplinks file. (Before: every default-route network's servers, in resolved's list order; with a full-tunnel VPN up, NetShield asked the LAN's server, past the tunnel, whenever the VPN's took 400 ms, and with OpenVPN it asked the LAN's first.)

While a network claims every name (~.), resolved asks both it and NetShield (whose ~. is equally long) about every name and takes the first answer. Measured on Fedora 45 (systemd 262) with NetworkManager's WireGuard: the first lookup of an ad host got NetShield's 0.0.0.0, every later one the VPN's cached real address. So while one does, the drop-in also names, as routing domains, the top-level domains with the most names on the lists that are on (Domains=~com ~net ~ru …, at most 240: resolved takes 256 domains for the whole system before systemd 258), each a longer match than ~.: resolved then asks only NetShield about names under them, and NetShield asks the VPN's servers. The lists' top-level domains are counted when a list is parsed and kept in lists.json (lists stored by an older version are fetched again once for it). A VPN's own domains (corp.example.com) are longer still and keep going straight to its servers. A reload doesn't drop domains from resolved's settings (systemd 262), so they stay until the service stops or NetShield is switched off, harmlessly: they point at NetShield, which asks the right servers. Names under the other top-level domains still go to NetShield and the VPN's server at once, and the first answer wins (in practice NetShield's, a block being answered on the spot, but not for certain once the VPN's answer is cached); the service log says how many of the listed names that leaves (for the HaGeZi malware and ads lists of 29 Nov 2026, the top 240 of their 794 top-level domains cover 99.2 % of the names).

Why the drop-in lists only ABA's address, not the real servers after it: resolved, when one of a scope's servers fails, moves to the next and stays there until that one fails too. With the real servers listed, one slow answer from ABA's resolver would switch filtering off, silently, for good. Failing open is done by taking the setting out instead (below).

Failing open on Linux: the file is under /run (gone at every restart), and the service unit has ExecStopPost=-/bin/sh -c 'if [ -e …aba-netshield.conf ]; then rm -f …; systemctl try-restart systemd-resolved.service; fi': systemd runs it whenever the service stops, however it stopped (kill -9 included), with nothing but the system's own tools. A service that hangs instead of dying: the unit has WatchdogSec=20, and the service tells systemd it's alive every 5 seconds only while NetShield's resolver answers a test question (when NetShield is switched in), so systemd stops a hung one within 20 seconds, which takes the setting out, and starts it again. NetShield refuses to switch in until the installed unit has the ExecStopPost line; the service rewrites an old unit at start (an update replaces the program, not the unit).

Needs systemd-resolved with every program using it: /etc/resolv.conf must be its stub (127.0.0.53; nss-resolve alone isn't enough: Go and static programs read /etc/resolv.conf and ask what it names). Otherwise NetShield says so and stays off: ABA never rewrites /etc/resolv.conf.

It also stands back, and says why (in the app and aba doctor), where resolved encrypts DNS (DNSOverTLS=yes or opportunistic, globally or on a network that's a default route: it would try TLS to ABA's resolver and every lookup would fail, or silently fall back to plain DNS) or checks DNSSEC (DNSSEC=yes or allow-downgrade: ABA's own answers aren't signed, so resolved would reject them).

macOS

configd, macOS's own network settings daemon, which builds the resolver list every program's lookups go through (mDNSResponder, and /etc/resolv.conf for the few programs that read it). NetShield adds one entry to its dynamic store, State:/Network/Service/ABA-NetShield/DNS: ServerAddresses = (127.97.98.97), SupplementalMatchDomains = (""), SupplementalMatchOrders = (1). A supplemental resolver is what VPNs make for their company names; with the empty match domain it matches every name, and with order 1 configd puts it first, before the network's own resolver (without an order it got about 102200, and a VPN that sets its server on the primary network with an order of its own came first: OpenVPN 2.7's dns-updown uses 5000, and in the lab every name went to the VPN's server, nothing was blocked, and NetShield said it was on) (scutil --dns shows it as resolver #1, and State:/Network/Global/DNS and /etc/resolv.conf follow it). More specific resolvers still win: a VPN's split DNS (corp.example.com to its servers) and /etc/resolver/<domain> files keep going straight to their servers. Interface-scoped lookups (a program that asks over one network on purpose) go to that network's servers, as before.

The listener's address isn't on a Mac's loopback interface by itself (only 127.0.0.1 is): the service adds 127.97.98.97/32 to lo0 as an alias before the listener starts and takes it off after it closes (and at uninstall). Neither survives a restart.

NetShield reads where lookups went before from configd's resolver list (scutil --dns, every 5 seconds): the default resolver (the primary network's servers, those set by hand in System Settings, or a full-tunnel VPN's) is where every question goes; names under a resolver's domain go to its servers first. Its own resolver and the interface-scoped ones are left out.

Failing open on macOS:

  1. A temporary key. The entry is added with scutil's add … temporary (SCDynamicStoreAddTemporaryValue): configd removes it the moment the session that made it ends, however it ended, and never writes it to disk. A restart starts without it; the service puts it back once its resolver answers.
  2. A guard process holds the session, not the service: famsvc service netshield-guard, ABA's own program, started by the service with a pipe between them, in its own process group, running the system's /usr/sbin/scutil as its session. The guard ends (and with it the session, and the key) when:
    • the service is gone: its end of the pipe closes (killed with kill -9, crashed, stopped by launchd, updated, uninstalled);
    • ABA's resolver stops answering: it asks it the check name once a second, and three misses in a row end it (a service that hangs, or is stopped with SIGSTOP; the resolver lives in the service);
    • the key is taken out by someone else (aba netshield off from a terminal removes the key itself, whatever the service is doing);
    • it's asked to (the service switching NetShield out, stopping). It switches in only once the resolver answers.
  3. The service watches the guard: the guard says it's alive every second; one that's silent for 6 seconds (stopped, hung) is killed, which ends its session too, and a fresh one is started. A guard that ended by itself is replaced within 5 seconds, once the service answers again.
  4. launchd starts the service again (KeepAlive, 2 s).

Why only ABA's address in the entry, not the network's servers after it: mDNSResponder moves on to a resolver's next server when one doesn't answer in time and stays there for a while; measured in the VM with the network's server listed second, a single stall of ABA's resolver sent every lookup straight to the network's server, unfiltered, for longer than the test ran after ABA was answering again. Failing open is done by taking the entry out instead.

What's left: the service and the guard both stopped (SIGSTOP) leaves the entry in place with nothing answering: lookups fail until one of them runs again or the Mac restarts. That takes a deliberate act by root (which could equally change the DNS settings itself); a crash, a kill, a hang of the service alone or of the guard alone all fail open.

NetShield stands back (and says why, in aba doctor) when another program already has a resolver for every name (a VPN or DNS app that set a supplemental resolver with an empty match domain: two can't both be first).

What it can't tell from configd's settings, and so finds out from its check instead: an encrypted DNS setting (a configuration profile with a DNS Settings payload, or a DNS app using NetworkExtension's DNS settings) and iCloud Private Relay send lookups elsewhere, over DoH/ODoH, without showing in scutil --dns. The check (a lookup of netshield-check.aba.example through the system, right after switching in and every five minutes) then doesn't reach NetShield; after three misses it steps out of the way, and the reason it gives names these. Neither could be tested in the VM (no Apple account in it, and profiles need a person to approve them in System Settings).

What it can't see (stated in the app too)

VPNs

The rule: with a VPN connected, NetShield asks the servers the system itself would ask (the VPN's, in a full tunnel) and blocks what's on the lists; it doesn't send a question outside the tunnel that the system alone wouldn't have sent there. (One kind it does send, as Windows does by itself: names under a network's own DNS suffix, a router's .lan, go to that network's server during a full tunnel too, since only it knows them.) Where it can't filter without fighting the VPN (another program in charge of all of DNS, or a Windows kill switch that lets DNS reach only the VPN's server), it stands back, says why (app, aba netshield status, aba doctor), and is back within 5 seconds of the VPN disconnecting.

Tested 30 Nov 2026 with real VPN software against a VPN server of our own in the lab (Ubuntu VM: WireGuard, OpenVPN 2.6 full and split with pushed DNS, dnsmasq answering a private corp.test and forwarding the rest). Each row: connect; corp.test names (the VPN's DNS); an ad host six times (0.0.0.0 each time); a public name; DNS packets on the real network card outside the tunnel (tcpdump / pktmon); ABA's service killed with the VPN up; disconnect; reconnect. "Before" is the code before these fixes.

SystemVPN, modeBeforeAfter
Windows 11WireGuard for Windows 0.5.3, full tunnel with its kill switch ("Block untunneled traffic", on by default)fails: nothing blocked, every lookup ~1 s slower, NetShield said it was onstands back, says so; lookups fast, only to the VPN; back on disconnect
Windows 11WireGuard, full tunnel, kill switch offblocks; fallback list had the LAN's DNS (leak when ABA stops or the VPN's DNS is slow); blocking didn't resume for minutes after a service restartpasses
Windows 11WireGuard, split tunnel (DNS + corp.test suffix)blocks; corp.test failed for 10 minutes after a reconnectpasses
Windows 11OpenVPN 2.6.15 (community, service, DCO), full tunnel with block-outside-dnsfails like WireGuard's kill switchstands back, as above
Windows 11OpenVPN, full tunnel without block-outside-dnsblocks; LAN's DNS in the fallbackpasses
Windows 11OpenVPN, split (dns … resolve-domains corp.test: an NRPT rule)blocks; same reconnect problempasses
Windows 11Tailscale-style MagicDNS: NRPT .ts.net rule / "Override local DNS" . rule (emulated, 100.100.100.100)split passes; . stands back, back up to 60 s aftersplit passes; . stands back, back within 5 s
Ubuntu 24.04 (systemd 255)wg-quick (sets ~. on its tunnel), full and splitblocks; asked the LAN's DNS past the tunnel whenever the VPN's took 400 ms (14 packets in one test)passes, 0 packets outside the tunnel, also with the VPN's DNS slowed by 600 ms
Ubuntu 24.04openvpn + update-systemd-resolved, full tunnelasked the LAN's DNS first: every name past the tunnelpasses: the VPN's DNS first (resolved itself still asks the LAN too with this script; add dhcp-option DOMAIN-ROUTE . to stop that)
Ubuntu 24.04the same, splitpassespasses
Ubuntu 24.04wg-quick / OpenVPN full tunnel + an nftables kill switch (loopback, tunnel and server only, as VPN apps make one)—passes
Fedora 45 (systemd 262)NetworkManager WireGuard, full tunnel (~.)fails: ads blocked on the first lookup only (the VPN's cached answer won after)passes, six of six blocked
Fedora 45NetworkManager WireGuard split; NetworkManager OpenVPN full and splitpassespasses
macOS 26.6wg-quick (wireguard-tools, networksetup DNS), full and splitpassespasses
macOS 26.6OpenVPN 2.7.9 (dns-updown), full tunnelfails: nothing blocked, NetShield said it was onpasses
macOS 26.6OpenVPN 2.7.9, splitpassespasses
macOS 26.6Tailscale-style "every name" resolver (emulated)stands back; back up to 60 s afterstands back; back within 5 s

Everywhere: killing ABA's service with a VPN up kept lookups working (unfiltered, through the VPN) until it was back (Linux: about a second without answers while resolved restarts, as without a VPN); disconnecting restored the network's own DNS; uninstalling with a VPN connected left the VPN's DNS settings exactly as the VPN set them and nothing of ABA's.

Not tested (they need accounts, licences or a person to approve a system extension): commercial VPN apps (NordVPN, Mullvad, Proton VPN, ExpressVPN …), OpenVPN Connect, Tunnelblick, the WireGuard app from the Mac App Store, real Tailscale, Cisco AnyConnect / GlobalProtect, IPv6 inside the tunnel. What they do to DNS is one of the cases above: settings on the tunnel's network (passes), a catch-all of their own (NetShield stands back), or a Windows kill switch (stands back). The one thing NetShield can't tell is a VPN app with its own encrypted DNS inside the app; then its check fails and it steps out of the way (see "fail open").

The DNS bypass list and VPN apps. That list (off by default) blocks VPN providers' and proxies' sites, so a VPN app can't sign in, pick a server or connect while it's on; the app (NetShield tab and welcome tour), aba netshield lists and the terminal setup say so next to its switch. NetShield doesn't unblock the domains of a VPN that's connected: the lookups that break a VPN app happen before its tunnel exists (signing in, finding a server), nothing in a lookup says which app asked (on Windows every lookup comes from the DNS Client service), and opening the list for whatever looks like a VPN would open it for the very programs it's there to stop. Instead: leave it off if you use a VPN app, or unblock your VPN's site in one click from Lately blocked (it shows there, under "DNS bypass").

App, CLI, Setup

Counters and privacy

Per category, today (local time): blocked lookups; plus the lookups passed on and how long the PC's servers took on average; and the last 50 blocked names (time, name, the listed name it was under, category; repeats within a minute counted on one line). In <data dir>/netshield/stats.json, administrators only, written once a minute. Nothing leaves the PC. aba netshield forget or "Clear" empties the recent list; uninstalling deletes the folder.

Measurements

Memory and speed, all eight categories on (1,852,685 distinct names), Apple M-series, go test -run TestMeasure with NETSHIELD_MEASURE=1 (it downloads every list): building the set 63 ms; Go heap +16.6 MB (the set itself 16.7 MB: 9 bytes a name); a lookup (name of 2–10 labels, each parent name checked) 0.12 µs. A question through the resolver vs straight to the same server, median of 2,000: +10–15 µs. The two defaults alone: 1.02 M names, 9.2 MB.

Real installs (scripts and logs: ~/aba-vm-lab/netshield/):