def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\csi.exe"),
                            event.deep_get("Image", default="").endswith("\\rcsi.exe"),
                        ]
                    ),
                    event.deep_get("OriginalFileName", default="") in ["csi.exe", "rcsi.exe"],
                ]
            ),
            event.deep_get("Company", default="") == "Microsoft Corporation",
        ]
    ):
        return True
    return False
