If you are able to trace back your Poorvaj, you will come to know that at one point of time they originated from any Rishi who himself originated from any Devta. In this way the Devta with whom your DNA matches, is your Kuldevta.
In case you don't know Kuldevta/Kuldevi, you can simply worship them with below mantras:
|| ॐ श्री कुलदेवताभ्यो नमः ||
|| ॐ श्री कुलदेव्यै नमः ||
I do have a more elaborate ritual which can be done once a month.
When Kuldevta and Kuldevi are not known, you can offer separate prasadam in their name to your deity.
Since Kuldevta and Kuldevi have a direct link with your DNA, they are considered more close to you as compared to other Devtas. In this way they are also your family's first line of defense against negative energies.
Regular worship and Homa of Kuldevta creates a shield around your family. These days people don't worship Kuldevta and don't know even. Therefore, the shield which protects the family weakens over time.