WW1 trench warfare. Trenches generally had pillboxes which could be described as defensive structures, and the entire trench warfare was about slowly building these defensive structures towards the enemy.
Modern offensive tunnels pop up in the news regularly in the Israeli/Palestinian conflict and occasionally with Noth Korea too. https://en.m.wikipedia.org/wiki/Tunnel_warfare