CFG or Control Flow Guard it's a Windows security feature designed to prevent memory corruption vulnerabilities and reduce the execution of exploits, such as buffer overflows. CFG is an enhancement over previous exploit mitigation technologies, such as /GS (Buffer Security Check), Data Execution Prevention (DEP), and Address Space Layout Randomization (ASLR).
CFG
![](https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=914,h=410,fit=crop/A1aBoqg8XrTLxEyM/cfg-m7V52z24XVFK9Nw8.png)
![](https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=328,h=155,fit=crop/A1aBoqg8XrTLxEyM/cfg-m7V52z24XVFK9Nw8.png)
![](https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=1920,fit=crop/A1aBoqg8XrTLxEyM/wallhaven-yjqyyx-mnlqZM4Dbws43kb7.jpg)