Corner modelling technique
You can also use the Bevel tool.

Take the default cube, and extrude three sides
Select the outer edges and bevel them (e.g. Bevel modifier)
Remove double vertices (e.g. Weld modifier)


This image shows which edges to bevel