def rule(event):
    if all(
        [
            "schtasks" in event.deep_get("CommandLine", default=""),
            "create" in event.deep_get("CommandLine", default=""),
            "wscript" in event.deep_get("CommandLine", default=""),
            " /e:vbscript" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
