A measure in Congress designed to fight back against the constant threat of cyber security attacks has cleared its first hurdle.