Ok, I have a challenge. A customer uses two gateway vservers to permit Akamai WAF to be in front of one and the "OGR" one for direct receiver connections once authenticated etc. In December, a threat actor hit the external site for the OGR gateway, which returns a standard login portal and attempted to brute force their way in. The gateway does not have an approved login setup so it always failed, but several million login attempts is a load on the system. At that time, we added a rule that if the CitrixReceiver header was not present, drop the traffic. We can't do a rate limiting rule because there isn't a login. We can't change the login schema because their isn't a login. The header worked, until last Friday a threat actor knowing it was a NetScaler Gateway inserted the Citrix Receiver header, and tried again about ten thousand times to login. This time they spaced it out so there was not more than 3 or 4 failed attempts per minute. Tricky little sucker. Again, there is not a valid method of logging in, so they didn't get anywhere. I had thought we could change theme of the gateway page to have a blank login page or modified in some way that there was not a login username and password field on the page that was returned. I created a new theme from the RfWebUI template, modified the pages and uploaded them, and bound the theme to the gateway. When the customer attempted to view the page spoofing the header, they received the default RfWebUI theme once again. At this time I noted that the earlier attempt had not returned their modified UI, but the default one. As a test, we enabled the GreenBubble and X1 themes, and these themes did display. It appears that the OGR Gateway without a login will not accept a custom UI theme, I suspect because it does not have a login schema attached.
Anyone have any ideas how to work around this? Any other ideas how to block login attempts on this page? We can't modify the traffic or send responder or rewrite policies because we cannot affect the valid receiver traffic.