+44 (0)203 88 020 88

Menu

Search

Cyber Security News & Articles

 

Cyber Security
News & Articles

Trusted Cyber Security Experts
25+ Years Industry Experience
Ethical, Professional & Pragmatic

How to defend against the RATdispenser

A new report from HP’s Threat Research Blog provides details of an evasive Javascript loader that gets passed security tools 89% of the time.

Remote Access Trojans (RATs) are a class of malware that is designed to gain persistent access to the target computer system, and by leveraging elevation of privilege vulnerabilities gain administrator rights over the device and so take full control of the system and all the data on it.

RATDispenser is the name given to a JavaScript delivery system for RAT malware used by at least eight different families of malware.  RATDispenser is usually used as a self contained dropper – it does not need to communicate over the network back to any command and control servers as it already contains the malicious payload it wants to deliver.

This may sound sophisticated, but the delivery system is actually relatively simple and Security Managers can take some basic steps to harden their network against RATDispenser and similar malware.

The attack chain begins with the delivery of an email that has the malware enclosed as an attachment which uses a double file extension to allow the JavaScript file to masquerade as a text file – for example OPENME.txt.js  When the user double clicks the attachment to open the text file, the javascript will execute on Windows computers with default protections in place.

When the Javascript executes, it writes a VBSript file into a temp folder and then executes the script with a long, chained argument, which is the main payload that the VBScript writes to disk and executes.

Defend against RATDispenser

Security Managers can defend against RATDispenser and similar malware in two ways:

  • Block executable email attachments
  • Limit the running of scripts to require digitally signed scripts or block them all together.

Blocking executable email attachments can be done by following this guidance for Microsoft Exchange. Firewalls and security appliances may also have the ability to inspect incoming email and filter out malicious attachments.

If a malicious attachment does manage to get delivered to an end user, and despite their Security Awareness Training they still click on the attachment to open it, then disabling or limiting the execution of scripts will provide an additional layer of defence.

Windows Script Host can be fully disabled by adding a registry entry.  However, there may be legitimate use of Windows Scripting for system administration in which case it is possible to configure a Windows system to only allow digitally signed scripts to execute.

Note that if you have not configured Software Restriction Policies for your domain, you will first need to disable them by setting the registry for  ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows Script HostSettingsuseWINSAFER to 0 and then you can set TrustPolicy to 2 (2 = only allow signed scripts or set it to 1 to always ask before running a script if it is not signed).

 

 

 

Subscribe to our monthly newsletter today

If you’d like to stay up-to-date with the latest cyber security news and articles from our technical team, you can sign up to our monthly newsletter. 

We hate spam as much as you do, so we promise not to bombard you with emails. We’ll send you a single, curated email each month that contains all of our cyber security news and articles for that month.

Why Choose SecureTeam?

CREST
CCS
ISO9001
ISO27001
CE-PLUS

Customer Testimonials

“We were very impressed with the service, I will say, the vulnerability found was one our previous organisation had not picked up, which does make you wonder if anything else was missed.”

Aim Ltd Chief Technology Officer (CTO)

"Within a very tight timescale, SecureTeam managed to deliver a highly professional service efficiently. The team helped the process with regular updates and escalation where necessary. Would highly recommend"

IoT Solutions Group Limited Chief Technology Officer (CTO) & Founder

“First class service as ever. We learn something new each year! Thank you to all your team.”

Royal Haskoning DHV Service Delivery Manager

“We’ve worked with SecureTeam for a few years to conduct our testing. The team make it easy to deal with them; they are attentive and explain detailed reports in a jargon-free way that allows the less technical people to understand. I wouldn’t work with anyone else for our cyber security.”

Capital Asset Management Head of Operations

“SecureTeam provided Derbyshire's Education Data Hub with an approachable and professional service to ensure our schools were able to successfully certify for Cyber Essentials. The team provided a smooth end-to-end service and were always on hand to offer advice when necessary.”

Derbyshire County Council Team Manager Education Data Hub

“A very efficient, professional, and friendly delivery of our testing and the results. You delivered exactly what we asked for in the timeframe we needed it, while maintaining quality and integrity. A great job, done well.”

AMX Solutions IT Project Officer

“We were very pleased with the work and report provided. It was easy to translate the provided details into some actionable tasks on our end so that was great. We always appreciate the ongoing support.”

Innovez Ltd Support Officer

Get in touch today

If you’d like to see how SecureTeam can take your cybersecurity posture to the next level, we’d love to hear from you, learn about your requirements and then send you a free quotation for our services.

Our customers love our fast-turnaround, “no-nonsense” quotations – not to mention that we hate high-pressure sales tactics as much as you do.

We know that every organisation is unique, so our detailed scoping process ensures that we provide you with an accurate quotation for our services, which we trust you’ll find highly competitive.

Get in touch with us today and a member of our team will be in touch to provide you with a quotation. 

0

No products in the basket.

No products in the basket.