Every such bond shall be returned by the officer to and filed by the clerk of the court in which the attachment is pending, or to which the attachment is returnable, and the plaintiff may, within thirty days after the return thereof, file exceptions to the same, or to the sufficiency of the surety therein. If such exception be sustained, the court shall order the officer to file a good bond, with sufficient surety, to be approved by it, on or before a certain day to be fixed by the court. If he fail to do so, he and his sureties in his official bond shall be liable to the plaintiff as for a breach of such bond; but the officer shall have the same rights and remedies against the parties to any bonds so adjudged bad as if he were a surety for them.
Va. Code § 8.01-554