The Web Application Hacker’s Handbook Discovering and Exploiting Security Flaws



Download 5,76 Mb.
Pdf ko'rish
bet70/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   66   67   68   69   70   71   72   73   ...   875
Bog'liq
3794 1008 4334

30

Chapter 2 



Core Defense Mechanisms

70779c02.qxd:WileyRed  9/14/07  3:12 PM  Page 30



Some of these functions can be provided reasonably well by off-the-shelf

application firewalls and intrusion detection products. These typically use a

mixture of signature- and anomaly-based rules to identify malicious use of the

application, and may reactively block malicious requests as well as issue alerts

to administrators. These products can form a valuable layer of defense pro-

tecting a web application, particularly in the case of existing applications

known to contain problems but where resources to fix these are not immedi-

ately available. However, their effectiveness is normally limited by the fact

that each web application is different, and so the rules employed are inevitably

generic to some extent. Web application firewalls are normally good at identi-

fying the most obvious attacks, where an attacker submits standard attack

strings in each request parameter. However, many attacks are more subtle than

this, for example modifying the account number in a hidden field to access

another user’s data, or submitting requests out of sequence to exploit defects

in the application’s logic. In these cases, a request submitted by an attacker

may be identical to that submitted by a benign user — what makes it mali-

cious are the circumstances in which it is made.

In any security-critical application, the most effective way to implement

real-time alerting is to integrate this tightly with the application’s input vali-

dation mechanisms and other controls. For example, if a cookie is expected to

have one of a specific set of values, then any violation of this indicates that its

value has been modified in way that is not possible for ordinary users of the

application. Similarly, if a user changes an account number in a hidden field to

identify a different user’s account, this strongly indicates malicious intent. The

application should already be checking for these attacks as part of its primary

defenses, and these protective mechanisms can easily hook into the applica-

tion’s alerting mechanism to provide fully customized indicators of malicious

activity. Because these checks have been tailored to the application’s actual

logic, with a fine-grained knowledge of how ordinary users should be behav-

ing, they are much less prone to false positives than any off-the-shelf solution,

however configurable or able to learn that solution may be.


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   66   67   68   69   70   71   72   73   ...   875




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