Cockroaches are attracted to properties that provide them with food, water, and shelter. They are particularly drawn to areas with accessible food sources, such as crumbs and unsealed food containers.