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