Security Exercise 12

Similar documents
Dry Contact Sensor DCS15 User Manual

Lab 1 Load Cell Measurement System (Jan 09/10)

TUTORIAL I ECE 555 CADENCE SCHEMATIC SIMULATION USING SPECTRE

Lab 1 Load Cell Measurement System

Dry Contact Sensor

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

This app uses callas pdftoolbox server as the imposition engine and consequently you have to have that program installed on your Switch server.

Altis Flight Manager. PC application for AerobTec devices. AerobTec Altis v3 User Manual 1

Excel Step by Step Instructions Creating Lists and Charts. Microsoft

Banner pocket v3 Page 1/7. Banner pocket v3

Desktop Teller Exception User Guide

Dry Contact Sensor. Communications cable - RJ-45 jack to sensor using UTP Cat 5 wire. Power source: powered by the unit. No additional power needed.

Microsoft PowerPoint 2007

CAR ASYST - Quick Start Guide MAIN MENU

Frequency Response of a BJT CE Amplifier

The WHO e-atlas of disaster risk for the European Region Instructions for use

CUSTOMER PORTAL. Floorplan Management

Support Subscribers call

Using the Laser Cutter

Lab3 Audio Amplifier (Sep 25)

Lab 6 Spirometer System (Feb 20/21)

SINGER FUTURA TM Holiday Banner

Claim Amalgamation. Getting Started. Amalgamate means to join 2 or more cell claims into one cell claim. Before you start:

Freading for Kindle Fire Using the SlideME app.

Martel LC-110H Loop Calibrator and HART Communications/Diagnostics

Flash Image Rotator Web Part

idcv Isolated Digital Voltmeter User Manual

DXF2DAT 3.0 Professional Designed Computing Systems 848 W. Borton Road Essexville, Michigan 48732

Table of Contents. ilab Solutions: Core Facilities Core Usage Reporting

Lab2 Digital Weighing Scale (Sep 18)

Introduction to Life Cycle Risk Management Help Page

Sacramento CA - Insane Inflatable 5K Logistics EVENT ID:

INSTALLATION INSTRUCTIONS

Photoshop Elements: Color and Tonal Correction Basics

COMP 110 INTRODUCTION TO PROGRAMMING WWW

EPOCH 50 V4.70 GNSS Firmware

1.12 Equipment Manager

Photoshop Elements 7 Intermediate: Layout & Design

Documentation of the PIC32 Pin Finder

A2: Aperture, DOF, & Focus

Upgrading to PlanetPress Suite Version 5

Standard Operating Procedure for SEM3 (ThermoFisher / FEI Apreo)

Wonder Tree Video Slot Introduction. How to Bet. Gamble Feature

Ten-Tec Model RX-366 Subreceiver 565/566 Subreceiver Installation and Operation Manual-74467

High Level Design Circuit CitEE. Irere Kwihangana Lauren Mahle Jaclyn Nord

Configure and Use Bar Tabs

AIR CONDITIONER REMOTE CONTROLLER ILLUSTRATION CS406-R51E

ADS ECHO Qstart Quick Reference Guide. 340 The Bridge Street, Suite 204 Huntsville, Alabama (256)

Operating Instructions

Application Note AN-2097 Evaluation Kit for the S7500 CW Tunable Laser

The following guide contains the workstation setup instructions for the Eclipse Manifest Companion Product.

TC 60 THERMOCOMPUTER TC 60. prog. start stop. Operating Instructions

VIP-200. Point to Point Extension Configuration Quick Start Guide. Video over IP Extender and Matrix System

PowerCADDTM 5/10/2018. Drawing by James Fleming and Matt Arnold

SVT Tab and Service Visibility Tool Job Aid

IntesisBox IS-IR-KNX-1i v1.0. User's Manual Issue Date: 06/2017 r1.0 eng

TROUBLESHOOTING GUIDE

This Help system requires Internet Explorer 5 or later. It may not be displayed properly by earlier versions of Internet Explorer.

RS232 Communication Between a Sunny Boy 2500U and a PC. Technical Note

MiLAB. Version. User Manual. Copyright 2016 Fourier Education

Visualization with VMD

100 Super Hot Video Slot Introduction. How to Bet. Gamble Feature

WiFi Lab C. Equipment Needs:

Creating Gift Card Batches

Dice High Video Slot. Introduction. How to Bet. Gamble Feature

Hands-Free Music Tablet

State Bank Virtual Card FAQs

Puget Sound Company Overview. Purpose of the Project. Solution Overview

PAPER SPACE AND LAYOUTS

Mobile LightSync Link App Programing Guide Revision 2

Maxon Motor & Motor Controller Manual

INSTALLATION INSTRUCTIONS

Pulse Width Modulation (PWM) Cornerstone Electronics Technology and Robotics II

OV5640 Camera Board (A) USER MANUAL

TABLE OF CONTENTS. Getting Started. pg 3. Initial Start up... pg 4. Setting Quilt Block and Panto Designs.. pg 5. Home Button pg 6

PLIC Books School User s Manual

OV5640 Camera Board (B) USER MANUAL

.,Plc..d,~t l~ucjio PA300 DIGITAL BASS PROCESSOR USER'S MANUAL. 2 Why use the DIGITAL BASS PROCESSOR? 2 About the PWM Subsonic Filter

Drawing Canvas Word 2007

NanoScan v2 Readme Version 2.7. Change log. v2.7 - Added information for new product Pyro/9/5-MIR.

Dialectical Journals. o o. Sample Dialectical Journal entry: The Things They Carried, by Tim O Brien Passages from the text Pg#s Comments & Questions

ELECTRICAL MEASUREMENTS

Introduction. Version 8.2.2

Troubleshooting Guide StarFire Satellite Changes

Operating Instructions

KIP Cost Center User Guide

Lab 1 Fun with Diodes

Producing Research Posters

C9 Trader Service User Guide

GENERAL RULES FOR ALL MALIFAUX TOURNAMENTS MALIFAUX TEAM TOURNAMENT (50 STONES)

Razor Tracking: User Guide

AccuBuild Version 9.3 Release 05/11/2015. Document Management Speed Performance Improvements

Batman & The Penguin Prize

FIRMWARE RELEASE NOTES. Versions V2.0.0 to V Model HDL-32E. High Definition LiDAR Sensor

BV4115. RF Packet Transmitter. Product specification. February ByVac 2007 ByVac Page 1 of 5

APPLICATION NOTE Sales & Application DEWESoft Slovenia

Human Finger Twitch Experiment Using Finger Twitch Transducer

Experiment 6 Electronic Switching

The objective of Man of Steel is to obtain winning symbol combinations by spinning the reels.

Damocles 2404i Manual

Transcription:

Security Exercise 12 Asynchrnus Serial Digital Baseband Transmissin Discussin: In this chapter, yu learned that bits are transmitted ver a cpper wire as a series f vltage pulses (a prcess referred t as line cding). Yu als learned that there are a number f ways t represent nes and zers with vltage pulses (e.g., is a 1-bit represented by a vltage pulse and a 0-bit by n vltage pulse? Or is a 1-bit a psitive vltage pulse and a 0- bit a negative vltage pulse? Des the pulse last fr the entire bit? Etc.). Imprtant takeaways frm tday s lecture as they apply t this SX: Nrmal vltage n the wire is lw A 1-bit is a lw vltage pulse; s a 0-bit is high ASCII characters are transmitted in 8 data bits The data bits are transmitted in reverse rder, the least significant bit first T transmit an ASCII character, a start bit is transmitted first, and a stp bit is transmitted last (after the data bits) A start bit is a 0-bit; s a start bit is high A stp bit is a 1-bit; s a stp bit is lw Objective: T familiarize each Midshipman with hw ASCII characters are physically represented when transmitted ver a wire. That is, when we transmit an ASCII character, we dn t actually transmit 1s and 0s, but rather vltage wavefrms that represent the 1s and 0s. Part 1: Hardware Set Up Since yur cmputer des nt have the serial utput prt we need fr this security exercise, we will use an adapter that plugs int ne f yur USB prts and will cnvert the USB prt t the desired type f serial prt. An scillscpe (usually shrtened t - scpe) will be used t display what the signal lks like. Wiring will carry the signal frm yur laptp t the -scpe s it can be viewed. Carefully plug the serial prt adapter int ne f yur laptp s USB prts. This is shwn in the pht t the right. The rest f the wiring shuld already be prestaged s yu ONLY need t plug in this serial prt chip. On the -scpe, push the buttn that says SAVE/RECALL, then the buttn n the screen (a sft buttn) that says RECALL SETUP, then RECALL FROM SETUP, then SETUP 10. Once yu recall Setup 10, yur O-scpe display shuld lk similar t the figure t the right, which is anntated with sme useful infrmatin relative t the setup. Hardware set up is nw cmplete. On the fllwing page is an anntated picture f the O-scpe face, anntated with all the cntrls that yu may use in this SX and in fllwing SXs.

Part 2: Tera Term Sftware Set Up T set up the cmmunicatins, we ll use a prgram called Tera Term, which wrks like Telnet that yu used back in SY110, allwing yur cmputer t talk directly t anther cmputer. Tday, yu wn t be talking t anther cmputer, but yu re telling Tera Term that yu want it t send data t smewhere utside yur cmputer. This way, yu ll see the bits transmitted when yu press a keybard key using the pins n the utput f the serial prt chip. T be precise, tday yu ll be setting up and using asynchrnus serial data cmmunicatin. Create a flder n yur desktp called SX12, then dwnlad the file called teraterm-4.95.exe frm the U: drive in the U:/Cyber2/EC310/SX12 Physical Layer flder and mve it t yur SX12 flder. Duble-click the teraterm-4.95.exe file t install it n yur laptp. Accept the license agreement, accept all the default installatin ptins, and n the final windw ( Finish ), check the bx labeled Launch Tera Term and click n Finish. When Tera Term starts up, a dialg bx similar t the ne shwn belw will appear. The default type f cmmunicatin is TCP/IP, but chse Serial and the cmmunicatin prt used will be the serial prt assciated with the serial prt chip. Nte: if fr sme reasn the Serial chice is nt available, cntact the instructr r lab tech yu ll have t install an additinal piece f sftware t make it wrk.

Click OK and yu re ready t cmmunicate using the Tera Term VT windw shwn belw. When yu click in this windw and then press the keys n yur keybard, yu will be transmitting thse ASCII characters. The Tera Term windw is nw n yur desktp, and lks like the fllwing: Befre cmmunicating, ensure the cmmunicatin prtcl is set up crrectly. Frm the Setup drpdwn menu, chse Serial prt, and a dialg bx similar t the ne shwn belw will appear. All f the parameter values yu see in this dialg bx are the nes we will use tday. Other than the Prt number (yur prt number may be different than mine, but that s kay), these shuld be the default settings. Other than the Prt number, if yur settings dn t match the figure belw, change it t the fllwing selectins. These settings define the prtcl we will be using, and are described as: Prt Which prt number yur cmputer is using fr this serial cmmunicatin. Baud rate Hw fast symbls (vltage pulses that represent 1s and 0s) are transmitted, in symbls/sec. In ur case, each symbl (vltage pulse) represents a bit, s the bit rate in bits/sec is equal t the baud rate. Data The number f bits f data transmitted in each burst. Parity Used fr errr detectin. An extra bit culd be sent t help the receiver determine if a bit has been received in errr. We will nt be using parity. Stp The number f stp bits we will use. This culd be 1, 1.5 r 2. Nte that 1.5 stp bits is basically a stp bit that lasts a bit and a half in duratin. Flw cntrl This helps cntrl the flw f data if the ne cmputer is nt as fast as the ther. Transmit delay If needed, there will be a delay in between transmissins. Click n OK. Finally, set up a lcal ech f the keys yu type. Frm the Setup drpdwn menu, chse Terminal and check the bx labeled Lcal ech as shwn belw, then OK. This will allw yu t see the keys yu type in the Tera Term VT windw.

We are nw ready t begin cmmunicating! Part 3: Asynchrnus Serial Digital Baseband Transmissin Hw many bits d yu expect t see n the -scpe when yu press a key n yur keybard? Let s lk clsely at what was displayed n the picture f the -scpe face shwn earlier. Push the SINGLE SEQ buttn n the O-scpe, then in the Tera Term windw press the lwercase m key. The fllwing figure shws what yu shuld see n the -scpe when yu press the m key (lwer-case m). It is imprtant t get a sense fr hw wide a single bit is (that is, hw much time it takes t transmit ne bit) s yu can lk at cnsecutive nes r zers and tell hw many there are. The figure is anntated t describe what is seen and hw t take that and determine which ASCII character has been sent. We cunt 8 bits fr the ASCII character, ne START bit, and we re using ne STOP bit, s transmitting a single key n the keybard crrespnds t 8+1+1 = 10 bits. We dn t actually see the STOP bit, because it is a 1-bit (lw), and the vltage n the wire is nrmally lw but it is there. It wuld be apparent had transmitted mre than ne character in the same transmissin (mre n this later).

Since we want t cmpare what was seen n the -scpe t what we seen in an ASCII table, pen a brwser and refer t the ASCII table at: https://www.sciencebuddies.rg/science-fair-prjects/prject_ideas/cmpsci_ascii_table.shtml This table cnveniently shws the 8-bit representatin fr ASCII characters (as bits, nt hex values) that yu ll need t answer questins in this security exercise. NOTE: When n transmissin ccurs, vltage is lw, and nly ges high when the start bit appears. Als, if yu lk up m in the ASCII table, yu d see (in binary) 0110 1101, which seems t be the reverse f what is transmitted! It lks like bits are sent in smething like a little-endian frmat! This means that after determining what the data bits are, they must be reversed t match what is in the ASCII table. ALSO NOTE: Cmparing the display abve and the ASCII table, yu can als see that fr this cmmunicatin link, START bits are 0-bits, s a 0-bit is high vltage, and a 1-bit is lw vltage. This is but ne way t represent transmitted 1s and 0s with vltage pulses. IMPORTANT: In between transmissins, push the SINGLE SEQ buttn n the O-scpe s that the O-scpe is ready t trigger n the next character. Push the SINGLE SEQ buttn n the O-scpe s that the O-scpe is ready t trigger n (capture) the next keystrke, then type the u (lwer case u) character. The vltage signal representing the character that yu typed in the Tera Term windw shuld nw appear n the -scpe (after yu prperly made all the adjustments abve). Hw many bits d yu see? Questin 1: Fr the u character, draw a rugh sketch f the wavefrm yu transmitted n yur answer sheet, and specify the crrespnding bits yu believe them t be (1s r 0s). Indicate which bits are data bits and which are start/stp bits. Questin 2: Cmpare the bits yu ve seen n the O-scpe with the ASCII table frm the website pinted ut earlier in this security exercise, and determine if they match. D they match? Push the SINGLE SEQ buttn n the -scpe, then press the U (uppercase U) character. Questin 3: Fr the U character, draw a rugh sketch f the wavefrm yu transmitted n yur answer sheet, and specify the crrespnding bits yu believe them t be (1s r 0s). Indicate which bits are data bits and which are start/stp bits. Again, cmpare the bits yu see t the ASCII table t ensure they match. If they dn t, cntact the lab tech r instructr. Push the SINGLE SEQ buttn n the -scpe, then press the ~ (tilde) character. Questin 4: Fr the ~ character, draw a rugh sketch f the wavefrm yu transmitted n yur answer sheet, and specify the crrespnding bits yu believe them t be (1s r 0s). Which bits are data bits and which are start/stp bits? And fr the last time: cmpare the bits yu see t the ASCII table t ensure they match. If they dn t, cntact the lab tech r instructr. Questin 5: The hrizntal axis (time) shuld be set t 250 μsec/div (micrsecnds), that is, each f the blcks n the display is 250 μsec wide. Fr the ~ (tilde) character wavefrm which shuld still be n the -scpe, estimate what the duratin f ne bit is fr this transmissin (that is, hw wide in secnds is ne bit)? Questin 6: Yur answer t Questin 5 is hw lng a bit lasts in secnds. Bit rate is hw many bits per secnd (bps) are being transmitted. Calculate the bit rate fr this transmissin using yur answer t Questin 5. What shuld the bit rate be (that is, what did the settings fr the serial cnnectin in Tera Term say it shuld be)? Nw let s transmit a small text file. Dwnlad the file called Us.txt frm the U: drive and mve it t yur SX12 flder. In rder t be able t see all the bits, using the HORIZONTAL POSITION knb, mve the small arrw n the tp f the display in the left directin s that it is clse t the left edge f the screen (this adjusts time = 0 t clse t the left edge f the display).

Push the SINGLE SEQ buttn n the -scpe In the Tera Term windw, chse Send file frm the drpdwn menu, and navigate t yur SX12 flder and chse Us.txt. Questin 7: Fr sending this file, hw many bits were transmitted? Write ut the stream f bits transmitted, including start and stp bits. In yur stream f bits indicate the ASCII characters. Questin 8: What type f line cding is used in this SX? Questin 9 (bnus): Using ONLY the transmitted vltage pulses in the screen capture shwn in the figure belw, determine the ASCII character(s) that have been transmitted. Security Exercise 12 Answer Sheet Name:

Questin 1: Character u (lwercase u) Questin 2: Questin 3: Character U (uppercase U) Questin 4: Character ~ (tilde) Questin 5: Questin 6: Questin 7:

Questin 8: Questin 9 (bnus): What is (are) the ASCII character(s)?