def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\EXCEL.EXE"),
                            event.deep_get("Image", default="").endswith("\\POWERPNT.EXE"),
                            event.deep_get("Image", default="").endswith("\\WINWORD.exe"),
                        ]
                    ),
                    event.deep_get("OriginalFileName", default="")
                    in ["Excel.exe", "POWERPNT.EXE", "WinWord.exe"],
                ]
            ),
            any(
                [
                    "http://" in event.deep_get("CommandLine", default=""),
                    "https://" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
