DLL hijacking α¬αααααααααΌαααΆαααααΆααααΆααΆ DLL preloading α¬ DLL side-loading ααΊααΆαα·ααΈααΆαααααααΆααααα αΆααααααααΎααΆααααααααααααΆαααααααα·ααΈ (Software) αααααΆααα αααα»αααααααααααααα·ααααα·ααΆαααΈαααΌααΆααα’αααααα»αααΆαααααΆααΆαααΎαααααΎαααΆα DLL αααααΆαααααααααΌααααααααΆααΆαααΎαααααΎαααΆα DLL αααααααααααααα·ααΈ α
Finding Missing DLLs
ααΎααααΈαααααααααΆαα DLL αααααΆαααΆαααα αααα»αααααααααααααα·ααααα·ααΆαααΈαααΌααΎαα’αΆα ααααΎααααΆαααααααα·ααΈ Procmon α αΎαααααΎααΆα Filter αααααααααΆααααΈαααΌα ααΌαααΆααααααα
αααααααΈααΎαααααΎααΆαααΆαααααααΌα Filter ααΆααααΈααα½α ααΆαα ααΌαα α»α Apply ααααααααα·ααΈααΉαααααΎααΆαα ααααα ααααΌαααΆαα DLLs ααΆααα‘αΆαααΆαααααααΌαααΆαααΎαααααΎαααΆα ααα»ααααααΆαα·αααααΌαααΆαααααΎααα αααα»ααααααααα α
ααααα·αααΎααΎαα ααααααΎααΆα Filter αα ααΎαααααα·ααΈααΆαα½αααΆααααΆαααααααΎαααααΌαααααααααΆαααααα Filter ααΌα ααΆααααααα
Exploation Path
ααααΌαααΎαααααΌαααΆα DLL Payload αααααΎαα’αΆα αααααΎαααΆααΆαααΆαααα Framework ααΆα αααΎαααΌα ααΆ Metasploit / Cobalt Strikeβ / DCRat ααα ααΎαααΉααααααΎαααΆαααααααΎααααΆαα MSFvenom αααααΆ Standalone Payload Generator ααΌα ααΆααααααα
|
|
α αΉααα αααα»αα’ααααααααααΎαααΉαααΆααααααααααΎαα―αααΆα EXE αα½ααααααααΆααΆαααΎαα―αααΆα DLL αααααααΆ test.dll αααααααΎααααΆααααΆααΆα C α
|
|
αααααααΈααααΎαααΆαα―αααΆα loader.exe ααΆαααΎααΎαααΉαααα½αααΆαααΆαααααΆααααΆα―αααΆα DLL αααααααΆ test.dll ααΆαααΆααααα αααα·αααΎα α
ααΌα αααααΎααΎααα Payload ααααααΎααααααααα²ααααΌα αα·αα ααααααΆααα αΌααα αααα»αααα―αααΆααα test.dll ααα loader.exe ααααααααα·αααΎα αααααΎαααΉαααα½αααΆα Reverse Shell ααΆααααΆαα·αααΆα α