Foods rich in DIM and will boost the immune system include broccoli, cauliflower, cabbage, kale, and Brussels sprouts. These cruciferous vegetables are not just abundant in DIM but also filled with other nutrients that support immune health.