def rule(event):
    if all(
        [
            event.deep_get("TargetFilename", default="").endswith(".rdp"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\brave.exe"),
                    event.deep_get("Image", default="").endswith(
                        "\\CCleaner Browser\\Application\\CCleanerBrowser.exe"
                    ),
                    event.deep_get("Image", default="").endswith("\\chromium.exe"),
                    event.deep_get("Image", default="").endswith("\\firefox.exe"),
                    event.deep_get("Image", default="").endswith(
                        "\\Google\\Chrome\\Application\\chrome.exe"
                    ),
                    event.deep_get("Image", default="").endswith("\\iexplore.exe"),
                    event.deep_get("Image", default="").endswith("\\microsoftedge.exe"),
                    event.deep_get("Image", default="").endswith("\\msedge.exe"),
                    event.deep_get("Image", default="").endswith("\\Opera.exe"),
                    event.deep_get("Image", default="").endswith("\\Vivaldi.exe"),
                    event.deep_get("Image", default="").endswith("\\Whale.exe"),
                    event.deep_get("Image", default="").endswith("\\olk.exe"),
                    event.deep_get("Image", default="").endswith("\\Outlook.exe"),
                    event.deep_get("Image", default="").endswith("\\RuntimeBroker.exe"),
                    event.deep_get("Image", default="").endswith("\\Thunderbird.exe"),
                    event.deep_get("Image", default="").endswith("\\Discord.exe"),
                    event.deep_get("Image", default="").endswith("\\Keybase.exe"),
                    event.deep_get("Image", default="").endswith("\\msteams.exe"),
                    event.deep_get("Image", default="").endswith("\\Slack.exe"),
                    event.deep_get("Image", default="").endswith("\\teams.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
