Using Cosmic Rays Detected by HST as Geophysical Markers. I. Detection and Characterization of Cosmic Rays