Disk Editor, RAM Editor
Total Page:16
File Type:pdf, Size:1020Kb
winhexwinhex DiskDisk Editor,Editor, RAMRAM EditorEditor PRESENTED BY: OMAR ZYADAT and LOAI HATTAR Supervised by : Dr. Lo'ai Tawalbeh New York Institute of Technology (NYIT)-Jordan XX--WaysWays SoftwareSoftware TechnologyTechnology AGAG z isis aa stockstock corporationcorporation incorporatedincorporated underunder thethe lawslaws ofof thethe FederalFederal RepublicRepublic ofof Germany.Germany. z WinHexWinHex waswas firstfirst releasedreleased inin 1995.1995. WinHexWinHex z thethe technicaltechnical corecore ofof XX--WaysWays ForensicsForensics ((AA powerfulpowerful datadata recoveryrecovery andand forensicsforensics tooltool )) isis anan advancedadvanced binarybinary editoreditor thatthat providesprovides accessaccess toto allall files,files, clusters,clusters, sectors,sectors, bytes,bytes, andand bitsbits insideinside youryour computer.computer. WinHexWinHex z ItIt supportssupports virtuallyvirtually unlimitedunlimited filefile andand diskdisk sizessizes upup toto thethe terabyteterabyte regionregion (thousands(thousands ofof gigabyte)!gigabyte)! MemoryMemory usageusage isis minimal.minimal. SpeedSpeed ofof accessaccess isis toptop--notch.notch. WhatWhat isis WinHexWinHex andand whatwhat’’ss itit goinggoing toto cost?cost? z WinHexWinHex,, isis aa powerfulpowerful applicationapplication thatthat youyou cancan useuse asas zz anan advancedadvanced hexhex editor,editor, WinHexWinHex zzaa tooltool forfor zz datadata analysis,analysis, zz editing,editing, zz andand recovery,recovery, DataData analysisanalysis z TheThe followingfollowing slidesslides isis toto demonstratedemonstrate howhow youyou cancan recognizerecognize thethe typetype ofof unknownunknown datadata ee..gg.. inin recoveredrecovered filesfiles withoutwithout theirtheir realreal namename .. z oror whenwhen examiningexamining hardhard diskdisk sectors,sectors, byby solesole useuse ofof visualvisual representationsrepresentations.. z UsingUsing thethe datadata analysisanalysis featurefeature ofof WinHexWinHex ,,youyou willwill notenote thatthat certaincertain filefile typestypes havehave theirtheir characteristiccharacteristic bytebyte valuevalue distribution,distribution, byby whichwhich theythey cancan bebe identifiedidentified.. WinHexWinHex zzaa datadata wipingwiping tool,tool, WinHexWinHex z aa forensicsforensics tooltool usedused forfor evidenceevidence gathering.gathering. WinHexWinHex,, offersoffers thethe abilityability to:to: z ReadRead andand directlydirectly editedit hardhard drivesdrives (FAT(FAT andand NTFS),NTFS), floppyfloppy disks,disks, CDCD--ROMs,ROMs, DVDs,DVDs, CompactCompact FlashFlash cards,cards, andand otherother media.media. z ReadRead andand directlydirectly editedit RAM.RAM. z InterpretInterpret 2020 datadata types.types. WinHexWinHex z EditEdit partitionpartition tables,tables, bootboot sectors,sectors, andand otherother datadata structuresstructures usingusing templates.templates. z JoinJoin andand splitsplit files.files. z AnalyzeAnalyze andand comparecompare files.files. z SearchSearch andand replace.replace. Cont.Cont. zz CloneClone andand imageimage drives.drives. zz RecoverRecover data.data. zz EncryptEncrypt filesfiles (128(128--bitbit strength).strength). zz CreateCreate hasheshashes andand checksums.checksums. Cont.Cont. zz WipeWipe drives.drives. zz DeletingDeleting filesfiles irreversiblyirreversibly (e.g.(e.g. suchsuch withwith confidentialconfidential contents)contents) zz RandomRandom--numbernumber generatorgenerator muchmuch moremore DifferencesDifferences betweenbetween WinHexWinHex andand XX--WaysWays ForensicsForensics z InIn XX--WaysWays Forensics,Forensics, disks,disks, interpretedinterpreted imageimage files,files, virtualvirtual memory,memory, andand physicalphysical RAMRAM areare strictlystrictly openedopened inin viewview modemode (read(read--only)only) only,only, toto enforceenforce forensicforensic procedures,procedures, wherewhere nono evidenceevidence mustmust bebe alteredaltered inin thethe slightest.slightest. z ThisThis strictstrict writewrite protectionprotection ofof XX--WaysWays ForensicsForensics ensuresensures thatthat nono originaloriginal evidenceevidence cancan possiblypossibly bebe alteredaltered accidentally,accidentally, whichwhich cancan bebe aa crucialcrucial aspectaspect inin courtcourt proceedings.proceedings. z OnlyOnly whenwhen notnot boundbound byby strictstrict forensicforensic proceduresprocedures and/orand/or whenwhen inin needneed toto workwork moremore aggressivelyaggressively onon disksdisks oror imagesimages (e.g.(e.g. youyou havehave toto repairrepair aa bootboot sector)sector) thenthen youyou couldcould runrun WinHexWinHex instead.instead. TechnicalTechnical BackgroundBackground z A hex editor is capable of completely displaying the contents of each file type. z A hex editor even displays control codes (e.g. linefeed and carriage-return characters) and executable code, using a two-digit number based on the hexadecimal system. z Consider one byte to be a sequence of 8 bits. Each bit is either 0 or 1, it assumes one of two possible states. Therefore one byte can have one of 2•2•2•2•2•2•2•2 = 28 = 256 different values. z Since 256 is the square of 16, a byte value can be defined by a two-digit number based on the hexadecimal system, where each digit represents a tetrade or nibble of a byte, i.e. 4 bits. z The sixteen digits used in the hexadecimal system are 0- 9, A-F. TechnicalTechnical specificationsspecifications z Maximum number of windows:........................1000 (WinNT/2000), 500 (Win9x/Me)10 z Maximum disk & file size: ................................................ ≈2000 GB z Maximum number of parallel program instances: ..........................99 z Maximum number of positions:................. limited by RAM only z Maximum number of reversible keyboard inputs:................65535 z Encryption depth:..........................................................128 bit z Digest length in backups:...................................... 128/256 bit z Character sets supported: ..... ANSI ASCII, IBM ASCII, EBCDIEBCDIC,C, Unicode (limited) z Offset presentation:.......................................hexadecimal/decimal WinHexWinHex sessionssessions zzbeginbegin withwith aa StartStart CenterCenter z WinHexWinHex remembersremembers thethe lastlast editingediting positionposition ofof previousprevious filesfiles andand thethe statestate ofof thethe lastlast session,session, andand itit allowsallows youyou toto openopen thethe entireentire previousprevious sessionsession byby clickingclicking ContinueContinue LastLast SessionSession fromfrom thethe StartStart Center'sCenter's ProjectsProjects windowwindow z YouYou cancan alsoalso openopen projectsprojects andand launchlaunch scriptsscripts (a(a scriptscript editoreditor isis enabledenabled inin thethe ProfessionalProfessional andand SpecialistSpecialist versions).versions). z WinHexWinHex cancan openopen filesfiles asas editableeditable oror asas readread-- only.only. z EditedEdited datadata isis storedstored inin aa temporarytemporary filefile untiluntil saved,saved, atat whichwhich timetime youryour changeschanges areare committed.committed. z ThereThere isis alsoalso anan inin--placeplace EditEdit modemode inin whichwhich allall changeschanges areare mademade directlydirectly inin realreal timetime (the(the defaultdefault whenwhen editingediting RAM).RAM). YouYou cancan choosechoose thethe EditEdit modemode fromfrom thethe OpenOpen FileFile dialog.dialog. WhenWhen youyou openopen anan entireentire diskdisk oror partition,partition, thethe defaultdefault modemode isis Edit.Edit. DiskDisk EditorEditor z TheThe diskdisk editor,editor, thatthat isis partpart ofof thethe ToolsTools menu,menu, allowsallows youyou toto accessaccess floppyfloppy andand hardhard disksdisks belowbelow thethe filefile--systemsystem level.level. z DisksDisks consistconsist ofof sectorssectors (commonly(commonly unitsunits ofof 512512 bytes).bytes). YouYou maymay accessaccess aa diskdisk eithereither logicallylogically (i.e.(i.e. controlledcontrolled byby thethe operatingoperating system)system) oror physicallyphysically (controlled(controlled byby thethe BIOS).BIOS). youyou cancan eveneven accessaccess CDCD-- ROMROM andand DVDDVD media.media. EditingEditing disksdisks andand otherother mediamedia z Opening a logical drive means opening a contiguous formatted part of a disk (a partition) that is accessible under Windows as a drive letter. It's also called a “volume”. z WinHex relies on Windows being able to access the drive. Opening a physical disk means opening the entire medium, as it is attached to the computer, e.g. a hard disk including all partitions. z It could also called the “raw device”. The disk normally does not need to be properly formatted in order to open it that way. z UsuallyUsually itit isis preferablepreferable toto openopen aa logicallogical drivedrive insteadinstead ofof aa physicalphysical diskdisk z YouYou cancan viewview thethe filefile systemsystem andand accessaccess partitionpartition bootboot sectorssectors andand filefile allocationallocation tables.tables. WithWith thethe ProfessionalProfessional license,license, youyou cancan alsoalso viewview freefree spacespace andand slackslack spacespace z OnlyOnly ifif youyou needneed toto editedit sectorssectors outsideoutside aa logicallogical drivedrive (e.g.(e.g. thethe mastermaster bootboot record),record), youyou wouldwould openopen thethe physicalphysical diskdisk insteadinstead These three data displays demonstrate the difference in addressing and in accessing data when logically