People who have real medical illnesses will subconsciously learn how to use those illnesses to meet certain psychological needs and get excused from responsibilities. Malingering is a slightly different diagnosis for a couple of different reasons, but the key thing here is that we actually have some iteresting papers about how people cope when faced in adversarial situations.