The lilac borer mines under the bark and then tunnels into the wood.