u must use security components in the joomla extensions this will definately protect u against attacks!!
Use Mighty Defender. It scans and blocks any attack that comes though index.php, no matter Joomla core or 3dp extensions. And besides it protects form spam and flood.