def rule(event):
    if all(
        [
            event.deep_get("QueryName", default="").endswith("azurewebsites.net"),
            not any(
                [
                    event.deep_get("Image", default="")
                    in [
                        "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
                        "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe",
                    ],
                    event.deep_get("Image", default="")
                    in [
                        "C:\\Program Files\\Mozilla Firefox\\firefox.exe",
                        "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
                    ],
                    event.deep_get("Image", default="")
                    in [
                        "C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe",
                        "C:\\Program Files\\Internet Explorer\\iexplore.exe",
                    ],
                    any(
                        [
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files (x86)\\Microsoft\\EdgeWebView\\Application\\"
                            ),
                            event.deep_get("Image", default="").endswith(
                                "\\WindowsApps\\MicrosoftEdge.exe"
                            ),
                            event.deep_get("Image", default="")
                            in [
                                "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
                                "C:\\Program Files\\Microsoft\\Edge\\Application\\msedge.exe",
                            ],
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\Microsoft\\EdgeCore\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\Microsoft\\EdgeCore\\"
                                    ),
                                ]
                            ),
                            any(
                                [
                                    event.deep_get("Image", default="").endswith("\\msedge.exe"),
                                    event.deep_get("Image", default="").endswith(
                                        "\\msedgewebview2.exe"
                                    ),
                                ]
                            ),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\safari.exe"),
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\MsMpEng.exe"),
                            event.deep_get("Image", default="").endswith("\\MsSense.exe"),
                        ]
                    ),
                    all(
                        [
                            event.deep_get("Image", default="").endswith("\\brave.exe"),
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files\\BraveSoftware\\"
                            ),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Maxthon\\" in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\maxthon.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Programs\\Opera\\"
                            in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\opera.exe"),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\SeaMonkey\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\SeaMonkey\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\seamonkey.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Vivaldi\\" in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\vivaldi.exe"),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\Naver\\Naver Whale\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\Naver\\Naver Whale\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\whale.exe"),
                        ]
                    ),
                    "\\Tor Browser\\" in event.deep_get("Image", default=""),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\Waterfox\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\Waterfox\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\Waterfox.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Programs\\midori-ng\\"
                            in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith(
                                "\\Midori Next Generation.exe"
                            ),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\SlimBrowser\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\SlimBrowser\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\slimbrowser.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Flock\\" in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\Flock.exe"),
                        ]
                    ),
                    all(
                        [
                            "\\AppData\\Local\\Phoebe\\" in event.deep_get("Image", default=""),
                            event.deep_get("Image", default="").endswith("\\Phoebe.exe"),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\Falkon\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\Falkon\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\falkon.exe"),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files (x86)\\Avant Browser\\"
                                    ),
                                    event.deep_get("Image", default="").startswith(
                                        "C:\\Program Files\\Avant Browser\\"
                                    ),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith("\\avant.exe"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
