A shot in the dark

An attempt at something without much hope or chance of succeeding.

The attempt to find the small boy was a shot in the dark.