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
When It Comes To Security Tools, More Isn't More
Lamont Orange, Chief Information Security Officer at Netskope,  1/11/2021
US Capitol Attack a Wake-up Call for the Integration of Physical & IT Security
Seth Rosenblatt, Contributing Writer,  1/11/2021
IoT Vendor Ubiquiti Suffers Data Breach
Dark Reading Staff 1/11/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2020: The Year in Security
Download this Tech Digest for a look at the biggest security stories that - so far - have shaped a very strange and stressful year.
Flash Poll
Assessing Cybersecurity Risk in Today's Enterprises
Assessing Cybersecurity Risk in Today's Enterprises
COVID-19 has created a new IT paradigm in the enterprise -- and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-25533
PUBLISHED: 2021-01-15
An issue was discovered in Malwarebytes before 4.0 on macOS. A malicious application was able to perform a privileged action within the Malwarebytes launch daemon. The privileged service improperly validated XPC connections by relying on the PID instead of the audit token. An attacker can construct ...
CVE-2021-3162
PUBLISHED: 2021-01-15
Docker Desktop Community before 2.5.0.0 on macOS mishandles certificate checking, leading to local privilege escalation.
CVE-2021-21242
PUBLISHED: 2021-01-15
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, there is a critical vulnerability which can lead to pre-auth remote code execution. AttachmentUploadServlet deserializes untrusted data from the `Attachment-Support` header. This Servlet does not enforce any authentication or a...
CVE-2021-21245
PUBLISHED: 2021-01-15
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, AttachmentUploadServlet also saves user controlled data (`request.getInputStream()`) to a user specified location (`request.getHeader("File-Name")`). This issue may lead to arbitrary file upload which can be used to u...
CVE-2021-21246
PUBLISHED: 2021-01-15
OneDev is an all-in-one devops platform. In OneDev before version 4.0.3, the REST UserResource endpoint performs a security check to make sure that only administrators can list user details. However for the `/users/` endpoint there are no security checks enforced so it is possible to retrieve ar...