Showing results for 
Search instead for 
Did you mean: 

ADFS Proxy, APM, ASM Craziness



We've been doing some testing recently with using the APM Proxy for ADFS which is basically a check box in the APM section of a virtual server that allows one to establish a trust with the ADFS backend servers for automagical certificate renewals.  

What we are now adding on is an AWAF policy.  I understand that APM comes before ASM when it comes to traffic processing order (  What we are experiencing in our testing, is that if we go to via cURL, an ASM event is not triggered for either "Host Header contains IP Address" or the attack signature "/etc/passwd" but rather a 404 response code.

When we add in via cURL, a block event happens and we can view it in the ASM event logs.  This to me indicates that the previous "/etc/passwd" doesn't even get processed by ASM and somehow, APM knows the URLs used by ADFS due to using the proxy setting on the virtual server and gives a 404 back, thus never even pushing to ASM.

I'm trying to look for some documentation on this functionality but can't seem to find anything.  Does anyone know if there is documentation around the functionality fo the ADFS proxy with F5?

Any help is greatly appreciated!


F5 Employee
F5 Employee

I've done some work on the ADFS Proxy but not with both that and ASM. What you are saying makes sense though - traffic is destined to APM ( rather than to a backend server, which is what ASM is more normally used for ) and APM translates them to the Microsoft ADFS proxy protocol. Have you looked at

Hi Pete,

So what'eve we found is that once we add the /adfs to the URL, we get a 404 response code with no event logs for ASM.  We believe that using the ADFS Proxy setting on a virtual server, the BIG-IP will allow anything with /adfs in the URL to be processed by ASM but if a request doesn't start with /adfs in the URL, it immediately gives a 404 response code.  No iRules were in play to provide that.

While we're happy that APM is providing some sort of security, we get no logs out of this to send to our SIEM.  We looked at that article so we're looking into it.  We're onto another problem with version 15 not supporting ADFS 5.0.