The XM8 is a range of firearms that was jointly developed by the American arms company ATK (Alliant Techsystems) and the German company Heckler & Koch. The XM8 was based on the HK G36, boasts solid performance, and was developed mainly as a replacement for the M16 and M4A1 assault rifles.