Eicar testvirus and stuff

For everything that's not in any way related to PureBasic. General chat etc...
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Just an aside .. what is in a text file should be a virus checker's business. You can write executable code in a text file (DOS, anyway ..).

If your AV is any good it will detect this:
  • X5O!P%@AP[4\PZX54(P^)7CC)7}$ EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
[/list]
Copy and paste, remove the space between the $ and the EICAR and save (so it is a 68 character file). If your AV hasn't screamed yet, ask it look at the file. If it still doesn't scream, get a new AV.

The "!" is int 21. :)
@}--`--,-- A rose by any other name ..
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Dare2 wrote:You can write executable code in a text file (DOS, anyway ..).
Yes, but you can't execute it, so it's harmless.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Try http://www.eicar.org for info. Interesting stuff.

I've started a hijack on this bug report, though, so if it is worth discussing (probably not) maybe in offtopic?
@}--`--,-- A rose by any other name ..
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Trond wrote:
Dare2 wrote:You can write executable code in a text file (DOS, anyway ..).
Yes, but you can't execute it, so it's harmless.
Well, JavaScript, Perl, PHP and VBScript are also text files and a VBScript for example can do a lot of nasty stuff.
Last edited by techjunkie on Tue Mar 07, 2006 5:56 pm, edited 1 time in total.
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

Dare2 wrote:If your AV is any good it will detect this:
  • X5O!P%@AP[4\PZX54(P^)7CC)7}$ EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
[/list]
Copy and paste, remove the space between the $ and the EICAR and save (so it is a 68 character file). If your AV hasn't screamed yet, ask it look at the file. If it still doesn't scream, get a new AV.
Crap! eTrust didn't find it! :cry:
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

techjunkie wrote:
Trond wrote:
Dare2 wrote:You can write executable code in a text file (DOS, anyway ..).
Yes, but you can't execute it, so it's harmless.
Well, JavaScript, Perl, PHP and VBScript are also text files and a VBScript for example can do a lot of nasty stuff.
I assure, a VBScript in a file with a .txt extension can't do anything. As soon as you rename it to .vbs or whatever the antivirus should scan it.
techjunkie wrote:
Dare2 wrote:If your AV is any good it will detect this:
  • X5O!P%@AP[4\PZX54(P^)7CC)7}$ EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
[/list]
Copy and paste, remove the space between the $ and the EICAR and save (so it is a 68 character file). If your AV hasn't screamed yet, ask it look at the file. If it still doesn't scream, get a new AV.
Crap! eTrust didn't find it! :cry:
Either because you put it in a .txt file instead of a .com/.exe file, or because eTrust doesn't care about detecting it. It is not a dangerous program, it is only a self-proclaimed standard test file.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Crap! eTrust didn't find it! :cry:

Yes it does (I used to use eTrust). Save that text as a .com file, not .txt, and
it'll detect it.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Michael Vogel
Addict
Addict
Posts: 2819
Joined: Thu Feb 09, 2006 11:27 pm
Contact:

Post by Michael Vogel »

Just a step back to the original question, the IDE(-related) problem...
blueznl wrote:it's a problem i have reported earlier, and i can confirm my program is long gone and finished, it's the reloading that may cause it

did anyone try using a tool (sysinternals had something for that?) to see what is eating up cpu time, and if the ide at that moment is opening / reading a / the file?
Before starting this posting I checked it with the internal task manager -and it's just the PureBasic IDE, which take 95%+ of the CPU load (while waiting for the tool process to end?). I will do some further investigations soon...

Michael
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Here is a program I wrote, which makes batch (*.bat) files REALLY DANGEROUS AND NASTY!!!!:

http://www.purebasic.fr/english/viewtop ... ight=batch

And the best/worst of it;
IT IS NOT DETECTED BY MY ANTIVIRUS (f-secure)
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

To Trond,

Create a text file named "vbscript.txt" and let it include,

Code: Select all

MsgBox "Hello World!"
in same directory create a file called "test.vbs" and let it include,

Code: Select all

Dim fso, f, s
set fso = CreateObject("Scripting.FileSystemObject")
set f = fso.OpenTextFile("vbscript.txt",1)
s = f.ReadAll()
ExecuteGlobal s
Double click on test.vbs

and there are many, many more ways to execute VBScript in a text file.

To PB,

Of course I renamed it to both .exe and .com. I'm not stupid! :roll:

IF I'm been stupid, I haven't used PureBasic... Hehe... :lol: :lol:

I guess I have a crapy version of eTrust (Version 7.0.142)
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> Of course I renamed it to both .exe and .com. I'm not stupid!

I didn't say you were... relax.

> I guess I have a crapy version of eTrust (Version 7.0.142)

Did you remove the space in the middle of the string?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

Trond wrote:it is only a self-proclaimed standard test file.
True. The Eicar site covers what it is/is not.

Many AVs detect it.

Don't most AV's have testing or not option for non-executable files? Is that the problem, perhaps, techjunkie?

@Bonne_den_kule

Now i am nervous to go look at your batch file. :D

Edit: Just did. :)
@}--`--,-- A rose by any other name ..
Bonne_den_kule
Addict
Addict
Posts: 841
Joined: Mon Jun 07, 2004 7:10 pm

Post by Bonne_den_kule »

Dare2 wrote: @Bonne_den_kule

Now i am nervous to go look at your batch file. :D

Edit: Just did. :)
Hehe... it doesn't bite... :lol:
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Post by techjunkie »

PB wrote:> Of course I renamed it to both .exe and .com. I'm not stupid!

I didn't say you were... relax.
Sorry - it wasn't meant to sound hard / rough / mad / rude. We Swedes often do the misstake that we are to "direct" in emails and so on, so other people feel offended, it's very common.

We maybe joke and other people doesn't understand that it is a joke, sad but true... :cry:

Here is some very good hints, when communicating with Swedes. :lol:

http://www.techjunkie.org/UK_consultant2005.pdf
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Post Reply