Reader small image

You're reading from  Kali Linux CTF Blueprints

Product typeBook
Published inJul 2014
PublisherPackt
ISBN-139781783985982
Edition1st Edition
Right arrow
Author (1)
Cameron Buchanan
Cameron Buchanan
author image
Cameron Buchanan

Cameron Buchanan is a penetration tester by trade and a writer in his spare time. He has performed penetration tests around the world for a variety of clients across many industries. Previously, Cameron was a member of the RAF. In his spare time, he enjoys doing stupid things, such as trying to make things fly, getting electrocuted, and dunking himself in freezing cold water. He is married and lives in London.
Read more about Cameron Buchanan

Right arrow

Scenario 1 – encode-ageddon


Simply put, encoding is a process where if an individual is aware of the process used, it is possible for them to reverse the encoding. An example would be if I gave you a message and said it was Base64-encoded; you would be able to simply turn it back into clear-text. Encryption, on the other hand, is where if I told you that it was AES-CBC-SHA-1(256) encrypted, you wouldn't be able to reverse it without a great deal of other information (dependent on the method). Even methods such as RC4, which are broken, are non-reversible without knowledge of the key or clear-text. We will cover these methods later.

Generic encoding types

We're going to use encoding as a layer of obfuscation rather than a secure method, as the aim of this book is to make insecure systems, not super secure systems. Base64 encoding is relatively straightforward to perform with the following command:

echo <text to encode> | base64 -e

This works by default in Kali and will Base64 encode whatever...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Kali Linux CTF Blueprints
Published in: Jul 2014Publisher: PacktISBN-13: 9781783985982

Author (1)

author image
Cameron Buchanan

Cameron Buchanan is a penetration tester by trade and a writer in his spare time. He has performed penetration tests around the world for a variety of clients across many industries. Previously, Cameron was a member of the RAF. In his spare time, he enjoys doing stupid things, such as trying to make things fly, getting electrocuted, and dunking himself in freezing cold water. He is married and lives in London.
Read more about Cameron Buchanan