def rule(event):
    if all(
        [
            event.deep_get("EventType", default="") == "DeleteValue",
            "SOFTWARE\\Microsoft\\Windows Defender\\Windows Defender Exploit Guard\\Controlled Folder Access\\ProtectedFolders"
            in event.deep_get("TargetObject", default=""),
        ]
    ):
        return True
    return False
