def rule(event):
    if all(
        [
            event.deep_get("type", default="") == "execve",
            event.deep_get("a0", default="") == "cp",
            event.deep_get("a1", default="") == "/bin/sh",
            event.deep_get("a2", default="").endswith("/crond"),
        ]
    ):
        return True
    return False
