Security Experts:

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.

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.

Expert Insights

Related Content

Cyberwarfare

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

Cyberwarfare

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

Cyberwarfare

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

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

The UK’s NCSC has issued a security advisory to warn about spearphishing campaigns conducted by two unrelated Russian and Iranian hacker groups.

Cybercrime

Artificial intelligence is competing in another endeavor once limited to humans — creating propaganda and disinformation.

Cyberwarfare

While cyber eyes are trained on Russia, we should remember that it is not the West’s only cyber adversary. China, Iran, and North Korea...

Cybercrime

Albanian prosecutors on Wednesday asked for the house arrest of five public employees they blame for not protecting the country from a cyberattack by...