Hacking medical data has become a booming business, and attacks against hospitals are up 600 percent in 2014, a security company CEO told CNBC.

The increase in data-sharing, and the growth of the Internet of everything may be good for medicine, but it's creating a security nightmare for the health-care industry, said John McCormack, chief executive of Websense.