Foods rich in DIM and will boost the immune system include broccoli, cauliflower, cabbage, kale, and Brussels sprouts. These cruciferous vegetables are not only full of DIM but additionally loaded with other nutrients that support immune health.