TL;DR: Hexanitrobenzene is prepared by oxidizing the amine group of pentanitronitroaniline with H2 O2 in H2 SO4 as mentioned in this paper.
Abstract: Hexanitrobenzene is prepared by oxidizing the amine group of pentanitroaniline with H2 O2 in H2 SO4. The compound is a high density explosive.