Mass is an intrinsic property of the rock. The mass doesn't care where it is, and it makes no difference where the rock happens to be at the moment ... its mass doesn't change.
17kg of mass is 17kg . If it's 17kg on the moon, it's 17kg on Earth.
3.4m questions
4.3m answers