def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "EXECVE",
            event.deep_get("a0", default="") == "unzip",
            any(
                [
                    event.deep_get("a1", default="").endswith(".jpg"),
                    event.deep_get("a1", default="").endswith(".png"),
                ]
            ),
        ]
    ):
        return True
    return False
