it is up to you to have the software such as an firewall and AV configured properly on the machine with a possible configuration of the O/S to protect itself from attack for those who are concerned about the protection of the machine from the Internet.