A suicide attack targeting a military academy in the Afghan capital Kabul killed at least five people early Tuesday, in the first major assault in the city in months.