New spacecraft techniques propose using CubeSats, laser rangefinding, and precise Doppler measurements to determine the mass of potentially hazardous asteroids during flyby missions.