Results 1 to 30 of 40

Thread: Gah! Need better anti-bug stuff

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Sevis's Avatar
    Join Date
    Oct 2009
    Location
    Netherlands
    Posts
    165

    Default Re: Gah! Need better anti-bug stuff

    I've not got GIMP on me at the moment, so I'll test that later.

    As I said - it's the hidden extension. In this case, on Unix, "test" is the name and "gif" the extension, while on Windows, "test.gif" is the name and "bat" the extension. The program is not parsed by whatever image viewer you have - it's sent right into cmd.exe, which will of course be quite dangerous. Would having the first example (in Unix, in a graphical environment), named "test.gif.sh", double-clicked, do anything else? I rather doubt it.

    The problem, I would say, is file browsers sometimes hiding extensions, and users not doing anything about it. Checking the (entire) file for possibly dangerous strings and limiting the use of those would take quite a while and have no difference on the typical (used-as-intended) experience.

    However, this post has gotten me curious as to how long it would take for 'cat /dev/urandom | grep "; rm -rf /;"' to give us something... Probably too long to wait, the chance per character is 256^-11 (=2^-88, which is around (10^-24)/256).

  2. #2
    Tree Killer Senior Member Beirut's Avatar
    Join Date
    May 2003
    Location
    Quebec, Canada
    Posts
    8,168

    Default Re: Gah! Need better anti-bug stuff

    Quote Originally Posted by Sevis View Post
    However, this post has gotten me curious as to how long it would take for 'cat /dev/urandom | grep "; rm -rf /;"' to give us something... Probably too long to wait, the chance per character is 256^-11 (=2^-88, which is around (10^-24)/256).
    You know, the nerd in me needs a cigarette after reading posts like that.

    Ah feel faint...

    But you guys know your stuff. I DL-ed Avast and a few minutes later a little screen pops up and says "Dingwad! You have a rootkit messing with your rig." It even warned me I was being attacked. Wild little program.

    A scan and a few clicks later and things are much better.

    Thanks, y'all.
    Unto each good man a good dog

  3. #3
    the G-Diffuser Senior Member pevergreen's Avatar
    Join Date
    Nov 2006
    Location
    Brisbane, Australia
    Posts
    11,585
    Blog Entries
    2

    Default Re: Gah! Need better anti-bug stuff

    Quote Originally Posted by Beirut View Post
    A scan and a few clicks later and things are much better.

    Thanks, y'all.


    What we love to hear.

    Even if they completely lost me towards the end...
    Quote Originally Posted by TosaInu
    The org will be org until everyone calls it a day.

    Quote Originally Posted by KukriKhan View Post
    but I joke. Some of my best friends are Vietnamese villages.
    Quote Originally Posted by Lemur
    Anyone who wishes to refer to me as peverlemur is free to do so.

  4. #4

    Default Re: Gah! Need better anti-bug stuff

    It involves trying to run a destructive command from a randomly generated number.
    “The majestic equality of the laws prohibits the rich and the poor alike from sleeping under bridges, begging in the streets and stealing bread.” - Anatole France

    "The law is like a spider’s web. The small are caught, and the great tear it up.” - Anacharsis

  5. #5
    Tree Killer Senior Member Beirut's Avatar
    Join Date
    May 2003
    Location
    Quebec, Canada
    Posts
    8,168

    Default Re: Gah! Need better anti-bug stuff

    Quote Originally Posted by Asai Nagamasa View Post
    It involves trying to run a destructive command from a randomly generated number.
    For some reason that makes me think of my woman telling me to do something around the house.
    Unto each good man a good dog

  6. #6
    Member Member Sevis's Avatar
    Join Date
    Oct 2009
    Location
    Netherlands
    Posts
    165

    Default Re: Gah! Need better anti-bug stuff

    I don't intend to actually run it, simply see how long it takes for it to pop up... :)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO