Why a Caphyon-signed component appears in the 2FA Code Engine malware
Unit 42 recently reported a malicious campaign that distributed malware through an installer named 2fa_code_engine.exe. Their note lists Caphyon SRL among the signers of that installer. This post explains why and what it does and does not mean.
Summary
- The installer was built by a third party using Advanced Installer and signed with a certificate that does not belong to Caphyon.
- It contains viewer.exe, a legitimate Advanced Installer component that carries our signature.
- That file is identical to the one we shipped with Advanced Installer 24.0. Our signing keys were not accessed and our certificate has not been compromised.
- We are reviewing how these components are signed.
Why our signed files appear in other people's packages
Advanced Installer includes helper files that provide built-in installation features. Depending on the features a project uses, some of them become part of the package the customer builds. Examples are viewer.exe and aicustact.dll.
We sign these files before we ship them with Advanced Installer, and they can keep that signature when they are included in another installer. The signature identifies Caphyon as the publisher of that one file. It says nothing about the installer that contains it or about the applications, scripts, and other content packaged with it.
The component found in 2FA Code Engine
viewer.exe is a small launcher used by the "Launch file" custom action. It starts whatever program the installer's author configures. In this package, the author configured it to start their own malicious program.The copy in the package is the one we shipped with Advanced Installer 24.0:
x86 viewer.exe SHA256:
15EC178DB78E70D8C8D1AE80ABBE4E180DE1614B194CFF540D66B81B5D8B27E0
X64 viewer.exe SHA256:
2AE90FA456E719582FD22F84C7DB9DB45D08814A88D3F453CC52996613786377
This is a legitimate file that also appears in legitimate installers, so its hash on its own is not an indicator of compromise. The certificate that signed it signs every Advanced Installer release; blocking it would affect legitimate software.
A signed component can be included by Advanced Installer automatically or copied by anyone into another package. Neither requires access to our signing credentials.
What we are doing
We are reviewing how the helper files we ship are signed so that our signature does not travel inside packages we did not build.
What this means for users and security teams
- A legitimate signed component can be included in a malicious installer. Its signature is not assurance that the whole package is safe.
- When investigating a detection, judge the installer by its own signature, source, file hashes, and behavior. Treat the signature on an Advanced Installer helper inside it as a separate matter.
- This campaign did not involve any compromise of Advanced Installer or of packages built by our customers.
