Licensed amateur radio operators receive a call sign from their country’s communications agency (the FCC in the United States), and are required to identify themselves at regular intervals on the air. Not identifying is a sure sign of an unlicensed operator.
Ham Radio Operators and the FCC (in the US) do routinely use direction-finding techniques to find these stations (called Pirates) and then report them to the authorities.