We consider the problem of finding the probability of ruin when the risk process is assumed to be a special semimartingale with absolutely continuous characteristics. We show how the generalized Girsanov theorem can be used in connection with Monte Carlo simulation to obtain estimates of the ruin probabilities. It is shown by both analytical and numerical examples that these methods can be significantly better than ordinary simulations provided the new measure is chosen with some care.