Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Risk

1/7/2021
05:50 PM
Connect Directly
Twitter
LinkedIn
RSS
E-Mail
50%
50%

Cobalt Strike & Metasploit Tools Were Attacker Favorites in 2020

Research reveals APT groups and cybercriminals employ these offensive security tools as often as red teams.

Cobalt Strike and Metasploit were the offensive security tools most commonly used to host malware command-and-control (C2) servers in 2020, researchers report.

Related Content:

Even Small Nations Have Jumped into the Cyber Espionage Game

How Data Breaches Affect the Enterprise

New From The Edge: How the Shady Zero-Day Sales Game Is Evolving

Researchers with Recorded Future's Insikt Group collected more than 10,000 unique C2 servers across at least 80 malware families last year. Cobalt Strike accounted for 1,441 of the C2 servers and Metasploit made up 1,122; combined, they made up 25% of the total C2 servers. Detections of unaltered Cobalt Strike deployments represented 13.5% of C2 servers identified. 

Offensive security tools, also known as penetration testing tools and red teaming tools, have become part of attackers' toolkits in recent years. Some of these tools mimic an attackers' activity, and attack groups noticed an opportunity to blend in with typical penetration tests. 

Nearly all of the offensive security tools researchers detected in C2 infrastructure have been connected to APT or advanced financial actors. Cobalt Strike is a favorite among APT41 and Mustang Panda, both associated with China, as well as Ocean Lotus, believed to be a Vietnamese APT group, and cybercrime gang FIN7. Metasploit is popular among APT Group Evilnum and Turla, a stealthy APT group associated with Russia.

Greg Lesnewich, senior intelligence analyst at Recorded Future, says it's interesting to see Metasploit prove popular with both Turla, a sophisticated espionage group, and Evilnum, a mercenary group that targets small and midsize businesses with corporate espionage.

"These high-end groups use [these tools], and every time they do it makes headlines," he says. "They're obviously getting utility out of them, but they're still being developed and regularly available."

More than 40% of the offensive security tools researchers detected were open source, they note.

The accessibility and maintenance of these tools make them appealing to attackers of all skill levels, he continues. Metasploit is a well-maintained offensive tool developed by Rapid7. Cobalt Strike, while not technically open source, has several versions floating around the Internet after its source code was leaked. Red teams usually buy the tool, but it's available for anyone to use – and there are guides on the Web to instruct those who don't know how to effectively use it.

Both Metasploit and Cobalt Strike "can do much for post-exploitation; they can do so much for initial access," Lesnewich explains. "Conducting full-length intrusions, mostly through either of these tools, saves [attackers] from having to develop their own stuff as well as makes them look like other actors the tools appeal to."

This benefits everyone: Low-skill attackers can run operations, while high-skill attackers blend in with a company's offensive security practices and benefit from good functionality. As the Insikt Group wrote in a blog post, "the ease of access and use of these tools, mixed with the murkiness of potential attribution, makes them appealing for unauthorized intrusions and red teams alike."

There are reasons attack groups may not need these tools. They may have a narrowly focused goal that doesn't warrant multifunctionality. For example, if they're targeting a person and not an enterprise, they may not need to fully inspect a target device or pivot from victim to victim. 

Lesnewich calls both Cobalt Strike and Metasploit "very purple-team friendly." While both do a lot to evade detection, they're not shy about showing defenders how to detect and track their deployments. Recorded Future's report, which lists the 10 most commonly used offensive security tools, can be used to inform C2, host-based, and network-based detections, he says.

"Even though all the groups mentioned could develop their own post-exploitation or C2 framework, the hidden benefit to defenders is how much documentation is written to detect these things," he explains.

With this documentation, blue teams can practice for things on this list that have open source code but aren't very common. Lesnewich says progress is being made toward tracking custom malware families that aren't quite as popular but are still active.

"Finding these things on the Internet doesn't necessarily have to be the defender's priority, but the volume we observe can help create the prioritization list for their work internally," he says.

Lesnewich advises security teams to create a prioritization list to observe previous threat reporting. Tools he recommends include Yara, an open source detection tool for endpoint threats, and Snort, the network detection equivalent.

Secondary to this, Lesnewich suggests taking a closer look inside the company's SIEM and SOAR platforms to detect unusual behavior – for example, if two endpoints should be communicating with a server but instead are communicating with each other. 

Tracking the malicious use of offensive security tools is only one step in the defensive security process, he adds. These are a powerful way for defenders to get comfortable with how they can do detection and observe the ins and outs of good tooling. From there, they can begin to track other threats including Emotet and Trickbot, and other things that make noise in the environment.

Kelly Sheridan is the Staff Editor at Dark Reading, where she focuses on cybersecurity news and analysis. She is a business technology journalist who previously reported for InformationWeek, where she covered Microsoft, and Insurance & Technology, where she covered financial ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
News
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Commentary
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-23381
PUBLISHED: 2021-04-18
This affects all versions of package killing. If attacker-controlled user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
CVE-2021-23374
PUBLISHED: 2021-04-18
This affects all versions of package ps-visitor. If attacker-controlled user input is given to the kill function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
CVE-2021-23375
PUBLISHED: 2021-04-18
This affects all versions of package psnode. If attacker-controlled user input is given to the kill function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
CVE-2021-23376
PUBLISHED: 2021-04-18
This affects all versions of package ffmpegdotjs. If attacker-controlled user input is given to the trimvideo function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
CVE-2021-23377
PUBLISHED: 2021-04-18
This affects all versions of package onion-oled-js. If attacker-controlled user input is given to the scroll function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.