def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("/wget"),
            "https://temp.sh/" in event.deep_get("CommandLine", default=""),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith(".rar"),
                    event.deep_get("CommandLine", default="").endswith(".zip"),
                ]
            ),
        ]
    ):
        return True
    return False
