Cold wallets like Ledger and Trezor are not connected to the Internet, so they avoid most attacks.