You can load the STL, then convert it to a segmentation node using the “Convert model to segmentation node” option in the Data module (as explained here very recently as well), then convert the segmentation to labelmap, finally save the labelmap to mhd using the Save data button.
Note that without specifying a reference volume the resolution of the volume will be 1mm x 1mm x 1mm.