Question

In: Computer Science

Discuss how a malware can maintain persistence. What do malwares use the SetWindowsHookEx function for?

Discuss how a malware can maintain persistence. What do malwares use the SetWindowsHookEx function for?

Solutions

Expert Solution

Malware can maintain persistence:

Malware persistence mechanisms are different method developed to allow malware to stick arround and resume running after being closed pr having the target computer restart. In this post, we'll discuss some of the most common persistence mechanism for windows malware and how to defeat them.

Bootkits are boot malware that achieves persistence by inserting itself into the windows startup procedure.

Modifying Registry keys: Modifying registry keys are often used by malware to achieve presistence on a system. Below are some of the most common registry value/locations exploited by malware.

Most persistence tchniques on a Microsoft windows platform involve the use of the Registry. Notable exceptions include the startup folder and torjanizing system binaries.

What do malwares use the SetWindowsHookEx function:

This function is used to set a hook function to be called whenever a certain event is called. Commonly used with keyloggers and spyware, this function also provides an easy way to load a DLL into all GUI processes on the system. This function is sometimes added by the compiler.

Which is then invoked whenever certain events are triggered. Let's take a look at the function syntax :

HHOOK WINAPI SetWindowsHookEx(

_In_ int idHook, _In_ HOOKPROC lpfn, _In_ HINSTANCE hMod, _In_ DWORD dwThreadId

);


Related Solutions

A. Discuss how businesses can do at least two of the following; support, maintain or decrease...
A. Discuss how businesses can do at least two of the following; support, maintain or decrease the quality of life for society. B. Discuss how non-profit organizations can do at least two of the following; support, maintain or decrease the quality of life for society.
What do you believe is the current immediate threat in malware? and What do you believe...
What do you believe is the current immediate threat in malware? and What do you believe will be the most threatening malware or attack-vector in the next few years?
What is the function (what is it, what does it do, how does it do it)...
What is the function (what is it, what does it do, how does it do it) of a defrost high limit thermostat and a defrost termination thermostat?
1. What are the various types of malware? 2. How do worms differ from viruses? 3....
1. What are the various types of malware? 2. How do worms differ from viruses? 3. Do Trojan horses carry viruses or worms?
Use the Internet to research software defined network (SDN). How do they function? What are their...
Use the Internet to research software defined network (SDN). How do they function? What are their features? What are the advantages of each type? What are the disadvantages? Create a table comparing SDNs with traditional networks. If you were to recommend a SDN for your school or business, what would be the reason(s)? Please don't do from course hero
Discuss in 5 - 6 paragraphs what is Benchmarking and how can you use it to...
Discuss in 5 - 6 paragraphs what is Benchmarking and how can you use it to run a business.
Is it ethical for governments to write malware to fight their enemies? What impact can it...
Is it ethical for governments to write malware to fight their enemies? What impact can it have on civilians?
what can hospitals do to maintain confidentiality on social media? what are some policies healthcare organizations...
what can hospitals do to maintain confidentiality on social media? what are some policies healthcare organizations have enacted to protect themselves? what are ways healthcare organizations use social media? what do you feel are the positive AND negative aspects of social media when it comes to health care?
Explain how the compensatory mechanisms for heart failure work to maintain cardiac function. What occurs if...
Explain how the compensatory mechanisms for heart failure work to maintain cardiac function. What occurs if these mechanisms begin to fail?
What are inducible operons and how do they function?
What are inducible operons and how do they function?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT