Creating a mesh on top/inside of a mesh
Create a new object (plane), get into Edit mode, and use the Snap option (and Type > Face) so that the vertices of this new object stick to the other object behind. Also, enable the Project Individual Elements option (so that when you extrude, both the vertices stick to the other object).