Archives for the ‘security’ Category

Merging multiple Nessus scans (Python script)

nessus

If you for any reason have the need to merge / combine a few Nessus scans into a single *.nessus file, you can do so using this simple Python script. Since *.nessus files are basically just XML files with a different extension, what this script does is it finds all the *.nessus files in the current folder, finds all the “ReportHost” XML nodes accumulating them into a single report.nessus file which is then exported to nss_report folder.

Note that scans must be of the same type (same plugins must be used), but they can be from different subnets or different parts of the same subnet.

How to use it? – Put the script and all your *.nessus files into a same folder, run the script, import nss_report/report.nessus into Nessus – and there you have it, all the hosts are in one place..

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /usr/bin/env python3.2

import xml.etree.ElementTree as etree
import shutil
import os

first = 1
for fileName in os.listdir("."):
   if ".nessus" in fileName:
      print(":: Parsing", fileName)
      if first:
         mainTree = etree.parse(fileName)
         report = mainTree.find('Report')
         first = 0
      else:
         tree = etree.parse(fileName)
         for element in tree.findall('.//ReportHost'):
            report.append(element)     
      print(":: => done.")    
   
if "nss_report" in os.listdir("."):
   shutil.rmtree("nss_report")
   
os.mkdir("nss_report")
mainTree.write("nss_report/report.nessus", encoding="utf-8", xml_declaration=True)

If you have any questions, just drop a comment bellow..

Locking a session after suspending to disk in Ion3

Ok, so I wanted to lock my session after suspending to disk while using Ion3 WM. There are a few solutions to this but what I’ve found works best for me is using vlock. What you should do to make this work is the following (after you have installed vlock):

Edit your .xinitrc and add the following line before the exec part:

1
vlock -n &

Also, uncomment the following line in /etc/hibernate/common.conf

1
LockConsoleAs

After you suspend to disk, vlock will lock all virtual terminals and sessions and again later after unsuspending will it prompt you for your username and password.

Radionica u nedjelju (2.11.2008.) 16-20h – Linux-Osijek

tux

Početak: u 16 sati
Tema: Sigurnost bežičnih mreža (WEP i WPA enkripcija)
Predavac: Boris Jukić
Lokacija: Osijek, Vukovarska 3


View in a larger mapk

Pozivamo sve zainteresirane na radionicu o sigurnosti bežičnih mreža koja će se održati u nedjelju u prostoru Udruge obitelji poginulih hrvatskih branitelja iz Domovinskog rata – Osijek. Radionicu će održati članovi Hrvatske udruge Linux korisnika Osijek u suradnji s Klubom Info Junior.

Teme su sljedeće: Legalni aspekti napada na WEP i WPA enkriptirane bežične mreže, lažna sigurnost pri filtriranju MAC adrese (postavljanje lažne MAC adrese), praćenje i sniffing prometa, cracking WEP-om zaštićene pristupne točke sa i bez klijenta te WPA cracking.

Svrha radionice je edukacija kako bi se uvidjelo koliko je današnja tehnologija ranjiva te kako sami možete što bolje zaštititi svoje bežičnu mrežu i podatke. Želimo potaknuti sve da razmisle o nesavršenosti sustava koji se danas koriste te čiju “sigurnost” uzimaju zdravo za gotovo. Najlakši način obrane je poznavanje nedostataka i ranjivosti onoga što koristimo.

Molimo one koji posjeduju vlastita prijenosna računala da ih ponesu sa sobom na radionicu kako bi i pomoću njih, ukoliko podržavaju packet injection, mogli odraditi praktični dio radionice. Onima koji su zainteresirani za radionicu, ali nisu toliko upoznati s ovim područjem, a kako bi lakše pratili teorijski dio te lakše sudjelovali u praktičnom dijelu radionice, preporučamo da pročitaju ponešto o ovim temama na nekim od sljedećih linkova:

MAC adresa
WEP enkripcija
WPA enkripcija
Probijanje WEP zaštite
Cracking WEP i WPA bežične mreže

Sniffing prometa ili analiza paketa

Također, kako bismo se mogli prostorno organizirati, molimo sve zainteresirane da se prijave za radionicu slanjem e-maila pod naslovom “WEP/WPA cracking radionica” na adresu [email protected] This e-mail address is being protected from spambots. You need JavaScript enabled to view it ili da se prijave na ovom threadu našeg foruma. Ukoliko se pokaže veliki interes za ovu temu, radionica će se ponoviti kako bi ju svi zainteresirani mogli odslušati.

Clipperz – online password manager

What is Clipperz? It’s an online password manager where you can store your passwords, pins, credit card details, software keys, or any other confidential data without worrying about the security. It solves you the trouble of worrying about too many different passwords you can not (or don’t want to) remember…

clipperz

What you are also able to do with Clipperz is – you can login to online service you use with only “one click” without typing any usernames and passwords… You can create a read-only encrypted portable version of Clipperz to put it on your local hard drive or USB stick in case no Internet connection is available to you. Importing and/or exporting to Clipperz from formats like Excel, Keepass, etc. are also avaliable. You can use it from any computer, any browser, any OS and it’s completely anonymous. There is also one very very interesting feature – logging in with a “one time keyphrase” (very useable if logging from soneone elses computer and let’s say he has a keylogger on it, he gets your keyphrase but after you logout – it’s useless).

It works in the way that your data is encrypted localy by the browser itself before uploading it to the server. The key to the encryption is a passphrase (kind of like a password) which never even gets sent or saved on the server. Therefore, no one except you can not access your data. Clipperz guarantees 128-bit security level.

“Clipperz password manager is the first zero-knowledge web application. This means that Clipperz knows nothing about its users and their data. Not even their usernames!

So you’re probably asking yourself – “How come not even Clipperz can se my personal data?”, right?
It’s all completely transparent, and you can view the whole source code of the application here. Clipperz developers say not to trust them, but to check it yourself =)

A flash introduction to Clipperz