Block RD Web, RD Gateway and IIS attackers in Windows Firewall
Vantage’s agent reads each Windows server’s IIS logs and Security log, finds who is guessing passwords at RD Web Access and the RD Gateway and who is probing the web servers, and keeps a Windows Firewall rule on that server blocking them — added, aged out and unblocked without anyone editing a rule by hand.
RD Web Access and RD Gateway brute force, read from the logs that have the address
An RDS farm under attack is hard to see from Windows alone: the RD Web Access form logs its failed sign-in (event 4625) without the client’s address, so the Security log tells you an account was tried and not from where. Vantage’s agent joins the logs that do have it:
- RD Web Access. The failed sign-in requests to the RD Web form are read from the IIS log and kept for the whole window, and each failed 4625 the web server logged is joined to the request in the same seconds — so every attempt has its address and the account it tried.
- RD Gateway. Where the gateway logs its own refusal or connection events (TerminalServices-Gateway), they name the client, and a failure without an address takes the address of that event for the same account within seconds.
- Any server. A 4625 that carries its address is scored as it is. One that nothing explains is counted and shown, never blocked on a guess.
- A sign-in that got through. On RD Web Access, a successful form sign-in from an address that had been failing (or is already blocked) is the incident and is critical, with the account named where the matching 4624 is found. An ordinary sign-in from outside is listed as a person, never an alarm.
The rule is one setting for every server (Settings › Sign-in protection): by default an address is blocked after 10 failed sign-ins or 3 different accounts within 60 minutes, every address is blocked when one account is tried from 5 of them, and a block is lifted after 24 quiet hours. Each figure can be changed, and each server says whether its agent has taken the new rule yet. Reading the Security log needs the agent’s account in Event Log Readers; where Windows refuses it, the page says so in Windows’ words and Fix collector rights repairs it for one server or many.

RD Gateway health: the redirect that breaks every sign-in
A site-level HTTP redirect in IIS, left inheriting into /rpc, makes the RD Gateway answer a redirect after the sign-in succeeds: clients see “The logon attempt failed” and the gateway’s own log records nothing. Wherever the RD Gateway service runs, the agent watches for it two ways — the redirect as IIS is configured, and the RPC proxy’s answers in the last hour of the IIS log — so either alone raises it, with the one command that fixes it.
- The role’s services (the gateway, IIS, NPS) and the listeners on 443 and 3388.
- The certificate bound to 443: expired, expiring within 30 days, or none bound.
- A setting that could not be read is said as not read, never as healthy.
IIS web server log scan: attempts, exposure and compromise kept apart
Wherever IIS runs, the agent reads three things and never mixes them, because an exposed setting is not an attack and an attempt is not a compromise:
- Suspicious activity — requests in the IIS logs shaped like an attack: path traversal and encoding tricks, SQL, command and script injection, web-shell probes and known exploit paths, hunts for
.git,.env, backups and keys, unusual methods, and scanners by their own name. Counted per address and per hour; a 2xx answer to one of them is marked as the place to look first. - Evidence of compromise — found on the server itself: a script in a web root with a web shell’s shape, and the IIS worker process starting a command shell. Evidence for a person to confirm, never a verdict.
- Configuration exposure — directory browsing, detailed errors, debug and remote tracing, ViewState MAC off, a machine key in web.config, Windows sign-in without Extended Protection, Basic sign-in over plain HTTP, old TLS switched on, 8.3 names, keys and backups left in a web root.
The logs are read as they grow, a slice at a time, so a busy site is never re-read from the start; what could not be read (the IIS configuration is administrators-only on most servers) is said first, with the rules it means were not applied.

Windows Firewall, maintained for you
The blocking is automation, not a list someone keeps by hand. On each server one Windows Firewall rule holds the addresses Vantage decided to block, and it is kept in step every few minutes:
- Applied by a SYSTEM task. The agent itself runs as a least-privilege account on purpose, and Windows lets only an administrator change a firewall rule, so a small scheduled task running as SYSTEM writes the rule from the list the agent hands it and reads it back. The page says when it last applied and what Windows actually holds.
- Aged out on its own. An address that goes quiet for the block period is taken off again.
- Never your own. Private ranges and any address you mark trusted are never blocked.
- Unblock with a reason. An administrator can unblock an address on one server or all of them from the Security page; the reason and who gave it are audited, and the address is blocked again only for new failures.
- The whole estate’s list too. Each server’s rule also holds Vantage’s shared block list — what the other servers and the NetScaler gateways blocked, and what an administrator blocked by hand — so what is blocked elsewhere is blocked here too (up to 1,000 shared addresses per server, highest scored first; sharing is on by default and can be switched off or paused). A reputation database such as CrowdSec is not folded into it: it reaches a firewall as a list of its own. One block list for every firewall →
Blocking runs on the server itself; the dashboard is where you see it, tune it and undo it.
Web attackers handed to the firewall
The IIS log scan feeds the same firewall rule. An outside address that sends 5 attack-shaped requests within an hour, or a single one that was answered 2xx in a category where that matters (traversal, secrets, web shells, known exploits, injection), is blocked on that server’s Windows Firewall with the categories it tried named on the block. Internal addresses are never blocked, and an unusual HTTP method on its own never counts.
The Security page: is it an attack, is it stopped, did anyone get in
Security is a product tab of its own, with three pages: Windows Infra Security, NetScaler Security and Firewall Security, each shown where it is licensed. On Windows Infra Security every server’s feed comes together on one page that answers four questions first — are we under attack right now, are the protections stopping it, is there evidence an account was compromised, and is every server protected — then the attack timeline over 6, 12 or 24 hours or 7 and 30 days (an hour no agent reported is a gap, not a zero), a map of where the attacks come from, the sources with the accounts they tried (each with its place and the reverse name its owner published, looked up in the background so the page is never held), the block list and the events. Export it as HTML or PDF with the sections you choose.

Rules & protection: what is protected, what is blocked, what needs attention
Security’s Rules tab says where the blocking is actually in force, not only that a rule exists:
- Four tiles: protection status (active, partial or not enforced), the rules, the addresses blocked and the IP lists in use.
- Needs attention, each with its fix: a server whose blocking is not enforced or not confirmed, the blocking rule not yet taken by an agent, an Allow rule on the firewall placed ahead of a drop rule, firewall integrations switched off, a read that failed. It says all clear only once every source was read.
- Enforcement status, one row per server and per firewall list. A server that has sent no report is never shown as enforced, and a UniFi list counts as enforced only when the controller holds it and a drop rule uses it.
- On, off or paused. Sign-in blocking, the shared list and each firewall list can be switched off, or paused for 15 minutes, 1 hour, 4 hours or 24 hours and come back on by themselves. While sign-in blocking is off or paused every server only reports; while a firewall list is, its list on the firewall is emptied. Every change is in the audit log with who made it.
- The firewall, under its own row. Open a UniFi list’s row to see the controller, that list, and only the gateway rules that name it, with an Allow placed ahead of its drop flagged. Cisco Meraki is set up from the NetScaler Security page and holds the same lists as deny rules on the MX network’s inbound rules (written from Meraki’s published API; the first real sync’s read-back is the evidence).
Firewall Security: which device was blocked, and by what
Security › Firewall Security reads what your UniFi gateway or Cisco Meraki MX blocked going out from inside the network, and names the device it blocked. A part of the firewall that could not be read is said as not read, never as nothing blocked.

- By device and by site. Each device (its name, address, MAC and network) with the sites blocked for it and why — the content filter, threat protection, region blocking or another policy — or each site with the devices it was blocked for. Search for a device or a site. Connections from outside stopped at the edge are listed apart, by the inside address they were aimed at.
- Live. The newest blocks going out, one by one, read every 15 seconds while the tab is open, with a pause and a filter by why.
- Where it is read. On UniFi, the gateway’s own blocked traffic flows, and its content filter rules with the networks and devices they cover named; on Meraki, each network’s security events and content filtering (written from Meraki’s API reference).
- Blocks made at DNS. UniFi’s content filter blocks a site by answering its DNS lookup with a “blocked” address and records that nowhere Vantage can read, and machines behind a domain controller ask the domain controller, so the gateway only sees it. On a Windows DNS server the agent reads the DNS server’s debug log for those answers and names the device that asked. Vantage switches that log on where it is off (in a folder of its own, 100 MB before it starts over) and leaves a log someone else set up alone. This has not yet been run on a real domain controller.
- Unblock, allow, take back. An administrator allows a site on a UniFi content filter rule or a Meraki network, or trusts an address off Vantage’s own lists. Each change is read back from the firewall before it is called verified, and what Vantage added can be taken back. On UniFi a site can be allowed for chosen devices only: Vantage writes a rule per device that copies the filtering already covering it, with the sites added, so the device is filtered no less and nobody else changes. A threat or region block says where in the firewall to change it.





Firewall Security is a license module of its own, per installation. A key issued before it that carries sign-in protection keeps the firewall integrations, its renewals included.
Firewall diagnostics: why a site will not open behind the firewall
Utilities › Firewall diagnostics checks a Cisco Meraki MX or a UniFi gateway for one or more sites (*.example.com covers a whole domain) and, if you name it, one inside client:
- From the Vantage server. The sites resolved, their redirects followed to the hosts they land on (public addresses only), and a connection tried on 80 and 443.
- The firewall’s own settings. Its rules judged in the order the firewall applies them, the first match deciding; content filtering, threat protection and events on Meraki; IP lists and policies on UniFi. Anything not read is said as not known.
- Incoming too. Addresses coming in from outside, optionally to an inside server and port, judged against the inbound rules.
- A packet capture on the UniFi gateway. Over SSH, with the gateway’s password typed for that run and never stored, and its host key pinned. It captures on the internet side and the inside networks at once, names each inside client by its computer name where the controller or reverse DNS gives one, and says where a connection stopped: it never left the gateway, it left and nothing came back, the answer was not passed back, or the site reset it. A DNS lookup answered with a block address is named as a filter. The capture opens in Trace analysis.
- Push the fix, then check again. When one of Vantage’s own lists on the firewall holds the site’s address, an administrator trusts it, the firewall is synced and the check runs again to say Verified or Not yet. A rule someone else wrote on the firewall is never changed from here.

The Meraki side is written from Meraki’s API reference, and the gateway packet capture has not yet been run on a real UniFi gateway: the first real runs are the evidence.
Questions
Can it automatically block RDP brute-force addresses in Windows Firewall?
Yes. The agent on each server scores failed sign-ins per source address and blocks an address that crosses the rule (by default 10 failures or 3 accounts within 60 minutes) in that server’s own Windows Firewall rule, written by a SYSTEM task and lifted again after 24 quiet hours. Private ranges and trusted addresses are never blocked.
Does it work when event 4625 has no source address?
For RD Web Access, yes: the failure is joined to the IIS request in the same seconds, which carries the client’s address. For the RD Gateway, where the gateway logs its own refusal or connection events, the failure takes that event’s address for the same account. A failure that nothing explains is counted and shown, never blocked.
Does the agent need to run as an administrator to change the firewall?
No. The agent runs as a least-privilege service account by design. A SYSTEM scheduled task, registered when the agent is deployed, writes the firewall rule from the list the agent hands it and reports back what Windows holds.
Does the IIS log scan block anything on its own?
It reports first: attack-shaped requests, exposure and evidence of compromise, each shown separately. An outside address that sends 5 attack-shaped requests in an hour, or one answered 2xx in a category that matters, is also handed to the same Windows Firewall rule.
Can I turn the blocking off for a while without losing the rule?
Yes. On Security’s Rules tab an administrator can switch sign-in blocking off, or pause it for 15 minutes up to 24 hours; while it is off or paused every server only reports what it would block, and a paused rule comes back on by itself. The change is audited with who made it.
Which edition includes it?
The RD Gateway health check, the IIS log scan and the endpoint security posture are in Windows Essentials; sign-in protection with blocking in Windows Firewall is Windows Pro. Firewall Security (the edge firewalls, what they blocked and Firewall diagnostics) is a module of its own, per installation; a key issued before it that carries sign-in protection keeps the firewall integrations. See Pricing & licensing.
Can I see which device my firewall blocked, and unblock a site for it?
Yes, on a UniFi gateway or Cisco Meraki MX. Security › Firewall Security lists each inside device with the sites blocked for it and why, live as well. An administrator can allow a site on the firewall, on a Meraki network or a UniFi content filter rule, and on UniFi for chosen devices only, each change is read back from the firewall before it is called verified. Where the content filter blocks at DNS behind a domain controller, the device is named from the domain controller’s DNS log, which Vantage can switch on; that part has not yet been run on a real domain controller.
Can Vantage tell why a site will not open behind the firewall?
Utilities › Firewall diagnostics resolves and tries the site from the Vantage server, judges the firewall’s rules in the order it applies them, and on a UniFi gateway can run a packet capture over SSH (the password typed for that run, never stored) that says where the connection stopped and which inside client tried it. The capture has not yet been run on a real UniFi gateway.