Press Center

Malware and antivirus software

News

Detection and response means becoming an active defender

Created: 2023-03-20 03:24:01

Operating a detection and response console demands that IT admins adopt an active role in responding to threats

Using an endpoint detection and response (EDR) tool like ESET Inspect is a significant step forward in advancing your security stance. If the expected output from the security products you have been using until now is merely to be informed that detections have been made, threats blocked, and malicious files deleted, then your security stance has been largely passive. This approach is not ideal, but understandable when an organization’s IT staff does not have the time or the advanced technical skills to take a more active role in their security.

However, investing in a detection and response solution indicates a healthy curiosity about what is happening behind the curtain. A detection and response product gives IT admins visibility into the events happening on a computer, such as scripts that have been run, commands executed, HTTP(S) requests, TCP/IP connections, DNS requests, registry modifications, file operations, process changes, and so on.

Figure 1 shows part of a comprehensive list of events that ESET Inspect can serve up.


To help make sense of all this data, a detection and response product comes with rules to pinpoint specific events, or sequences of events, that are suspicious or worthy of monitoring. Since our EDR solution can connect with the ESET LiveGrid system, ESET’s security engineers have fine-tuned ESET Inspect’s rules to consider the reputation and popularity of executables where relevant.

Figure 2 shows how the rules prioritize the events presented to the IT admin sitting at the ESET Inspect console.


After initial deployment, many detections probably will be triggered by harmless events until the EDR solution is optimized. From here on out, we’ll only consider ESET’s EDR solution, unless stated otherwise.

Optimizing detection and response for your environment

Each organization has its baseline of benign events produced by the computers in its networks. Thus, the IT admin’s first job is to look through the detections and understand what “normal” looks like.

For example, Figure 3 shows detections from a rule designed to report probes about a system’s network configuration – a technique commonly used by cyberespionage malware and ransomware, and in this case by the Lenovo Vantage Service.


If the organization allows the use of Lenovo Vantage, then the IT admin can create an exclusion for this activity, as shown in Figure 4. And if the organization has no Lenovo devices in its fleet, or this activity occurred on a non-Lenovo device, this is probably an inherently suspicious event!


Here the exclusion only applies to version 3.13.14.0 of the Lenovo Vantage Service, but you could trim the version number off the end of the process path to exclude all versions. This decision centers on balancing risk against noise – a choice that must be constantly repeated during your time with any EDR console.

Developing all the exclusions needed for your organization’s baseline of expected events takes time. Although IT admins should take the time to familiarize themselves with their organization’s network by manually inspecting detections and creating exclusions for them where appropriate, ESET Inspect does offer a learning mode that automates the creation of exclusions and even has pre-written exclusions that can be enabled. In the former case, IT admins should review all automatic exclusions.

Maximizing value with custom rules

Although new releases of ESET Inspect typically come with new rules, IT admins don’t have to wait to write new rules of their own. ESET Inspect empowers security defenders by giving them both deep visibility into events and the decision-making power about what is monitored via custom rules and exclusions. Admins can even tune the default and custom rules with aggressive response actions, such as killing processes, blocking processes by their hashes, and isolating computers from the network.

Indeed, this is where organizations get the most value from their ESET Inspect investment: by writing rules that address their prioritized areas of risk. Let’s illustrate this with new rules taken from the desks of ESET’s security engineers.

New ESET Inspect rules for LNK files in mounted ISOs

In April 2022, ESET detected Emotet experimenting with a technique to bypass the Mark of the Web by sending shortcut (LNK) files in email attachments. Not to be outdone, other strains of malware, such as BumbleBee, Qbot, and BazarLoader, have also experimented with LNK files but in ISO disk images.

Because ESET Inspect can monitor LNK files and detect mounted ISOs (under the %CDROM% and %RemovableDrive% environment variables), this is an excellent opportunity for writing new rules that can monitor this technique. Let’s walk through four new rules released with ESET Inspect version 1.9.

1. Possible LNK Abuse from ISO - Side-Loading DLL [D0451]

This rule monitors for a suspicious DLL being loaded by a trusted process started from a removable or CD-ROM drive (including a mounted ISO image) and with an ancestor process started by a LNK file on a removable or CD-ROM drive.

Figure 5 shows this rule being tested against a delivery mechanism for a Brute Ratel C4 payload. A detection is made after a chain of events triggered by double-clicking a LNK file on a mounted ISO that has three components of interest:

  1. LNK file – Roshan-Bandara_CV_Dialog.lnk
  2. Executable – onedriveupdater.exe
  3. DLL – version.dll

Here, the rule is triggered because the suspicious version.dll is loaded by a trusted process running onedriveupdater.exe. This was started by a process running cmd.exe, which was started by the victim double-clicking Roshan-Bandara_CV_Dialog.lnk.


In effect, this rule detects DLL side-loading, in which an attacker starts a legitimate executable and abuses the requirement of that executable for a specific DLL file by placing a malicious DLL with the required filename earlier in the prescribed load order than the legitimate DLL. In this case, the malicious DLL was placed in the same directory as the executable.

2. Possible LNK Abuse from ISO - System Binary Proxy Execution [D0452]

This rule monitors for a suspicious DLL being executed by rundll32.exe, regsvr32.exe, or odbcconf.exe, where both the DLL and the LNK file that started the process running one of these system binaries are on a removable or CD-ROM drive.

Figure 6 shows this rule being tested against a delivery mechanism for a BumbleBee payload. A detection is made after a chain of events triggered by double-clicking a LNK file on a mounted ISO that has two components of interest:

  1. LNK file – project requirements.lnk
  2. DLL – start.dll

Here, the rule is triggered because the suspicious start.dll is executed by the process running odbcconf.exe, which was started by the victim double-clicking project requirements.lnk. Both the LNK file and the DLL are located on a mounted ISO image.


In effect, this rule detects the abuse of trusted system binaries as proxies to execute malicious DLLs.

3. Possible LNK Abuse from ISO - Living Off The Land Binary [D0453]

This rule monitors for a process running a living off the land binary (LOLBin) that has an ancestor process started from a LNK file on a removable or CD-ROM drive.

Figure 7 shows this rule being tested against a delivery mechanism for a Qbot payload. A detection is made after a chain of events triggered by double-clicking a LNK file on a mounted ISO that launches a command shell and leads to the abuse of two living off the land binaries: regsvr32.exe and explorer.exe.


In effect, this rule detects the abuse of LOLBins, which are the built-in utilities or binaries that come with an operating system, thus helping attackers stay under the radar.

4. Possible LNK Abuse from ISO - Command Execution [D0455]

This rule monitors for a process running one of 10 binaries, such as cmd.exe, powershell.exe, and rundll32.exe, that was started from a LNK file on a removable or CD-ROM drive.

Figure 8 shows this rule being tested against a delivery mechanism for a BazarLoader payload. A detection is made after a process running rundll32.exe is started by double-clicking a LNK file on a mounted ISO.


In effect, this rule detects the abuse of a LNK file in a mounted ISO to bypass the Mark of the Web and achieve command execution via trusted binaries.

IT admins can make these four rules more powerful now by including an action in the rule to kill the compromised process (which will be a default action with ESET Inspect 1.10). This can provide protection against new or unknown malware that has not yet been detected by an endpoint security product.

Final thoughts

By keeping a sharp eye out for new and increasingly active malicious techniques and putting a hand to the creation of rules to detect them, IT admins can maximize their organization’s investment into ESET Inspect. Indeed, without this further investment into creating exclusions and writing new rules, the full potential benefits for defense remain untapped. ESET Inspect is at its strongest in the hands of active and studious defenders who are dedicated to learning more about the networks they are asked to protect and who are intrepid enough to grapple with the latest threats head-on.

If an organization lacks staff with sufficient skills or time to dive deeper into ESET Inspect, it is always possible to inquire about the availability of managed detection and response (MDR) at a local ESET partner. With MDR, the staff problem is handled by outsourcing the management of ESET Inspect to local ESET experts.

Watch a testimonial video of how ESET protects the Royal Swinkels Family Brewers with MDR.

 



About ESET
ESET develops software solutions that deliver instant, comprehensive protection against evolving computer security threats. ESET pioneered and continues to lead the industry in proactive threat detection. ESET NOD32 Antivirus, its flagship product, consistently achieves the highest accolades in all types of comparative testing and is the foundational product that builds out the ESET product line to include ESET Smart Security. ESET Smart Security is an integrated antivirus, antispyware, antispam and personal firewall solution that combines accuracy, speed and an extremely small system footprint to create the most effective security solution in the industry. Both products have an extremely efficient code base that eliminates the unnecessary large size found in some solutions. This means faster scanning that doesn’t slow down computers or networks. Sold in more than 160 countries, ESET has worldwide production headquarters in Bratislava, SK and worldwide distribution headquarters in San Diego, U.S. ESET also has offices in Bristol, U.K.; Buenos Aires, AR; Prague, CZ; and is globally represented by an extensive partner network. For more information, visit our local office at https://eset.version-2.sg.

About Version 2 Limited
Version 2 Limited is one of the most dynamic IT companies in Asia. The Company develops and distributes IT products for Internet and IP-based networks, including communication systems, Internet software, security, network, and media products. Through an extensive network of channels, point of sales, resellers, and partnership companies, Version 2 Limited offers quality products and services which are highly acclaimed in the market. Its customers cover a wide spectrum which includes Global 1000 enterprises, regional listed companies, public utilities, Government, a vast number of successful SMEs, and consumers in various Asian cities. For more information, please visit https://www.version-2.com.sg/ or call (65) 6296-4268.

Why ESET?

ESET has over 25 years' experience of helping people to Enjoy Safer Technology. Our software is light on hardware, but hard on malware.

Our Technology

ESET’s award-winning NOD32® Antivirus technology is at the cutting edge of digital security. It’s updated daily to keep you secure.

Free Support

Enjoy your free, industry-leading customer support locally. For technical, sales and marketing enquires dial +65 6296 4268.