Benscomputer.no-ip.org

Please see footer for Copyright Details
Benscomputer.no-ip.org

Patent Free


Basic Malware Detector for Linux



OK, if this of use to anyone then fantastic!!!!

It's a simple script that will generate MD5/SHA1/SHA256 sums of all files within your PATH. This is based on the PATH variable on my machine at time of writing, in fact it also checks the sums of my backups (you'll probably want to remove the /mnt/exthd line).

Its simple to use, all you need to do is burn the generated disc image to a CD for use when you check your system. It is based on the idea that you trust the security of your system at the time of generation, and there are a few caveats:


  1. Must be run as root (you can run as a normal user, but will get a lot of Permission Denieds)
  2. Won't notice if new executables appear (to be changed at a later date, maybe!)
  3. You must burn the disc image (if you leave it on the system, and it's compromised, the attacker could regenerate your image)


Preparation

There are a couple of steps before you can get the script working. You'll need nothing more than a text editor!

  1. You need to specify the checksum program to use (default is sha256sum)
  2. You may want to change the directories that are checksummed

Usage

Calling just the script, or using --help will display usage options. Despite what is shown, all that is currently supported is

sha_archive.sh --full
sha_archive.sh --help

using the first will generate a checksum of every file stored within the directories specified within the script, which will then be stored in an ISO image along with the verification script. This should be burnt to a CD immediately.

Upon mounting the CD (to run your check), cd into the mounted directory and run

./Verify_sigs.sh

which will then check all files stored within it's database. It will provide you with a prompt before it goes away, read it carefully and then press enter.
Should any discrepancies be found, they will be piped through less, but the file will remain in /tmp

Bugs

Probably quite a few


Releases

V0.1
MD5 Sum

713f63b9323cfa7453d5aeb279de9b83 sha_archive.sh



Latest Postings


BUGGER Project Listing Plugin - Added 23:52 07/02/2010

Projects Page - Added 23:39 07/02/2010

Update to Claims_DB Quick Query Page - Added 20:31 07/02/2010

How to regain my custom - Added 13:55 01/02/2010

Why is encryption not used more? - Added 10:58 25/01/2010

V1.51 of URLList_gen released - Added 17:44 24/01/2010


Home Page



COMMENTS: If you wish to comment on a story, please use the Contact Me page. Due to the level of comment spam on the net, this has become the easiest way for me to police it. Thanks

RIPA NOTICE: NO CONSENT IS GIVEN FOR INTERCEPTION OF PAGE TRANSMISSION

DISCLAIMERS:

Note: all views expressed on this site are my own, and do not necessarily represent the views of my friends, family or employer.
Creative Commons
LicenseThis page is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike2.5 License, and are copyright to me, Ben Tasker, or their respective owners. Unless otherwise stated. All Images operate under  a seperate license
Please read this page for more information. The Full Image License can be read here




RSS
Feed [Valid RSS]

Privacy Policy