Personal property subject to a security interest, a defendant's equity of redemption in personal property and a defendant's interest in a real estate mortgage or deed of trust or as secured party under a security agreement may be attached by the following methods, and no other:
(c) If the attaching creditor so elects and instructs the sheriff, the equity of redemption of the defendant in the personal property subject to a perfected security agreement shall be attached. Such attachment is made by serving upon the secured party, upon the defendant, and upon the person in possession of the property, if other than the defendant or secured party, if said parties can be found within the county where the property is situated, a copy of the writ of attachment, together with a notice signed by the sheriff, describing the property attached, giving the name of the secured party, and stating the interest of the defendant in the property attached, and by causing the notice to be filed in the office where a security agreement or financing statement on said property should be filed to perfect the security according to the Idaho uniform commercial code or other applicable law. The sheriff shall make the filing by mail if in an office outside his county, and shall also file with the notice in any office where a financing statement should be filed for the property, a financing statement describing the property attached, the prior security agreement, and signed by the attaching creditor or his agent as secured party and for the defendant as debtor by the sheriff. The filing officer shall receive and file the financing statement and index the same pursuant to part 5, chapter 9, title 28, Idaho Code. Service and filing as above provided shall operate as an attachment of the property described in the notice, subject to the prior rights of the secured party under the security agreement; possession of the property shall not be taken by the sheriff. Compliance with the foregoing is constructive notice to the world of the attachment. Provided, however, that this section shall not be constructive notice to a bona fide purchaser for value of any motor vehicle who has actual or constructive possession of the vehicle and who has relied on the certificate of title for determination by said purchaser as to secured parties shown thereon; nothing in this section shall relieve any person from complying with section 49-504, Idaho Code. When the sale of such property attached under this subsection (c) is made on writ of execution obtained by such creditor, the proceeds must be applied as in the case of any other execution sale. The purchaser at any such sale acquires all title and rights of the judgment debtor in the property sold, as of the time the attachment was levied, subject to the perfected security agreement including all liens if any thereunder, securing obligations to be created after the security agreement was made in cases where such obligations have actually been created, and are by law entitled to priority over attaching creditors, and is entitled to the possession of such property subject, however, to the rights of the secured party.
Any transfer of encumbrance of the attached interest of the debtor-defendant is void as against the attaching creditor, but this provision shall not be construed as forbidding or invalidating any transfer or disposition of the property lawfully made pursuant to the prior security agreement, or any other right exercised or acquired thereunder.