3 hours 41 minutes
now where, as we know is defined. It's malicious software. And of course, we'd expect bad things to happen on our system. Once malware is running,
typically, malware does two basic things. It installs itself, and it does. It's evil work in this section. We're gonna learn about mall wears, components and behaviors.
Malware today is developed using similar stages of that of regular software.
To ensure malware authors always impact a large amount of people. They're now targeting various operating systems such as Windows Mac, Lennox, Android and they even developed malware for Skate A devices Pos Systems, A T M's thean er, net of things, satellite systems and more.
Now, although we've got different malware for different platforms, typically, malware has different components that can be segregated. Thes components can be divided into payloads. Persistence, packers, malware, self armoring propagation and communication
here will provide an overview of these components, and then we'll dive into them a bit more in later modules. A payload is a mandatory component of malware. While it's true that a malware infection can happen with the aid of multiple binaries which could be chained together, the term payload is reserved for the primary component of the malware.
This binary performs malware is primary functions, and it implements the true intent of the attacker.
Now payloads these fall into different classifications, such as passwords, dealers, adware, ransomware as well as droppers and downloaders. Generally, we classify them our based on the payload.
Now, sometimes we have an outer layer around the payload that compresses and obfuscates the payload. This is the Packer Packers have the ability to fool or go undetected by anti virus software. When we analyze Mauer or perform reverse engineering, we typically need to remove this outer layer to understand how the payload is functioning,
which is called the impacting process.
Now we're gonna talk about unpacking malware in an upcoming module
once we defeat a packer if we have one. Malware typically contains one or more of the additional components that we have listed here. Let's begin with communication. So usually malware wants to communicate with the attacker infrastructure. Maybe malware wants to receive command and control instructions.
Or maybe it wants to upload stolen data.
This is referred to as commanding control, or C two.
Now, where communication is typically enabled by any array of different techniques, it could be IRC http https, or even D. N s
where now we're communication in the past has been rather simple to intercept and decode. In recent years, with the advancements of encryption and network detection products,
malware has implemented MAWR complex communication mechanisms, which make it harder to detect and analyze in addition to communication. Typically, malware wants to hide itself on the system so that the user doesn't detect it's presence. This is called malware Stealth.
Today, it's even more important for malware to hide from anti malware, an anti virus software,
because typically we have these defense mechanisms installed on our systems. To defeat these defenses, malware can implement stealth mechanisms. Stealth mechanisms can range from simple techniques like altering file properties. Toe more complex implementations such as infecting clean programs on the system,
process, hollowing and installing root kits. If not being able to detect malware wasn't bad enough. Now, where authors typically don't like us to reverse engineer their malware, so they create obstacles which prevents us from doing so known as armoring. Now, armoring usually is meant to hinder analysis.
While evasion techniques are meant to thwart anti malware analysis tools,
some of These techniques include identifying the analysis environment, looking at the malware tools that are installed on our system, using and detecting if we're running malware in a virtual machine, looking at the processor, implementing anti debugging and anti analysis techniques.
Anti evasion techniques could include and a virus evasion network security and sandbox evasion. Detecting whether user interaction is automated. Detecting whether malware is running an unknown sandbox, using timing attacks and detecting sandbox agents
once malware is installed on the system. Typically, malware wants to always run in state resident by surviving system reboots. This is called persistence.
Most malware makes use of various OS features to remain resident and running, such as adding run keys to the registry, setting up scheduled tasks, adding itself to run folders and installing itself as a Windows service.
In addition to remaining resident in the system, Malware wants to typically propagate to his maize devices on the network as possible, an attempt to compromise additional targets. In these instances, malware would typically implement techniques to perform reconnaissance, steal credentials, exploit vulnerable systems by taking advantage of weak security controls
and compromise internal network protocols such as SMB
in general. Now we're needs to be distributed to infect victims
now, although creating malware is pretty difficult, sometimes distribution can be equally difficult to be successful in distributing malware, Attackers typically try to make sure they can't be traced back to a particular malware sample.
In addition, distributing the Mauer should be effective in infecting the target machine if it's part of a targeted campaign. Tha now, where should be able to disregard unintended victims, and the mechanisms should be able to bypass security products.
Generally, the delivery mechanisms
can be grouped into three broad categories. We've got physical delivery. This can take the form of a USB flash drive, and then the flash drives can be shared across machines. Also, we've got infected websites. This is where the victim is infected when they visit a website. Usually it can occur
in the background without the user's knowledge,
and probably the oldest and most effective technique is delivery over email. Emails, as we know, use a combination of techniques. For instance, emails could contain links to malicious websites. The email could have malicious office documents or PDFs attached, or lastly, the emails could contain downloaders,
which, upon execution,
retrieve second stage payloads
in most cases. Malware infections, no matter which mechanism is used, typically includes some type of social engineering.
All right, so now that we've looked at the components of Mauer and we've looked at the distribution channels,
let's close the module with a brief summary.
Penetration Testing and Ethical Hacking
To assess the strength of your organization’s cybersecurity posture, you need to gather information, perform ...
7 CEU/CPE Hours Available
Certificate of Completion Offered
Intro to Malware Analysis and Reverse Engineering
Are you on the path to becoming a SOC Analyst or preparing for your CEH ...
9 CEU/CPE Hours Available
Certificate of Completion Offered