def rule(event):
    if all(
        [
            "CreateObject" in event.deep_get("CommandLine", default=""),
            "Wscript.shell" in event.deep_get("CommandLine", default=""),
            ".RegWrite" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
