Pakistani security forces prevented the suicide bombers from entering the church, saving hundreds of lives, officials say.
Kazakhstan participated in the 'Friendship 2017' international counter-terrorism exercises in Pakistan that ended last week.
Security forces acted swiftly to kill all five attackers, all of whom were wearing suicide vests, preventing greater carnage, authorities say.
Afghanistan and Pakistan are among 41 countries that have joined the 'pan-Islamic unified front' against violent extremism.
The relationship between the two militant groups has grown increasingly acrimonious of late.
Military operations and a lack of public support have halted the expansion of ISIS in Afghanistan and Pakistan, say analysts.
The Taliban-linked militants were 'very violent' and would beat her, her husband and her now four-year-old son, she said.
The group has lost 95% of the cross-border 'caliphate' it declared in Iraq and Syria in 2014.
The Taliban on both sides of the border have a history of raping women and killing children, observers say.
Senior al-Qaeda leaders' apparent ability to function under Iranian protection supports claims that Tehran and bin Laden had a working relationship.