Shares of VirnetX Holding Corp. VHC, +2.50% surged in the extended session Tuesday after a federal jury in Texas said Apple Inc. AAPL, +1.88% must pay the security software company $502.6 million over infringed patents, according to reports late Tuesday. VirnetX shares rallied 41% after hours, following a gain of 2.5% to close at $4.10 in the regular session. The jury ruled that Apple's FaceTime, VPN on Demand and iMessage features infringed four of VirnetX's patents, according to a Bloomberg News report. Damages were based upon sales of more than 400 million Apple devices, according to Bloomberg. Apple shares were down 0.1% after hours.