Cranefly’s new discrete malware for cyberattack campaigns busted

Share post:

A new dropper has been discovered that installs new backdoors and other tools using a specific method to read commands from relatively harmless Internet Information Services (IIS) logs.

The new dropper discreetly infects victims by abusing legitimate tools and infecting them with a form of malware or dropper known as Geppei (Trojan.Geppei), which is used by Cranefly (aka UNC3524) to deliver another form of undocumented backdoor malware known as Danfuan (Trojan.Danfuan), which grants secret access to infected systems and then spies on them.

Trojan.Geppei uses PyInstaller to convert Python scripts into executable files in the attacks. IIS logs are used to store IIS data such as web pages and apps. The attackers then send commands disguised as web access requests to a compromised web server.

For malicious HTTP requests parsed by Geppei, Cranefly also uses the strings Wrde, Exco, and CIIo to cause the dropper to run on a compromised Microsoft machine. Since IIS logs 404 errors by default, the attacker can inject commands into IIS log files by using dummy URLs or non-existent URLs. The “Wrde” string causes a decryption algorithm to be applied to the request:

When the Geppei malware parses an “Exco” string from an IIS log file, it decrypts the string passed as a parameter: GET [dummy string] Exco [passed string to exco()] Exco [dummy string] Using the os.system() function, the string would be executed as a command.

The last string that triggers Geppei malware is “Cllo,” which invokes a clear() function that drops a hacker tool called sckspy.exe. This tool disables the Service Control Manager’s eventlog logging. In addition, the function attempts to remove lines in the IIS log file that contain commands or malicious.ashx file paths.

The sources for this piece include an article in ZDNet.

SUBSCRIBE NOW

Related articles

Cyber Security Today, Week in Review for week ending Friday May 17, 2024

Welcome to Cyber Security Today. This is the Week in Review for the week ending Friday, May 17th,...

Cyber Security Today, May 17, 2024 – Malware hiding in Apache Tomcat servers

Malware hiding in Apache Tomcat servers, new backdoors found, and more Welcome to Cyber Security Today. It's Friday, May...

MIT students exploit blockchain vulnerability to steal 25 million dollars

Two MIT students have been implicated in a highly sophisticated cryptocurrency heist, where they reportedly exploited a vulnerability...

Cyber Security Today, May 15, 2024 – Ebury botnet still exploits Linux servers, Microsoft, SAP and Apple issue security updates

The Ebury botnet continues to exploit Linux servers, Microsoft, SAP and Apple issue security updates, and more. Welcome to...

Become a member

New, Relevant Tech Stories. Our article selection is done by industry professionals. Our writers summarize them to give you the key takeaways