The breaking news about an attack against FireEye by a nation-state group is ongoing and will continue to develop. We’re not in the business of speculating about how an attack group would or could use the information stored in the GitHub repository that was accessed. We can, however, share some relevant context about what’s in the repository and offer our take on what those stolen “red team tools” do.
Tl;dr: there’s nothing particularly unusual in the GitHub repository, nor is there anything we wouldn’t expect to see from a security firm like FireEye. From what’s been made available in the repo, the tools are mostly open source and not developed by FireEye.
It’s a shame to see that this happened to FireEye, and it’s a sobering reminder that this can happen to any company. We’re impressed by how the team has handled the disclosure and hope that they’re able to resolve the issue and move forward as soon as possible.
WHAT’S IN THE GITHUB REPO?
The GitHub repository contains YARA rules (i.e., signatures for identifying malware and other files) for detecting the stolen “Red Team Tools” from FireEye. While FireEye hasn’t released many details about what these tools do, some are speculating that the stolen tools present an acute threat in the hands of adversaries. However, FireEye has released the YARA rules for detecting stolen tools, and we can glean the following information:
The release contains YARA rules for roughly 60 tools; however from the names it appears many are existing publicly available open-source tools not developed by FireEye. For example:
- G2JS (https://github.com/med0x2e/GadgetToJScript)
- Several Impacket tools that were obfuscated (https://github.com/SecureAuthCorp/impacket)
- InveighZero (https://github.com/Kevin-Robertson/InveighZero / https://github.com/Kevin-Robertson/Inveigh)
- SafetyKatz (https://github.com/GhostPack/SafetyKatz)
- Rubeus (https://github.com/GhostPack/Rubeus)
- AndrewSpecial (https://github.com/hoangprod/AndrewSpecial)
- KeeFarce (https://github.com/denandz/KeeFarce)
- SharpZeroLogon (https://github.com/nccgroup/nccfsas/tree/main/Tools/SharpZeroLogon)
There are also several references to PowerSploit, BloodHound, and Pupy. Based on the YARA rules, it appears the majority of the stolen “Red Team Tools” are just public open-source projects, or perhaps modified open-source tools, that are well-known and used throughout the industry.
Several of the release YARA rules do appear to be for FireEye internally developed projects, and we won’t know the capabilities of those until FireEye releases additional details or the source code. However, even these YARA rules seem to reference well known tactics, techniques, and procedures (TTPs). For example, the “GoRat” appears to be an internally developed Remote Access Tool (RAT), possibly written in Golang (appears to be unrelated to the similarly named open-source projects) and supports named pipes, SOCKS proxying, and staged loading. These are well-known techniques implemented in a variety of open-source implant/RAT frameworks.
Again, there’s nothing shocking or particularly alarming in this repository from our point of view. It’s a collection of tools that are commonly used and perhaps slightly modified to work for FireEye’s purposes. We’ll update this article, if needed, as the story continues to develop. We’re pleased to see that FireEye reported this event as transparently as they’re able and hope that other organizations take note of how this has been handled.
Updated Dec 9, 2020 3:00PM EST
As previously stated, none of the vulnerabilities accessed by the attack group were emerging threats or zero days and all have patches or updates available. While very sophisticated attackers and attack groups -- such as nation states -- may be able to get around these barriers to entry, we don’t have enough information to speculate about the specific targets or potential attack vectors.
Looking simply at the known information of the vulnerabilities in the dump, our analysis revealed that some require local or authenticated access to be exploited. Meanwhile, the remote code execution exploits have been identified and patched for some time.
Any risk carried here for most organizations is mitigated by applying the latest patches or updating to the latest version. Additional recommendations follow at the end of this post.
Analysis of Vulnerabilities in FireEye GitHub Repository
The following is our analysis of the vulnerabilities associated with the dump, along with the associated security rating (CVSS 1-10, with 10 indicating the highest risk) and a link to the related advisories and updates/patches:
- CVE-2019-11510 – pre-auth arbitrary file reading from Pulse Secure SSL VPNs - CVSS 10.0
- CVE-2018-13379 – pre-auth arbitrary file reading from Fortinet Fortigate SSL VPN - CVSS 9.8
- CVE-2018-15961 – RCE via Adobe ColdFusion (arbitrary file upload that can be used to upload a JSP web shell) - CVSS 9.8
- CVE-2019-0604 – RCE for Microsoft Sharepoint - CVSS 9.8
- CVE-2019-11580 - Atlassian Crowd Remote Code Execution - CVSS 9.8
- CVE-2019-19781 – RCE of Citrix Application Delivery Controller and Citrix Gateway - CVSS 9.8
- CVE-2019-3398 – Confluence Authenticated Remote Code Execution - CVSS 8.8
- CVE-2020-0688 – Remote Command Execution in Microsoft Exchange - CVSS 8.8
- requires auth
- CVE-2018-8581 - Microsoft Exchange Server escalation of privileges - CVSS 7.4
- requires auth
- CVE-2020-10189 – RCE for ZoHo ManageEngine Desktop Central - CVSS 9.8 *
- CVE-2019-8394 – arbitrary pre-auth file upload to ZoHo ManageEngine ServiceDesk Plus - CVSS 6.5
Our recommendations for security teams:
- Ensure any of the above CVEs have been patched within your organization, if applicable, and if not, update as soon as possible
- View the FireEye GitHub repository and update any applicable firewall rules. https://github.com/fireeye/red_team_tool_countermeasures
Subscribe to Bishop Fox's Security Blog
Be first to learn about latest tools, advisories, and findings.
Thank You! You have been subscribed.
Recommended Posts
You might be interested in these related posts.
Dec 12, 2024
Our Favorite Pen Testing Tools: 2024 Edition
Oct 15, 2024
Off the Fox Den Bookshelf: Security and Tech Books We Love
Sep 17, 2024
Navigating DORA Compliance: A Comprehensive Approach to Threat-Led Penetration Testing
Aug 28, 2024
Offensive Security Under the EU Digital Operational Resilience Act (DORA)