July 20, 2017 By Larry Loeb 2 min read

A new piece of malware called SHELLBIND is taking advantage of a recently patched Samba vulnerability. After seven years, the vulnerability known as SambaCry and EternalRed, and identified as CVE-2017-7494, was finally patched in May. The flaw affected all versions of Samba since 3.5.0.

Breaking Down the Samba Vulnerability

The SambaCry vulnerability functioned against Samba in much the same way the WannaCry vulnerability does for SMB v1.

SHELLBIND is a relatively simple Trojan that creates a backdoor, allowing an attacker to open a remote shell on an infected device, Trend Micro reported. The malware is delivered to the target as a malicious shared object file in the Samba public folders. The server is tricked into running the file via an interprocess communication (IPC) request.

SHELLBIND works on various architectures, including MIPS, ARM and PowerPC, according to Trend Micro.

The East-African Connection

Once activated, the Trojan opens Transmission Control Protocol (TCP) port 61422, modifies local firewall rules and communicates with a command-and-control (C&C) server located in East Africa. The server gets the IP address of the infected device from the message and communicates with it on port 61422.

The C&C then sends a password to the infected device. If it does not get the proper response back, it will terminate itself.

Once the process is successfully finished, the malware has gained device control. As Trend Micro explained, “The malware executes whatever it receives over this socket (stdin, stdout and stderr all redirected to the socket) using the system’s shell located at /bin/sh.”

SHELLBIND Uses IoT Devices to Look for Data

Since the flaw has already been patched, it seems likely that SHELLBIND is looking for embedded devices such as network-attached storage (NAS) devices, which are much less likely to receive regular updates. Indeed, Bleeping Computer observed that SHELLBIND has mostly been seen on the NAS devices used by smaller businesses. The malware could be after data, which may be stored on NAS devices for possible resale.

The problem needs to be corrected by the NAS device manufacturer. Security professionals should contact their vendor to see if a patch for the SambaCry vulnerability is available.

More from

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

DOD establishes Office of the Assistant Secretary of Defense for Cyber Policy

2 min read - The federal government recently took a new step toward prioritizing cybersecurity and demonstrating its commitment to reducing risk. On March 20, 2024, the Pentagon formally established the new Office of the Assistant Secretary of Defense for Cyber Policy to supervise cyber policy for the Department of Defense. The next day, President Joe Biden announced Michael Sulmeyer as his nominee for the role.“In standing up this office, the Department is giving cyber the focus and attention that Congress intended,” said Acting…

Unpacking the NIST cybersecurity framework 2.0

4 min read - The NIST cybersecurity framework (CSF) helps organizations improve risk management using common language that focuses on business drivers to enhance cybersecurity.NIST CSF 1.0 was released in February 2014, and version 1.1 in April 2018. In February 2024, NIST released its newest CSF iteration: 2.0. The journey to CSF 2.0 began with a request for information (RFI) in February 2022. Over the next two years, NIST engaged the cybersecurity community through analysis, workshops, comments and draft revision to refine existing standards…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today