SecurityBrief New Zealand logo
New Zealand's leading source of cybersecurity and cyber-attack news
Story image

Cyber-gangs using SSH identities to sell on the black market

Mon 17 Feb 2020
FYI, this story is more than a year old

Malware campaigns equipped with the capability to exploit powerful, hidden backdoors are becoming commoditised, researchers from Venafi have warned. 

The research shows several high-profile hacker campaigns are integrating the misuse of SSH machine identities capabilities into their attacks. 

Now, any attacker with access to the dark web can gain access to the same techniques that took down the Ukrainian power grid against every business and government agency. 

Malware can target common SSH machine identities used to access and automate Windows, Linux and MacOS in the enterprise and out to the cloud. 

These gangs can potentially monetise their victims further by selling these SSH backdoors to high profile or high-value machines in the underground to nation-state affiliated Advanced Persistent Threat (APT) groups.

SSH is a network protocol that provides a secure connection between two machines, enabling data communication and remote command execution. 

SSH machine identities, also known as SSH keys, are used to secure remote connections and automate processes.

For example, controlling workloads running in cloud computing environments, VPN connections and connected IoT devices, giving privileged access to organisations’ most critical systems, including servers and databases. 

This makes them highly valuable to attackers. A single SSH key can be used to gain undetected root access to critical systems and data, enabling an attacker to do anything from circumventing security controls to injecting fraudulent data, subverting encryption software, or installing persistent malware.
 
Venafi’s researchers analysed samples of several high-profile malware campaigns to detect where SSH capabilities are being used. 

In most cases, the malware added the attacker’s SSH key to a list of authorised key files on the victim’s machine, meaning their machine would trust the key, enabling the attacker to remain persistent on it. 

In other cases, the malware was able to weaken SSH authentication and gain access to the target by accessing credentials and host information to move laterally across the network and infect further machines.

 

Some examples of successful malware campaigns that leveraged SSH machine identities from 2019:
 
  • TrickBot: Originally a banking trojan that first appeared in 2016, TrickBot became a flexible, universal, module-based crimeware solution that has shifted focus to enterprise environments over the years. 
    TrickBot is offered as-a-service to criminals for various purposes and its modules are designed for the needs of a specific criminal activity. 
    It incorporates many features from network profiling, mass data collection, and incorporation of lateral traversal exploits. 
    Last year, TrickBot added credentials-grabbing capabilities for both PuTTY (SSH client for Microsoft) and OpenSSH. 
    In addition to targeting credentials, the malware is designed to look for Hostname and Username information for lateral movement.
     
  • CryptoSink: This cryptomining campaign exploits a five-year-old vulnerability (CVE-2014-3120) in Elasticsearch systems on both Windows and Linux platforms to mine XMR cryptocurrency. 
    CryptoSink creates a backdoor to the targeted server by adding the attacker’s public key to the authorized key file on the victim’s machine.
     
  • Linux Worm: This worm targets vulnerable Exim mail servers on Unix-link systems to deliver Monero cryptocurrency miners. 
    The worm creates a backdoor to the server by adding its own SSH public key and enabling the SSH server, if it is disabled.
     
  • Skidmap: This is a Kernel-mode rootkit that gains backdoor access to a targeted machine by adding the attacker’s public SSH key to the authorized key file. 
    Skidmap uses exploits, misconfigurations, or exposure to the internet to gain root or administrative access to the system and drop cryptomining malware.
     

“SSH keys can be potent weapons in the wrong hands,” says Venafi threat intelligence specialist Yana Blachman. 

“But until recently, only the most sophisticated, well-financed hacking groups had this kind of capability. Now, we’re seeing a ‘trickle-down’ effect, where SSH capabilities are becoming commoditised. 

“What makes this “commoditisation” so worrying is that if an attacker is able to backdoor a potentially interesting target, they may monetise this access and sell it through dedicated channels to more sophisticated and sponsored attackers, such as nation-state threats for the purpose of cyberespionage or cyberwarfare. 

“We have seen this with the TrickBot cybercrime gang which was found to be selling a ‘bot-as-a-service’, together with a full toolset, to North-Korean-sponsored group Lazarus for both monetisation and cyberespionage.”
 
The best defence organisations have against SSH abuse is to ensure they have complete visibility and intelligence over every authorised SSH key in the enterprise and out to the cloud, according to Venafi.

As this research shows, attackers not only abuse existing machine identities, they may also insert their own malicious SSH machine identities into target environments; it’s not just the known keys, but all keys that must be discovered and analysed. 

However, organisations routinely overlook the importance of Machine Identity Protection for SSH keys. 

SSH keys are rarely part of an organisation’s security strategies, says Venafi. And, because they never expire, many organisations have no way of knowing which SSH keys are being used for a specific action or task. 

Recent research shows only 10% of organisations believe they have complete and accurate intelligence over all SSH machine identities, raising the risk that SSH keys will be misused or stolen.

“SSH keys can dramatically increase attackers’ ability to cause harm, so any malware that allows them to leverage SSH capabilities should be a real concern to organisations,” says Blachman. 

“As these capabilities become increasingly accessible, it’s vital that organisations get their houses in order. 

“The only way to defend against these attacks is to have visibility and intelligence on how SSH machine identities are being used, so that malicious actors can be detected faster,” says Blachman.

“To do this, organisations must improve Machine Identity Protection for SSH keys and equip themselves to take complete control over every single SSH machine identity they rely on in order to identify signs of compromise.”

Related stories
Top stories
Story image
Cybersecurity
CISOs need to consider a risk-based cybersecurity strategy
Rather than talking in terms of attack vectors and vulnerabilities, CISOs and security decision-makers must look at actual business risk.
Story image
Cybersecurity
Claroty research unveils new attack that targets PLCs
Claroty has released research detailing a new type of cyber-attack, one that weaponises programmable logic controllers (PLCs).
Story image
Data Protection
Safeguarding your financial data
As the digital revolution marches on, managing data security has never been more important. Here are five important steps to take toward better financial data security.
Story image
Email scams
HelpSystems shines light on impact of response-based threats
Response-based attacks targeting corporate inboxes have climbed to their highest volume since 2020, representing 41% of all email-based scams.
Story image
Collaboration
Lacework launches new capabilities for better threat detection
Lacework has announced new capabilities that enable organisations to uncover more critical threats to their infrastructure and empower teams.
Story image
Microsoft
Avast reveals zero-day exploits targeting Chrome and Microsoft
Avast, released its Q2/2022 Threat Report today, revealing a significant increase in global ransomware attacks, up 24% from Q1/2022.
Story image
Cybersecurity
Education sector seeing highest volumes of cyber attacks
When breaking down the numbers to education attacks by region in July 2022, A/NZ was the most heavily attacked.
Story image
SaaS
Cloud and data protection big challenges for NZ businesses
"This surge towards a cloud-first approach meant security and safety became afterthoughts - there's no point being the fastest car on the racetrack if you crash.”
Story image
Data analytics
Pressure on orgs to up their data analytics game - study
A recent report from Sisense highlights data transmission, analysis, and risk management remain top concerns for data professionals in APAC.
Story image
Biometrics
Can biometrics help? 123% increase in Gen Zs scammed online
In the three years leading up to 2022, the number of Gen Zs who fell victim to online scams rose by 123%, according to Ping Identity.
Story image
Privileged Access Management / PAM
The importance of stopping identity sprawl for cybersecurity
The 2021 Data Breach Investigations Report (DBIR) shows that 61% of all breaches involve malicious actors gaining unauthorised, privileged access to data by using a compromised credential. Unfortunately, it is often too late when the misuse of a credential is detected.
Story image
Cloud Security
Tenable makes additions to Cloud Security portfolio
Tenable has announced additions to Tenable Cloud Security that represent the next step in assessing threats related to cloud vulnerabilities.
Story image
Cyber attacks
Dramatic uptick in threat activity with exploits growing nearly 150%
"While it’s not a surprise given increased attack opportunities like remote work, it’s still a worrying development and one we cannot ignore."
Story image
Firewall
Why printing security plays a vital part in keeping Aotearoa safe
While internet printing, mobile printing and other similar technologies have no doubt made things easier to manage, it has also brought a whole new set of problems to the table.
Story image
InternetNZ
How well do rangatahi understand cyber safety in Aotearoa?
Do rangatahi in Aotearoa understand the importance of being safe online, or has lifelong exposure to the internet resulted in widespread complacency?
Story image
ROI
How to increase the success rate of business data projects
Amid changing economic conditions and uncertainties about supply chains and staff availability, it's never been more important for New Zealand organisations to be innovative.
Story image
Cybersecurity
Datacom research explores reality of zero trust in A/NZ
Zero trust is fast emerging as global best practice in cybersecurity and local leaders are on board, with 83% considering it essential to security.
Story image
Gartner Magic Quadrant
Gartner names Lookout a Visionary in 2022 Magic Quadrant
Gartner has recognised Lookout as a Visionary in the 2022 Magic Quadrant for Security Service Edge (SSE) and one of the top three offerings in the 2022 Gartner Critical Capabilities for SSE report.
Story image
Malware
Research shows attacks on the gaming industry are getting worse
Web application attacks in the gaming sector have grown by 167% from Q1 2021 to Q1 2022, according to new research from Akamai.
AWS Marketplace
Learn how security orchestration, automation, and response (SOAR) enhances your security strategy.
Link image
Story image
Cybersecurity
Palo Alto Networks responds to rise in threats with MDR service
Unit 42 Managed Detection and Response is a new service that can offer continuous 24/7 threat detection, investigation and response.
Story image
Artificial Intelligence
Exclusive: NZ-based DEFEND offers global cyber protection
DEFEND supports customers in 66 countries across the globe with a relentless focus on ensuring that every dollar spent on security provides a meaningful return on investment and reduces cyber risk.
Story image
Government
Mandiant researchers uncover significant new disinformation campaign
Researchers from Mandiant say they have uncovered a significant disinformation campaign from the Chinese Government in the wake of U.S. Speaker Nancy Pelosi's visit to Taiwan.
Story image
Indusface
Why enhancing bot protection for web and API endpoints matters
The trouble with bots is that they aren’t all bad. Unfortunately, this can make it challenging to detect malicious bots that find their way into your system and threaten your business.
Story image
Compliance
Why security needs to shape your journey to the cloud
It's estimated that 80% of workloads could be in the cloud in the next few years. How can you make all that data secure?
Story image
Data Protection
VMware introduces advanced workload protection for AWS
VMware Carbon Black Workload for AWS delivers comprehensive visibility and security across on-premises and cloud environments for AWS customers.
Story image
Servers
New Zealand cloud provider challenges Google's claims on data control for region
A Wellington cloud services provider says Google's claim it will offer New Zealanders complete control over their own data is not true.
Story image
Surveillance
Ministry will no longer accept equipment from Chinese firm Hikvision
The Ministry of Business, Innovation and Employment (MBIE) says it will no longer accept equipment from a major Chinese surveillance camera maker.
Story image
Dark web
Beware the darkverse and its cyber-physical threats
A darkverse of criminality hidden from law enforcement could quickly evolve to fuel a new industry of metaverse-related cybercrime.
Story image
Malware
Avast One extends protection with Online Safety Score
Avast One has extended its cross-platform support by adding its Online Safety Score feature to both the Mac and iOS platforms of Avast One.
Story image
ExtraHop
Organisations exposing highly sensitive protocols to public internet
More than 60% of organisations expose remote control protocol SSH to the public internet, while 36% of organisations expose the insecure FTP protocol.
Story image
Sustainability
NZ program recovers and recycles more than 177 tonnes of e-waste
The TechCollect NZ pilot program says its milestone of recovering and recycling more than 177 tonnes of ICT e-waste recognises the efforts of many.
Story image
Machine learning
Sysdig releases CDR offering to combat cryptojacking
Sysdig has unveiled a cloud detection and response (CDR) offering powered by machine learning to combat cryptojacking.
Story image
IDC
High level of Customer Identity & Access Management adoption
The study from Okta revealed that the pandemic has either accelerated or highlighted the need for digital-first strategies.
Story image
Google Cloud
Google Cloud to open first cloud region in NZ - among others
Google Cloud has announced plans to bring three new cloud regions, one each in New Zealand, Malaysia and Thailand.
Story image
DevOps
Dynatrace extends application security capabilities for runtime environments
Dynatrace has announced that it has extended its Application Security Module to detect and protect against vulnerabilities in runtime environments.
Story image
Gaming
Attacks on gaming companies more than double over past year
The State of the Internet report shows gaming companies and gamer accounts are at risk, following a surge in web application attacks post pandemic.
Story image
Web application firewall
Radware recognised in KuppingerCole’s 2022 Leadership Compass report
Radware has been named a Product, Innovation, Market and Overall Leader in the 2022 KuppingerCole Leadership Compass report for Web Application Firewalls.
Story image
Data Protection
Zero Trust, but verify - finding the OT in ZerO Trust
The move to remote and cloud-based technologies has shifted the goalposts for cybersecurity. It now needs to cover multiple people, devices, platforms, and networks.
Story image
VMware
Latest VMware threat report reveals truth about deepfakes
"Cyber criminals have evolved. Their new goal is to use deepfake technology to compromise organisations and gain access to their environment."
Story image
Dicker Data
Dicker Data brought on as Acronis partner for A/NZ
The news about the partnership comes in as cyber criminals continue to exploit gaps in traditional solutions and strategies in NZ and across the APAC region.