US military investigators have been working with French agencies after hacks hit domestic bases.