def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\cmd.exe"),
            "/c " in event.deep_get("CommandLine", default=""),
            ".lnk ~" in event.deep_get("CommandLine", default=""),
            "Start Menu\\Programs\\Word" in event.deep_get("CommandLine", default=""),
            event.deep_get("CommandLine", default="").endswith(".doc"),
        ]
    ):
        return True
    return False
