Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cyberwarfare

Inside the Backdoor Techniques Used in Advanced Attacks

Disrupting a network is one thing; maintaining access and controlling computers is another.

Disrupting a network is one thing; maintaining access and controlling computers is another.

That second part requires creating backdoors, which have become vital parts of cyber-attack campaigns. In a new paper, researchers at Trend Micro have outlined some of the techniques backdoors use to enable attackers to connect to their command and control server and maintain control over their targets.

“Our investigations into various targeted attacks have showed that a wide variety of tactics are used by backdoors to carry out their routines, as well as remain undetected by network administrators and security products,” blogged Dove Chiu, threat researcher at Trend Micro. “Over time, these techniques have evolved as more sophisticated defenses become available to network administrators. Initially, all that was needed for an attacker to connect to a compromised machine was an open TCP/IP port. However, as firewalls became more commonplace, other techniques became necessary. Techniques evolved so that it would be clients first connecting to servers, since blocking outbound traffic was, initially, less common.”

“Over time, as the possible defenses have become more sophisticated, so have the techniques in use,” he continued. “For example, publicly available blogs have become command-and-control (C&C) servers of a sort.”

In addition to abusing legitimate platforms, attackers also use legitimate protocols such as those of instant messengers (IMs) and free email services to cover their tracks.

“We have, in fact, seen the protocols of IMs such as Windows Live Messenger and Ajax IM as well as of email services such as Gmail abused by backdoors like BKDR_DESCLOC.A in targeted attacks,” the researchers noted in their paper. “An example of this is Terminator, a backdoor detected as FAKEM, which attempts to emulate the first 32 bytes of common legitimate protocol/file headers to evade detection, albeit unsuccessfully.”

Circumventing firewalls is an important part of business for attackers. Along those lines, the researchers reported, attackers use tactics such as the ‘connect-back’ technique, in which attackers use backdoors to connect infected systems’ to their command and control server via ports that are not blocked. It is also not uncommon for hackers to compromise servers with public IP addresses as C&C servers to hide their tracks, according to the paper.

Advertisement. Scroll to continue reading.

Another technique used by hackers is custom DNS lookups.

“Blacklist implementation in a network environment allows firewalls to block access to C&C server IP addresses,” the paper notes. “Access to C&C server domain names, however, cannot be blocked by firewalls since these do not block traffic until after a DNS lookup is triggered. Blocking queries to the DNS server is thus done instead. To bypass security measures, attackers trigger a custom DNS lookup query to Web services to divert traffic going to the real C&C server IP address.”

“IT administrators need to know every possible means by which their networks can be breached and must then find a way to protect it,” the researchers explained in the paper. “Attackers, on the other hand, only need to find a single weakness to exploit in a target network to succeed. The weakest point—the human factor—makes awareness a critical component of securing networks.”

Written By

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

Expert Insights

Related Content

Cyberwarfare

WASHINGTON - Cyberattacks are the most serious threat facing the United States, even more so than terrorism, according to American defense experts. Almost half...

Cyberwarfare

Websites of German airports, administration bodies and banks were hit by DDoS attacks attributed to Russian hacker group Killnet

Cyberwarfare

The war in Ukraine is the first major conflagration between two technologically advanced powers in the age of cyber. It prompts us to question...

Application Security

Fortinet on Monday issued an emergency patch to cover a severe vulnerability in its FortiOS SSL-VPN product, warning that hackers have already exploited the...

Cyberwarfare

Iranian APT Moses Staff is leaking data stolen from Saudi Arabia government ministries under the recently created Abraham's Ax persona

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Cyberwarfare

Russia-linked cyberespionage group APT29 has been observed using embassy-themed lures and the GraphicalNeutrino malware in recent attacks.

Cyberwarfare

ENISA and CERT-EU warn of Chinese threat actors targeting businesses and government organizations in the European Union.