GRIFFON
- Type
- Backdoor
- Capabilities
- PersistenceReconnaissancePost exploitation
- Delivery
- Spearphishing
- Platforms
- Windows
GRIFFON is a JavaScript/JScript-based backdoor and downloader for Windows associated with the financially motivated FIN7 threat group, also tracked as ELBRUS and TA3546. It supports modular functionality for host reconnaissance, screen capture, persistence, and deployment of additional malware. Its reconnaissance module can retrieve the compromised system’s date and time, while its screenshot module captures the remote desktop. GRIFFON has used PowerShell to execute TinyMet, a Meterpreter downloader. Persistence mechanisms include Windows scheduled tasks and a module that stores the implant in the Windows Registry and executes it at user logon.
GRIFFON has been deployed through spear-phishing campaigns involving malicious documents and was used as a FIN7 payload by May 2018. It has also been observed as a follow-on payload loaded by JSSLoader, including in a campaign attributed to TA543. Its use is associated with financially motivated intrusions into organizations, particularly in the financial, retail, and hospitality sectors. GRIFFON provides a foothold and supports follow-on activity; payment-card theft, credential theft, and ransomware deployment performed elsewhere in FIN7 operations are not established as intrinsic GRIFFON capabilities.
Associated vulnerabilities
1 CVE 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
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: SecureList Griffon May 2019)(Citation: CrowdStrike Carbon Spider August 2021)(Citation: FBI Flash FIN7 USB)(Citation: Microsoft Ransomware as a Service)
During our analysis of JSSLoader, it additionally loaded a Griffon payload which is historically associated with another actor, TA3546, also known as FIN7 or Carbanak.
During our analysis of JSSLoader, it additionally loaded a Griffon payload which is historically associated with another actor, TA3546, also known as FIN7 or Carbanak.
Techniques & procedures
16 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
ELBRUS is very active in compromising organizations via phishing campaigns that lead to their JSSLoader and Griffon malware.
Execution
7 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[GRIFFON](https://attack.mitre.org/software/S0417) has used <code>sctasks</code> for persistence. (Citation: SecureList Griffon May 2019)
[GRIFFON](https://attack.mitre.org/software/S0417) has used PowerShell to execute the Meterpreter downloader TinyMet.(Citation: SecureList Griffon May 2019)
As soon as OSTAP is created in the form of a BAT file, this file is executed
[GRIFFON](https://attack.mitre.org/software/S0417) is written in and executed as [JavaScript](https://attack.mitre.org/techniques/T1059/007).(Citation: SecureList Griffon May 2019)
each document usually contained an image to convince targets to enable the content. This leads to the execution of the malicious macro
FIN7 mailed malicious BadUSB devices which impersonated HID keyboards and automatically injected keystrokes to open the Windows Run dialog and execute a PowerShell download cradle.
Persistence
3 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[GRIFFON](https://attack.mitre.org/software/S0417) has used <code>sctasks</code> for persistence. (Citation: SecureList Griffon May 2019)
[GRIFFON](https://attack.mitre.org/software/S0417) has used a persistence module that stores the implant inside the Registry, which executes at logon.(Citation: SecureList Griffon May 2019)
Privilege Escalation
3 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
[GRIFFON](https://attack.mitre.org/software/S0417) has used <code>sctasks</code> for persistence. (Citation: SecureList Griffon May 2019)
[GRIFFON](https://attack.mitre.org/software/S0417) has used a persistence module that stores the implant inside the Registry, which executes at logon.(Citation: SecureList Griffon May 2019)
Stealth
1 technique
Stealth
The malicious OSTAP JavaScript downloader is then hidden in white colored letters in between the content, so it’s not visible to people but can be seen by machines... we get back to the same old GRIFFON obfuscation pattern.
Discovery
4 techniques
Discovery
[GRIFFON](https://attack.mitre.org/software/S0417) has used a reconnaissance module that can be used to retrieve Windows domain membership information.(Citation: SecureList Griffon May 2019)
[GRIFFON](https://attack.mitre.org/software/S0417) has used a reconnaissance module that can be used to retrieve information about a victim's computer, including the resolution of the workstation .(Citation: SecureList Griffon May 2019)
[GRIFFON](https://attack.mitre.org/software/S0417) has used a reconnaissance module that can be used to retrieve the date and time of the system.(Citation: SecureList Griffon May 2019)
Examples include: “Gootloader can determine if a targeted system is part of an Active Directory domain by expanding the %USERDNSDOMAIN% environment variable”, “GRIFFON…retrieve Windows domain membership information”, “Inception…gather domain membership”, and “REvil can identify the domain membership of a compromised host.”
Collection
1 technique
Collection
[GRIFFON](https://attack.mitre.org/software/S0417) has used a screenshot module that can be used to take a screenshot of the remote system.(Citation: SecureList Griffon May 2019)
Command and Control
1 technique
Command and Control
The PowerShell command used "Net.WebClient).DownloadString(...)" to retrieve stage1.ps1, which then downloaded and launched subsequent payload stages.
Observables
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.