By ROB GILLIESTORONTO (AP) â¿¿ Canada's prime minister said Tuesday he's "very concerned" about allegations that his country's spies hacked phones and computers belonging to Brazil's Mines and Energy Ministry and that Canada's ambassador is working to repair the damage. Brazilian President Dilma Rousseff said industrial espionage appears to be behind the alleged spying of the country's Mines and Energy Ministry. Canadian companies have large mining interest across the globe, including about 40 companies in Brazil. Prime Minister Stephen Harper said Canadian government officials are "reaching out very proactively" to Brazilian counterparts at the foreign ministry. Harper said he could not comment further on "national security operations." Brazil Foreign Minister Luiz Alberto Figueiredo summoned the Canadian ambassador in the capital, Brasilia, and demanded explanations, the Foreign Ministry said in a statement Monday that followed the revelations that aired Sunday night on Brazil's Globo network. The report was based on documents leaked by former National Security Agency contractor Edward Snowden and was the latest case showing that Latin America's biggest nation has been a target for United States, British and now Canadian spy agencies. The report said Canadian documents presented at an intelligence conference attended by the U.S., Canada, England, Australia and New Zealand suggest that hackers at Canada's Communications Security Establishment used specialized software to get information from phones and computers at the Ministry of Mines and Energy. It didn't indicate if emails were read or phone calls listened to. The CSEC monitors foreign computer, satellite, radio and telephone traffic for intelligence of interest to Canada. Harper vowed to check if CSEC is following the law, nothing that there is a commissioner of the Canadian Security Establishment that does surveillance and audits the organization to make sure its operating within Canadian law. A spokeswoman for Canada's Communications Security Establishment said the agency "does not comment on foreign intelligence gathering activities." A spokeswoman for the Canadian Defense Department also declined comment.