Malik, a permanent resident of Canada, is facing a deportation hearing for an alleged bomb plot in Toronto, and the penalties could be fines up to $100,000 and/or a sentence of up to five years in prison.
The agent testified that Malik told him that his family had disowned him and his mother and brother called him a terrorist because of his extremist views.
The agent said Malik told him he had "brainwashed" a Turkish friend who was a non-practising Muslim.
He said he convinced the friend to travel to Yemen to fight with ISIS. He said Malik told him he had even arranged a visa to Yemen and purchased airfare for the Turkish friend.
The agent said Malik told him the Turkish friend decided not to go at the last minute.
The agent is testifying about the extremist online videos from ISIS and others Malik allegedly favoured and showed him.
Malik came to Canada from Islamabad in 2004 on a student visa to attend York University. He acquired permanent residency in 2009.
He is estranged from his wife in Canada with whom he has two children. Malik was arrested in March for an alleged plot to bomb the U.S. Consulate and other targets in Toronto.
The government is attempting to deport him rather than have him face criminal charges. Malik is represented by a lawyer but is refusing to participate in the hearing and wishes to leave the country.