Military attachés are usually high-ranking officers.
Wiktionary
Origin of Military-attach-e
military (from Middle French militaire (=modern), from Latin militaris "of soldiers or war", from miles "soldier", perhaps ultimately from Etruscan) + attaché (from French, the past participle of attacher 'to attach'.)