Maryland Criminal Law Section 4-402
§ 4-402.
  (a)   The presence of a machine gun in a room, boat, or vehicle is evidence of the possession or use of the machine gun by each person occupying the room, boat, or vehicle.
  (b)   This subtitle does not prohibit or interfere with:
    (1)   the manufacture, sale, and transportation of a machine gun for or to a military force or peace officer of the United States, a state, or a political subdivision of a state;
    (2)   the possession of a machine gun for a scientific purpose;
    (3)   the possession, as a curiosity, ornament, or keepsake, of a machine gun that cannot be used as a weapon; or
    (4)   the possession of a machine gun for a purpose that is manifestly not aggressive or offensive.
  (c)   (1)   A court may issue a warrant to search for and seize a machine gun possessed in violation of this subtitle under the same procedure as for issuance of a warrant for stolen property.
    (2)   On application by the State's Attorney, a court may order the confiscation or destruction of a legally seized machine gun or the transfer of the machine gun to a peace officer of the State or a political subdivision of the State.