One is never "immune" by using one OS or another. Certain OS security philosophies are much more secure than others. Linux has much fewer security related vectors of attack due to the fact that it has a much more secure philosophy than operating systems such as Windows. The fact that more advanced computer users usually use Linux also making it less of an easy target.
Want DP delivered to your inbox daily? Subscribe here: