Hermione had not been counting on finding something that she hadn't even known to be looking for. As soon as they entered the vault, the unmistakable feeling of dark magic overwhelmed her and she knew then that there was a horcrux there, in the vault. One of Voldemort's many horcruxes.