Square attack