PhreakNIC v3.0 Code Tutorial
Previous
Tutorial Index

Lesson 4 - UUdecoding



Subj:  [SE2600-P] PhreakNIC Code Lab - Lesson 4 - UUdecoding
Date: 8/22/00 9:34:45 PM Central Daylight Time
From: Elonka@aol.com
Reply-to: projects@se2600.org
To: projects@se2600.org

This is an ongoing series to dissect the PhreakNIC v3.0 code, which can be
seen at http://www.phreaknic.org/phreaknic.txt.
---------------------------

How y'all doing on this tour so far?  Having a good time?  We're past the
halfway point on our journey into the mind of JonnyX.  Trust me though, it
gets worse!

And on that cheery note, let's continue on . . .

First, we're going to take another look at the poem:

The earnes[t][se]crets sho(n)e.
(O)ne hears sat[i]re.
Ahem - r(e)ally rag Satan.
(A)(T)M of Hel(l).
Evil nos[e]energy.
O, the (C)IA net lunacy.
Obey luser ca[m].
P[h]one far-fe[t]ched[r]oot text[.]
A data-[l]in[k] g[r](u)mbles on the cloud(.)
 

How about a closer look at those letters in the () and []:

In [], we've got: t se i e m h t r . l k r
In (), we've got: n O e A T l C u .
 

Hmm.  So are they an anagram?  A cryptogram?  A vigenere cipher?  Let's push
the letters around in some different ways:

Concatenate them?
     t se i e m h t r . l k r n O e A T l C u .

The other way?
     n O e A T l C u . t se i e m h t r . l k r

Not seeing anything yet, but it is odd that there are not one but *two*
periods.  Do they mean anything?

Strip out the caps, alphabetize the whole thing, and see what we get?

    aceeehikllmnorrstttu..

Frequency distribution?

    Eeetttllrr..achikmnosu
 

Hmm, also, remember how "ATM of Hell" could anagram to "All of them"?
Well, "Evil nose energy" could anagram to "Every single one."

Think it's a coincidence?

Keep on pondering . . .
 

And oh yes, we need to go over the homework from a couple sessions ago.

The line:

--bkkbbkbkbkkbkkkbbkkbbkbbbbkbbbbbbkkbkbbbbkkbbkbkbkkkbbkbbkkbbkbk--
 

When rotated via ROT-13, comes out as:

--oxxooxoxoxxoxxxooxxooxooooxooooooxxoxooooxxooxoxoxxxooxooxxooxox--
 

Still not making any sense?  Try breaking it up like this:

oxxo oxox oxxo xxxo oxxo oxoo ooxo oooo oxxo xooo oxxo oxox oxxx ooxo oxxo oxox

If that's not enough for you, then change all the o's to 0's, and the x's to 1's:

0110 0101 0110 1110 0110 0100 0010 0000 0110 1000 0110 0101 0111 0010 0110 0101

Remember I said it would be a good idea to memorize those first 15 binary
numbers?  What does the above say in hex?

0110 0101 0110 1110 0110 0100 0010 0000

 6    5    6    E    6    4    2    0
 

0110 1000 0110 0101 0111 0010 0110 0101

6    8    6    5    7    2    6    5
 

Break those into 2-digit segments:

   65 6E 64 20 68 65 72 65

And then into ASCII:

   e  n  d     h  e  r  e
 
 
 

Okay, well at least *that* part is solved.  If you want to do some more hex
translation though, go check out the PhreakNIC webpage and the T-shirt
designs.  Or type a couple hex numbers and the word "hacker" into a search
engine.  There's hex stuff all over the hacker landscape.   :)
 
 

Now though, we need to turn our attention to the other side of the tour bus,
as I see that we're coming up on the "un-uu-me.txt" section

Once we rotated this section, and separated out a few of the more obvious
line endings, we got:

begin 644 un-uu-me.txt
[-------------------------------------]
M4&(@(&4@:"YM>7@@37AX>'@@:"XO+RX@("`@("`@<BYF)B`@=&=A<'@@;WAXM>'@@=&YC9VD-"F4@
;V=A('1O='1X(')X>'AX('1O<F5N("`@("`@('1.;&D@M('!V:2YX(&5X>'AX('!D>6YF#0IT;VQV=
"`Z+V]H>"`@>'AX>"`Z87!E;R`@M("`@("!Y=V]E<B`O8VYT>"!I>'AX>"`O:W1R+PT*("!W('D@+V
DO;7@@;GAXM>'@@+RYO84L@("`@("`@9VAI=#H@=V%T;'@@9GAX>'@@=V4O;'(-"F]I;FAXM('<O;W
AX(&]X>'AX('=D8RYY("`@("`@(&]T9VEX('=I=7AX("!X>'AX('=UM<F-P#0ID("!S>"`N;G)X>"!
A>'AX>"`N+WER="`@("`@("`@=%4@>"!C9B]XM>"!T>'AX>"!U;W!Y;PT*:FA2;W@@:6]K>'@@.GAX
>'@@;G)T<',@("`@("`@7;V5,;G@@87)R>'@@>'AX>'@@9&=O="\`
[--------------------------]
`
[----------------------------------------------------------]
end
[--------------------------------------------------------]
 

The UUdecoder still isn't parsing it though.  So, if you did your homework
and encrypted something else to see the way that a UUencoded message *should*
look, you may have noticed a pattern.

For those that *didn't* do their homework, here's what I got when I took a
short text file (the poem), and UUencoded it:
 

table
`!"#$%&'()*+,-./0123456789:;<=>?
@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_
begin 600 POEM.TXT
M5&AE(&5A<FYE<UMT75MS95UC<F5T<R!S:&\H;BEE+@T**$\I;F4@:&5A<G,@
M<V%T6VE=<F4N#0I!:&5M("T@<BAE*6%L;'D@<F%G(%-A=&%N+@T**$$I*%0I
M32!O9B!(96PH;"DN#0I%=FEL(&YO<UME765N97)G>2X-"D\L('1H92`H0RE)
M02!N970@;'5N86-Y+@T*3V)E>2!L=7-E<B!C85MM72X-"E!;:%UO;F4@9F%R
M+69E6W1=8VAE9%MR76]O="!T97AT6RY=(`T*02!D871A+5ML76EN6VM=(&=;
<<ETH=2EM8FQE<R!O;B!T:&4@8VQO=60H+BD-"B!D
`
end
size 253
 

So, let's format the stuff from the PhreakNIC Code according to those rules...
(1) All of the initial lines start with an "M" character
(2) All of the initial lines are the same length.

That helps us to figure out some better line endings:

begin 644 un-uu-me.txt
M4&(@(&4@:"YM>7@@37AX>'@@:"XO+RX@("`@("`@<BYF)B`@=&=A<'@@;WAX
M>'@@=&YC9VD-"F4@;V=A('1O='1X(')X>'AX('1O<F5N("`@("`@('1.;&D@
M('!V:2YX(&5X>'AX('!D>6YF#0IT;VQV="`Z+V]H>"`@>'AX>"`Z87!E;R`@
M("`@("!Y=V]E<B`O8VYT>"!I>'AX>"`O:W1R+PT*("!W('D@+VDO;7@@;GAX
M>'@@+RYO84L@("`@("`@9VAI=#H@=V%T;'@@9GAX>'@@=V4O;'(-"F]I;FAX
M('<O;WAX(&]X>'AX('=D8RYY("`@("`@(&]T9VEX('=I=7AX("!X>'AX('=U
M<F-P#0ID("!S>"`N;G)X>"!A>'AX>"`N+WER="`@("`@("`@=%4@>"!C9B]X
M>"!T>'AX>"!U;W!Y;PT*:FA2;W@@:6]K>'@@.GAX>'@@;G)T<',@("`@("`@
7;V5,;G@@87)R>'@@>'AX>'@@9&=O="\`
`
end
 

We still don't have that initial "table" stuff, and we don't have a size, but
even without that, the UUdecoder (with a few complaints) still munches on it,
and spits out a file named un-uu-me.txt.

Or, if you don't have a UUdecoder, you can also decode this section by saving
the above stuff to a text file, but naming it with a .UUE extension instead
of .TXT, and then your version of UNZIP may be smart enough to decode it.

Okay, here's what's inside after we UUdecoded it:
 

Pb  e h.myx Mxxxx h.//.       r.f&  tgapx oxxxx tncgi
e oga tottx rxxxx toren       tNli  pvi.x exxxx pdynf
tolvt :/ohx  xxxx :apeo       ywoer /cntx ixxxx /ktr/
  w y /i/mx nxxxx /.oaK       ghit: watlx fxxxx we/lr
oinhx w/oxx oxxxx wdc.y       otgix wiuxx  xxxx wurcp
d  sx .nrxx axxxx ./yrt        tU x cf/xx txxxx uopyo
jhRox iokxx :xxxx nrtps       oeLnx arrxx xxxxx dgot/
 

Doesn't look a whole lot better, does it?
 

Homework:
-   Keep working on the poem
-   Take a long look at the above columns.  There's another message in there.
Hint: Maybe a URL?
 
 

Next installment: Okay, we've un-uu-ed it, now what?
 

Elonka  :)
http://members.aol.com/elonka
AIM: Elonka
 
 
 

A =POPE= is someone who is not under the authority of the authorities.
   - The Principia Discordia
 


Previous
Tutorial Index