Please Support SilentVector:

Wednesday, January 20, 2016

Electronic Education - Part I - The Elegance of Electromagnetism

Information Is Currency

Before we jump into the electromagnetic (also know as EM) side of things, I would like to make a few brief comments about the things people, organizations, and governments feel have value since the birth of the Internet.  Since recorded history, humans have named the Ages after the things that were the most valuable at the time: Stone, Bronze, Iron, and now Information Age.

This is not a mistake, though many modern humans are oblivious to the fact of how powerful the label of the era is.  If you have the right information at the right time, you can live comfortably for the rest of your life.  There is a specific reason why military operations centers, businesses, stock markets, why they all funnel information to the center of their decision-making cortex.  Because it is valuable.

If you stop and look around you for a moment, you are immersed in it.  In fact, you really can't escape it.  If you disconnect yourself from the grid and live in the most remote place you can possibly find, you will still want to know what the weather will be like tomorrow; you will still need information.

Hackers (and I can't express to you how much the connotations of that word make me gag) are adept at gathering, filtering, processing, and acting on information.  From the most noob-tastic script kiddie, to the most dangerously elite or benevolent of us, there is an insatiable internal propellant that feeds on the digestion and beneficial products of information.  So much so, that unlike the contracted government employee, if you give a dedicated person a reason they will pick through your life for months late into the night and crunch every bit of traffic and spat of metadata you produce, just to glean information from you.  But the true hacker only wants to know how things work, test the boundaries of systems and devices, and build on the things they learn along the way.  They are progressing in their skillset as long as they are doing something to learn.




The companies people work for are an even more delicious target.  Not because of the monetary assets they control, but because of the precious information they store.  That's why very few companies say "oh bollocks, the hackers transferred $50 million from our primary account" in the news.  It's always information, connected to people, where the most lucrative heists are successful.  The reason why is, to be frank, $50 million dollars is only $50 million dollars.  A victim's identity, their medical records, their credit information, and the information to create fraudulent accounts is immeasurably valuable.

The reason I wanted to bring this up is because I believe there are two ways to become a seasoned hacker: one is through the study of computers; the other is through the study of electromagnetism.  The most well-rounded path is to study both at the same time, because they're based on the same principles.  Most choose the computer path, because who wants to build an antenna garden in their back yard?  Well, me.

The purpose of this article is to show interestingly striking comparisons between both fields, and to show you that you are probably smarter than you think you are.  Most of all, this article was written to help you protect yourself from the nefarious actors that want your information.

If there is a God or a higher power, their design of the universe was based on copy-cat physics concepts.  Once you learn one model of explaining the invisible waves and packets of data that zip down cable lines, the rest of them fall in to perfect place, simply.  So we're going to dive in from the very smallest of concepts, and by the last installment you will have an expert understanding of how to catch invisible information and make it yours.  You will also know how to secure your information, your family's information, the signals that come from your home, and how make these transmissions more costly to hacker in their time and money to hijack than your information is worth.

This will be a several part series under the name Electronic Education.  The beginning articles will consist of some terms and definitions, and we will build on them until by the end of the series you will be able to build your own WiFi cantenna, explain how Stinger technology works, and be able to explain how a Tempest system can foil even the most stringent and classified electronic protection methods devised by the United States government.

So let's begin.


The "Wind" of Information

Electromagnetic waves are all around us, all the time.  It is impossible to completely escape them, no matter where you go on Earth or in the universe.  They are mostly invisible to us; trying to explain what they look like in explicit detail would be much like you holding up a family photo to your WiFi router.  Your router has no idea what those photons bouncing off the photo paper mean, and it certainly can't assign any meaningful value to what your mother dressed in denim in the photo means to you (or what it meant to you when she submitted that photo along with her congratulations to the yearbook club your senior year).  The device only understands a specific portion of the electromagnetic spectrum.




To explain, let's talk about some antennas you've naturally developed already that can be used to explain how other electromagnetic devices work.  Your eyes, your ears, and your nervous system in general can all be considered a type of "antenna" that interacts with electromagnetic fields.

Take a minute to look at your surroundings and take note of every color you see.  Photons, or light waves, bounce and scatter at different frequencies off every surface you can see.  Your eye and brain interpret these different photon frequencies as color, shade, depth, and form.




Now quiet your mind and listen to the sounds around you.  You may hear a fan in the background (because it's hot in here), birds chirping, your children yelling, etc.  These vibrations in the air are funneled down your external acoustic meatus (your ear hole), into complex organs in your ear.  These vibrations in the air vibrate tiny cilia within your ear, and your brain developed to interpret them as sound.  Says something, anything.  Say "cellar door" or "I will click on advertisements on this website."  Your vocal cords vibrate the air, and even though the fan might not respond to you, your children might.  Again, another set of biological antennas connected to your body.  While sound is included in the electomagnetic spectrum, I feel that it is loosely defined as electromagnetic energy, since it is only air molecules that vibrate instead of anything specifically electronic or magnetic.


Artist credit: Yuumei

Through leaps in technology within the last century or so, humans have developed electronic "ears", "vocal cords", and "eyes" that are sensitive enough to speak and listen on frequencies that are outside of the range of human perception.  Your Wifi modem speaks and hears on the 2.4 GHz and 5 GHz frequencies on the electromagnetic spectrum (I know for many of you, that might not mean much yet, but we're getting there).  Your Xbox and PS4 controllers also speak and hear on the 2.4 GHz frequency.  AM radio speaks from 153 kHz up to 26.1 MHz, depending on which country you're in.

Those numbers might not mean anything to you yet, but just realize that EM energy is flying around you in multiple directions at the speed of light, all the time.  This is what I call the "Wind of Information" because if you build the correct sail, you can catch a lot of it.  Much of the information doesn't only have to do with wireless technologies, but wired as well.  If you understand how all of it works, nothing electronic will ever be a mystery to you.

James Clerk Maxwell published a set of mathematical equations between 1861 and 1862 that form the basic foundation of electrodynamics.  Whether you knew it or not, his work is the basis on which modern electronics, radio technology, optics, and many other communications technologies.  Some of his equations describe the interactions and similarities between magnetic and electrical fields.  Some of his other equations, simplified as much I dare to teach the more inquisitive of my students, prove these eloquent truths:

  • A changing magnetic field will induce an electric field.
  • Conversely, a changing electrical field induces a magnetic field.

If we take that concept just a stretch further, we can say that if you apply an electric current to a conductor (any electrically conductive material, such as a wire), it will produce an electromagnetic field around the conductor.  Conversely, if we place a conductor within one of these electromagnetic fields, it will produce electric current on the conductor.  This is the foundation upon which wireless energy transmission and reception technologies are built.

It wasn't until 1888 when Heinrich Rudolph Hertz, a German physicist came along, that Maxwell's equations were conclusively proven.  Hertz was conducting experiments with spark gap generators in his laboratory.  He noticed that when he energized one of the generators, it would create a spark in another, non-powered generator across the room.  He was able to recreate the effect to study it, which happened to be the first time wireless energy transfer was able to be shown consistently.  Hertz didn't understand the incredible importance of his discovery.  When asked by his students he demonstrated the effect to, what the discovery might mean, he is quoted saying:


"I fuggin' don't know.  Nothing."


Image courtesy of Robert Krewaldt.

Later, after the technology is commercialized, it is upon Hertz's concepts that the first radio telegraphs are built.  The first trans-Atlantic radio broadcast took place on December 12, 1901, pioneered by Guglielmo Marconi.  The technology evolved during both World Wars, along with mechanical and electronic encryption methods.  Modern radio signals are used for intermittent cellular telephone conversations, and through WiFi routers to study pornography.

Before we can gain an advanced understanding of electronic signals, we have to have a common language to express a basic framework on which these technologies are built.  Let's dig just a bit deeper by going over some common terms.

Fundamental Electromagnetic Terms

Electromagnetic (EM) Waves - Electromagnetic waves  which are broadcast through space.  These waves travel near the surface of the earth and also radiate skyward at various angles to the surface of the earth.  Remember, we're talking about all EM waves in this definition.  Your cellphone and WiFi router are included, but only make up a small portion of the spectrum we're going to talk about.  This picture was made by the Army and taken from one of their manuals, which is why it is garbage in explaining the infinite complexity of our subject:



Wavelength - (This is the where EM hackering begins) Wavelength is the distance a radio wave travels in the time required to complete one cycle.  Wait, what?  What could that possibly have to do with hacking?

Well, human-manufactured electronic antennas have interesting properties.  Have you ever pulled a WiFi router out of the box, and then been forced to staple gun 140 feet of antenna wire to the outside of your house like lights for Christmas?  When you bought your most recent cellphone, did it come with a box of wire you had to string out to text your bae?  No, you never have.

You haven't, not only because manufacturers wanted WiFi and cellphones to be convenient, but also because of the frequencies they operate on.  Wavelength is determined by the frequencies on which our devices communicate.

The next term will help explain wavelength a bit more, because these two terms are bound together by physics and electrodynamic theory:

Frequency: The rate at which a process repeats itself or the number of complete cycles per unit of time.

When we're talking about electromagnetic frequencies, the unit of time will always be one second.  They make it sound so complicated by measuring things "per unit of time."  But with electronic radio transmissions, the measurement will always be one second.

A 2 Hz wave, or 2 cycles per second.

So, if I have a 1 Hertz (Hz) wave, that means the wave completely cycles in one second.  Now, this is easy to understand if you have had any experience with a computer, at all.  Let  me throw this chart out really quick, just so we have some context:

Based on this chart that means your WiFi router, your Xbox, and your PS4 controller generates 2.4 billion cycles per second.

Welcome to the 21st Century, where people can build that kind of stuff on such a scale that it sits in your living room, unappreciated.  That's how sensitive modern antennas are.  Equipment that my cable company gives me for free can sense 2.4 billion electronic vibrations a second coming from your living room, and transmit your pornography collection, all because of advancements in modern electronics.  Here is another picture to help demonstrate what a 10 Hz wave would look like.  Notice how much smaller the wavelength is when the frequency gets bumped up times five:



If you compare the 2 Hz and the 10 Hz image, you'll notice the wavelength for the 2 Hz is much longer, and the 10 Hz is much shorter.  You might have guessed it already:

  • The lower the frequency, the longer the wavelength (and thus, the antenna used to talk with those devices).
  • The higher the frequency, the shorter the wavelength (and thus, a smaller antenna is used to communicate on those frequencies).

Using sound as an example, tweeters are smaller than subwoofers for a reason.  Tweeters generate sounds in a higher frequency (Mariah Carey hitting those high notes) as opposed to subwoofers generating sounds in a lower frequency (a Dubstep artist hitting a nasty drop).  

Using antennas as examples, there is a reason why this sits in your phone and operates up to the GHz range:

Cellular Telephone Antenna: operates from 850 - 2100 MHz

And this operates in the kHz to MHz range, and takes up the space of a corn field:

Commercial AM Radio Tower: 0.535 - 1.605 MHz

Electromagnetic Spectrum - Imagine trying out for a rock band or symphony orchestra and when you show up to the audition, the manager doesn't know any names of any instruments and doesn't use adjectives to describe the pitch of the instruments.  As the manager introduces you to the band members, you meet a guy that plays the "plucky twanger" and a lady that says she has "over ten years of experience playing the flippy-doop dapple."  

"Welcome to our 'band'"

The importance of that thought experiment is, if you want to speak intelligently about electromagnetism you need to know what each frequency band (or instrument in that example) is capable of.  If you don't have the same common knowledge as all the other super-nerds out there, those FCC stickers on all your electronic devices don't have any useful meaning.  No one can build useful hardware to talk to WiFi, cellphones, or garage door opening equipment if you don't know what frequencies it uses to talk to external devices.

The Electromagnetic Spectrum is the range of frequencies of electromagnetic radiation as measured from 0 Hertz to infinity Hertz.  The electromagnetic spectrum is broken down into bands.  These bands include Gamma Rays, X-Rays, visible light, audible sound, and microwaves, in addition to describing radio frequencies.




The EM Spectrum organizes frequencies into frequency bands, or ranges of frequencies between two limiting frequencies, so they can be referred to in a logical fashion.  Just like musical instruments, each frequency band is useful for different functions and has its own unique properties determined by where it falls on the EM Spectrum.  The following is a graphic of the EM frequency band allocations in the United States in 2003:


Click here for higher resolution.

Frequencies can be considered a natural resource.  Based on technology, at any given time there are a limited number of frequencies that can be allocated.  The buying, selling, and leasing of frequencies in the United States is administered by the Federal Communications Commission (FCC).  The following chart is a more simplified example of some of the general frequency bands and their ITU (International Telecommunication Union) designations (i.e. VHF, UHF, etc.):




Depending on which country you're in or which textbook you reference, this chart is more-or-less the general gist of where the standard frequency bands fall.  For example, some companies and textbooks insist UHF begins at 225 MHz, which is fine, except they aren't the ITU.  Each frequency band (and even their sub-bands) have diverse properties and characteristics; some work better when utilized with a particular technology, while others are better suited to carry signals for other types of products and equipment.  A quick overview of some of their naturally occurring uses and technologies that utilize each band:


  • Very Low Frequency (VLF) - Frequency Band: 3 - 30 kHz - Wavelengths: 100 to 10 kilometers - Used for radio navigation and government radio timing signals.  A characteristic of this band is its ability to penetrate approximately 40 meters through saltwater, which is why it is also used for some types of submarine communications.  Because VLF has such a long wavelength it isn't often obstructed by mountains or other terrain, making it ideal for long range ground-based timing signals.  This frequency band can also be refracted by the ionosphere (more on the ionosphere in a moment). (R) (D)
  • Low Frequency (LF) - Frequency Band: 30 - 300 kHz - Wavelengths: 10 to 1 kilometer - Utilized for aircraft beacons, navigation, weather systems, consumer radio clocks, and AM radio broadcasts in some parts of the world.  Frequencies in this band can penetrate saltwater approximately 200 meters, making it ideal for military submarine communications.  This band can also be refracted by the ionosphere, as well as diffracted over and around obstacles like mountains. (R) (D)
  • Medium Frequency (MF) - Frequency Band: 300 kHz - 3 MHz - Wavelengths: 1000 to 100 meters - MF is utilized for AM radio broadcasting, navigational radio beacons, and ship-to-shore communications.  This band also experiences refraction and diffraction. (R) (D)
  • High Frequency (HF) - Frequency Band: 3 - 30 MHz - Wavelengths: 100 to 10 meters - HF is used for aviation communication, government time stations, weather stations, amateur (HAM) radio, and citizens band (CB) radio.  If you take a look at HF's wavelengths and pair its relatively manageable antenna lengths with the band's ability to (most of the time) reliably be refracted by the ionosphere and diffracted around obstacles, you can draw conclusions about why HF is used what it's used for.  HF antenna design and understanding the properties of the ionosphere is an art form in many amateur, civilian, and military radio circles.  The majority of my understanding of electronics and signals came from studying HF radio and it's associated technologies and disciplines.  A little later in the column, we will discuss how the ionosphere interacts with and refracts HF waves of various wavelengths. (R) (D)
  • Very High Frequency (VHF) - Frequency Band: 30 - 300 MHz - Wavelengths: 10 to 1 meter - VHF is mainly a terrestrial (Earth-bound), generally (but often farther than) line of sight (LOS) frequency band.  It is utilized for FM radio, television broadcasts (analog and digital), two way land mobile radio systems, air traffic control, and long range data communications up to several miles with the use of radio modems, HAM radio, and maritime communication.  The lower end of the VHF band may intermittently refract off the ionosphere, but only under favorable conditions, and not reliably enough to be used for long range communications the same way HF is.  It is, however, less prone to EM noise interference than High Frequency communications. (~R)
  • Ultra High Frequency (UHF) - Frequency Band: 300 MHz - 3 GHz - Wavelengths: 1 to 0.1 meters - The UHF band is used for TV broadcasting, cordless phones, wireless video game controllers, military satellite communications, and two-way radios.  Most importantly for this series of articles, cellular phones, WiFi Internet connections, Bluetooth connections, and Global Positioning System (GPS) all utilize the UHF band to receive and transmit information.  UHF waves are mainly line of sight (LOS) waves, are easily blocked easily by obstructions, but can have an narrow signal path when polarized correctly.
  • Super High Frequency (SHF) - Frequency Band: 3 - 300 GHz - Wavelengths: 0.1 meter to 1 centimeter - SHF wavelengths fall within the microwave band, so SHF waves are sometimes called microwaves.  Like their UHF cousins, because of the short wavelength of SHF waves they can be polarized into narrow beam-like signal paths.  SHF waves are used in cellular telephone networks, point-to-point data linkages, wireless Local Area Networks (LANs), and for satellite communications.  Some Directed Energy Weapons (DEWs) use the SHF band.  Microwave ovens and many military parabolic dish data terminals fall within this frequency band.  But contrary to the beliefs of some, equipment that is solely design for communications cannot amplify its signal to cause any harm to humans whatsoever if they are exposed for a short period of time (unless, ironically, if they happen to be wearing tinfoil hats).
  • Extremely High Frequency (EHF) - Frequency Band: 300 GHz - 3 THz - Wavelengths: 1 centimeter to 1 millimeter - EHF waves have some interesting properties.  They are commonly absorbed by the moisture in Earth's air, and scattered by air molecules themselves, and only have a range of one kilometer at best.  Because they are scattered and absorbed by moisture, they are perfect for weather radar stations.  They are also starting to become more commonly used in Personal Area Networks (PANs) because of their short range and therefore, frequency re-usability.
(R) denotes that the band is utilized in conjunction with ionospheric refraction.

(D) denotes that the band is commonly diffracted around obstacles.

There are several frequency bands above and below the bands I've listed.  ELF, SLF, and ULF are below Very Low Frequencies (VLF) and above Extremely High Frequencies (EHF) is the beginning of the infrared light spectrum.  I only listed the bands above as a starting point for someone who is interested to learn more.

Modulation - The process of changing a constant signal in order to carry information.  Modulation doesn't only have to do with electromagnetism; there are many other applications.  Demodulation is the process of "stripping intelligence" off of a modulated signal to produce useful information.  All modems are named after the processes of these two terms; modem is an abbreviation of modulator/demodulator.

The two most recognized forms of electromagnetic modulation are Amplitude Modulation (AM) and Frequency Modulation (FM).  

Carrier Wave - The radio wave produced by a transmitter when there is no modulating signal.  A carrier wave has a constant amplitude and frequency.  When you tune your car radio to 92.1 MHz, you are telling your radio to listen for the 92.1 MHz carrier wave.  Same thing with KSL 1160 (1.160 MHz) carrier.  The magic happens when the transmitting station encodes, or modulates, the carrier signal with music, or talk radio, or commercials.

Let me take a moment before we talk about some types of modulation to make a point.  As I mentioned earlier that wavelength and the UHF band are going to be important in the follow-on columns, modulation is equally important.  Hopefully, when you practice breaking passwords off your WiFi signal along with me, you'll be able to look up your WiFi router's technical specifications on Google.  If you are, let's say, working as a network penetration tester for a company under completely legal circumstances and you come across a signal you'd like to learn more about, you won't always have the luxury of being able to profile their hardware.  As we continue deeper into this electromagnetic mess, take note of these basic types of modulation, because there are more complicated industry standard ones out there.  I would hate for you to configure something really innovative, but feel like the military radio operator that didn't hear anything on the range all day because they set their equipment to listen on the wrong modulation.

Amplitude Modulation - The amplitude (or voltage level, field intensity, or power level) of a carrier wave is varied above and below its normal value, in accordance with the information being encoded onto the carrier wave.  The frequency of the carrier wave remains the same.  Because there many naturally occurring and man-made sources of EM noise that mimic the way AM is transmitted, AM is especially susceptible to atmospheric noise.  This is why AM radio typically sounds "fuzzy" on your car stereo.



Frequency Modulation - The frequency (the number of cycles per second) of a carrier wave is rapidly deviated to encode information.  Because there are very few sources of Frequency Modulation in nature, FM channels tend to be very "clean" sounding.  You can tell the acoustic (because of the signal type) differences between FM and AM if you switch back and forth between them on your car stereo.


There are probably very few FM .gif images available because it's not as fun to look at as AM.  Image courtesy of tutorvista.com.

The follow image shows a modulating signal (this could be voice, data, or really anything) on top (blue), followed by a carrier wave (red).  Next is an AM signal (green) encoded to carry information from the modulating signal.  Last is a FM signal (pinkish purple) encoded to carry information from the modulating signal.


Image courtesy of lossenderosstudio.com.


Fading occurs when a signal travels over long distances.  If you have ever taken a long road trip with the radio on, you have experienced this phenomenon on both AM and FM stations.  Because radio signals are attenuated (or weakened) over distance, you will hear a radio station fade as you travel and pick up another one when its signal becomes stronger than the more distant station.

You also experience fading when you catch a signal after it strikes or travels through obstacles.  Those of you fortunate enough to have large houses experience this in rooms that are distant from your WiFi router.

Polarization is another extremely important (and interesting) characteristic of electromagnetism.  Every time any radio wave is produced, it creates two types of charged fields: an electric field, and a magnetic field.  These two fields travel through the air (or space) at 90 degree angles to one another.  Their shapes and forms perfectly match one another and look exactly like radio waves (because they are).  These two fields propel (or propagate) one another through space, creating their forward motion.




This phenomenon is exactly the reason some "grinders" and bio-hackers choose to implant neodymium magnets into their fingertips.  Once the incision heals, the sensitive nerve endings in their fingertips are able to sense the magnetic portion of radio waves from a short distance.  This is useful for technician or electronic infrastructure jobs, where the bio-hacker can actually feel if a wire is live or if a magnetic hard drive is functioning (and no, it doesn't interfere with the data stored on the magnetic disk platters).  It also makes a neat bar trick and is useful for frightening helicopter parents.


Video courtesy of my left ring finger.

The angles of the electromagnetic parts of radio waves can be manipulated easily, sometimes even on accident.  All you have to do is move the antenna to change the propagation starting point of the EM waves and you have successfully modified their polarization.  Back when television was more commonly broadcast over radio signals, each TV set came with an antenna.  I have heard of fathers instructing their kids to "go mess with those damn rabbit ears on the TV so I can watch the game."  What he was actually telling you to do was "go modify the receptive polarization of that damn vee antenna so it matches the polarization of the transmitting television station's propagating electric field."  Yes, many of you were antenna engineers by the time you were five and you didn't know it.

Like your Dad said in the previous paragraph, a radio antenna's polarization is referred to by the direction of the electrically charged field in relation to the surface of the Earth.  Antennas that stick straight up in the air are considered vertically polarized.  Vertically polarized antennas tend to have an omni-directional propagation pattern, which means that signal is transmitted and received equally in all directions from the antenna.





Top photograph courtesy of zerofive-antennas.com

Antennas that run parallel to the ground are known as horizontally polarized antennas.  These generally have a bi-directional propagation pattern, meaning they transmit and receive radio signals equally in only two directions.



Dipole Antenna, credit: Loodog

Antennas that are arranged at 45 degree angles to the Earth's surface, or have both vertical and horizontal elements (or wires) have mixed polarization.  Mixed polarization is useful is you want to receive both horizontal and vertical signals at the same time, but it doesn't receive either type of polarization exceptionally well.

It is certainly possible for a vertical antenna to receive a signal from a horizontally polarized antenna, but then you run into what's called polarization mismatch.  To demonstrate the point, imagine that a train traveling down some straight tracks is a radio wave traveling through space.  You need to build a space to receive as much of the train (or radio wave) as possible, like a train tunnel.  There is a reason train tunnels are built tall and slender (vertically), and not short and wide (horizontally).  If you built a train tunnel short and wide, I'm sure some parts of the train would make it through to the other side, but it wouldn't be pretty.

The same thing happens with polarization mismatch; you want to orient your antenna to catch as much signal as possible by matching your antenna's polarization with the transmitter's antenna.




The last type of polarization we're going to discuss is circular or elliptical polarization.  All satellites I know of, as well as the satellite dishes that receive them are circularly polarized.  If you take a look at the red and blue electromagnetic diagram again, then imagine as the wave travels through space as it changes phase every four cycles.  The diagram above shows just a regular horizontally or vertically polarized wave, but one that shifts 90 degrees every time it completes one cycle, completes one "phase" every four cycles.  If that's too much to fathom (it is for me, because I have trouble thinking in 4 dimensions), the diagram below simplifies the concept a bit:


Credit: Dave3457


When the DirectTV guy "installs" your dish, all he does is affix it to a sturdy surface and adjusts the polarization to catch the signal coming from the satellite in space.  If you pay the "technician" any amount of money, know that you could have probably installed it by yourself on accident.  Also, cable television is a terrible waste of your time and money.




In the Next Section

We are going to discuss just a bit more about important influences on electromagnetic energy, use examples of HF waves interacting with the ionosphere to demonstrate some of the more interesting properties of radio waves, talk about ideal locations for antennas, and basic types of antennas.  Then we will get into encryption, the different languages machines use to talk to one another (including binary), how that information is transmitted and received, and how you can learn to listen in on some of it.

Monday, January 18, 2016

Bitcoin For Beginners - My Initial Experiences

Artwork courtesy of coindesk.com

The Cryptocurrency Stigma

I was honestly worried, the moment I downloaded my first Bitcoin wallet application on my phone.  I'd heard the stories in the media: Bitcoin is used by criminals, it proliferates outside the law, and he FBI hunts people that utilize it.  I expected a knock at my door as soon as the app was installed on my phone; men in dark suits were going to stuff me in the back of a van and I would never be heard from again.

There were no knocks on my door.  There was no elaborate plan to snatch this humble hacktivist.  Nothing.

What I did learn from the simple process of installing my Bitcoin wallet was an education in the usefulness and astonishingly simple user interface, yet stunning complexity of the world's most popular cryptocurrency.  All of the frightening things I'd heard equated to hot air from law enforcement, and an intriguing smear campaign that had run rampant in the media.

The most famous use of Bitcoin, and the story most Americans heard, was related to the fall of the Silk Road.  The Silk Road was an underground marketplace that took root in the Deep Web, the basement of the modern Internet.  It was designed as an experiment in Internet consumer freedom, flourished into the most sophisticated trade network of the Information Age, then was shattered into hundreds of independent shards with the conviction of Ross Ulbricht, also know as the Dread Pirate Roberts.

The trial and conviction of the Dread Pirate Roberts was equally as secretive and convoluted as the Silk Road itself.  The proceedings of Mr. Ulbricht's trial raise serious questions about due process in the United States, constitutional 4th Amendment rights that are supposed to protect citizens from illegal search and seizure, Bitcoin's value as a currency, and bring into sharp focus the extent the media will venture to discredit and slander citizens as long as it's in their best interest.(1)

Whenever I mention Bitcoin I've had reactions that range from curiosity, disdain, the currency being referred to as "Hacker Money," me being labeled as a drug dealer or human trafficker (lol), to the loss of close friends simply because of its mention.  What makes the perception of a currency so powerful?  All of the things mentioned can be just as easily purchased with government regulated currencies.  I have never been questioned, detained, or arrested for using Bitcoin exchanges or wallet applications.

The negative perception of Bitcoin was born from the obscene amount of American tax dollars spent to demonize new technology the aging leaders of the United States government haven't taken the time to attempt to understand.  That, and the fact that it is an untraceable, anonymous, non-taxed, more secure form of currency.(2)


Set Up Your Bitcoin Wallet In 10 Minutes

In preparation for writing this article, I downloaded every Bitcoin phone application and computer program I could find on the subject in late 2014.  The majority of them were well put together and functioned eloquently.  Many of them were also buggy, but I encourage the inquisitive reader to download different types of wallets for both your phone and your computer.  Caution though, many products that seem legitimate are sometimes laced with viruses, malware, and spyware (like many other types of freeware).  If you are not looking to become a cryptocurrency engineer, I would suggest using Mycelium Bitcoin Wallet for a phone, and Bitcoin Core(3) for a computer.  These were the easiest programs for me to use and had some of the favorable ratings.

To find the Mycelium application, use your phone to navigate to the Google Play store or Apple Store and search for the "Mycelium Bitcoin Wallet" application.  It's icon looks like this:



Mycelium Bitcoin Wallet permissions include:



- Mycelium uses your camera's video and phone functions to scan QR codes to transfer funds to and from yours and others' Bitcoin wallets.

- The network-based location service will not be enabled if your WiFi connection is turned off.  It is my recommendation that Wifi be turned off any time you are making financial transactions on your phone unless it is necessary to complete the transaction.  If you had your WiFi router configured by your cable guy out of convenience or necessity, leave your WiFi turned off while making any kind of financial transaction on your smart phone.

- Many common financial applications receive this blanket permission to utilize the "control Near Field Communication, full network access, receive data from Internet, and view network connections."  Similar to WiFi connections, keep Near Field Communication (NFC) as well as Bluetooth shut off during financial transactions unless they are the primary means of completing your transaction.  The last three components under the communications icon should be obvious: your phone will need to utilize these to be a phone instead of a doorstop anyway.

- Vibration is utilized for haptic feedback while using the application.  If you have unique power conservation settings on your phone that alter the strength of your signal when the device sleeps, the last permission prevents your phone from erroneously cancelling a transaction by disconnecting the application when the phone sleeps.

- If you are concerned with any of these permissions, please look them up and further educate yourself on their features as well as compare them to banking applications on your phone.  The more you know, the more educated your decisions will be about how you choose to manage your strong digital security posture.

After you have downloaded, scanned (usually automatically through your phone's factory default application), and installed the application, touch the Mycelium icon to open the app.  You will see the following splash screen:




The first time you install Mycelium, you will be asked a few basic questions about your currency and language preferences.  To write the article, I chose to use English and the United States Dollar (USD).  For easy reading and reference, I have used a bold font on menu navigation items and italicized portions of the text that are interesting, but not absolutely required for the most basic operations in Mycelium.

Your Bitcoin wallet's Balance screen will load, and should look similar to the next image.  At this point your Bitcoin Wallet is already fully functional (hopefully that took you less than 10 minutes), but I have highlighted (and occluded) some areas on the next picture so you can start learning about your new financial tool, as well as Bitcoin itself:




1 - Your CryptoAccount sequence, or Bitcoin address, is similar to a bank account number.  They are a unique identifier that is (currently) between 26 and 35 alphanumeric characters that begins with either a 1 or a 3.  You don't need to write this particular type of CryptoAccount number down though; the kind of account we're working in right now changes this number every time you complete a transaction, or when you ask it to.  Your account number is encoded into the Quick Response (QR) code located to the right of your CryptoAccount number.  QR codes are a type of machine-readable matrix barcodes that can be scanned to input information into a computer, eliminating the need to type your account number.(4) 

- The type of Bitcoin address currently displayed is known as an HD (hierarchnial deterministic) wallet account.  A deterministic CryptoAccount uses a textual reference point, known as a "seed" to mathematically forge a new CryptoAccount number during the processing of each transaction.  Even though the CryptoAccount number changes, the seed does not, which enables the continuity of your account and funds as you transact using your Bitcoin wallet.  Don't worry, when your Mycelium wallet was created, your seed was created automatically.  We will talk more about seeds (and how important they are) later in the article, as well as single address Bitcoin addresses.

2 - On top, block 2 shows how much Bitcoin (BTC) is currently in your wallet.  On bottom, Mycelium displays the conversion value of the BTC contained in my wallet, displayed in my currency of choice (USD).  The bottom number in block 2 is directly related to the values contained in block 3.

- If there was any emotional reaction to the balance in my account, I would like to use the opportunity to bring up a valid point: I have several Bitcoin wallets, "for reasons."  As long as you can keep your seeds straight, I would highly encourage you to keep your fattest cryptocurrency wallet on the most permanent device you own for reasons I'll explain in a moment.

3 - Block 3 shows the Bitcoin-to-currency of your choice's exchange rate based off of a Bitcoin market rating (in this case, Bitstamp).  Similar to a stock exchange, as the demand increases for Bitcoin, the price for one BTC will fluctuate upward.  When Bitcoin is perceived to be less useful and its demand is diminished, it value withers downward.  This supply and demand cycle is reflected by how much one BTC is seen as worth, collectively.(5)  There are also smart phone applications that will do Bitcoin currency conversions.(6)


How To Make Bitcoin Wallet Deposits

This portion of the article will give us a break from the Mycelium Bitcoin Wallet application for a moment while we discuss how to get currency into your CryptoAccount.  The recommended way to get money into your Bitcoin wallet is to deposit cash into a Bitcoin ATM.


Bitcoin ATM (CoinOutlet) located at the Overstock.com headquarters building at
6350 South 3000 East in Salt Lake City, Utah.

Most Bitcoin ATM's I have used require deposits in increments of $20.00.  You do not need to buy a whole Bitcoin at a time.  To add funds to your Bitcoin wallet, there is usually a fee of 0.0001BTC (the recent equivalent of $0.25 to $0.30USD).  Follow the instructions on the ATM, scan your CryptoAccount's QR code when prompted, deposit bills one at a time, and collect your transaction receipt.  Moments your session with the Bitcoin ATM is complete, you will see a confirmation of funds entering your account underneath your account balance in your Bitcoin wallet.  You have just transferred hard currency into a Bitcoin system called the Blockchain (more information on the Blockchain and its associated jargon can be found about half way through one of my previous articles).

There are websites and applications available that will offer to transfer money from your credit card or bank account into your Bitcoin wallet.  To this date, I haven't found a Bitcoin application that interacts with other electronic transaction methods that I trust.

- In fact, depositing money into a Bitcoin wallet this way negates some of Bitcoin's interesting features: its untraceable anonymity and that it can be used without a bank account.  These features are preferred and can augment the overall security of your financial portfolio if used correctly.

- Many privacy-minded Bitcoin users prefer not to have Bitcoin attached to any sort of identifiable information; Bitcoin's design was constructed around this feature of anonymity.  Using a bank account or credit card to transfer money into your Bitcoin wallet undermines this feature because any transaction made with your wallet could potentially be traced back to you.  Con artists that prey on the naivety of inexperienced cryptocurrency adopters sometimes set up fake online exchanges they use to collect credit card and Personally Identifiable Information to steal identities.  Conversely, if you own Bitcoin and find a merchant that will convert it into currency and deposit it into your bank or credit card account, the same types of PII are required.  It's my advice to just stay away from Bitcoin vendors that ask for any information that could be used to electronically identify you.

Useful lists of Bitcoin ATM locations can be found at the end of this article under footnote(7).  Also, a list of businesses that accept Bitcoin is listed under footnote(8)

To withdraw currency from a Bitcoin ATM, follow the instructions provided on selling Bitcoin on the ATM, scan your CryptoAccount's QR code, and collect your transaction receipt.  Use the Bitcoin ATM's scanner to scan the QR code on your transaction receipt and the ATM will dispense the funds you requested.  Some Bitcoin ATM companies give a customer 30 minutes from the time the receipt was printed to withdraw money from the ATM is was printed by.  Bitcoin withdrawal transactions also cost 0.0001 BTC.

I thought the fees were somewhat unfair when I was new to Bitcoin, before I understood that 0.0001 BTC is the equivalent of about $0.30 cents.  After I did the math (then got smart and downloaded a Bitcoin currency converter app), I realized that utilizing Bitcoin for some common transactions saves me about $2.00 per interaction.


Important Bitcoin Wallet Functions

Before you continue playing around with your Mycelium wallet, probably the most important piece of advice I can give you is to backup your seed pass phrase.  Seeds were mentioned toward the beginning of the article, and their importance cannot be stressed enough.  If you plan on keeping any significant amount of currency in your wallet, complete the following steps:

Get a pen and paper ready, then press the menu button on your phone to bring up the Mycelium menu:


Select Backup from the menu, and you will be prompted with the following screen:



Select Yes, and be prepared to write or type your 25 word seed phrase.  Once you have recorded your seed phrase, you will be asked to re-enter it into the Mycelium application before you can continue.

The importance of your wallet seed cannot be stressed enough.  Do not give it to anyone, do not lose it, especially if you are planning on storing any significant amount of Bitcoin in the wallet.  If your phone breaks, or your house burns down, or the laptop you save the phrase on bites the dust and you cannot recall your seed phrase, those Bitcoins are lost to the abyss of the Internet forever.

To hide your seed, I would suggest opening a safe deposit box account and storing it away.  Or you can use the QR code software I mentioned earlier in the article, and carefully encode your seed phrase into a QR code, print it, and store it away in your locked filing cabinet or fireproof container you keep in your home.  You can even have the phrase engraved on the inside of a metal watch band.  However you decide to keep your phrase secret and secure, remember that it's the only way to retrieve your wallet if your device kicks the bucket.


A Few More Important Features

To create a permanent (non-HD) account to use in conjunction with a business or to accept charitable donations, click on the Accounts tab within your wallet, then click on the Add New Account icon in the top right corner of the screen:



The next screen will ask you what kind of account you would like to make.  You are already set up with a standard HD account, so you want to select Advanced to generate a new, non-HD, single account:



You will be taken to the following screen, where you should select Generate new random key near the bottom:



A new random private key will be generated for you and displayed on the following screen.  You can Shuffle the key, if for some reason that particular one doesn't fancy you.  Click on Use when you are ready to proceed:



You will be asked to name your new, single Bitcoin account.  I randomly named mine "Permanent Account" but you can choose whatever name you'd like:



After clicking OK, you will be taken back to your accounts tab and you will see your new account listed:



You will notice at the bottom of the new account the words "Backup missing" across the bottom of the new account.  Click on the new account to highlight it, then select Create Backup in the top right hand corner of your screen:



This will take you on a wild ride that is difficult to explain, because phones will not allow you to take screenshots of the procedure.  Carefully follow the instructions, write down your password, and send yourself the encrypted PDF file.

Remember, this process is different from your master seed backup.  Your master seed encompasses all your Mycelium wallet accounts; this process of creating and backing up a single account is for that account only.


Enjoy Your Bitcoin Wallet

Every other function within the wallet can be played around with, while you study its specific function.  Be sure to take a look at the links below to find a Bitcoin exchange near you, watch the value of Bitcoin over time (remember to always invest while it's value is low to reap the monetary benefits when it goes up), and learn more about wallets and exchanges.  Bitcoin mining, which I will probably do an article on in the future, is also an extremely interesting process that explains where your 0.0001 Bitcoins go when you complete a transaction.

I love economics and the human system of assigning "value" to something.  Studying Bitcoin and other cryptocurrencies has given me new ways to exchange goods and services, study encryption algorithms, follow a "stock market" outside of government control, and make a bit of money on the side.  It is especially interesting to watch the value of Bitcoin go up or down based on current global events, most recently the Greek and Eurozone crisis.

Now, that wasn't so bad.  Federal agents still haven't Rainbow Sixed their way through my living room window while I was writing this, or while I was buying a new coffee table with Bitcoin.  Enjoy your new wallet, encourage your friends to download Mycelium and try it out.  The most interesting functions of Mycelium happen after you begin transferring currency back and forth, and will introduce you to the amazing complexity of the Bitcoin Blockchain.

Please reference the links listed below for more information.  I wish you the best of luck in your endeavors.

SilentVector33


References & Additional Information:

(1) Inside the Dark Web - Documentary (2014) - (please watch impartially) https://youtu.be/qXajND7BQzk

(2) Bitcoin, Wikipedia - https://en.wikipedia.org/wiki/Bitcoin

(3) Bitcoin Core - https://bitcoin.org/en/download

(4) To learn more about QR codes and generate your own, visit www.the-qrcode-generator.com/

(5) To observe some Bitcoin market ratings in action, visit bitcoincharts.com/markets/.  My favorite simplified website I use as a Bitcoin ticker can be found at btcvert.com.

(6) The Bitcoin currency converter I like the most is the Bitcoin Converter by AM SOFT (@amsoft_apps).



(7) To find a Bitcoin ATM near you, utilize the following lists of locations (not nearly all-inclusive):
  • http://coinoutletatm.com/ - This company is my preferred way of exchanging US Dollars for Bitcoin because they have an outlet that can be accessed 24 hours a day, 7 days a week at Overstock's headquarters in Salt Lake City.  I have spoken with their company representatives on the phone and through email, and I can tell you first hand that they are the most kind, helpful customer service branch of any company I have ever dealt with.
  • https://localbitcoins.com/ - If you sift though the data, this website will list local Bitcoin currency exchanges and machines.  Beware though, it also lists many "businesses" that will accept MoneyGram and Western Union funds transfers in exchange for Bitcoin; many of these may be scam contacts who are out to get your money.  It also lists people (much like Mycelium does) that you can physically contact to exchange currency.  I only do this with people I actually know, but if you're feeling especially adventurous feel free to indulge.
  • http://www.coindesk.com/bitcoin-atm-map/ - CoinDesk.com is one of my favorite and most professional sites I have found for Bitcoin information and exchanges in my area.  You can also follow them on Twitter @coindesk for updates on the latest Bitcoin news.



(8) A (non-inclusive) list of businesses that accept Bitcoin:

If Bitcoin was only used to buy illegal merchandise, I doubt these companies would allow me to buy my next book or television from them with Bitcoin.