Attackers swapped an eScan antivirus update package sent over plain HTTP for one holding a malicious version.dll, which installed spying and mining software, in 2018.
Avast researchers named the campaign GuptiMiner. The first sample dates from 19 April 2018, and eScan confirmed a fix on 31 July 2023.
What happened
Attackers used a man-in-the-middle position to swap a genuine eScan update for a malicious one.
- The eScan client fetched updates from
http://update3.mwti.net/pub/update/updll3.dlzover plain HTTP. - The attacker replaced the package on the wire.
- The bad package carried a DLL, usually
version.dll, inC:\Program Files\eScan\, which eScan loaded. - The DLL ran more code, including an XMRig miner injected into
credwiz.exe. - Other payloads were backdoors that spread over SMB and a modular backdoor for enterprise networks.
eScan added HTTPS downloads after disclosure on 31 July 2023.
Affected versions
- Avast lists no eScan product version numbers. Any eScan client that used the plain HTTP update download was open to attack.
- Activity ran from at least 2018 to mid-2023.
- Avast saw the last variants in November 2023.
- Only users whose traffic an attacker can alter received the bad package.
Indicators of compromise
- File
version.dllinC:\Program Files\eScan\that eScan did not ship. - Trojanized package name
updll62.dlz. - Other DLL names from later variants:
atiadlxx.dll(AMD CNext folder),BrLogAPI.dll(Brother folder),updll3.dll3(Crypto folder). - Domains:
ns1.peepzo.com,ext.peepzo.com,crl.peepzo.com,m.airequipment.net,gesucht.net,www.righttrak.net,www.elimpacific.net. - Registry:
HKLM\SYSTEM\CurrentControlSet\Control\CMF\Class,HKLM\SYSTEM\RNG\FFFF,HKLM\SOFTWARE\Microsoft\DECLAG. - Mutexes:
ONLY_ME_V1,SLDV01toSLDV15,PROCESS_. - SHA-256 of the first 2018 sample:
c3122448ae3b21ac2431d8fd523451ff25de7f6e399ff013d6fa6953a7998fa3.
How to check
Look for the sideloaded DLL on each Windows machine that runs eScan.
dir "C:\Program Files\eScan\version.dll"
Then look for the registry key. A DLL that eScan did not ship, or the key, needs follow-up.
reg query "HKLM\SYSTEM\CurrentControlSet\Control\CMF\Class"
What to do now
- Update eScan to a build that downloads over HTTPS, as the vendor fixed after July 2023.
- Run the file and registry checks above on every machine with eScan.
- If a check hits, isolate the machine. The malware spreads over SMB, so check neighbouring machines.
- Rebuild affected machines, reset credentials used on them and block the listed domains.
Frequently asked questions
What is GuptiMiner?
GuptiMiner is a campaign that hijacked eScan antivirus updates sent over HTTP. The attackers delivered a malicious DLL that installed a miner and backdoors.
How did attackers hijack eScan updates?
They intercepted the unencrypted HTTP request for the update package and replaced it with a package that held a malicious version.dll.
Did eScan fix the GuptiMiner problem?
Yes. Avast reports that eScan confirmed a fix on 31 July 2023 and added HTTPS downloads and stricter signing checks.
Sources
Send this page to the person who looks after AI at your company.