Slingshot Spyware from Router

Friday, March 9, 2018 @ 03:03 PM gHale

There is a sophisticated threat that has been used for cyber-espionage in the Middle East and Africa from at least 2012 until February this year, a new report found.

The malware, called “Slingshot,” attacks and infects victims through compromised routers and can run in kernel mode, giving it complete control over victims’ devices, said researchers at Kaspkersky Lab.

Mobile Ad Trojans Decline, Threats Rise
Cybercrime Costs Continue to Rise
Economy Loses $100B to Cyber Incidents
C-Suite Not Confident in Cyber Protection

Techniques used are unique and it is extremely effective at stealthy information gathering, hiding its traffic in marked data packets that it can intercept without trace from everyday communications, the researchers said in a post.

The Slingshot operation ended up discovered after researchers found a suspicious keylogger program and created a behavioral detection signature to see if that code appeared anywhere else. This triggered a detection that turned out to be an infected computer with a suspicious file inside the system folder named scesrv.dll. The researchers decided to investigate this further. Analysis of the file showed despite appearing legitimate, the scesrv.dll module had malicious code embedded into it. Since this library is loaded by ‘services.exe,’ a process that has system privileges, the poisoned library gained the same rights. The researchers said a highly advanced intruder had found its way into the very core of the computer.

One of the interesting things about Slingshot is its unusual attack vector. As researchers uncovered more victims, they found the initial infection for the victims came via hacked routers. During these attacks, the group behind Slingshot appears to compromise the routers and place a malicious dynamic link library inside it that is a downloader for other malicious components. When an administrator logs in to configure the router, the router’s management software downloads and runs the malicious module on the administrator’s computer. The method used to hack the routers in the first place remains unknown.

Following infection, Slingshot loads modules onto the victim’s device, including two huge and powerful ones: Cahnadr and GollumApp. The two modules end up connected and able to support each other in information gathering, persistence and data exfiltration.
Slingshot’s main purpose seems to be cyber-espionage. Analysis suggests it collects screenshots, keyboard data, network data, passwords, USB connections, other desktop activity, clipboard data and more, although its kernel access means it can steal whatever it wants.

The advanced persistent threat also incorporates a number of techniques to help it evade detection, including encrypting all strings in its modules, calling system services directly in order to bypass security product hooks, using anti-debugging techniques and selecting which process to inject depending on the installed and running security solution processes and more.

Slingshot works as a passive backdoor: It does not have a hardcoded command and control (C&C) address but obtains it from the operator by intercepting all network packages in kernel mode and checking to see if there are two hardcoded magic constants in the header. If this is the case, it means that package contains the C&C address. After that, Slingshot establishes an encrypted communication channel to the C&C and starts to transmit data for exfiltration over it.

Researchers have seen around 100 victims of Slingshot and its related modules, located in Kenya, Yemen, Afghanistan, Libya, Congo, Jordan, Turkey, Iraq, Sudan, Somalia and Tanzania. Most of the victims appear to be targeted individuals rather than organizations, but there are some government organizations and institutions. Kenya and Yemen account for most of the victims observed so far.

“Slingshot is a sophisticated threat, employing a wide range of tools and techniques, including kernel mode modules that have to date only been seen in the most advanced predators,” said Alexey Shulmin, lead malware analyst, Kaspersky Lab. “The functionality is very precious and profitable for the attackers, which could explain why it has been around for at least six years.”

Leave a Reply

You must be logged in to post a comment.