the Azure waf blocks the launch of an .exe which I need

Morsi MASMOUDI 46 Reputation points
2023-10-27T10:02:16.0833333+00:00

Hello,

I have a very special setup, so I hope you can help me :)

I have set up an Azure Front Door to use WAF, and I have added my Windows virtual machine behind the firewall. It's important to understand that my web application uses a special web server that encapsulates a desktop-type application within a browser.

So when I launch my URL in the browser, an executable (.exe) runs on the VM.

Locally (127.0.0.1:999), my application works fine, and I can see in the taskbar that my .exe launches and runs, allowing me to access the application in the browser.

Now, if I access my web application (the encapsulated desktop application) from outside, going through the WAF, the .exe doesn't launch, and I experience an infinite loading loop in my browser.

My question is, is it possible to allow the launch of a .exe on the VM through the WAF?

I cant find something on exclusion list.

Thank you for your assistance.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
622 questions
Azure Web Application Firewall
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,261 Reputation points Microsoft Employee
    2023-11-07T16:25:41.37+00:00

    Hello @Morsi MASMOUDI ,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

    Issue:

    Your Azure Front Door WAF was blocking the launch of an .exe file on your backend VM.

    Solution:

    You found that your application uses WebSocket, however Azure Front Door does not support WebSocket protocol.

    Refer: https://video2.skills-academy.com/en-us/azure/frontdoor/front-door-faq#what-protocols-does-azure-front-door-support-

    So, you will change to Application Gateway WAF to fix your issue.

    Refer: https://video2.skills-academy.com/en-us/azure/application-gateway/application-gateway-websocket

    If you wish you may upvote the feedback in the below forum requesting WebSocket support in Azure Front Door. All the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

    https://feedback.azure.com/d365community/idea/c8b1d257-8a26-ec11-b6e6-000d3a4f0789

    If you have any other questions or are still running into more issues, please let me know.

    Thank you again for your time and patience throughout this issue.


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments