nzjetski.co.nz el atarax se toma para dormir average out of pocket cost generic lexapro can i take phenergan and unisom together while pregnant obat flomax se pueden mezclar el tylenol, propanolol y mobic can i get high on topiramate wellbutrin 800 mg dexamethasone glioblastoma multiforme levitra pricing walgreens erythromycin prescribed gel reviews thailand tamsulosin hydrochloride 0.4mg price zoloft generic side effects take naproxen longer ejaculation can you use afrin while on coumadin buy zithromax liquid how long to reach a steady state on sertraline goat weed and viagra at same time lupin levofloxacina 750 mg price digoxin dosage 125 mcg doxycycline side effect women montelukast sodium generic side effects metformin dosage for weight loss zinnat and warfarin can.you drink alcohol if your on codeine amoxicillin mixing acepromazine with prednisone generic viagra generic cialis pills online viagra mastercard beets coumadin elavil street value hydrocortisone in lamisil bieropholie.com where to get isotretinoin tablet in kenya. hospital purchase ivax hydrochlorothiazide timeline for levaquin reaction terbinafine lamisil tablets for sale can i take vicodin while on celexa buy prednisone canada safe dose of phenergan for a 9 year old azithromycin dosage for jock itch doxycycline birds diflucan 3 pills linezolid side effects liver watson generic wellbutrin xl reviews how to get rid of a sinus infection without antibiotics will bactrim treat skin rash cvs pharmacy prices cialis cipro 400 flakon class action lawsuits on prednisone provera dag 6 fexofenadine 180 carvedilol interaction lisinopril dry cough burping glipizide and metformin how to use tetracycline for turtles viagra where to really anonymous does inverectin work against scabies generic cialis safe orkzbar.nl antiviral eye drops maximum dose of doxycycline for tooth infection fluoxetine no prescription uk fungsi obat fladex metronidazole donde venden el misoprostol en texcoco holidayhome.rbu.ac.in adverse reactions of mixing synthroid with advil how many minutes does it take lasix to work on dogs julphamox amoxicillin 500 mg does pot increase effect of female viagra generic cabergoline or . dostinex azithromycin fir dental prophylaxis pestoff.co.nz hyperthyroidism and wellbutrin valacyclovir hcl 1 gram tablet price is drinking on finasteride bad b6 and sertraline doxycycline food absorption albuterol sulfate vials ok in atomizer flagyl pret montelukast australia safeway pharmacy nizoral shampoo clomiphene pills for sale uk diet pill for women how much does bactrim affect depo shot can i take umcka and sertraline how clomid works in men viagra patkai ara xenical cena bulgaria topamax 15 mg azithromycin oral antibiotic dosage schedule in uti alternative to tamoxifen premenopausal cytotec 4weeks abortion kamagra oral jelly does it work on women quetiapine dosages winnipeg effets secondaire ivermectina tamsulosina teva how to use liquid sildenafil will zithromax 5 day z pack cure chlamydia nameai.com diflucan causes nose infection can augmentin be used to treat epididymitis can amoxicillin treat uti amoxicillin and erythromycin rash allergy viagra price 50mg lisinopril 3759 prozac 40 mg anxiety motrin 800 naproxen vs celebrex irbesartan 150mg effet secondaire escitalopram 0.5 mg benefits augmentin bd iv viagra uk cost pill cytotec calamba inderal 10mg for uric acid levofloxacin 500 mg and drinking alcohol metronidazole benzoate gel spc irbesartan australia metronidazole 250 mg for dogs en espanol sideaffects of taking 25 mg prednisone daily can you take ondansetron with vyvanse nizagara vs viagra viagra online shopping in mumbai common side effects of clonidine levofloxacino cannabis viagra vs cialis hardness para que es gabapentin de 300 mg 25 mg quetiapine street value petco tetracycline pestoff.co.nz order doxycycline no prescription generic olanzapine cost cymbalta 120 mg does lexapro cause extreme sweating can i give trazodone and amitriptyline to dog topiramate 25 mg in spanish translation vardenafil orodispersibile quanto costa low price levitra biotech ciprofloxacin tablats finasteride how long to work amoxicillin feed stores cytotec alkoholi why 2nd dose 2 doses of fluconazole 150mg tablets buy nolvadex eu can you take levitra if your allergic to asprin buy propecia online canada pharmacy clomid men colorado 10 day pack of 5 mg. prednisone it.rbu.ac.in fluconazole 150 mg tablet how many tablets we can take viagra overnight delivery 1 800 partir pastilla proscar phenergan for nausea ulcerative colitis generic valtrex price comparison pins and needles on seroquel,zoloft and zopivane clasificacion de phenergan con codeina septra 250mg taking novedex xt with propecia mobic vs ibuprofen accutane lawsuit comprar pastilla. cytotec por internet panama does propranolol and disprin helps anxiety aturan pakai dexamethasone 075 mg how long do 500mg of valtrex take to heal a cold sore escitalopram oxalate impurities dapoxetine from menarini availability in uae qualcuno sa il prezzo do periactin compresse premature ejaculation and levitra cytotec 1000 mcg pr digoxin 40 cymbalta 90 mg daily for anxiety minipress 2.5 xl how does doxycycline work for lyme disease is 5 mg prednisone a high dose rbu.ac.in buy generic revatio prednisone less than 7 days abilify 30 and cymbalta emraan hashmi aap ki adalat full episode watch online rzltt.com is the mail order cialis real viagra bull 100 tablets buy feldene p gel metronidazole interactions with coca cola travelbllgr.com acyclovir cream price philippines clopidogrel cost generic different between flagyl pills anda morning after pill zyprexa max daily dose doxycycline zyrtec tamoxifen cost in ontario can i take half a viagra with blood thinners lipitor nursing actions gabapentin and sperm count buy augmentin tamoxifen citrate 20 mg tablets in costa rica celexa street value zoloft hearing voices nolvadex uk store can herb viagra 6800mg woman imipramine 54 lipitor price in malaysia levofloxacin 750 mg side effects levofloxacin scientific information lexapro 5mg success do you atop doxycycline after transfer cat costa captopril is levaquin used for tooth abscess can dogs take metronidazole for folliculitis slagzin voltaren tadalafil bcs class estrace cream buy sildenafilo 200 mg efectos benicar hearing loss how much does generic atorvastatin cost will 12 5 mg sertraline can zoloft cause weight loss prednisone 20mg tablets used allegra 4.00 coupon generic cymbalta side effects fungsi obat provera medroxyprogesterone acetate 100 mg does nexium contain magnesium or alumium can i give amoxill to my 6 months old baby premarin price philippines high dose thyroxine for suicide pestoff.co.nz how long will hives from zithromax last how much does diflucan 150 mg oral tablet cost augmentin 1g pret farmaciile dona levofloxacin nedir accutane 8 months plavix price walgreens para que sirve el medicamento allegra rzltt.com celebrex 400 mg cialis soft tablets wellbutrin xl and cravings zoloft and is effect on brain clarity naprosyn 500mg tablet order flagyl cheap how to take cytotec and ergon orkzbar.nl buy amoxil antibiotic manfaat obat meloxicam 15mg feliz antidepressant red bull erection what is doxycycline hyclate 100mg used for 150mg fluconazole can be used for eczema taking benicar bp meds every other day how much does fluvoxamine cost without insurance hydroxyzine hcl for sale buy duloxetine no prescription imipramine10 ozellikleri cipro auxiliary labels amoxicillin 250 5ml como se toma ultius.com research clomid pill form robaxacet et naproxen doxazosin mesylate 4 mg side effects no prescription lisinopril can you hav mulitible ejactulations with cialis barneptun.pl buy isotretinoin online no prescription ultius.com ketoconazole generic name where cialis made plendil compuesto ketoconazole cream generic name acyclovir 400 mg treatment for cold sores bieropholie.com side effect of swollen ankle and zoloft in elderly can bupropion hcl 75 be cut in half what does metronidazole treat and autism mayo clinic research baclofen did u conceive twins on clomid canyou get pregnant if you take fluconazole and yasmin doxycycline qt prolongation bactrim 960 ulotka paroxetine 12.5mg reviews nzjetski.co.nz barneptun.pl xhamster girl stimulates erection tamoxifen ingredients not causing joint pain ambien cymbalta lyrica 10 mg propranolol for anxiety tofranil 300 mg viagra australia buy taking fluconazole for ringworm not working can amoxicillin be bought over the counter in cape town proscar 20 mg prodajem ampule lasix mg dosage dog celebrex effects of 15 mg of buspar flagyl dosage cats weightlifting antibiotics bactrim long term effects of citalopram farmacias en maturin cytotec piroxicam gel 5 mg naprosyn cr 750 mg 10 tablet ne i??e yarar lisinopril efectos adversos ketoconazole cream 2 used on face en que farmacias de honduras venden misoprostol flagyl forte how much does one plavix pill cost can you take tamsulosin hcl and advil at the same time how much strattera get you stoned ubicinc.com baclofen for flashbacks lisinopril nutrition implications finasteride shedding look good can zofran be taken with multaq 400 mg trazodone 100 mg side effects 6 prednisone in 1 night flagyl for oral thrush for birds can lexapro affect sperm lasix retard 30 mg biverkningar jansen ketoconazole cold sore misoprostol se compra si o si con receta atorvastatin off patent uk how does depo provera affect a man with ftd viagra masterbating cytotec for 1 month pregnant valacyclovir price walgreens why doesnt candida thrush go away with diflucan metronidazole antibiotics for arowana health is cialis good for more than one orgasm ama cymbalta how long does viagra 100mg last can you use acyclovir for a stye buy amoxicillin in uk fexofenadine 180 mg walmart accutane month 2 60 mg how many strattera equal a 40 vyanse accutane day 75 lamisil cream hands 5 htp compared to lexapro lexapro and birth control and no period zovirax annual sales metformin denk effets indesirable nizoral tablet price in philippines cheap lexapro pills viagra cheapest online sellers how fast before stromectol works for lice can you donate blood while on celebrex will one dose zithromax stop frequent urination rbu.ac.in side effects of erythromycin 400 mg clomid side effects 9 dpiui dosage rates for atorvastatin zoloft easing opiate withdrawal it.rbu.ac.in flagyl before abortion leukopenia olanzapine does amoxicillin make you tired fluconazole suspension autism recommendation for cutting down on duloxetine buy naprosyn uk nameai.com flomax dialyzed out ethinyl estradiol 2mg sale amoxicillin 875 mg price walmart buy tamoxifen current cialis commercials augmentin 1 g during pregnancy its safe digoxin 250 mg side effects mexpharm meloxicam wat does its work for prednisone burst pack instructions propranolol 20 mg how long does fluconazole side effects last how much is propecia 1 mg can i take flexeril 10 mg with lexapro 5mg cual es el precio del anafranil levofloxacin 500 mg for sinus infection puedo tomar metromidazol si estoy usando deprovera myoclonus sertraline and narco rzltt.com waking up early zoloft para que sirve el hydrochlorothiazide feldene 20 mg uses zyvox for tube feeding gabapentin generic for lyrica ciprofloxacin safe for pregnancy forum s alternative to ketoconazole shampoo can you buy phenergan in canada levofloxacin cause chills septra how long to work rzltt.com nzjetski.co.nz tamsulosin stada 0 4mg how long does diovan stay in your system paxil alternatives anxiety paxil cr 25mg side effects flagyl alright to use to stop diarrhea in 2nd trimester plavix prices costco canada what is azithromycin 1 gm powder packet used for buspar lexapro combination symptoms from skipping synthroid luvox cr 100mg price lamisil 30 days topamax for migraines price range nizoral online shopping starting zoloft side effect anxiety citalopram 7 days do gps give clomide out to women with low fertility cyproheptadine pills online can you take hydrocodone homa with meloxicam ok to mix marijuana and flagyl er amlodipine 10 mg bid dosing fosamax 75 mg zoloft 50 mg dosage 9 pills azithromycin buy online overnight dogs ate rizatriptan benzoate pestoff.co.nz rbu.ac.in does amoxicillin 500 make you feel bloated quetiapine 600mg sleep seroquel xr evening metronidazole iv infiltration voltaren t ica rbu.ac.in nizoral hair loss price in india interactionof coumadin and vit b12 buy tadalafil online no prescription venta libre de cytotec en estados unidos can you drink alcohol while on tamoxifen taking prometrium and light bleeding finasteride without minoxidil can i take lexapro with plavix travelbllgr.com topamax price in pakistan esbueno tomar viagra pestoff.co.nz success on generic lexapro can ciprofloxacin wash sperm out of the body farmacias donde puedo comprar cytotec en lima buy kamagra with paypal uk baclofen and breast feeding how to dose doxycycline 150mg pills amoxicilline for cold pediatric metronidazole gel perscription vs over the counter efectos de medroxyprogesterone acetate injectable levaquin and alcohol reaction how long does 5mg cialis daily take to work cpt code for injection of zofran skin sensitivity from prednisone thuoc atorvastatin calcium tablets ciprofloxacin 1000mg indikasi singulair 5mg tablets voucher indications of a allergic reaction to albuterol sulfate street value propranolol naprosyn 250 mg propecia buy india what happens if you snort propranolol metformin brands australia peritoneal drug dose gabapentin cytotec for abortion what is lady era sildenafil citrate rzltt.com orlistat 80 mg para que serve hydroxyzine pamoate generic 50 mg capsule why take tamsulosin 30 minutes after a meal viagra online pharmacies ultius.com can you purchase viagra otc at walgreens or rite aid does ondansetron odt contain sulfa 5mg prednisone ra breastfeeding gabapentin vulvodynia travelbllgr.com buy kamagra oral jelly uk is phenergan ok for 2 year old taking 37.5 mg sertraline itching after orlistat what happens if i take more levitra product development rational for indocin gel orlistat online australia cialis online offer buy kamagra uk no prescription generic plavix fda fluconazole funzela 150 mg uses and effects lisinopril watson 861 doxycycline mono 100mg help uti cymbalta and herpes captopril con cerveza ke pasa how long does 5mg of lexapro withdrawl last levitra 10 mg at target nameai.com augmentini 1000iani dozireba does an albuterol inhaler wear off paroxetine hydrochloride 25 carvedilol 93 135 empiresafety.com levitra 20mg viagra 100mg buy galantamine hydrobromide nexium 24 hr cost remeron in dialysis patient how much cialis is too much fungsi obat clopidogrel bisul despues de tomar cytotec can premarin vaginal cream be used for men barneptun.pl clonidine 0.1 mg tab purepac antybiotyk amoxil 1g sixth cycle of clomid 100mg

You are hereLinux/unix security auditing scripts "Lusas"

Linux/unix security auditing scripts "Lusas"


Introduction

This is a collection of command line security auditing scripts for Linux/Unix. 
Originally by Sean Boran in 2000, with a few improvements over the years.

Auditing the security of an existing Solaris system can be time-consuming, and often requires on-site visits. There are several commercial tools and a few free ones that help, but they can be complicated and require local compilation or configuration.

So a tool was developed with the following aims:

  • Simple to use: the auditor could even give the tool to the sysadmin, ask him to run it at night and send the results back to the auditor (perhaps by encrypted email).
  • For situations where a "quick audit" of the system is required.
  • Easy to verify: it is not as thorough as other tools, but it is small and easy to understand.
  • Does not require a compiler or other tools.
  • Support several Linux and Unix derivatives

This script automates the gathering of the information only. Of course, the difficult part is the interpretation of results and deciding what countermeasures to take

License

These tools are OpenSource. The GPL v2 applies.  Please share any fixes/improvements you make, if possible. Or help with documentation.

What does it do?

The tool consists of two main scripts, both of which look at the system, but do not make any modifications.

  1. audit.sh: Call two main audit scripts: audit1.sh and audit2.pl and collate results.
  2. remote.sh is an example for running audit.sh on many remote machines via SSH.
  3. audit1.sh (Bourne shell): This script is designed to run quickly and gather as much security information as possible about the system. 
    No file searches are conducted, to keep it fast.
    Tested on: Solaris 2.6/7/8/9, OpenBSD 2.6, RH 7, Suse 7.1/8.1, HP-UX11. Solaris is best supported.
  4. audit2.pl (perl): This second script searches the entire file system, listing SUID, SGID, world-writable, group-writable files. It also lists trust files and their contents. Finally it lists files with weird names (e.g., containing punctuation characters), which might be danger or a sign of penetration. On a large server with 100GB disks, this can take a few hours to run.
    Initially tested on SunOS 5.5/6/7/8/9, OpenBSD 2.6, RH 7, Suse 7.1/8.1/9, HP-UX11.Focus has been on Ubuntu and HP these last few years.

     
  5. audit3.sh is a minimal Bourne shell script, that replaces audit2.pl and old systems than don't have Perl. Normally you don't need to run this.
  6. audit4.sh: Create a list of active tcp/udp connections and listenings in a common format and summarize them in a logfile avoiding very big samplefiles. Udp Sessions cannot be sampled on every architecture.
  7. audit4_summ.pl: Summarise results from audit4.sh on several machines
  8. audit5.sh: Create a list of active tcp/udp connections by listening with tcpdump. Collect in a common format and summarize them in a logfile avoiding very big sample files.
  9. audit5.pl: Create a list of active tcp/udp/icmp connections by listening with tcpdump. Collect in a common format to allow easy viewing in excel Ony record one row for each "connection" (optimise space). WARNING: This script is an optimised version of "audit5.sh", however it seg faults after one hour on one of my test machines, so it can't be considered production ready (SunOS 5.8 Generic_117350-25 sun4u, perl 5.005_03)
  10. audit5_summ.pl: Summarise results from audit5.sh on several machines. We ignore multiple ICMP & tcp sessions with same from/to IP. UDP: ignore multiple packets to ports 514|53|123 with same from/to IP.
  11. ssh-key-crack: There is a sub directory included ssh-key-crack containing two different tools for analysing the strength of pass phrases used to protect SSH private keys. ssh-privkey-crack.c is more complete than ssh-privkey-crack.c. These tools are include in the auditing bundle since they don't have a site of their own.

 

Download

Running the Tool

These scripts are meant for system administrators. Read the headers in each script and checkout the configuration settings at the top of the script, for example:

  • audit1.sh: set EXTENDED='1' for a full audit including extraction of shadow passwords
  • audit2.pl:

# Don't examine these filesystems
$exclude ='/backup|/dir2';     # Don't examine these filesystems

# do not search these directories
$exclude_dirs='^\/home\/data|^\/home\/buff';

$group_rw = '';                 # '1'=Report group-writeable files (often a huge list we don't care about)

$debug ='';                     # '1'=debug (useful), ''=no debug (quiet)
$debug2='0';                    # '1'=print results to terminal also
                                # (default is to write to file only)
$email_results='0';             # '0'=write to file, don't email
$user='root';                   # send email to him/her

$aggressive = '0';              # '1'=Immediately DELETE baddies
                                # DO NOT DO THIS unless you
                                # have reviewed these sources and tested on a
                                # non-production machine first..
 

  • To run, type 'sh audit.sh', which will call the above scripts on the local machine.
  • To run these audit scripts on a a number of remote machines via an SSH trust, see the 'remote.sh' example script - adapt it to your needs.

For the other auditing scripts, please read the script headers, they were developed for specific projects and many need tuning for your environment.

 To do

  • patch level checking on Linux
  • Ubuntu specialities