NSA warns malware is hijacking inserted CACs. We built Site Access Guard so only the browser tab a user approves can reach smart card sites, and tested it.
Picture someone at home on a Sunday night with their CAC in the reader on a personal laptop, clearing out work email. In mid-November, NSA warned that this is exactly the setup a strain of malware is waiting for (NSA Warns About Potential Malware Hijacking CAC-Enabled Computers, Pentagon News, November 16, 2026). The malware records the PIN as it is typed and then, while the card stays in the reader, signs in to federal and DoW websites as the cardholder. An NSA spokesperson called it "a significant concern" and said actors are already using it.
We had been working on a piece of this problem for a while. A smart card proves that someone with the card and the PIN started a session. After that, any program on the machine can ask the unlocked card to sign, and the website has no way to tell the user's own tab apart from a hidden one that malware opened.
Site Access Guard is what we built in response. An administrator lists the certificate-authenticated sites worth protecting, and from then on the managed browser refuses every request to them except from a tab the user approved on a Surface page. We put it through 35 browser tests against a real mutual-TLS server, plus a test with a physical smart card. In the smart-card test, no unapproved context reached a protected site, and the card performed no signing operation for one.
How the CAC malware works
NSA did not name the malware, but the steps it describes match smart-card malware that researchers have documented for over a decade. In 2012, AlienVault found a variant of the Sykipot family, used in espionage campaigns against the defense community, that logged smart-card PINs and then used the inserted card to reach protected systems (Dark Reading).
- The computer gets infected, usually through phishing, an unpatched application, or a compromised site that DoW staff tend to visit.
- A keylogger captures the PIN the next time the user types it.
- The malware waits until the card is in the reader and unlocked, then asks it to sign, the same way any legitimate program would.
- It signs in to CAC-enabled sites as the user and reads whatever the user could, which NSA described as "access to anything the cardholder can normally access."
Phishing filters have nothing to flag here, since the sites are the real ones, and credential-theft tools never see a secret leave the machine. Like the Nyasher phishing kit we analyzed, this attack goes after access after strong authentication has already done its job.
NSA's advice and the hours in between
NSA and the DoW CIO recommend using a CAC on as few computers as possible, pulling the card whenever you step away, and keeping software patched. The catch is the time the card spends in the reader during real work, which can easily be most of a day. Malware on the machine gets that same window, and shrinking it is what Site Access Guard is for.
Where the guard helps
Malware has two routes to the card. Sykipot used the first one, talking to the card's middleware directly from its own process. Site Access Guard lives in the browser, so that route is outside its reach, and pulling the card, patching and endpoint protection carry the load there.
The second route is to drive the user's own browser, which is attractive to an attacker because the browser already handles certificate selection, sessions and cookies for these sites, and it is the route the guard covers. A hidden tab, a popup, an iframe or a background fetch aimed at a protected site is refused before the request leaves the browser, and an approval granted in one tab can't be borrowed by another. After a restart, every protected site starts out blocked.
The guard runs where Surface manages the browser, which means Chrome and Edge on company devices. NSA's warning focuses on personal computers, and those need the card-handling habits above. If securing the browser session itself is a new idea, we wrote an overview in What Is Enterprise Browser Security?
How it works
When the browser refuses a navigation to a protected site, the user lands on a Surface page that names the site and offers an Approve button. Only the user's own click on that page counts. A scripted click, a framed copy of the page, a forged message or a URL parameter approves nothing. Approving opens the site fresh in a new tab, and that tab alone holds the approval until it closes, leaves the site or expires, or until the policy changes or the browser restarts.
Testing it against a real server
An extension's own logs can't prove that a request never left the browser, so we let the server decide. Our fixture is a local HTTPS server that asks every client for a certificate and records TCP connections, TLS handshakes and HTTP requests separately. That separation matters because client authentication happens during the TLS handshake, before any HTTP request exists.
We ran 35 real-browser tests and 178 unit tests on November 26, 2026, in Chromium 156. A sample of the cases:
| Case | Requests that reached the protected site |
|---|---|
| Visible tab with no approval | 0 |
| Fetch, iframe, form post, beacon and WebSocket from another site | 0 |
| Popup, hidden background tab and second window | 0 |
| Second tab while another tab holds an approval | 0 |
| Other pages trying to steer the approved tab | 0 |
| Extension stopped, or browser restarted before it synced | 0 |
| Policy larger than the browser can enforce exactly | 0 |
Our software test browser held no client certificate, so the smart-card run is the one that speaks to authentication: no unapproved context reached a protected site, and the card performed no signing operation for one.
Attack planes we found
Testing and review turned up five places where a browser control like this can end up wider than intended. We have left out reproduction and implementation detail on purpose.
| Attack plane | Status |
|---|---|
| Non-HTTP schemes pointed at the same server | Closed and covered by tests |
| Pages served from the site's own cache with no network request | Mitigated: the tab is sent to the blocked page once it loads, and nothing reaches the server |
| Other pages steering the approved tab | Closed, since approval opens a tab no other page can steer |
| A policy larger than the browser can enforce exactly | Fails closed: every listed site stays blocked and nothing can be approved |
| Speculative connections opened before any request | Hardening through browser policy |
Speculative connections are the one we would watch most closely for CAC users, because a TLS handshake can in principle authenticate with no request behind it. The card stayed idle in our test, and we still recommend turning prediction off with the NetworkPredictionOptions policy.
Site Access Guard ships with Surface for Chrome and Edge. If you run CAC-enabled sites and want to see it in front of them, get in touch.