Skip to content

Instantly share code, notes, and snippets.

@sunnyc7
Created April 3, 2020 04:44
Show Gist options
  • Select an option

  • Save sunnyc7/4a6e5cdebd2f4cb09e0db08f264b1425 to your computer and use it in GitHub Desktop.

Select an option

Save sunnyc7/4a6e5cdebd2f4cb09e0db08f264b1425 to your computer and use it in GitHub Desktop.
Quick notes on WDEG (Windows Defender Exploit Guard) - CFA feature

Quick note on WDEG CFA (Controlled Folder Access)

Scenario:

CFA Blocks

  • Unsigned executables from writing to the folder
  • Blocks Commandline DOS commands - touch/echo/type from writing to the folder
  • Blocks Powershell.exe from writing

CFA Allows

  • Signed executables like excel.exe, winword.exe
  • File creation using FSUTIL

Other

  • If a file EXISTS in in c:\demo, then you can modify/edit it.
  • You'd need NTFS permissions to the folder. CFA is not a substitute for ACL (Access Control List)

TODO

  • Check behavior for different binaries signed by CodeSign/MSFT/Vendor Sign / Internal PKI ss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment