<< Chapter < Page Chapter >> Page >
This module details the "attacks" used to test the three methods of encryption (frequency, phase, and echo) and how they responded to deliberate external attempts to break them. This is a continuation of the fall 2008 ELEC 301 class project.

Noise addition

We added varying amounts of Gaussian noise to our marked test signals and attempted to retrieve the hidden message with varyingsuccess.

In order to account for the noise, we adjusted the threshold we used in the decoding algorithm. From Figures 10,12, and 14, it isclear that a threshold can be drawn between the higher observed differences (one-bits) and the lower observed differences. However, in the cases where toomuch noise was added (see Figures 11,13, and 15), this threshold is not so clearly defined. In fact, for the PSA and EA, any threshold value is difficultto determine whether by calculation or by “eyeing it.”

Observed differences between frequencies of original signal and frequencies of marked signal for FMA with no added noise
Observed differences between frequencies of original signal and frequencies of marked signal for FMA with added noise of SNR 30 dB
Observed differences between frequencies of original signal and frequencies of marked signal for PSA with no added noise
Observed differences between frequencies of original signal and frequencies of marked signal for PSA with added noise of SNR 30 dB
Observed differences between frequencies of original signal and frequencies of marked signal for EA with no added noise
Observed differences between frequencies of original signal and frequencies of marked signal for EA with added noise of SNR 70 dB

Based on studying these threshold values, we found maximum noise we could add to the marked signal for each algorithm. The minimumSNR for the FMA, PSA, and EA were 30 dB, 30 dProject! ElB, and 60 dB, respectively. At these SNR values and with an input of “Elec301 Project! ”, thealgorithms output as follows:

FMA

Elec301 Pro*ect! Elec301 Project! ElB, and 60 dB, respectively. At these SNR values and with an input of “Elec301 Project! ”, thealgorithms output as follows:

ec301 Project! Elec30ec301 Project! Elec30

PSA

Elec301Elec301Elec301ELec301Elec301EleC#01Elec301Elec300Elec301El ek30qElec301Elec301Elec301Elec301El El`c 1El

EA

Elec381 Pzg*ect!MleC343 RzebesT!eoec#p1 Psozec|#GleC#00 P2ojEct)Mmec301 QrozEkw Umea3p1'PRgbmct!Eleg:0qP2ojea4%D|

The FMA and PSA clearly outperformed the EA in the noise category. In fact, at the point that we begin to miss bits, we can alreadysignificantly hear the white noise. Because the FMA only looks at the difference between the frequencies of the original and marked signals for a small segmentof the frequency spectrum (in particular around the maximum frequency of the original signal), the noise power included in the difference is much smaller forthe FMA than for the PSA and the EA which both calculate the difference over the whole frequency range. The PSA is good because our ears cannot detectsignificant alterations in phase; in fact, the phase shift could go up to .1*pi without audible detection. This large phase shift power difference between a oneand zero is much more than the power added by the noise.

For all of our algorithms some genres of our test signals performed better in every case. We found that ‘pop’ and ‘techno’ bothfailed noise tests at least 20db SNR higher than any of the others. Examining the magnitude in the frequency domain for both of these signals (see Figure 8)shows us that the 90% power bandwidth is wider than in the others. I.e. there is significant information at higher frequencies, so more significant frequenciesare altered by the noise, which lessens the amount of tolerable SNR.

To defend against noise we encode the user-input phrase over and over as many times as will fit. This increases our chances ofgetting the phrase back since the probability of several bits being wrong is lower than the probability of one bit being judged incorrectly.

Another defense against noise was to raise our various predefined values closer to human-hearable level. For example we can increase the amount of phase shift in the PSA from .01*pi all the way to .1*pi.These increases mean that the value shifting caused by adding noise is not significant when compared to the value shifting created by encoding a one. Ingeneral, there is a balance between how much noise a marked signal can take and how audible the mark becomes. This balance is found by toying with thepredefined values for each algorithm.

Compression and decompression

We also tested an attack in which the wave file was compressed using MPEG-1 and AAC compression algorithms. In order to test whetherwe could still recover our encoded bits in MATLAB (MATLAB can only work with wave audio files), we then decompressed the files. We found that we werecompletely unable to recover our encoded message and received as output either nothing or complete garbage.

These results were not unexpected as audio compression algorithms take advantage of the same psycho-acoustical phenomenathat we used to

Cropping

Our encoding scheme can survive truncation on the back end. We simply lose any bits contained in the deleted data. While we didnot implement this process, we could implement a matched filter setup to survive truncation on the front end. We could take the marked audio file and attempt toplace it in the unmarked original file using convolution.

Remarking

We tested whether our algorithm could be marked with a second message and still recover either message. We provided our decoder withthe original signal and the signal that had been marked two different times. If we had provided the decoder with the once-marked signal and the original signal(cascading the decoder), we could have easily recovered our original signal; however, we felt this solution was trivial and against the point of theattack.

We found, as expected, that when encoding two different messages, we could not correctly recover either message. We, however,found that if two of the same letter were encoded in the same place, we could recover this particular letter. Remarking the signal with the same message doesnot affect our ability to decode the message, but remarking can affect the quality of the output.

Questions & Answers

what is defense mechanism
Chinaza Reply
what is defense mechanisms
Chinaza
I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2008. OpenStax CNX. Jan 22, 2009 Download for free at http://cnx.org/content/col10633/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2008' conversation and receive update notifications?

Ask