Security forces on Sunday shot dead the mass shooter who went on a rampage in northeastern Thailand that left at least 21 people dead, Public Health Minister Anutin Charnvirakul said.