Results 1 to 8 of 8

Thread: Portable Ubuntu USB Virus scanner

  1. #1
    Join Date
    Mar 2008
    Location
    NSW Australia
    Beans
    232
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Portable Ubuntu USB Virus scanner

    Heya,
    I'm currently working at a Uni where some of the windows machines are infected with a nasty virus which spreads via the students USB disks. I'd like to mention that I don't have authority over these machines.

    Anywayz, I now have a queue of students and lecturers who can't log into windows (and have non-updated crapware antivirus installed). I am considering the possibility of creating a bootable Ubuntu USB, installing a virus-scanner (AVG, antivir or something) and scan machines I can't boot into.

    Has this been implemented before? Any problems or suggestions? Would Xubuntu/Ubuntu/Kubuntu be better?

  2. #2
    Join Date
    Jul 2007
    Location
    Tempe, Arizona
    Beans
    409
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Portable Ubuntu USB Virus scanner

    I haven't actually done it before but I have read guides on how Knoppix does the trick where you pop in the live cd and install f-prot and update the virus definitions then scan for viruses. Hope this helps.

    http://www.extremetech.com/article2/...1918391,00.asp

    I think that might help.

    The only issue that I would need someone to confirm is that since the only guides I can find are from 2004 they all say that you can't scan NTFS filesystems. I think though that you can.

  3. #3
    Join Date
    Feb 2007
    Location
    Montreal, Canada
    Beans
    191

    Re: Portable Ubuntu USB Virus scanner

    I don't want to spoil your fun,

    But at my university the bios are lock with password and set NOT to boot from USB or CD.

    I would expect any serious university to have those basic security measures.

    Other than that I did use clamav with a live cd to clean a computer so it is feasible.

    good luck

  4. #4
    Join Date
    Mar 2008
    Location
    NSW Australia
    Beans
    232
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Portable Ubuntu USB Virus scanner

    Quote Originally Posted by Biochem View Post
    I don't want to spoil your fun,

    But at my university the bios are lock with password and set NOT to boot from USB or CD.

    I would expect any serious university to have those basic security measures.

    Other than that I did use clamav with a live cd to clean a computer so it is feasible.

    good luck
    Cool, I wasn't sure if I could scan a machine like that.

    Yeah, the bios's on the machines I manage is locked too. I work at the helpdesk for the IT department, so while I have administrator access to our 'student use' machines, the infected ones are in another department.

    I mean to use the scanner on student/teacher laptops until the department with the infected machines gets their act together, or until the students boycott those machines. I'll post a progress report when I've had time to put something together.

  5. #5
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,153

    Re: Portable Ubuntu USB Virus scanner

    Guys what lappers do you use? We are issued Thinkpad T60's/T61's and there's a way to get the BIOS password. It's electrical but easy to do - solder some resistors to a chip and then hook them to a 7-segment display.

    I just googled "T60 recover bios password". Also, typically the password is going to be the same for all machines, and it will typically be something easy to remember and transferrable to other employees in case someone who knows it is sick or on vacation. If you want to brute-force it, it may be something like the name of your school, a helpdesk employee name, or "helpdesk" or even "password".

  6. #6
    Join Date
    Mar 2008
    Location
    NSW Australia
    Beans
    232
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Portable Ubuntu USB Virus scanner

    Nah, sorry - I didn't explain very well.

    I supervise 'student use' computers which are managed by the ITS department of the Uni. While we manage many of the machines on all of our campuses, some departments manage their own machines. One of these departments have machines infected with a virus. These infected machines are locked down well enough to prevent the virus from causing THEM any direct damage, but USB disks carry the virus to student/staff personal machines.
    The ITS machines are nearly bullet-proof when it comes to viruses (even with xp installed). Executables are locked, the hard-disks are write-protected and hidden, files are wiped when a user logs off etc.

    As I work at a desk physically at the front of the ITS computer labs, staff and students assume it's our job to deal with every IT question/problem.

    The portable virus-scanner I'm looking to make is for privately owned & bought laptops which get brought to me. It's not the only solution, but it may be a very convenient one. It has a lot of potential for my work. A large percentage of students & staff own their own laptop AND use the infected machines regularly, so I'm surprised it hasn't reached the local newspaper yet...

    Anyway, assignments are done (or at least, no longer due) so this is my new project. Thanks for all posts so far. Any suggestions or thoughts still welcome.
    -AndyCee

  7. #7
    Join Date
    Apr 2007
    Location
    Morrisville, NY
    Beans
    2,153

    Re: Portable Ubuntu USB Virus scanner

    Backtrack has some sort of virus scanner on it. Someone at our helpdesk keeps a bootable image of Backtrack on his usb drive.

  8. #8
    Join Date
    Mar 2008
    Location
    NSW Australia
    Beans
    232
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Portable Ubuntu USB Virus scanner

    Right. I have things working now.

    What I want:
    • A persistent, bootable linux distribution installed on a USB - preferably an *buntu.
    • A free antivirus package to run and scan the HD of the machine that the USB is plugged into.


    What have done:
    • I decided to go with Xubuntu (somewhat lightweight,customizable [Gee I'm making up words today] and familiar).
    • After several attempts using several different methods (direct install, pendrivelinux.com, ubuntugeek.com) and damaging my laptop's pre-existing GRUB bootloader I managed to get a persistent install using the guide at http://www.pendrivelinux.com/2008/05...-from-live-cd/ and by installing lilo on the USB disk (not in the guide).
    • Downloaded Avast! .deb file and installed on the disk.


    What I now have:
    • A portable, persistant version of the Xubuntu livecd on my 2 Gig USB disk.
    • A small problem that the hard drive of the machine booting from the disk doesn't auotomount, so I will have to make a script for the staff to double-click or something.
    • The Avast! antivirus installed.


    What I have yet to do:
    • Test the virus-scanner on an ntfs hard drive - not at work(I'm not going to run a program I've never used before with root privileges on a machine I'm not supposed to have admin rights on...)
    • Investigate the automount issue and possibly fix it myself with a script.


    Thoughts & criticisms always welcome...Maybe it's just attention I crave
    -AndyCee

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
  •