Police have charged Shawn Michael Flaugher, 36, with burglaries at 29 medical offices in Cary between July 2010 and January 2011.
He's also facing a dozen charges in Durham.
Investigators say he used his expertise to compromise security systems in the offices to take medical supplies and drugs like morphine.
Among Flaugher's alleged crimes, a burglary at the Duke Child and Family Study Center, cutting security alarm wires at the Duke Primary Care Clinic, and cracking a safe at the Duke Pain Clinic after breaking into that building. Police say he took about $13,000 worth of drugs and medical supplies from those locations alone.
In addition to the break-ins, investigators say they found him in possession of computer files containing sexually explicit content showing children engaged in sex acts.
Flaugher's online profile shows he has more than 15 years security industry experience - including work in the military and private security organizations.
Duke says he is no longer employed there. It's not clear if he resigned or was fired.
The charges against Flaugher include breaking and entering, larceny, safecracking, and sex offenses.