427 Botnet fm qxd



Download 6,98 Mb.
Pdf ko'rish
bet289/387
Sana03.12.2022
Hajmi6,98 Mb.
#878307
1   ...   285   286   287   288   289   290   291   292   ...   387
Bog'liq
Botnets - The killer web applications

www.syngress.com
356
Chapter 10 • Using Sandbox Tools for Botnets
427_Botnet_10.qxd 1/9/07 3:06 PM Page 356


sets up an 
interprocess communication (IPC)
object to communicate with the
sandbox application. Via this mechanism the collected process information is
sent to the sandbox and some configuration settings are received in turn.
Then 
function hooks
are installed for all relevant API functions to intercept
their calls.The technique used in CWSandbox for realizing the hook func-
tions is called 
inline code overwriting
(see Figure 10.5) and is described in detail
later.There are several other approaches, such as Import Address Table (IAT)
patching, Export Address Table (EAT) patching, or using proxy DLLs. Every
hooking technique has its disadvantages and advantages, but for CWSandbox
the currently used one seems to fit best for the moment.
Figure 10.5
Inline Code Overwriting
The inline patching performed in CWSandbox works in the following
way: Each Windows API function that is being used in an application is
implemented in one of the Windows DLL files like kernel32.dll, advapi32.dll
or ntdll.dll.These DLLs are either loaded automatically on process initializa-
tion or can be reloaded manually during runtime by one of the functions
LoadLibrary, LoadLibraryEx,
or 
LdrLoadDll.
No matter how and when the DLL
is loaded, at runtime the code of each API function that is called needs to
www.syngress.com
Using Sandbox Tools for Botnets • Chapter 10
357
Application.CreateFileA-Hook:
2005EDB7
- custom hook code -

...
2005EDF0
JMP [CreateFileA-SavedStub]

Download 6,98 Mb.

Do'stlaringiz bilan baham:
1   ...   285   286   287   288   289   290   291   292   ...   387




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish