I am not sure. Do you have any more details to provide regarding the pest you’re dealing with? More info should be able to help us provide you with a response.
But, beetles came to mind when I saw your description. Please provide more details for a better answer.