For example, you can use modem-specific commands - that allow you to detect GSM jamming, fake GSM base stations and intentionally weakened GSM encryption (I know SIM800 has the first and provides data to help with the second, for a start).