Looks like a stink bug or beetle.
In fact, it's shaped like a stink bug in every sense, EXCEPT the flaring shape of the rear pair of legs. All the stink bug ID photos I've been looking at have spindly rears... hopefully this will help when I find the right taxon.