"open source resources used in computer forensics" by cezar spatariu neagu @ eliberatica...

15
Resurse Open Source Resurse Open Source î î n n Computer Forensic Computer Forensic 18 Mai 2007 18 Mai 2007 Cezar Spatariu Neagu Cezar Spatariu Neagu

Upload: eliberatica

Post on 30-Nov-2014

444 views

Category:

Technology


2 download

DESCRIPTION

This is a presentation held at eLiberatica 2007. http://www.eliberatica.ro/2007/ One of the biggest events of its kind in Eastern Europe, eLiberatica brings community leaders from around the world to discuss about the hottest topics in FLOSS movement, demonstrating the advantages of adopting, using and developing Open Source and Free Software solutions. The eLiberatica organizational committee together with our speakers and guests, have graciously allowed media representatives and all attendees to photograph, videotape and otherwise record their sessions, on the condition that the photos, videos and recordings are licensed under the Creative Commons Share-Alike 3.0 License.

TRANSCRIPT

Page 1: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Resurse Open Source Resurse Open Source îîn n

Computer ForensicComputer Forensic

18 Mai 200718 Mai 2007

Cezar Spatariu NeaguCezar Spatariu Neagu

Page 2: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

AgendAgendăă

Cine sCine sîîntnt eu?eu?

Ce Ce esteeste CComputeromputer FForensicorensic??

De ce De ce CComputeromputer FForensicorensic cu ajutorul toolcu ajutorul tool--urilor Open Source?urilor Open Source?

DistribuDistribuţţii, toolii, tool--uri uri şşi i resurseresurse..

ImplicaImplicaţţii ii legalelegale..

ÎÎntrebntrebăăriri, r, răăspunsurispunsuri, , discudiscuţţii.ii.

Page 3: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Ce este computer forensic?Ce este computer forensic?

Computer forensic is application of the Computer forensic is application of the scientific scientific methodsmethods to digital media in order to establish to digital media in order to establish

factualfactual information for information for juridicaljuridical review.review.

FapteFapte penalepenale::–– ÎÎndreptatendreptate îîmpotrivampotriva unuiunui calculatorcalculator..

–– UndeUnde calculatorulcalculatorul conconţţineine probeprobe..

–– UndeUnde calculatorulcalculatorul esteeste instrument instrument îîn n comiterecomiterea a infracinfracţţiuniiiunii..

Page 4: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

De ce computer forensic?De ce computer forensic?

Cine sCine sîîntnt tipii rtipii răăi?i?

Ce sCe s--a a intintîîmplatmplat şşi ci cîîndnd??

De ce sDe ce s--a a intintîîmplatmplat??

Ce putem face sCe putem face s ăă nu se mai nu se mai îîntnt îîmplemple ??

Page 5: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

De ce open source ?De ce open source ?One of the questions I hear most often is: One of the questions I hear most often is: ““why should I use Linux when I why should I use Linux when I

already have [insert Windows GUI forensic tool here]?already have [insert Windows GUI forensic tool here]?”” There are There are many reasons why Linux is quickly gaining ground as a forensic many reasons why Linux is quickly gaining ground as a forensic platform. Iplatform. I’’m hoping this document will illustrate some of those m hoping this document will illustrate some of those attributes.attributes.

·· Control Control –– not just over your forensic software, but not just over your forensic software, but the whole OS and attached hardware. the whole OS and attached hardware.

·· Flexibility Flexibility –– boot from a CD (to a complete OS), boot from a CD (to a complete OS), file system support, platform support, etc. file system support, platform support, etc.

·· Power Power –– A Linux distribution is a forensic tool. A Linux distribution is a forensic tool. ““The Law Enforcement and Forensic Examiner's Introduction to LinuThe Law Enforcement and Forensic Examiner's Introduction to Linux A Beginner's Guidex A Beginner's Guide”” NASANASA

Page 6: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Computer Forensic Computer Forensic îînseamnnseamnăă::

Prelevarea Prelevarea datelordatelor..

Analiza Analiza probelorprobelor..

Documentarea Documentarea îîntreguluintregului procesproces ..

Page 7: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

ProblemeProbleme

‚‚To pull or not the cable?To pull or not the cable?‘‘. This is the question.. This is the question.

Offline ForensicOffline Forensic

Online ForensicOnline Forensic

–– RootRoot--kitkit--uri, uri, criptovirucriptoviruşşi, malware (memory i, malware (memory resident),resident),

–– Medii criptate.Medii criptate.

–– Sisteme ce nu pot fi oprite.Sisteme ce nu pot fi oprite.

Starea sistemului este Starea sistemului este modificatmodificatăă..DOCUMENTEAZDOCUMENTEAZĂĂ!!

Page 8: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

ProprietProprietăăţţii

O O distribudistribuţţieie (LiveCD) poate fi (LiveCD) poate fi folositfolosităă dacdacăă::–– NU NU modificmodificăă sistemul de unde se sistemul de unde se

preleveazpreleveazăă.TESTEAZ.TESTEAZĂĂ!(vezi Knoppix)!(vezi Knoppix)

–– SuportSuportăă un spectru larg de controlere.un spectru larg de controlere.

–– OferOferăă programe (shellprograme (shell--uri uri şşi binaries) pentru i binaries) pentru prelevare de probe online. prelevare de probe online.

–– OferOferăă sisteme de logging pentru documentarea sisteme de logging pentru documentarea procesului de forensicprocesului de forensic..

Page 9: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Tool pentru prelevare Tool pentru prelevare

ncnc, , hdparmhdparm, , fdiskfdisk, , mmlsmmls, , lshwlshw, cat /proc/, cat /proc/……

dddd if=/dev/victimaHDD_MEM of=/media/caseNr.ddif=/dev/victimaHDD_MEM of=/media/caseNr.dd

dclfdd dclfdd if=/dev/victimaHDD_MEM of=/media/caseNrif=/dev/victimaHDD_MEM of=/media/caseNrhash=sha1sum hashlog=/media/CaseNr/image.hashhash=sha1sum hashlog=/media/CaseNr/image.hash

sha1sum ori md5sum?sha1sum ori md5sum?

aimage (AFT Tools)aimage (AFT Tools)

��linen (linen ( EnCase Image Acquisition ToolEnCase Image Acquisition Tool ))

Page 10: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

ToolTool--uri pentru uri pentru analizanalizăă

file, stringsfile, strings , scalpel,foremost, scalpel,foremost (reconstituie (reconstituie fisiere)fisiere)

AutopsyAutopsy ((integrareintegrare cu NSRL), cu NSRL), PyFLAGPyFLAG (case (case management)management)

Sleuthkit ,FaustSleuthkit ,Faust (analiza binary si shell script(analiza binary si shell script--uri)uri)

AntivirusAntivirus (ClamAV. F(ClamAV. F--Prot)Prot)

Rootkit detectorRootkit detector (chkrootkit, rkhunter)(chkrootkit, rkhunter)

StegoStego (Outguess, Stegdetect(Outguess, Stegdetect ))

libewflibewf Expert Witness Library Expert Witness Library -- EncaseEncase

Page 11: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Windows WorldWindows World

RegviewerRegviewer –– Registry Viewer Registry Viewer –– (share(share--uriuri accesateaccesate, device, device--uriuri conectateconectate, timeline, , timeline,

useriuseri))GroKEVTGroKEVT –– analizaanaliza Windows Event ViewWindows Event ViewRifiutiRifiuti –– analiza Recycle BINanaliza Recycle BINfcrackzipfcrackzipInternet ExplorerInternet Explorer

pascopasco index.dat index.dat galletagalleta cookiecookie

Firefox Firefox mork.plmork.pl

Page 12: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

Live CDLive CD--uriuri

HELIX (HELIX (http://www.ehttp://www.e--fense.com/helix/fense.com/helix/))–– Windows, Linux, (SolarisWindows, Linux, (Solaris��) online forensic) online forensic

–– Live CDLive CD

FCCU GNU/Linux Forensic Boot CD FCCU GNU/Linux Forensic Boot CD –– Live si analiza CDLive si analiza CD

DEFT (DEFT (httphttp://://www.stevelab.net/deft/www.stevelab.net/deft/))

ASRData (http://www.asrdata.com)ASRData (http://www.asrdata.com)

ŞŞi nu uitai nu uita--ţţi de optiunea i de optiunea „„noswapnoswap““ îîn grub!!n grub!!

Page 13: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

ImplicaImplicaţţii Legaleii Legale

Orice caz trebuie tratat corespunzOrice caz trebuie tratat corespunzăătortor..

LegislaLegislaţţie ??? (Ministerul de Jusie ??? (Ministerul de Justtiiţţie, Interne)ie, Interne)

CompetenCompetenţţa examinatorului (certifica examinatorului (certificăări)ri)–– SANSSANS

–– International Association of Computer InveInternational Association of Computer Invesstigative tigative SpecialistSpecialistss (IACIS)(IACIS)

–– The International Society of Forensic Computer The International Society of Forensic Computer Examiners Examiners -- ISFCE ISFCE

–– etc.etc.

Page 14: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

ResurseResurse

DocumentaDocumentaţţii ii şşi proiectei proiecte–– Open Sourse Digital Forensic Open Sourse Digital Forensic http://www.opensourceforensics.orghttp://www.opensourceforensics.org

–– Honeynet Project Honeynet Project httphttp://www.honeynet.org://www.honeynet.org–– ForensicWikiForensicWiki httphttp://www.forensicswiki.org://www.forensicswiki.org–– Computer Forensics Tool TestingComputer Forensics Tool Testing http://www.cftt.nist.gov/http://www.cftt.nist.gov/

Live CDLive CD--uriuri–– HelixHelix http://www.ehttp://www.e--fense.com/helixfense.com/helix–– FCCUFCCU http://www.lnx4n6.be/http://www.lnx4n6.be/

Page 15: "Open Source Resources Used in Computer Forensics" by Cezar Spatariu Neagu @ eLiberatica 2007

InformaInformaţţiiii

PrePrezzentareentare va fi va fi disponibidisponibillăă pe sitepe site--ulul::–– http://eliberatica.rohttp://eliberatica.ro

–– http://securityaspects.wordpress.comhttp://securityaspects.wordpress.com

ContactContact

cezarcezar (.) (.) spatariuspatariu (at) (at) gmailgmail (.)com(.)com

ŞŞi nu i nu uitauitaţţi:i:

Not all Not all „„BAD GUYSBAD GUYS““ are from ROMANIAare from ROMANIA☺☺