Hello Sophos Team, I am running a trial version of Sophos Endpoint. The version numbers are mentioned in the subject line. I am developing a WFP based windows driver the purpose of which is to identify packets associated with certain applications and based on application type enforce a certain policy. For this I have a callback registered at FWPM_LAYER_ALE_CONNECT_REDIRECT_V4 to look at the first TCP segment going out. In the callback function I absorb (FWPS_CLASSIFY_OUT_FLAG_ABSORB) the original packet, pend classifcation by calling FwpsPendClassify and set the actionType field of classifyOut structure to FWP_ACTION_BLOCK. I then defer the process identification part in a work item. Once the work item is complete the absorbed packet is forwarded without any modification and I complete the pending classification calling FwpsCompleteClassify. Though I havent given all the API calls and how i use them, the driver worked perfectly until I installed Sophos endpoint.
I see that the packets are being sent out by my driver after process identification, however the Sophos Web Security component drops packets destined for port 443. Why is this happening? If I uninstall sophos the traffic to port 443 flows through fine, or in my driver if I remove the pend/classify code the traffic flows through fine. But removing the pend/classify operation is not an option because decisions are made in my driver based on the application that originated the packet and so I have to pend classification. Clone/Re-inject does not work either because the sophos driver drops these packets.
Is there a work around for this? If there is any logs or extra information that you need I can provide them.
Regards,
Winny
This thread was automatically locked due to age.