Hey @herRedLeftHand.
In some cases this error can pop up due to a corrupted or missing system file. The anti-cheat might be catching this and flagging it as a possible security violation. When you have a chance I'd recommend checking out the Microsoft System Files Checker to see if that helps with this at all. It might be able to find the file in question and fix it.
You can find more info on how to run the file checker over at the Microsoft Support Website. Let me know how that goes when you can.
Thanks!
/Kent