Tip to find the magic of a file: send it by email and watch the email as raw. Very simple.
found this link:
http://www.johncon.com/john/receivedIP/howto-virus.txtit has many magic numbers of exe files that are used by viruses:
these are new:
T24gRXJ virus
TVoAAAI virus
TVpsAAE virus
TVpAALQ virus
TVpQAAI virus
TVpsAAE virus
TVpyAXk virus
TVqQAAM in howto: my tests show that mosts
windows exes are like this one: so block this for sure
TVpQAAI in howto
UEsDBBQAAAAIA but this also blocks all zips: don't
the howto mentions these:
UEsDBAoAA zip version 1
UEsDBBQAA (zip version 2)
AHhUYXgg pif
AMlIbDk5Lm pif 2
AMkgICAg another pif I found. Let's block these
AHhIYW5k anther pif
I would say block these extra (all except zips, because zips do not execute right away):
AHhUYXgg
AMlIbDk5Lm
AMkgICAg
AHhIYW5k
T24gRXJ
TVoAAAI
TVpsAAE
TVpAALQ
TVpQAAI
TVpsAAE
TVpyAXk
so lets add them:
for i in {AHhUYXgg,AMlIbDk5Lm,AMkgICAg,AHhIYW5k}
do \
/sbin/e-smith/db mailpatterns set PIF$i pattern \
Body $i Description "PIF$i data" \
Glob yes LineStart yes Status enabled; done
for i in {T24gRXJ,TVoAAAI,TVpsAAETVpAALQ,TVpQAAI,TVpsAAE,TVpyAXk}
do \
/sbin/e-smith/db mailpatterns set VIRMAG$i pattern \
Body $i Description "VIRMAG$i data" \
Glob yes LineStart yes Status enabled; done
/sbin/e-smith/signal-event email-update
you can check them in the server-manager.
A question remaining is how exactly the magic is checked.
will
tv00
block tv00aas and tv00aas and so on? Or do you need an exact match?? I quess not, but would like to know for sure.
Hans-Cees