Perpetrator of bomb attack on Justice Ministry detained