Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

ABTV

1/20/2020
06:00 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

FireEye Finds Mitigation of CVE-2019-19781 Comes With a Price

One threat actor is taking advantage of the current problems with Citrix ADC/Netscaler for their own advantage.

One threat actor is taking advantage of the current problems with Citrix ADC/Netscaler (CVE-2019-19781) for their own advantage.

FireEye has found evidence of an actor first breaching unmitigated Citrix ADC servers, installing a mitigation patch for CVE-2019-19781 and then deploying a new malware payload they call NOTROBIN. This malware serves as a backdoor into the server and is triggered by a secret password which varies from installation to installation.

FireEye believes that this actor may be quietly collecting access to NetScaler devices for a subsequent campaign.

Breaching happens when the actor issues an HTTP POST request from a Tor exit node to transmit the payload to the vulnerable newbm.pl CGI script.

A one-line BASH script is run that will kill and delete all running instances of netscalerd. This is a common process name that is used for cryptocurrency mining utilities which have been deployed to NetScaler devices.

The script creates a hidden staging directory /tmp/.init, and downloads NOTROBIN to it, as well as enabling the execute permission. It then will install /var/nstmp/.nscache/httpd for persistence via the cron daemon. This is the path to which NOTROBIN will copy itself. Finally, it will manually execute NOTROBIN.\r\nNOTROBIN is a utility written in Go 1.10 and compiled to a 64-bit ELF binary for BSD systems. It periodically scans for and deletes files matching filename patterns and content characteristics. It will look for files with an .xml extension in the directory /netscaler/portal/templates/. This is the directory into which exploits for CVE-2019-19781 write templates containing attacker commands.

The mitigation works by deleting the exploit code found within these templates before it can be invoked. This is the action that stops further exploitation of the CVE-2019-19781 vulnerability. FireEye observed more than a dozen exploitation attempts which were thwarted by NOTROBIN over a period of three days. The application server responded to the attempts with an HTTP 404 ("Not Found") when this other actor attempted to invoke their own payload.

NOTROBIN will spawn a background routine that listens on UDP port 18634 and receives data. In the version that FireEye looked at, it drops the data without inspecting it. That may well change in future versions. It also may be that this action is being used as a mutex, since only a single listener can be active on this port.

However, a NetScaler device listening on UDP port 18634 is a "reliable indicator of compromise" in FireEye's view.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Commentary
Ransomware Is Not the Problem
Adam Shostack, Consultant, Entrepreneur, Technologist, Game Designer,  6/9/2021
Edge-DRsplash-11-edge-ask-the-experts
How Can I Test the Security of My Home-Office Employees' Routers?
John Bock, Senior Research Scientist,  6/7/2021
News
New Ransomware Group Claiming Connection to REvil Gang Surfaces
Jai Vijayan, Contributing Writer,  6/10/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Google's new See No Evil policy......
Current Issue
The State of Cybersecurity Incident Response
In this report learn how enterprises are building their incident response teams and processes, how they research potential compromises, how they respond to new breaches, and what tools and processes they use to remediate problems and improve their cyber defenses for the future.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-24368
PUBLISHED: 2021-06-20
The Quiz And Survey Master – Best Quiz, Exam and Survey Plugin WordPress plugin before 7.1.18 did not sanitise or escape its result_id parameter when displaying an existing quiz result page, leading to a reflected Cross-Site Scripting issue. This c...
CVE-2021-31664
PUBLISHED: 2021-06-18
RIOT-OS 2021.01 before commit 44741ff99f7a71df45420635b238b9c22093647a contains a buffer overflow which could allow attackers to obtain sensitive information.
CVE-2021-33185
PUBLISHED: 2021-06-18
SerenityOS contains a buffer overflow in the set_range test in TestBitmap which could allow attackers to obtain sensitive information.
CVE-2021-33186
PUBLISHED: 2021-06-18
SerenityOS in test-crypto.cpp contains a stack buffer overflow which could allow attackers to obtain sensitive information.
CVE-2021-31272
PUBLISHED: 2021-06-18
SerenityOS before commit 3844e8569689dd476064a0759d704bc64fb3ca2c contains a directory traversal vulnerability in tar/unzip that may lead to command execution or privilege escalation.