agfSpy
Associated vulnerabilities
3 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Besides the SLUB variant, we found two other malware we named dneSpy and agfSpy... Our analysis revealed that the samples did not contain any functionality related to financial interests — instead, we found features intended to exfiltrate information and control infected systems.
"one of the espionage backdoors, named agfSpy, received a 'JSON' configuration with a list of native Windows commands to execute."
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
“sites using the GNUBoard Content Management System (CMS) had been compromised and were used to host malware.”
Initial Access
1 technique
Initial Access
Its previous campaigns used watering hole tactics as an infection vector, using websites that discussed topics related to North Korea. | Victim accesses watering hole website; Exploit runs, malware loader run.
Execution
2 techniques
Execution
We also found another exploit abusing CVE-2020-0674, an Internet Explorer vulnerability injected into compromised websites. In particular, it runs a PowerShell loader that will infect victims with three different binaries.
The Chrome exploit involves chaining two vulnerabilities that have already been patched, with one assigned as CVE-2019-5782, while the other does not have an associated CVE identifier.
Persistence
1 technique
Persistence
“the persistence mechanism in Operation Earth Kitsune uses the same naming convention to auto-start itself through the Windows run registry key.”
Privilege Escalation
2 techniques
Privilege Escalation
the PowerShell loader may instruct downloading and executing an LPE binary exploiting CVE-2019-1458. This binary may download and execute the backdoors with system privileges.
“the persistence mechanism in Operation Earth Kitsune uses the same naming convention to auto-start itself through the Windows run registry key.”
Stealth
4 techniques
Stealth
The malware uses ROT 12h to decipher the strings
Upon execution, the shellcode first de-obfuscates “ws2_32.dll” and “_.dll,” and then resolves the API modules based on their hashes using a known technique.
This PowerShell script has a “jpg” extension and its logic is encoded in base64
the attacker skipped the samples’ deployment to the target machine if certain security products were installed on it.
Discovery
1 technique
Discovery
the attacker skipped the samples’ deployment to the target machine if certain security products were installed on it.
Collection
2 techniques
Collection
“received a ‘JSON’ configuration with a list of native Windows commands to execute… The output of those commands is exfiltrated… searching patterns… extension list… interest… ‘.hwp’”
“one feature… is the screenshot capture… clear indication of code sharing for the screenshot functionality.”
Command and Control
4 techniques
Command and Control
The new SLUB variant interacts with the Mattermost server to keep track of the deployment across multiple infected machines.
the C&C communication happens to be with TCP at DNS standard port (53) to avoid being blocked by a firewall.
“the samples from the Operation Earth Kitsune implemented the Mattermost command and control (C2) communication” and “Mattermost was being used as a C2 channel for the malware.”
The dropper will download three samples: “1.jpg,” “2.jpg,” and “3.jpg.” Each sample is executed as being downloaded without any additional conditions.
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.