RAT detection