In photoshop it is very easy to crop a square.
Open your image and select the Crop tool (C).
Now select 1:1 for a square
You can move the square with your mouse/pen, to crop the picture the way you like. Be aware that your pixels will be removed it the checkbox 'Delete cropped pixels ' is on
Done !