PhantomScan: A Multi-Stage Malware Loader Abusing Canon's Signed Scan Utility
10 Minute Read
by Maor Gabay
Executive Summary
A malicious attachment delivered through an existing business email conversation uncovered a Windows x64 loader that abuses a signed Canon scanning utility to initiate a multi-stage infection. We refer to this activity as PhantomScan, a name for the investigated intrusion chain rather than an established malware family or attributed threat actor.
The attack uses a password-protected RAR archive containing a shortcut disguised as a PDF and a hidden directory of supporting files. A VBScript stages three components, launches the legitimate Canon executable and presents a decoy document. Analysis of the components documented DLL sideloading, in-memory payload decoding, privilege-adaptive registry staging, and modification of the Windows Media Player initialization routine LdrInitializeThunk.
The core loader sequence was reproduced in a controlled environment. The Canon host completed its monitored activity in approximately 26.8 seconds. The investigation identified a suspected command-and-control endpoint; subsequent laboratory connection attempts to the same IP address were refused. No additional payload was recovered. The combination of file staging, malicious image loads, registry activity, and process memory modification provides several opportunities for detection and investigation.
Background
The investigation began with a malicious attachment delivered in an existing business email conversation, described by the investigators as email thread hijacking. Our analysis combines findings from the case, recovered components, and controlled execution.
We combined static analysis with controlled execution in a laboratory environment, examining the Canon executable, its companion DLL, and the VBScript. We compared an isolated shellcode execution with a run of the three core components. The latter yielded 1,829 monitored API calls in the Canon process, 14 behavioral signatures, and 10 extracted memory regions. Packet analysis and threat intelligence queries reviewed on November 24, 2026, complemented these findings.
The process identifiers and relative timestamps below refer to the controlled execution of the core components. This laboratory run began with the staged Canon executable and complements the investigation of the earlier delivery stages.
Infection Chain
Figure 1 summarizes the infection chain, from document-themed delivery to the execution of the loader and subsequent network activity. We reproduced the core loader sequence under controlled laboratory conditions.

Figure 1. Reconstructed infection chain based on the investigation and supporting laboratory observations.
Initial Delivery
The investigation describes a password-protected RAR archive delivered within an existing business email conversation, with the password supplied in the message body. Recorded Microsoft Exchange header fields include SCL 1, AuthAs: Internal and DKIM and DMARC results of none. The use of an encrypted attachment is consistent with an attempt to complicate automated inspection, but neither gateway bypass nor account compromise is established by these fields alone.
The archive is described as containing a visible shortcut named all.pdf.lnk and a hidden images directory. The recovered VBScript corroborates the expected file layout, including the disguised components and decoy document. Together, these artifacts indicate a delivery mechanism designed to resemble an ordinary business document.
Malicious LNK File
The original investigation identifies a 1,157-byte shortcut named all.pdf.lnk targeting the Windows graphical script host, wscript.exe, with a reference to images\6.vbs. The recovered VBScript corroborates the expected directory structure and cleanup of shortcut files. The shortcut's original bytes were not included in the evidence package, so its metadata and hash are retained as reported investigation findings.
VBScript Dropper
The 1,526-byte VBScript uses the Windows scripting file system and shell objects to locate its own directory, identify the archive root, and stage files under C:\Users\Public\Downloads. It attempts to delete shortcut files in the root directory and copies the three disguised components before renaming them. The recovered filenames and their operational roles are shown below.
|
Archive Name |
Staged Name |
Role |
|
images\1.pdf |
CNMFSUT6.EXE |
Signed Canon utility |
|
images\2.pdf |
CNMFSUR6.DLL |
Unsigned malicious loader |
|
images\3.pdf |
18729739 |
Encoded payload |
|
images\all.jpg |
all.pdf |
Decoy document |
Table 1. Components referenced by the recovered VBScript.
Once the executable is available, the script launches it without waiting for completion. It then attempts to copy the disguised decoy into the archive root as all.pdf, open the document, and delete the script. The deletion of the script is conditional on the presence of the decoy. The error handling suppresses many runtime errors, so a failed copy or deletion need not stop subsequent operations. This is an important distinction between the actions defined in the script and their successful execution on a particular endpoint.

Figure 2. Cropped, annotated excerpt of the recovered VBScript, highlighting file staging and cleanup. This is a rendered source excerpt, not an archive listing.
The decoy is not required for the loader’s core behavior. Its role is consistent with maintaining the appearance of a normal document interaction. The laboratory run of the three core files was sufficient to reproduce the later stages without the shortcut, script, or decoy. The infection, therefore, has a separate delivery layer and execution layer, each providing different opportunities for investigation.
Eliminate email threats before they breach your security.
Learn MoreTechnical Analysis of PhantomScan
Abusing Canon DLL Sideloading
The host, CNMFSUT6.EXE, identifies itself as Canon MF Network Scan Utility 64bit, version 1.02. It is a 486,552-byte PE32+ executable with a PE timestamp of September 26, 2012. Static analysis records Canon signing information and a Symantec timestamp countersignature. The evidence review reports a local Authenticode verification result of Valid for the executable and NotSigned for the supplied DLL. The valid signature covers the host, not the companion DLL.
The original static analysis identifies a LoadLibraryW reference to CNMFSUR6.DLL inside wWinMain. The retained host contains the bare library name, and the laboratory trace records the corresponding LdrLoadDll event in the Canon process. Together with the staged file pairing, these findings support DLL sideloading.

Figure 3. Evidence card summarizing local Authenticode checks and the bare library name string; the signed executable and unsigned companion DLL are distinguished.
|
Property |
Canon Host |
Supplied Loader DLL |
|
Filename |
CNMFSUT6.EXE |
CNMFSUR6.DLL |
|
Size (bytes) |
486,552 |
448,512 |
|
PE type |
x64 executable |
x64 DLL |
|
Authenticode (reviewed) |
Valid (Canon) |
NotSigned |
|
PE timestamp (UTC) |
2012-09-26 05:02:20 |
2023-10-09 20:27:34 |
Table 2. Static characteristics reported for the two PE components. PE timestamps are not verified compilation dates.
Malicious Loader Architecture
The supplied DLL is a 448,512-byte x64 library with C++ symbols and an embedded PDB name of CNMFSUR6.pdb. Its two reported exports are mangled assignment operators for a C++ class, both pointing to the same address. The static import summary lists 285 functions across 10 libraries. Several native memory-management and process-control APIs observed during execution are absent from the static import table and instead appear in the dynamic resolution trace.
The malicious DLL contains TLS callbacks and a nonstandard .fptable section, although their role in the loader's execution remains unverified.

Figure 4. PE information recorded during laboratory analysis of the unsigned DLL, including the nonstandard .fptable section.
During execution, the signed Canon utility loads the malicious DLL, which accesses the encoded payload and performs memory and registry operations. The laboratory trace also records dynamic API resolution from unbacked memory, providing further insight into the loader's runtime behavior.
Payload Decryption and Memory Analysis
The third component, 18729739, is a 724,502-byte headerless data file. During execution, the loader reads the encoded payload into memory and subsequently deletes the original file. Runtime memory analysis revealed raw x64 shellcode rather than a conventional PE image.
The original analysis identified a rolling LCG/XOR decoding routine, although the specific algorithm remains independently unverified. The recovered runtime code and file-handling telemetry support in-memory payload decoding.
Laboratory analysis extracted ten memory regions, including a primary shellcode dump of 724,637 bytes. The separately retained decoded file measured 724,992 bytes. Differences in size and SHA-256 hashes confirm that these artifacts are not identical. Table 3 summarizes the recovered and previously reported artifacts, including those whose provenance remains unresolved.

Figure 5. Laboratory analysis record of the 724,637-byte runtime memory extraction.
|
Artifact or Extraction |
Bytes |
Source / Qualification |
|
Encrypted container |
724,502 |
Recovered disk file |
|
Retained static file |
724,992 |
Isolated run; distinct SHA-256 |
|
Runtime snapshot A (#4) |
724,701 |
Reported decoded buffer |
|
Runtime snapshot B (#7) |
724,888 |
Reported decoded buffer |
|
Primary extraction (#8) |
724,637 |
Runtime memory extraction |
|
Extracted region (#9) |
4,091 |
Reported registry / page chunk |
|
Extracted region (#10) |
729,083 |
Reported allocated-region extraction |
|
Earlier dossier entry |
725,824 |
Reported earlier decoded artifact; provenance unresolved |
Table 3. Selected artifact lengths and provenance from the dossier and the November 24 evidence review.
When executed in isolation, the decoded shellcode terminated almost immediately without exhibiting process injection. In contrast, execution of the three core components reproduced the injection sequence. This behavioral difference suggests a dependency on the loader's execution context, although the specific prerequisites remain unidentified.

Figure 6. Laboratory file analysis record for the separately retained 724,992-byte shellcode file.
Registry-Based Staging
The loader employs a privilege-adaptive registry staging mechanism. When an attempt to create HKLM\Software\UnGzgrat\AvalArgr\FS fails with ERROR_ACCESS_DENIED, it falls back to the equivalent HKCU path, allowing execution to continue without administrator privileges.
Laboratory analysis recorded 184 registry writes under the FS subkey, using eight-character hexadecimal value names, alongside a separate 16-byte REG_NONE value named RizuLct at the parent key.
The original investigation also reported an elevated configuration containing up to 604 values across four subkeys: F0, F1, FL, and FS. This configuration was not reproduced during the standard-user laboratory run.

Figure 7. Laboratory record of modified registry keys and the reported remote host.
The original analysis describes high-entropy registry data (approximately 7.999) and identifies RizuLct as a GUID-related value associated with CoCreateGuid. The retained trace confirms a 16-byte write but does not preserve its contents, so neither the precise value nor the reported entropy can be independently verified from that trace. The role of the stored data and any subsequent consumption by the target remain unresolved. Registry staging alone does not establish persistence after reboot.
Process Injection via LdrInitializeThunk
The loader initially attempted to launch Windows Mail before successfully creating Windows Media Player in a suspended state. Both applications were identified as process targets in the original decoded payload analysis.
Laboratory analysis documented extensive memory writes and protection changes across the host and target processes. The observed shellcode pages were not left with simultaneous write and execute permissions, although the modification of the target's ntdll.dll temporarily required writable and executable memory.

Figure 8. Evidence summary derived from the laboratory API trace, showing memory protection groups, registry writes, and analysis-related queries.
The most distinctive finding is a 12-byte modification attributed to ntdll!LdrInitializeThunk within the target process. The recorded memory operations and subsequent thread resumption support a process initialization hijacking mechanism. Although the API telemetry supports this interpretation, the exact modification and subsequent control flow were not independently verified through target-side memory analysis.

Figure 9. Laboratory API trace showing suspended Windows Media Player creation, remote allocation, and an execute-read protection change. The initialization-routine write is not visible in this frame.
The investigation identified parameter-related memory writes and process handle duplication, suggesting coordination between the host and the target process. Notably, the recorded injection sequence did not involve observed calls to CreateRemoteThread, SetThreadContext or QueueUserAPC.
Following thread resumption, the Canon host successfully opened a named global mutex before terminating. This behavior suggests a synchronization mechanism, although the identity of the mutex creator remains unconfirmed.
|
Elapsed Time |
Observed Milestone |
Trace Reference |
|
0.125 s |
Canon host loads supplied DLL |
[0045] |
|
1.016 s |
Payload container deletion |
[0352] |
|
4.453 s |
Windows Media Player created |
[0767] |
|
24.656 s |
Target primary thread resumed |
[1708] |
|
25.672 s |
Global mutex opened successfully |
[1712] |
|
26.688 s |
Host termination call |
[1715] |
|
26.797 s |
Final monitored host call |
Laboratory trace |
|
32.377 s |
First TCP SYN; reset follows |
PCAP review |
Table 4. Selected laboratory execution milestones, relative to the first monitored Canon host event. Network events are separately derived from the packet capture.
Anti-Analysis Capabilities
The trace shows the loader querying its process token, attempting to adjust four privileges, and searching for windows associated with Process Monitor, x64dbg, and x32dbg. The reported privilege adjustment attempts failed. A keyboard layout query and a check of the system FIPS policy are also recorded. The window searches establish that the software looks for analysis-related applications, but the supplied record does not demonstrate a change in behavior when one is detected.layout query and a check of the system FIPS policy are also recorded. The window searches establish that the software looks for analysis-related applications, but the supplied record does not demonstrate a change in behavior when one is detected.
The original decoded-payload analysis reports the ETW routine names EtwEventWrite, EtwLogTraceEvent and EtwTraceMessage, together with the module names cyinjct.dll and Protector64.dll. These references suggest possible inspection of security-related components. The retained standalone shellcode file did not reproduce those plaintext strings, and the monitored host log from the full-component run did not contain corresponding ETW API calls. The original runtime artifact was not available for a new string analysis. The findings do not establish successful ETW patching or EDR impairment.
Command-and-Control (C2) Infrastructure
The investigation identified 141.164.52[.]40:443 and hip.dhfjrbackup[.]com as suspected C2 infrastructure. The original analysis reported WinHTTP activity associated with Windows Media Player, including an HTTP GET request with a Content-Length of 16 and a Chrome-like User-Agent. The IP address was reported as hosted by Vultr (AS20473) in Seoul, South Korea.
Laboratory network analysis recorded ten connection attempts to the identified IP address, all rejected with TCP RST, ACK responses. Network activity began approximately 5.58 seconds after the final monitored activity of the Canon host. No TCP handshake was completed, and the reported HTTP activity was not reproduced. The originating process could not be independently identified from the packet capture.

Figure 10. Derived timeline aligning monitored API events with UTC packet timestamps. Network process attribution remains inferred.
Conclusion
PhantomScan demonstrates how a legitimate, digitally signed utility can serve as the entry point for a modular malware loader. By combining DLL sideloading, in-memory payload decoding, privilege-adaptive registry staging, and process initialization hijacking, the loader illustrates the limitations of relying on application reputation and digital signatures alone.
The investigation highlights several opportunities for behavioral detection, particularly through the correlation of image loads, registry activity, and cross-process memory modifications.
Although no additional payload was recovered and the ultimate objective remains unknown, the documented execution chain provides actionable insights for threat hunters and incident responders. The available evidence does not establish successful EDR bypass or attribution to a known malware family or threat actor.
Protections and Mitigations
The observed execution chain provides several opportunities for behavioral detection, threat hunting, and incident response.
-
Email and file inspection. Inspect password-protected archives containing shortcuts, scripts, and files with misleading extensions, particularly when delivered through existing email conversations.
-
Endpoint execution and DLL loading. Monitor executions of CNMFSUT6.EXE from unexpected user-writable directories and correlate them with unsigned CNMFSUR6.DLL loads and suspicious script activity.
-
Registry and memory analysis. Hunt for the identified registry paths, unusual registry writes, executable private memory, and cross-process modifications targeting Windows system libraries.
-
Network monitoring and incident response. Review historical network telemetry for the identified indicators and investigate unexpected Windows Media Player activity in its execution context. Preserve volatile memory and relevant forensic artifacts before remediation.
These detection opportunities are derived from the observed behavior and should be validated against available endpoint telemetry before production deployment.
Indicators of Compromise
The indicators below consolidate artifacts identified during the investigation and evidence review. Memory hashes identify extracted buffers rather than independently distributed files. Reported indicators whose original artifacts were unavailable are labeled where relevant. Network indicators are defanged. The signed Canon executable is listed separately for contextual hunting.
Malicious Files and Extracted Memory
|
Artifact |
SHA-256 (Continuous hash, wrapped for display) |
|
all.pdf.lnk (reported) |
e133f0c5dff0d51227cf355250013795 |
|
images\6.vbs |
e1fdbc2b779a41c860a9e7bdef35ea3f |
|
CNMFSUR6.DLL (2.pdf) |
3bbaf1f65a61a82fa17e157d7a776101 |
|
18729739 (3.pdf) |
043800e134ce06ea55a1ec0a8703d110 |
|
Decoded shellcode (runtime) |
9625b32891f56270f6188c5e2b542d80 |
|
Decoded file (isolated run) |
0f5c83f00fc0519cc4926de6ea1e4a03 |
|
Earlier decoded artifact (reported) |
b118c3fa469db5f16fcd8118db959cc2 |
Legitimate Binary Abused in the Chain
|
Artifact |
SHA-256 (Continuous hash, wrapped for display) |
|
CNMFSUT6.EXE |
c3c4bc70a3a9406097753a38431062ef |
Do not block the legitimate Canon executable solely on the basis of its hash. Investigate its execution path and the DLL loaded alongside it.
Network and Host Indicators
|
Type |
Indicator |
|
IP / port |
141.164.52[.]40:443 |
|
Domain (reported) |
hip.dhfjrbackup[.]com |
|
Registry (observed fallback) |
HKCU\Software\UnGzgrat\AvalArgr\FS |
|
Registry (attempted HKLM) |
HKLM\Software\UnGzgrat\AvalArgr\FS; reported elevated subkeys F0, F1, FL, FS |
|
Named mutex |
Global\{43377259-64AA-414E-BEB1-49DB1773B3FE} |
|
Staging directory |
C:\Users\Public\Downloads |
|
Staged filenames |
CNMFSUT6.EXE; CNMFSUR6.DLL; 18729739 |
|
Target processes |
WinMail.exe (launch failed); wmplayer.exe (created) |
|
Registry value (observed) |
HKCU\Software\UnGzgrat\AvalArgr\RizuLct |
MITRE ATT&CK Techniques
The mapping below follows the technique identifiers in the investigation dossier and describes the supporting observations. It has not been independently reconciled against a specific ATT&CK release. Web protocol activity is included as reported in the original investigation, although it was not reproduced in the reviewed laboratory packet capture.
|
Technique ID |
Technique |
Evidence / Qualification |
|
T1566.001 |
Spearphishing Attachment |
Protected RAR delivered in an existing email conversation, as reported in the investigation. |
|
T1204.002 |
Malicious File |
Disguised LNK identified in the original investigation. |
|
T1059.005 |
Visual Basic |
Recovered VBScript contains staging and launch logic. |
|
T1564.001 |
Hidden Files and Directories |
Hidden images directory described in the original investigation. |
|
T1036.007 / T1036.008 |
Masquerading |
Double extension and file type disguises. |
|
T1574.002 |
DLL Side-Loading |
Canon executable loads supplied unsigned DLL. |
|
T1070.004 |
File Deletion |
Payload deletion observed; script contains cleanup logic. |
|
T1112 |
Modify Registry |
HKLM attempt, HKCU fallback and value writes. |
|
T1010 |
Application Window Discovery |
Checks for analysis-related windows. |
|
T1055 |
Process Injection |
Cross-process memory modification and initialization hook. |
|
T1071.001 |
Web Protocols |
HTTP / WinHTTP activity reported in the investigation; not reproduced in the reviewed PCAP. |
The available evidence does not support a confirmed privilege escalation, persistence mechanism or impairment of endpoint security controls. Those behaviors are therefore not mapped as established outcomes.
About the Author
Maor is a cybersecurity professional specializing in Threat Intelligence, Threat Hunting, and Incident Response. Follow Maor on LinkedIn.
About LevelBlue
LevelBlue secures what's next with intelligence-led security delivering visibility and speed to stop threats faster. As the world’s largest and most analyst-recognized pure-play managed security services provider, our AI-powered managed services and cyber expertise across managed, advisory, and incident response services help clients operate with confidence. Learn more about us.