That's software piracy.
On a military network it's a more serious matter than it would be on a home PC. Unlicensed software is a standard entry point for malware, and installing it on a government system typically breaches acceptable-use policy and can escalate into a security incident rather than a simple licensing issue.
The correct route for any software on those machines is through the unit's approved procurement and IT channels.