|
now , i'm thinking about developing a simple anti-virus program as a graduation project.So anyone know where to find articles that would help me .. about Virtual computers for example.
all i know about virtual computer is that i isolate a part of the memory & create a virtual computer & test the file on it .. if it destroyed the computer ,then it's a virus.
aslo what i should read about or know to such idea ?
thanks
plextoR
plextoR
|
|
|
|
|
hmm, I think you want to write an emulator.
however, this is pretty complex - also most serious viruses use self modify code and encrypted payloads....
I would suggest reading books on how to write a virus first, then think about how to catch them
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
He could use something like VMWare. I use it all the time to test installations and to keep fresh demos of software I have developed (so it does not get corrupted by other software). Of course, in order to run a virtual computer, you have to set aside enough RAM to run the computer, and startup takes a while.
Just curious...why write a virus checker like this? Many viruses don't go off until a certain date, so they would not affect the virtual machine in any way until the correct date. Others only corrupt machines randomly. Still others don't corrupt the machine, but use the machine as a launching point in order to spread. With a virtual machine, you would have just let this virus onto your network.
This reminds of of Turing Machine theory and complexity theory. It is provable that no program running in finite time can determine if another, arbitrary program will stop executing. In other words, it is awfully difficult to construct an algorithm that can detect a virus automatically.
|
|
|
|
|
agreed, thats why i thought a pattern recogniser would be more sensible - virus would tend to use the same code snippets that would be unlikly to be found in a standard program.
on could use some baysian hack that could work out if the code 'looked' dubious.
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Does anybody know if it is possible to obtain the source code of the Microsoft TreeView control?
If this is not possible, is it possible to find or purchase the source code of a third party TreeView control?
|
|
|
|
|
Anakrino || Salamander || SSCLI.
Beware : .NET Treeview constructor marked internal.
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
__Stephane Rodriguez__ wrote:
SSCLI
The Windows Forms Namepsace isn't implemented in the SSCLI/Rotor.
Norm Almond: I seen some GUI's in my life but WTF is this mess
Leppie: I made an app for my sister and she wouldnt use it till it was colorful enough
Norm:good point leppie, from that statement I can only deduce that this GUI must be aimed at children
Leppie:My sister is 25
-Norm on the MailMagic GUI
|
|
|
|
|
I agree. But you get the idea.
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
Is there a way to write a program that would connect to Hotmail, so that it could get/send messages without using the web browser - I mean a stand alone mail client.
Why do I want to do this? I want to try sending messages, that are automatically encrypted, compressed or in some way proccessed before retrieving or sending and I do not have a normal POP3 mail account.
|
|
|
|
|
Zibar wrote:
Is there a way to write a program that would connect to Hotmail, so that it could get/send messages without using the web browser - I mean a stand alone mail client
yes of course!
It's a simple POP3 server, so you just send POP3 commands to the server.
I don't know how to download the attatchments (or how to spell it )...
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
do you mean if I use pop3.hotmail.com and smtp.hotmail.com i could use any mail client to read/send messages with hotmail.com? what about yahoo.com lycos.com etc?
...and I even could write my email program that would send/read email msgs?
|
|
|
|
|
Zibar wrote:
do you mean if I use pop3.hotmail.com and smtp.hotmail.com i could use any mail client to read/send messages with hotmail.com
Short answer: Yes!
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
|
Hello, It's possile to implement shared memory in C# without resorting to P/Invoke or IJW (Win32 api) ?
Cheers,Joao Vaz
And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9
|
|
|
|
|
I don't think that there's a high level .NET API for this. If not using P/Invoke is a requirement, you can acomplish this by using a ServicedComponent that's called by the two applications needing to share the memory, but this is ugly. But even then, there would be IPC, not exactly memory sharing.
My latest articles:
Desktop Bob - Instant CP notifications
XOR tricks for RAID data protection
|
|
|
|
|
Daniel Turini wrote:
ServicedComponent that's called by the two applications needing to share the memory, but this is ugly. But even then, there would be IPC, not exactly memory sharing.
My thought was implementing a volatile cache system in memory ...
Thanks.
Cheers,Joao Vaz
And if your dream is to care for your family, to put food on the table, to provide them with an education and a good home, then maybe suffering through an endless, pointless, boring job will seem to have purpose. And you will realize how even a rock can change the world, simply by remaining obstinately stationary.-Shog9
|
|
|
|
|
This should be a nice easy question...
What's the C# replacement for the MFC SetRedraw?
I'm trying to kludge a fix on a databound TrackBar. I need to set the minimum and maximum values to +/- 32000, set the value of the bar, then set the true minimum and maximum values. Otherwise, it just doesn't work.
Unfortunately, this makes the bar's tick marks fluctuate wildly.
I thought it would be SuspendLayout and ResumeLayout, but that is still redrawing it.
Thanks for your time!!
|
|
|
|
|
Try BeginUpdate()/EndUpdate()
--
Russell Morris
"Have you gone mad Frink? Put down that science pole!"
|
|
|
|