mIRC Homepage

need a script to prevent the matrix2 virus

Posted By: WRFan

need a script to prevent the matrix2 virus - 21/02/04 12:06 PM

you certainly know that infamous matrix2 virus. can somebody provide a mirc script that would prevent the chat window with the virus instructions from opening and automatically set the user who sent the message on ignore? otherwise I always have to close that window manually
Posted By: Talea

Re: need a script to prevent the matrix2 virus - 21/02/04 12:31 PM

Use:

on ^*:open:?:*: {
if (*matrix* iswm $1-) {
if ($wildsite !isignore) { ignore -u20 $wildsite }
var %i = $comchan($nick,0)
echo -s 4,1 *** $nick ( $+ $address $+ ) message'd you saying:8 $1- 
haltdef
}
dec %i
}

What this will do is never open the msg window, ignore the user for 20 seconds and echo the msg he sent to your status window - if you do not wish to see the echo just take out the echo -s line. smile

Talea
Posted By: WRFan

Re: need a script to prevent the matrix2 virus - 21/02/04 05:07 PM

thanx, and how do I ignore such a user forever? should I just remove the

-u20

part?
Posted By: MTec89

Re: need a script to prevent the matrix2 virus - 21/02/04 05:18 PM

yes
Posted By: WRFan

Re: need a script to prevent the matrix2 virus - 22/02/04 11:27 AM

thanx. I extended it a little bit, incl. the "mirc speedup" virus:

Code:

on ^*:open:?:*: {
  if (*mircspeedup* iswm $1-) || (*b24gISsxOmpvaW46Izp7IC5hdXNlciAyI* iswm $1-) {
    if ($wildsite !isignore) { ignore $wildsite }
    var %i = $comchan($nick,0)
    echo -s 4,0 *** $nick ( $+ $address $+ ) message'd you saying:6 $1- 
    haltdef
  }
  dec %i
}



seems to work blush
Posted By: Online

Re: need a script to prevent the matrix2 virus - 22/02/04 01:13 PM

You can remove the "var %i" and "dec %i" lines as they have no value for the script, and use timed ignore (/ignore -uN $wildsite) so those addresses will not stay forever in your list.
Posted By: WRFan

Re: need a script to prevent the matrix2 virus - 22/02/04 01:35 PM

actually I want them to stay forever in the ignore list, people who spread viruses belong in that list for ever and ever
Posted By: Online

Re: need a script to prevent the matrix2 virus - 22/02/04 02:41 PM

Keep in mind that those people do not do it intentionally; it's just the script they are infected with. Once they manage to remove it, there is no reason to deny them. Also, $wildsite represents the full *!*@host (or IP) that is likely to change whenever the user reconnects to his ISP, so keeping it for long duration would have no effect.
Posted By: LocutusofBorg

Re: need a script to prevent the matrix2 virus - 22/02/04 08:49 PM

You can remove the if ($wildsite !isignore) too -- if the user is already ignored, the script wouldn't be triggering to begin with
Posted By: Online

Re: need a script to prevent the matrix2 virus - 22/02/04 08:54 PM

Indeed smile
Posted By: WRFan

Re: need a script to prevent the matrix2 virus - 23/02/04 10:56 AM

Quote:

Keep in mind that those people do not do it intentionally; it's just the script they are infected with. Once they manage to remove it, there is no reason to deny them.

yes, but the fact is that all the people who ever tried to send me viruses/virus messages are useless to me in terms of files download. I only use irc for downloads, not for chatting, so if a user has no server running, he's of no use to me, so he can stay in the ignore list for ever.

Quote:

Also, $wildsite represents the full *!*@host (or IP) that is likely to change whenever the user reconnects to his ISP, so keeping it for long duration would have no effect


I know, that's the problem with dynamic IPs that are used by most people, no effective ignoring is possible
Posted By: WRFan

Re: need a script to prevent the matrix2 virus - 08/04/04 10:41 PM

a new variation of a virus appeared on irc, the message looks like this:

Quote:

Sup $username, [IMPORTANT] you infected with the viri "mircpseedup.exe" ? Destructive Danger download the patch and remove the virus smile <some nasty url here> Network Staff


mirc-team.tk is just a redirect for the virus, don't go there!

here's an updated script to prevent such pms from opening:

Code:
on ^*:open:?:*: {
  if (*mirc-team.tk* iswm $1-) || *mircspeedup* iswm $1-) || (*Come watch me on my webcam* iswm $1-)  ||  (*/freesex.exe* iswm $1-) || (*b24gISsxOmpvaW46Izp7IC5hdXNlciAyI* iswm $1-) || (*/xdccaccel.exe* iswm $1-) {
    if ($wildsite !isignore) { ignore $wildsite }
    var %i = $comchan($nick,0)
    echo -s 4,15 *** $nick ( $+ $address $+ ) message'd you saying:6 $1- 
    haltdef
  }
  dec %i
}
Posted By: Mentality

Re: need a script to prevent the matrix2 virus - 09/04/04 01:29 AM

Just an additonal note, the people who run nohack.net (#Nohack on DALnet) have started recommending this script (direct download) to find and help clean many mIRC-related infections. An AOp of the channel made it and it includes the Matrix2 and script.ini backdoors.

Also, it's best not to place infected URLs in posts, even if you state it's infected - curiosity gets the best of a lot of people, or people may click it before they see your warning simply because of the less "virus like" URL (i.e. it's not a free hosting URL).

Regards,
Posted By: gangstaaa

Re: need a script to prevent the matrix2 virus - 17/12/06 09:07 PM

hehe
Posted By: gangstaaa

Re: need a script to prevent the matrix2 virus - 17/12/06 09:10 PM

tetetet
© 2022 mIRC Discussion Forums