In my undergraduate Mechanisms-class the formation of tetranitromethane from acetic Anhydride with fuming $\ce{HNO3}$ was listed as optional knowledge in a chapter about the reactions of enols, enamines, etc. I can't find it in my notes or in the recommended literature, neither can I find information on molbase, and the two papers I can find, the original 1910 synthesis and This, are not mentioning any reaction mechanism.
I guess it somehow decomposes at the stage when the acetic anhydride is tri-substituted on one side, and somewhere there is a trinitromethane-anion involved which forms the product with $\ce{NO2+}$?