WASHINGTON -- By the end of the year, automakers will have a new layer of defense in the fight against would-be car hackers.