Then they send fake messages or emails to millions of investors/traders recommending them to buy that stock.
Because of this increased demand, the price of that stock starts increasing.
When the share price reaches a good price, then these fraudsters sell their stocks and get good returns.