427 Botnet fm qxd



Download 6,98 Mb.
Pdf ko'rish
bet144/387
Sana03.12.2022
Hajmi6,98 Mb.
#878307
1   ...   140   141   142   143   144   145   146   147   ...   387
Bog'liq
Botnets - The killer web applications

www.syngress.com
Botnet Detection: Tools and Techniques • Chapter 5
171
427_Botnet_05.qxd 1/9/07 9:59 AM Page 171



[-> $HOME_NET any]
specifies that the target IP should be on the
local network, but again, on any port.The 
$HOME_NET
variable is
set by the administrator to refer to an appropriate IP range belonging
to his organization.

[ (msg:”W32.NetSky.p@mm - MIME”;]
specifies the message text.

[content:”X7soIUEAR4s3r1f/E5UzwK51/f4PdO/+D3UGR/83r+sJ/g
8PhKLw/v9XVf9T”]
specifies the signature.

[; classtype: misc-activity; rev 1;)]
specifies that the event is to be logged
as “misc-activity.”
In his paper,
Anti-Malware Tools: Intrusion Detection Systems
, presented at the
EICAR 2005 conference (http://arachnid.homeip.net/papers/EICAR2005-
IDS-Malware-v.1.0.2.pdf ), Martin includes a number of other examples, one
of which we can’t resist quoting, slightly modified.This rule adds the capa-
bility of alerting on or blocking some e-mail attachment types by filename
extension.The file types specified are, when found attached to e-mail, far
more often associated with mass-mailer viruses and worms, bots,Trojans, and
so on than they are with legitimate and desirable programs. (The list of exten-
sion types could be a lot longer, but this rule on its own is capable of
blocking a wide range of e-mail-borne malware.)
alert tcp $EXTERNAL_NET any -> any any (msg:"Bad Extensions
Match/PCRE";pcre:"/attachment\;\W{1,}filename=["]\S{1,}[.](scr|com|exe|cpl|pi
f|hta|vbs|bat|lnk|hlp)/";classtype:misc-activity; rev:1;)
The main novelty here is the 
pcre
directive, indicating the use of Perl
Compatible Regular Expressions. For much more information on writing
Snort rules, see www.snort.org/docs/writing_rules/, part of the Snort Users
Manual.
Snort_inline is a version of Snort modified to accept packets from iptables
via libipq, instead of libpcap, using additional rule types (drop, sdrop, reject) to
drop, reject, modify, or pass the packet according to a Snort rule set.

Download 6,98 Mb.

Do'stlaringiz bilan baham:
1   ...   140   141   142   143   144   145   146   147   ...   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