I need Viruses !

For everything that's not in any way related to PureBasic. General chat etc...
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Well 2 things:
1. I hopw you are running the Virus Test system in a VM or an Emulator
2. If you find code wich is much faster in C you could provide it to Fred, maybe he can fix some of the speed issues then^^
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: I need Viruses !

Post by Polo »

=> Do you have some collections or some viruses?

You can freely download Windows Vista beta2 :
http://www.microsoft.com/windowsvista/g ... eview.mspx
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

I've got 5 packs of viruses downloaded from the web and P2P. It was all I found, but I bet many of them are just duplicates... I am going to use a virus collection tool to sort them out and keep the database clean.
Oh, and I wanted to ask you guys something: What's better to use? Hashes or data from file? Hashes could be faster, but it does not work for infectors which append data.

@Nik:
I don't think I am man enough to test them myself. I think I'll pass them to my friends :twisted: . Just joking.
About the speed, I'll make some demos if I can. The difference is that in C I can load a file in a string buffer directly and I use memicmp to search through the buffer.
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

Psychophanta wrote:
Maybe you could make a full PC protect software, so it's secure of hammers, cars, psychos, ... .
You will never get free of psychos :twisted: :lol:



Are you sure?

http://textlab.net/hermannderuser/pages/page_1.html

[EDIT]
Why the fuck doesn't my quote work anymore?
bye,
Daniel
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

About the speed, I'll make some demos if I can. The difference is that in C I can load a file in a string buffer directly and I use memicmp to search through the buffer.
You don't have to use a string buffer if you use memorycompare. And you shouldn't put a file in a string since the file could contain a null character and then everything will be messed up.

ReadData() is also a lot faster.
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Re: I need Viruses !

Post by Dare »

By Polo:
=> Do you have some collections or some viruses?

You can freely download Windows Vista beta2 :
http://www.microsoft.com/windowsvista/g ... eview.mspx
lol.
Dare2 cut down to size
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Thanks Trond. I sorted the database and unfortunately there were many many duplicates inside. The real number of virs is somewhere about 6000 :cry: . But that's a start too.

About the statement, the one that c is faster, I totally changed my mind. In a very long loop, I found out that PB is faster 8) .
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Post by Polo »

It's because, I think, that a C compiler, to optimize the speed, will write the code 30 times if you want to do a 30 time loop.
Er, I think ;)
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

Yes, that could be possible. That explains the "Sacrifice size for speed" option in older compilers :? .
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Well a good c compiler like gcc wil just optimize the code taht means he can inlien if it helps or he doesn't if it wouldn't help, he probably also does alter the code with !NOPs to fite better into the cache, it depends heavily on the compiler gcc 4.1 for example can even vectorize the code automatically
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

That's cool :D. But I prefer PureBasic over C. I guess I am one of those guys with big ideas but bad practice so I need highlevel stuff to accomplish something...
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
techjunkie
Addict
Addict
Posts: 1126
Joined: Wed Oct 15, 2003 12:40 am
Location: Sweden
Contact:

Re: I need Viruses !

Post by techjunkie »

Inf0Byt3 wrote:I'm making progresses with PureAV (in my free time) and I downloaded all the viruses I found on the net :D. But that ain't enough for me. Do you have some collections or some viruses? If so, PM me please :D. I currently have ~50.000 virii ready to be detected.
Can't you download a "Virus Generator", "Virus Toolkit", "Virus Creator" or another obscure software? They are all around the net.

Hmmmm... but even if you keep the virus local and destroy it fast - I'll guess it can be a criminal act? or? :?:
Image
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

Post by Inf0Byt3 »

What about all that software firms that create antiviruses? They should have problems too :? ... Anyway, I don't keep them. I am generating signatures and then delete them immediately. So what should I do? Should I destroy them all now and forget about this project? I don't want to have problems :roll: .
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

NO!

Having viruses on your computer is NOT any legal threat!
I think he talked about using virus generators. And i would again say that its not legally wrong as long as you don't spread them.
Post Reply