Chapter 3 The Power of HEX Finding Slivers of Data.

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

Assembly Language for Intel-Based Computers, 4 th Edition Chapter 1: Basic Concepts (c) Pearson Education, All rights reserved. You may modify and.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
DATA REPRESENTATION CONVERSION.
Information Processing Session 5B Binary Arithmetic Slide
Information Processing
Binary and Hexadecimal Numbers
1 The Information School of the University of Washington Nov 6fit more-digital © 2006 University of Washington Digital Information INFO/CSE 100,
Data Representation ICS 233
Data Representation in Computers
A bit can have one of two values: 0 or 1. The C language provides four operators that can be used to perform bitwise operations on the individual bits.
How pictures are stored in computers. While it is useful to know how to use picture editing software, Computer Scientists should understand how pictures.
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
 Method of representing or encoding numbers  Two main notation types  Sign-value  Roman numerals  Positional (place-value)  Modern decimal notation.
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
Hexadecimal Dk Izzati Pg Haji Ahmad.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
CSC212 – Computer Organization and Design
CSU0014 Assembly Languages Homepage: Textbook: Kip R. Irvine, Assembly Language for Intel-Based Computers,
Assembly Language for x86 Processors 7th Edition
Chapter 2 Computer Hardware
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Representing Data. Representing data u The basic unit of memory is the bit  A transistor that can hold either high or low voltage  Conceptually, a tiny.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
Lecture Binary and Hexadecimal Numbers. How Machines Think Computers handle two types of information: –Instructions –Data The "words" of a machine language.
CS161 Computer Programming Instructor: Maria Sabir Fall 2009 Lecture #1.
Positional Notation 642 in base 10 positional notation is:
EET 250 Number systems. Introduction to Number Systems While we live in a world where the decimal number is predominant in our lives, computers and digital.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Data Representation, Number Systems and Base Conversions
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Springfield Technical Community College Center for Business and Technology.
Number Systems Denary Base 10 Binary Base 2 Hexadecimal Base 16
Data Representation. How is data stored on a computer? Registers, main memory, etc. consists of grids of transistors Transistors are in one of two states,
Data Representation COE 301 Computer Organization Dr. Muhamed Mudawar
STARTER – CRACK THE CODE
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
Data Representation COE 301 Computer Organization Prof. Muhamed Mudawar College of Computer Sciences and Engineering King Fahd University of Petroleum.
Data Representation COE 308 Computer Architecture
Binary Representation in Text
Binary Representation in Text
Number Systems and Codes
NUMBER SYSTEMS.
Data Representation ICS 233
Lec 3: Data Representation
Data Representation.
3.1 Denary, Binary and Hexadecimal Number Systems
TCP/IP Concepts (Part 2)
Data Representation COE 301 Computer Organization
Number Systems and Codes
Binary and Hexadecimal Numbers
Presenting information as bit patterns
COMS 161 Introduction to Computing
INFO/CSE 100, Spring 2005 Fluency in Information Technology
Lecture 9: Radix-64 Tutorial
COMS 161 Introduction to Computing
Data Representation ICS 233
Understanding Hex “I hope you have the worst headache of your life, then you will begin to understand” ~unknown.
Chapter 3 - Binary Numbering System
CHAPTER 69 NUMBER SYSTEMS AND CODES
Data Representation COE 308 Computer Architecture
Presentation transcript:

Chapter 3 The Power of HEX Finding Slivers of Data

Back to our forensic case The previous case discussed the challenge on search for a string of characters. XYZ How can Susan better represent this binary string without the tedium of decimal computation as discussed previously? The Solution, convert the binary string of 1’s and 0’s into their hexadecimal equivalent notation.

What is HEX? Hexadecimal (HEX)- is strictly a human friendly representation of binary values. A HEX character is often prefixed with 0x (zero, sub x) to denote it from another encoding system. Example 0x3F lets you know that 3F is HEX, and not ASCII Computer processor does not calculate in HEX. Software is used to convert binary to HEX. HEX is base 16 character code which works well with binary.

Hex representing Binary HEX – 16 characters are 0 to 9 and A to F. – Where A represents 10, B represents 11, C represents 12, D represents 13, E represents 14, F represents 15. There are 16 characters each representing 4 bits. Hex, Binary, and Decimal Equivalents HEXFEDCBA Binary Dec

Bits and Bytes and Nibbles Nibble – is a byte (bits) split into two equal halves. Totaling 4 bits per half. A single HEX character corresponds to one nibble’s worth of data (4 bits). – Standard encoding character needs a full byte (8bits) for representation. – 2 nibbles pair together accomplishes this representation. Thus we have 4 bits per nibble, two nibbles equals one byte and 8 bits per byte. A byte can stand alone when representing a character or symbol, whereas a nibble cannot.

Nibble Pairing Nibbles must be paired to represent a character or symbol. Byte – stands alone when representing a character or symbol. HEX – character code has 16 unique values 0- 9, A-F. How many binary values (bits) are needed to represent 16 unique values? 2^ 4 2x2x2x2 = 16

HEX Values A HEX value can be represented by 4 bits in length. A HEX value represents a nibble Hex, Binary, and Decimal Equivalents HEXFEDCBA Binary Dec

In Summary 1 bit = binary value 0 or 1 4 bits = nibble = 1 HEX character 2 nibbles = 1 byte 8 bits = 1 byte 1 byte = 2 HEX characters So to answer the question: Why use HEX to represent binary? Because both a byte and 2 HEX characters represents 8 bits, totaling 256 values

Nibbles and Bits To differentiate between two nibbled pairing, we will referred to left nibble and right nibble. Remember nibbles work in pairs Left and right.

Converting HEX to Binary Hex = 3 F Split into two nibbles 3F _ _ _ _ Answer

Converting HEX to Decimal HEX - 3F 3 F X = 63

Binary HEX Editor A HEX Editor – is a program which allows you to view and or edit compiled programs and binary data files. Called HEX editor because it represents most of the data in Hexadecimal format. Hexadecimal is used because it is easier for human than binary.

HEX Editor You can’t see all the bytes stored in a file using a regular application to open the file, and there are no applications available to view deleted items. Sometimes, part of the file is missing, including the piece that contains the executable code launching the application needed to open it in the first place.

Binary/HEX editor Binary/Hex Editor is for analyzing file structures. Viewing HEX allows forensic investigator to go beyond the application or file, and it will allow for the viewing of all data contained within a file, including remnants of old files or even deleted files, which still may be on the hard drive.

Hex Editor Environment Four distinct areas (Panels) – Header Panel – Address Panel – HEX-data Panel – Character Panel

Panels Header Panel – The header panel displays the headers of any of the other three panels. Address Panel – Every byte in a file is assigned a number, called its address, starting a 0 for the first byte of the file, 1 for the second byte, and so on. The address panel displays the address of the byte at the beginning of the line. HEX-Data Panel - The middle hexadecimal area is the most commonly used area of a HEX editor. It lists each byte of the file in a table, usually 16 bytes per line. Character Panel – displays the ASCII value of each file byte. It only provides the view of printable characters; non- printable characters are shown as a period character (“.”) or with another user-defined character So company XYZ would be 58595A

Wrapping It Up Cyber forensic investigators MUST have a thorough understanding of the process by which raw bits of data are turned into information, and how complex silicon devices interprets pulses of energy, assigning these pulses the computable values of one and zero, and then into higher order numerical values, and eventually into characters that are understood by humans. This provide Cyber Investigators a mean to find the sliver of data they are looking for, amid potentially billions of bytes of extraneous data.