Try finger-pointing - Definition of finger-pointing, point the finger at - Idioms - by the Free Dictionary, Thesaurus and Encyclopedia.
The wrongdoer tries to get away with his wrongdoing by blaming others. He points fingers, but his hands aren't clean. (Bob Marley paraphrased).
"Deflect blame" means this, but I wouldn't call it an idiom.