From NBC San Diego:

The Port of San Diego was a victim of a ransomware attack and is partnering with the FBI and the Department of Homeland Security to investigate the matter, Port CEO Randa Coniglio said in a statement released Thursday.

Hackers breached the Port’s information technology systems on Tuesday and demanded payment in Bitcoin, the agency said, though the amount was not disclosed.
Ransomware works by encrypting a user’s data and holding the decryption key until the ransom is paid.

It was unknown how the ransomware got onto the Port’s computer, but experts say it could happen a number of ways, such as someone opening an infected email attachment, clicking on a malicious web link, or plugging in a USB thumb drive that’s been infected. Another way is a direct hack of a computer that’s connected to the Internet.

More at NBC San Diego