The built-in VBA Input Box does not natively support masking.
You could write some very complicated code to achieve this with the input box, but a much better and simpler option would be to create a userform which looks just like the input box. The text entry area of the userform would be an ActiveX textbox control which has a PasswordChar property which you can set to *. It will then mask each character as you want.