Lab 12-4 Solutions
Short Answers
The malware checks to see if a given PID is winlogon.exe.
Winlogon.exe is the process injected.
The DLL sfc_os.dll will be used to disable Windows File Protection.
The fourth argument passed to
CreateRemoteThreadis a function pointer to an unnamed ordinal 2 (SfcTerminateWatcherThread) of sfc_os.dll.The malware drops a binary from its resource section and overwrites the old Windows Update binary (wupdmgr.exe) with it. Before overwriting the real wupdmgr.exe, the malware copies it to the %TEMP% directory for later usage.
The malware injects a remote thread into winlogon.exe and calls a function exported by sfc_os.dll, ordinal 2 (
SfcTerminateWatcherThread), to disable Windows File Protection until the next reboot. The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access