def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith(
                        "\\Microsoft\\Network\\svchost.exe"
                    ),
                    all(
                        [
                            "\\Windows\\Caches\\NavShExt.dll"
                            in event.deep_get("CommandLine", default=""),
                            "/c del" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
            all(
                [
                    any(
                        [
                            event.deep_get("CommandLine", default="").endswith(
                                "\\AppData\\Roaming\\MICROS~1\\Windows\\Caches\\NavShExt.dll"
                            ),
                            event.deep_get("CommandLine", default="").endswith(
                                "\\AppData\\Roaming\\Microsoft\\Windows\\Caches\\NavShExt.dll"
                            ),
                        ]
                    ),
                    ",Setting" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
