The rise of "pay-per-click" online advertising, celebrated for turning Google Inc. and Yahoo Inc. into enormous businesses, is proving a boon for cyberthieves. Hackers are using increasingly sophisticated computer programs to automate phony clicks on Internet ads and then hide the click fraud from detection.