China cyberhack gives huge boost to HACK ETF

loveguli | iStock/Getty Images Plus | Getty Images

There has been one clear winner in China's hack of federal employee personal data, and it's come from an unlikely place.

An exchange-traded fund that focuses on the cybersecurity industry has been on the rise all year, but in particular since news last week that Chinese hackers had broken into the records of 4 million federal workers. The move was part of what U.S. government officials have termed a concentrated effort to infiltrate American personnel records for intelligence purposes.

The PureFunds ISE Cyber Security ETF, with the apt ticker symbol HACK, rose 4 percent Friday on the China news and another 2 percent Monday before handing back some gains Tuesday.

Continued worries about U.S. vulnerability to global cyber-espionage "have translated into rapid asset gathering and returns well above both market benchmarks like the S&P 500 Index, and diversified tech funds such as the Technology Select Sector SPDR Fund," according a report on ETF.com.

Read MoreGovernment breach wakes up investors

The fund has gathered $122 million of investor cash in June alone and $718 million for the year to take its total under management to $868 million. No wonder: HACK is up a glittering 19.7 percent year to date and thus is expected to top $1 billion in assets shortly.

The fund tracks the ISE Cyber Security Index, the largest components of which include FireEye, Infoblox and Palo Alto Networks.