The global socket: how threat actors are weaponizing GSocket for stealthy C2
Threat actors used GSocket on compromised Linux servers to maintain access even after the original vulnerabilities were remediated.
Overview
Threat actorsA person or group that carries out cyberattacks, whether for money, spying, or disruption are using an open sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share tool called GSocket to keep access to compromised Linux serversA computer or program on a network that stores data and responds to requests from client devices even after the original security holes are fixed. This tool allows attackers to maintain control without leaving obvious traces that are easy for administrators to find. The activity is growing and is concentrated on web applications and hosting environments. Because the tool uses a shared public network to relay traffic, there is no specific attacker-owned address to block. Defenders must look for signs of the tool's presence and outbound connections rather than just patchingA software update released by a developer to fix a bug or close a security flaw the application. Organizations that host web applications are currently facing this persistent threat.
Terms in this story
- threat actors
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- open source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- patching
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- C2
- The server or channel an attacker uses to send orders to computers infected with malware. Once malware runs on a victim's computer, it quietly checks in with the attacker's command-and-control server to receive instructions or upload stolen files. Security+ objective 2.4 lists the term
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- remote access
- The ability to log in to and control a computer or network from another location. Many workers and support technicians use remote access tools to work from home, and attackers target those same portals to enter a company network without being in the building. Security+ objective 3.2 lists the term
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- remote access tool
- Software that lets a technician or attacker view and control a computer from across a network. Help desks use a remote access tool to troubleshoot employee laptops, and scammers often talk victims into installing the exact same software to drain bank accounts or plant malware.
- remediation
- The steps taken to fix a security flaw or clean up a system after a breach. In incident reports, remediation includes installing patches, revoking stolen keys, removing backdoors, and changing configuration settings so the attacker cannot get back in.
- privilege escalation
- A flaw or trick that lets a low-level user account gain administrator control over a system. After breaking into a regular guest or employee account, an attacker uses privilege escalation to gain full system rights and disable security tools. Security+ objective 2.4 lists the term
- Endpoint
- Any user device or server, such as a laptop, phone, or workstation, connected to a network. Security teams install monitoring tools on every company endpoint because a single employee laptop infected at home can carry malware onto the corporate network.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Microsoft Security Blog website. Cite the article, not this page.
Read the full article on Microsoft Security Blog (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Advisory or warning
"Defenders investigating affected hosts should look for..." Found by reading the article; these exact words are in it - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"......GSocket on compromised Linux servers to keep encrypted remote access after the original vulnerability is..." Found in the opening sentences - Security+ 2.1 Compare and contrast common threat actors and motivations.
"The global socket: how threat actors are weaponizing GSocket for stealthy C2..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......keep encrypted remote access after the original vulnerability is patched. Learn how to detect, investigate,..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......threat actors are weaponizing GSocket for stealthy C2..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......remote access after the original vulnerability is patched. Learn how to detect, investigate, and..." Found in the opening sentences - Security+ 3.2 Given a scenario, apply security principles to secure enterprise infrastructure.
"......on compromised Linux servers to keep encrypted remote access after the original vulnerability is patched. Learn..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"The global socket: how threat actors are weaponizing GSocket for stealthy C2..." Found in the headline - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......remote access after the original vulnerability is patched. Learn how to detect, investigate, and..." Found in the opening sentences - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"......GSocket on compromised Linux servers to keep encrypted remote access after the original vulnerability is..." Found in the opening sentences - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"Threat actors are deploying GSocket on compromised Linux servers to keep encrypted remote access after..." Found in the opening sentences - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"Threat actors are deploying GSocket on compromised Linux servers to keep encrypted remote access after..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in using tools, techniques, and procedures to remotely exploit and establish persistence on a target.
"...add a persistence mechanism..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of the concept of an advanced persistent threat (APT)
"...maintain access even after the vulnerabilities..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role