WASHINGTON—National security officials say universities are at the leading edge of a plan by Beijing to illicitly gain scientific expertise and leapfrog the technology gap with the West, but prosecutors face challenges proving wrongdoing in court, as new allegations in a criminal case in Kansas underscore.

The Chinese government pays thousands of scientists around the world to moonlight at Chinese institutions through arrangements where they often spend months in China without disclosing the work to their primary employers,...