The background / security check is one of the three admissibility checks, and is done by CSIS. (The other two are medical, and criminality.) It's not public knowledge exactly what CSIS does, but you can at least verify they have your file:
http://immipedia.ca/Admissibility_checks
http://immipedia.ca/CSIS