UnitedHealth’s shares saw a 15% drop this year through Monday|Ian Fogg|CC BY-NC-SA 2.0

UnitedHealth shares climbed more than 5% on Tuesday after the company beat Wall Street profit expectations despite a cyberattack on one of its units that cost the healthcare financial system and even impacted the healthcare giant’s operations.

The stock surge comes amid falling share prices across the sector in the past few months as investors are concerned over rising medical costs. So far this year, the healthcare giant’s shares had dropped 15% through Monday, compared to a 6% rise in the S&P 500.

Competitors like Humana and CVS Health Corp. also saw increases post-UnitedHealth’s results as the company offered positive comments to investors on medical costs.