If your getting a roaring type of noise you probably have a driveline bearing going bad could be in a axle or the t-case.
As for the rattling noise there are a few things it could be there was a problem with the exhaust system moving while braking that was fixed by installing a bracket on the exhaust from the transmission lower mounting bolt, there is also an issue with the t-case shifter linkage rattling, when the rattle starts put pressure on the t-case handle, don't shift it just pull it up slightly if the noise is gone the bushing on the linkage is worn out.