def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoLogOff"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoDesktop"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoRun"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoFind"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoControlPanel"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoFileMenu"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoClose"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoSetTaskbar"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoPropertiesMyDocuments"
                    ),
                    event.deep_get("TargetObject", default="").endswith(
                        "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\NoTrayContextMenu"
                    ),
                ]
            ),
            event.deep_get("Details", default="") == "DWORD (0x00000001)",
        ]
    ):
        return True
    return False
