Tuesday, November 10, 2009

McAfee SuperDAT update

Untuk mengisi kekosongan sejak lebaran gak buat posting, mending kategori 'techie' dimuat lagi. Blogger penganut aliran 'diary' seperti gw memang gak bisa keluar ide kalo gak ada sesuatu yang unik terjadi. So, daripada jeda terlalu jauh pada blog archive, gw tulis aja pengalaman gw melakukan update berkala secara otomatis untuk antivirus yang dipake di kantor gw. Sekalian buat pengingat secara gw gak terlalu rapi mencatat dokumentasi, dan syukur-syukur bisa berguna buat yang lain.

McAfee bukan pemain baru di dunia antivirus. Gw kenal sejak SD, sejak jamannya VShield untuk DOS. Walaupun bukan produk antivirus terbaik, apalagi sekarang banyak antivirus yang free (gratis) dengan kualitas gak kalah bagus, McAfee tetap banyak dipercaya oleh organisasi skala enterprise untuk menjaga infrastruktur jaringan mereka dari gangguan virus, trojan, rootkit, atau apapun program perusak dengan 'heuristic' serupa.


Satu yang menjadi ciri khas McAfee dibanding produk lain adalah sistem updatenya yang klasik, berupa sebuah self extractor bernama SuperDAT.exe yang di dalamnya dimampatkan definisi virus mulai dari jaman Leonidas sampai kepada pemegang penghargaan Virus Paling Merusak Minggu Ini. Kenapa gw bilang klasik? Karena rata-rata antivirus modern melakukan updatenya secara incremental, maksudnya hanya virus-virus terbaru yang diupdate ke dalam database mereka, sehingga waktu update cuma butuh beberapa menit. Bandingkan jika pengguna McAfee meng-klik 'Update now' pada taskbar, maka satu paket SuperDAT akan diunduh yang jelas memakan banyak bandwidth dan waktu yang sangat lama karena rata-rata SuperDAT berukuran 120MB! Tapi SuperDAT punya kelebihan: Bisa dibawa kemana saja, di-copy ke banyak komputer, sehingga gak perlu setiap komputer melakukan update masing-masing. Kelebihan yang jelas berguna untuk yang gak punya koneksi internet tapi mau antivirusnya tetap update.

Pada McAfee Enterprise tersedia fitur ePO (e-Policy Orchestrator) yang akan melakukan update massal pada seluruh komputer perusahaan melalui ePO agent yang terinstall di setiap komputer. Masalahnya kadang-kadang server ePO di pusat ngadat, down, atau maintenance, yang mengakibatkan 'kelalaian' dalam tugasnya mengupdate komputer kita, bahkan bisa 2-3 hari atau seminggu. Padahal buat gw antivirus harus selalu terkini apapun merknya.

Ini yang gw lakukan untuk selalu memiliki copy SuperDAT paling baru terhidang setiap pagi di desktop gw.

Gw bikin script updater dalam bash script untuk di-run di server linux gw dan disimpan sebagai avupdate.sh:
#!/bin/sh
#
# Download latest McAfee SuperDAT from nai.com ftp server.
# By: martyono.sembodo@yahoo.com

TARGETPATH="/workshop/superdat"

if [ -e $TARGETPATH/update.ini ]; then
rm -f $TARGETPATH/update.ini
fi

wget ftp://ftp.nai.com/pub/datfiles/english/update.ini -O $TARGETPATH/update.ini

DATVERSION=`grep DATVersion -m 1 $TARGETPATH/update.ini | cut -c12-15`

wget ftp://ftp.nai.com/pub/antivirus/superdat/intel/sdat${DATVERSION}.exe -O $TARGETPATH/sdat${DATVERSION}.exe

if [ -e $TARGETPATH/old.exe ]; then
rm -f $TARGETPATH/old.exe
fi

mv $TARGETPATH/update.exe $TARGETPATH/old.exe
mv $TARGETPATH/sdat${DATVERSION}.exe $TARGETPATH/update.exe

if [ -e $TARGETPATH/SuperDAT.log  ]; then
rm -f $TARGETPATH/SuperDAT.log
fi

exit 0


Jangan lupa ganti permissionnya untuk bisa diakses dan dieksekusi semua orang. Buat penjadwalan (scheduling) untuk menjalankan script ini, misalnya setiap jam 5 pagi, menggunakan cron:

0 5 * * * /home/marts/bin/avupdate.sh


Saat dijalankan, proses updating seperti berikut akan berjalan di background:



Begitu sampai kantor, gw cek network drive, dan SuperDAT terbaru sudah tersedia di situ.



Buat yang gak punya ePO, bisa tinggal run langsung updatenya..



And... The antivirus is now up to date..



Simple and clean.. :)

18 comments:

Anonymous said...

That is a really good tip particularly to those fresh to the blogosphere.
Brief but very precise info… Thanks for sharing this one.
A must read article!

Here is my blog post - outlet schuhe online

Anonymous said...

Hi it's me, I am also visiting this site daily, this site is in fact fastidious and the viewers are truly sharing pleasant thoughts.

Review my web page Krankenkassen FüR SelbststäNdige

Anonymous said...

Your style is so unique in comparison to other folks I've read stuff from. Thank you for posting when you have the opportunity, Guess I will just book mark this web site.

Here is my webpage - payday loans online

Anonymous said...

Hi! I could have sworn I've been to this website before but after browsing through some of the post I realized it's
new to me. Anyways, I'm definitely glad I found it and I'll be bookmarking and checking back often!


Here is my website replay online outlet

Anonymous said...

Hi there to every one, since I am truly eager of reading this website's post to be updated on a regular basis. It carries good stuff.

Here is my webpage kredit trotz negative schufa

Anonymous said...

My brother suggested I may like this blog.

He was totally right. This submit actually made my day.

You can not imagine simply how a lot time I had spent for this info!
Thanks!

Also visit my web blog ... kredit für selbstständige ohne schufa

Anonymous said...

It's an awesome post in support of all the web visitors; they will take benefit from it I am sure.

Also visit my homepage - online jobs for stay at Home mums

Anonymous said...

Wow, that's what I was looking for, what a material! present here at this web site, thanks admin of this site.

Here is my web-site ... kredit trotz schufa seriös

Anonymous said...

Actually no matter if someone doesn't understand after that its up to other people that they will assist, so here it takes place.

my website ... pflegeversicherungen im vergleich

Anonymous said...

I quite like reading an article that can make people think.
Also, thanks for allowing me to comment!

my web-site ... top hosting provider

Anonymous said...

I must thank you for the efforts you've put in writing this site. I am hoping to see the same high-grade blog posts by you later on as well. In fact, your creative writing abilities has motivated me to get my very own website now ;)

Also visit my blog ... web hosting reseller business

Anonymous said...

I don't even know the way I ended up here, however I believed this publish was good. I do not recognize who you're however certainly you're going to a famous blogger when you are not already. Cheers!

Here is my page how to earn money from clickbank

Anonymous said...

Right here is the right blog for everyone who really wants to find
out about this topic. You realize a whole lot its almost hard
to argue with you (not that I really would want to…HaHa).
You certainly put a brand new spin on a topic which has been discussed
for decades. Excellent stuff, just excellent!

Feel free to surf to my web-site: biggest affiliate programs

Anonymous said...

Great delivery. Outstanding arguments. Keep up the
good spirit.

Stop by my web blog :: wo bekomme ich einen kredit trotz negativer schufa

Anonymous said...

Hi, I don't realize that should you own your own website in RSS reader. Are you able to aid please:)

My page krankengeld versicherung vergleich

Anonymous said...

Wow! I say thank you! Should constantly write something on its
website. Can I participate in your place in my diary?


Have a look at my weblog - top designer marken

Edward Pitt said...
This comment has been removed by the author.
Edward Pitt said...
This comment has been removed by the author.