In late 2020, QuoIntelligence identified a malicious Word document.
The Word document contained technical indicators associated with an Agent Tesla malware campaign, a readily available Remote Access Trojan (RAT) that steals keystrokes and credentials. It ultimately led us to uncover the operation of a Nigerian eCrime gang.
Based on our investigation, we dubbed the eCrime gang “E.K.P.”. Further, we understand that they are located in Nigeria. We also learned that E.K.P is an operator within a service model known as Malware-as-a-Service (MaaS).
MaaS & RaaS: The All Skill-Level eCrime Conductors
Cybercriminals are increasingly adopting MaaS for conventional malware campaigns and ransomware deployments (Ransomware-as-a-Service or short RaaS). Due to the offered capability and low barrier-to-entry, it doesn’t take a lot of skill to conduct attack campaigns.
In this report, we highlight the daily operations of E.K.P and the various commodity tools used to both stage and execute attack campaigns.
The Microsoft Word document that we discovered in 2020 was entitled ”Azerbaijan-Turkey Military Negotiation.doc”. Apparently a user from a VirusTotal in the Netherlands containing a weaponized macro uploaded it.
If the cyber attacker can successfully convince their target to open the document, the kill-chain will be launched, and the malware will be able to steal the information of the person who opened the file.
Word document titled Azerbaijan-Turkey Military Negotiations.doc that E.K.P. used as lure for their recent attack
E.K.P. Kill-Chain and Tesla Agent’s Connections to Other Malware Families
The macro embedded with the Word document obfuscates, i.e., creates difficult-to-read code, to another simple obfuscated script. This script then tries to download and execute a payload retrieved from a Command and Control (C2) URL.
Unfortunately, at the time of analysis, we could not retrieve the file.
However, we determined additional files associated with the same C2 URL: a widespread malware family known as Agent Tesla.
Agent Tesla is a readily available keylogger and Remote Access Trojan (RAT), written in .NET. Its primary function includes logging keystrokes and the clipboard to exfiltrate data ultimately.
At least this specific variant attempts to exfiltrate data from the victim using hardcoded Simple Mail Transfer Protocol (SMTP) credentials for an attacker-controlled mailbox.
Another malware family tied to the C2 Infrastructure is “Remcos RAT,” giving a cybercriminal complete control of an infected system.
Its capabilities include keylogging and surveillance through audio and screenshots.
Sir Pee and Day to Day Operations at eCrime gang E.K.P.
Based on what we have learned so far, we dubbed the cybercriminal gang E.K.P, and we understand that they are located in Nigeria.
E.K.P. starts the day by communicating with customers and its management to determine the needed actions for the day.
Screenshot of the conversation thread between E.K.P. members, their managers, and clients
Based on other conversation threads, the contact with the moniker Sir Pee appears to be the manager of E.K.P.
As you can see in the screenshot above, Sir Pee instructs E.K.P to “spam zip file now” and then sends the link to where the malicious file is uploaded.
E.K.P responds with login credentials for an email account to the domain loanabank[.]com. The domain appears to be a fake bank page.
Sir Pee, in turn, sends E.K.P credentials for a CPanel – a control dashboard to facilitate the management of a web hosting server.
Screenshot of Loanabank’s homepage – a fake bank domain
E.K.P.’s multi-functional, multi-vendor attacker toolset
Our observations indicate clearly that E.K.P uses various malware builder kits, services, and inboxes for conducting their operations.
After starting the day checking in with the apparent manager, E.K.P begins with their operational rounds by accessing their web shell on predilletastore[.]com[.]br.
According to our research, the site is likely a compromised WordPress website hosting a web shell. E.K.P. uses this for attack operations and to control compromised hosts remotely.
Further, the eCrime gang leverages it to store their attack tools such as payloads and files.
Screenshot of predilletastore[.]com[.]br – E.K.P. web shell
Based on their contact list, E.K.P seems to have access to a wide range of tools, especially if a potential customer requires capabilities outside the gang’s service catalog.
However, during our observations, E.K.P heavily relied on mainly three core malware builder kits.
Exploit Builder (version 126.96.36.199):
A premium product requiring a license. Exploit Builder enables E.K.P to create an exploit document (e.g., Microsoft Word or Excel) that delivers a malware payload to a victim host. At first, the gang creates a payload using Origin Logger. Secondly, they obfuscate the payload with the Cassandra Crypter service.
Origin Logger (also known as Agent Tesla):
Through our analysis, we confirm that the payload generated by Origin Logger is nearly the same as previously decoded Agent Tesla payloads.
The C2 panel interface matches the same panel that threat actors use for the malware Origin Logger, bundled with the C2 panel, and then sold to attackers.
As the name suggests, its primary purpose is logging keystrokes, clipboard data, HTTP cookies, taking periodic screenshots, and viewing the webcam of infected computers.
Screenshots showing Exploit Builder and Origin Logger
E.K.P leveraged the Origin Logger builder to create multiple variants to infect victims. For obfuscation of the payloads, the threat actor used the online service known as Cassandra Crypter.
Cassandra Crypter Service:
Based on their website, Cassandra Crypter Service describes itself as:
A cloud crypter which is coded by the coder of PoisonCrypter, it will be updated daily twice or even thrice (if needed). As a result, it will be giving you a FUD result and always fud for the premium users. It is working with both native and managed assemblies (running since 2018)
The customized obfuscation (e.g., ConfuserEx) of the .NET Agent Tesla payloads offered through Cassandra Crypter is available through two subscription plans: The Premium or VIP Plan.
The Premium Plan can be paid directly and works automatically, while the VIP Plan requires the subscriber to contact support first for personalization.
Screenshots of the Cassandra Crypter Dashboard and the service’s pricing plans
While E.K.P expedites the time spent preparing malware variants and malicious documents for the attack campaigns using different tools, they eventually get to the distribution part.
Consequently, they will check with their manager again for the target details. E.K.P communicates with multiple contacts throughout the day and even uses Sendspace – a free hosting site for instant file transfers – to receive and transfer documents for campaigns.
Screenshots of Sendspace and Turbomailer – both used by the Nigerian eCrime gang E.K.P.
Another tool that E.K.P frequently uses for mass emails is the Xleet Phishing Service, a service popular amongst threat actors to distribute spear-phishing emails throughout various attacks.
One of the services offered by the marketplace where Xleet is sold, is access to a compromised server that hosts the PHP web shell that enables ongoing access to the server.
QuoIntelligence recently analyzed campaigns attributed to top-tier threat actor “Cobalt” group, using a PHP-mailer script placed on a likely compromised server used to distribute spear-phishing emails.
The Raise of eCrime Toolset Services
This investigation is an example of the effectiveness of the cybercriminal underground offering competent toolset services.
Through Malware-as-a-Service (MaaS) and other subscription models, less-skilled individuals can execute low-effort cybercrime.
A similar, slightly more complex MaaS often used by APTs is the Golden Chickens (GC) MaaS.
Since 2018, QuoIntelligence has tracked and highlighted the evolution of the Golden Chickens (GC) MaaS and how different actors use it, including top-tier threat actors FIN6, Cobalt, and Evilnum.
By 2019, we uncovered eleven tools attributed to the GC MaaS and each customized per campaign for the threat actor purchasing the service.
In general, attributing attack activity to threat actors leveraging a MaaS is often complicated. The services offered can include both C2 infrastructure and malware variants. These are available to all MaaS customers, whether script kiddies or Advanced Persistent Threat (APT) actors.
E.K.P.: A Highly Active MaaS Provider Supporting Multiple Campaigns Simultaneously
Our investigation uncovered E.K.P’s day-to-day operation over a couple of months. It became clear that the threat actor is highly active, supporting multiple campaigns in parallel, and leveraging complete and straightforward toolsets to monetize activity.
E-Crime is a large ecosystem consisting of interconnected services, schemes, and affiliate networking in the cybercriminal domain. Overall, their primary goal is financial gain. QuoIntelligence will continue to observe threat actors like E.K.P, which are operating non-complex but effective eCrime services.
Malicious document (maldoc)
- Azerbaijan-Turky Military Negotiation.doc
AgentTesla (delivered by maldoc)
REMCOS RAT packed
REMCOS RAT upacked
REMCOS RAT C2