I think this question was poorly constructed.
I consider September 11, 2001 to have been a terrorist attack, not a military campaign, but that's just me. I'll admit to being poorly versed in the roles and hierarchies involved in Afghanistan, Al Qaeda, and the Taliban regime.
The Battle of New Orleans was the last engagement on American soil.
The Japanese, however, did attack the United States -- at Pearl Harbor, then a territory, and in Washington, Oregon, and Michigan.
Only Eddie knows what he was thinking when he came up with this question.