def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/openssl"),
            "/Volumes/" in event.deep_get("CommandLine", default=""),
            "enc" in event.deep_get("CommandLine", default=""),
            "-base64" in event.deep_get("CommandLine", default=""),
            " -d " in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
