What We Do
How we do it
Resources
SECURITY ADVISORIES
Jul 29, 2021
UPDATE: PetitPotam NTLM Relay Attack
THE THREAT PetitPotam is a variant of the NTLM Relay attack discovered by security researcher Gilles Lionel. It is tracked as an authentication bypass vulnerability in Active Directory (Certificate Services); currently no CVE identifier has been assigned to this vulnerability. Proof of Concept (PoC) code released last week [1] relies on the Encrypting File System Remote (EFSRPC) protocol to…
Read More
View all Advisories →
Company
ABOUT eSENTIRE
About Us
eSentire is The Authority in Managed Detection and Response Services, protecting the critical data and applications of 1000+ organizations in 70+ countries from known and unknown cyber threats. Founded in 2001, the company’s mission is to hunt, investigate and stop cyber threats before they become business disrupting events.
Read about how we got here
Leadership Work at eSentire
LATEST PRESS RELEASE
Jul 12, 2021
Tecala and eSentire Partner to Protect Enterprises across APAC from Business-Disrupting Cyber Attacks
Sydney, 12 July, 2021 - Tecala, Australia’s award-winning technology services and IT consulting provider, today announced it has chosen eSentire, the global Authority in Managed Detection and Response (MDR) cybersecurity services, as their exclusive MDR solution provider in Australia and New Zealand. This partnership will enable Tecala to augment its cybersecurity practice and offer enterprises…
Read More
Partners
PARTNER PROGRAM
Partners
Our award-winning partner program offers financial rewards, sales and marketing tools and personalized training. Accelerate your business and grow your revenue by offering our world-class Managed Detection and Response (MDR) services.
Learn about our Partner Program
Resources
Blog — Mar 24, 2017

Cyber threats 101: how to prevent file-based malware and botnets

5 min read

Malware is malicious code that’s used to obtain unrestricted access to a victim machine. This makes the ability to harvest and take advantage of victim data effortless and is usually automated.

In the current cybersecurity threat landscape, we see most botnets propagating via exploits and file-based malware. Anything that touches the disk has the ability to be blocked via access controls on the host.

New techniques utilize more than just binaries to execute malicious code, which is why there is a need for execution control. The main techniques we see botnets attempting to grow is through malware utilizing JavaScript payloads, standard binaries, macros and PowerShell payloads.

Delivery Mechanisms

The notable delivery techniques for malware is through exploitation (exploit kits and malvertising) and social engineering (tricking users into opening bad software). Defense in depth strategies generally focus on preventing the exploit/malware from landing via network access controls. If a threat actor is able to get initial code execution on a machine it is up to the access controls on the host system to prevent successful compromise.

Code Execution

The most popular ways to execute code on a host system is through binary executables, scripts and shellcode. Shellcode can be utilized in many ways and it often does not need to touch disk as such blocking shellcode will not be covered in this post. Examples of some common code execution methods is below:

Common Binary Executables

Common Script Code

Code execution has many layers at which it can be stopped. For example, there are ways to stop interpreters from interpreting script code on a windows system.

In the majority of attacks, we see threat actors utilizing a benign piece of software (dropper) to download the malicious payload which executes and carries out the malicious instructions. Common file formats that are utilize to execute the initial instructions can be seen below:

Prevention Mechanisms:

One of the most effective ways to protect against compromise is by limiting what someone has the ability to do when they get onto a machine. Consider enforcing these best practices within your organization:

Conclusion:

There are many security features that can be implemented at the host level to harden a Windows system. The best practices suggested here address just a few configuration changes that can be made to make it harder for a threat actor to execute code.

Although not all of these recommendations are applicable to all environments, they can be used as an information resource for those who are looking to implement hardening changes within their environment.

In many cases the delivery mechanisms are generally the same for most malware strains. Ransomware is a form of malware that is utilized by threat actors to hold the victims of an attack hostage to extort money. The delivery mechanisms described here are commonly used to deliver the malicious payload, which results in full compromise.

The ability to stop the initial execution of malicious code will stop the execution of a malicious payload - effectively stopping its ability compromise.

When it comes to malware-based attacks, you can’t count on technology alone to detect and block the attack. Unwitting employees can deploy malware by clicking on a malicious attachment. It’s in these situations that leveraging managed detection and response (MDR) capabilities is essential. Through advanced hunting and anomaly detection, MDR is able to detect and block malware-based attacks even after they’ve breached perimeter defenses. At eSentire we call this micro-incident response.

Kurtis Armour
Kurtis Armour Senior Security Strategist

Kurtis is a Senior Security Strategist at eSentire, where he focuses on securing client networks, vulnerability research and exploit development. In addition to ongoing research efforts, Kurtis regularly speaks at industry conferences.