Foods rich in DIM and may 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.