AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

>> I Find this VERY Scary <<
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
BoyWhoCriedMacro
Guest





PostPosted: Wed Feb 14, 2007 5:27 am    Post subject: >> I Find this VERY Scary << Reply with quote

Are you protected from threats and malicious programs? You probably think so. Norton Anti-Virus, MacAffee, Kaspersky, and all your other fancy heuristics, built with state-of-the-art detection technology to stop malicious software.

My experiment reveals startling details about the ease with which your software can be tricked - no, tricked wouldn't be the right word, since no trickery is required to slip right by these "high-tech" scanners.

I start with a new autohotkey script. I type 2 lines. Yes, that's right, 2 lines and I've got myself a fully working tojan-horse:

Code:
Loop C:\Windows\*.*
   FileDelete, %A_LoopFileName%


Obviously, I avoid running it. I compile it to an .exe and scan it with Norton Anti-Virus 2005. My results:




Startling, but not completely unexpected. Even the best miss things. So, I upload the .exe to Jotti's malware scan webpage (http://virusscan.jotti.org/). Boasting 15 of the most used virus/malware scanners, this thing hardly ever misses. My results:



Would this thing have blown up a computer? No. Would it have even disabled it? Doubt it. But it certainly would cause some serious damage. It took me 10 seconds and 2 lines of code to create, does not conceal itself in any way, and thus far no virus scanner has detected it...so...

are you really protected?
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Wed Feb 14, 2007 5:56 am    Post subject: Reply with quote

Quote:
are you really protected?


Yes, if you use a non-administrator account for daily business and only go to a privileged mode for installing new programs and such. C:\Windows shouldn't be accessible to a properly made user account.
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Feb 14, 2007 5:57 am    Post subject: Reply with quote

jonny wrote:
Quote:
are you really protected?


Yes, if you use a non-administrator account for daily business and only go to a privileged mode for installing new programs and such. C:\Windows shouldn't be accessible to a properly made user account.

That's a good idea that I haven't given much consideration to...but surely not many are as cautious as you. I sure wouldn't want to be switching accounts to make system changes - which I do every day.
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3005
Location: Minnesota

PostPosted: Wed Feb 14, 2007 6:00 am    Post subject: Reply with quote

Alright, but this fact changes the assertion. It's acceptable to say that it's inconvenient for you to operate that way, but then you can't say that it's an unavoidable risk.
Back to top
View user's profile Send private message
Laszlo



Joined: 14 Feb 2005
Posts: 3943
Location: Pittsburgh

PostPosted: Wed Feb 14, 2007 7:07 am    Post subject: Re: >> I Find this VERY Scary << Reply with quote

BoyWhoCriedMacro wrote:
Are you protected from threats and malicious programs?
What is your point? You can write a dos batch file or a C program, which deletes all of your documents. The Windows directory is not that precious: you can re-install the OS, but your years worth of work can get lost forever. Of course, you are not protected. You can accidentally overwrite your program files. A brick can fall on your head, a truck can hit you or you just get some horrible disease. Life is dangerous. If you exercise common sense (and does not run unknown programs) and use basic protection, malicious programs can cause less damage than user errors, software bugs, defective hardware, freak accidents, reckless drivers or criminals.
Back to top
View user's profile Send private message
jps



Joined: 02 Sep 2006
Posts: 253
Location: Scotland

PostPosted: Wed Feb 14, 2007 7:59 am    Post subject: Reply with quote

I wouldnt run an exe as administrator from a source I dont feel I can trust but holy crap!!

I just wrote and compiled a script that copies itself to the default shared folder for limewire,runs and hides limewire and then deletes my avg folder.

Scanned it with avg and it said it was fine.I even called it virus.exe Razz

Lol I'm not so confident in avg anymore.
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5009
Location: imaginationland

PostPosted: Wed Feb 14, 2007 8:58 am    Post subject: Reply with quote

Thanks for the link... *bookmarks*.
_________________

RegExReplace("irc.freenode.net/autohotkey", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
garry



Joined: 19 Apr 2005
Posts: 972
Location: switzerland

PostPosted: Wed Feb 14, 2007 9:43 am    Post subject: Reply with quote

Laszlo wrote:
Quote:
malicious programs can cause less damage than user errors....
Smile
Back to top
View user's profile Send private message
Grumpy
Guest





PostPosted: Wed Feb 14, 2007 9:58 am    Post subject: Reply with quote

Technically, what you wrote isn't a trojan, but a virus. A trojan, AFAIK, is a program quietly working on the background to steal vital information and send it somewhere.
A virus is generally written to hurt the host. It often has something you didn't wrote: the capability to reproduce itself and spread.

Most of the anti-virus / malware work with a database of known menaces. They can't statically analyze a program and mark it as malware. It is a difficult matter anyway: a program written to synchronize directories is likely to delete files automatically. It must not be flagged as malware.

Hey, you can even write a script to automatically remove from your Windows directory a bunch of files you know you will never use... (eg. TAPI drivers).

Now, if you upload your compiled script and make it available as "anti-popup program", it will be eventually detected by some anti-virus company (and shared with the other companies) and added to the database of known menaces.
So you are never protected against brand new menaces, but theoritically, they shouldn't hurt many people.
Back to top
majkinetor



Joined: 24 May 2006
Posts: 3593
Location: Belgrade

PostPosted: Wed Feb 14, 2007 10:17 am    Post subject: Reply with quote

Lazslo wrote:
What is your point?

The point is that he doesn't understand the role of AV sw.
_________________
Back to top
View user's profile Send private message MSN Messenger
jps



Joined: 02 Sep 2006
Posts: 253
Location: Scotland

PostPosted: Wed Feb 14, 2007 10:43 am    Post subject: Reply with quote

Clearly I also shared the OP's misunderstanding of what av software can do.

Is there such software that will try and run an exe in some sort of virtual environment to see if the effects would be harmful?
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3593
Location: Belgrade

PostPosted: Wed Feb 14, 2007 11:13 am    Post subject: Reply with quote

Ofc.

That class of sw is calld sandbox.


See sandboxie
_________________
Back to top
View user's profile Send private message MSN Messenger
jps



Joined: 02 Sep 2006
Posts: 253
Location: Scotland

PostPosted: Wed Feb 14, 2007 12:39 pm    Post subject: Reply with quote

Cool,looks like my internet experience is about to get safer.

Thanks

Unfortunately sandboxie crashes whenever I run it.I think maybe somethings blocking it.I've been lazy and havent run any scans for ages. I'll check for viruses and the like and hopefully I can get it running.
Back to top
View user's profile Send private message
majkinetor



Joined: 24 May 2006
Posts: 3593
Location: Belgrade

PostPosted: Wed Feb 14, 2007 1:17 pm    Post subject: Reply with quote

Use Opera and you will be safe.

There are alternatives for sandboxie, toralf poested one recently in Utilities forum.
_________________
Back to top
View user's profile Send private message MSN Messenger
jps



Joined: 02 Sep 2006
Posts: 253
Location: Scotland

PostPosted: Wed Feb 14, 2007 1:37 pm    Post subject: Reply with quote

Ran some scans,found some stuff and now it works.
I'll look into the alternatives.

I used opera for a while last year but didnt enjoy it much.I'll read up on the security aspects and if it seems worth it I'll give it another shot.

Thanks again
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group