Attackers use tools called Wallet drainer https://quarklab.ru/ or simply crypto drainer to carry out a crypto scam, when money or digital coins are illegally transferred from one wallet to another.