Entropy analysis

I wanted a tool that does entropy analysis using Shannon entropy, so I wrote one. Shannon is a measure of uncertanity. It is denoted in math as the greek letter Eta, it has an expected value of E[I(X)] where I(X) aka information content is -ln(P(X…

Solving overthewire 0-11

This is going to be a long post or series of posts. I will be solving and documenting each solution of Vortex game at OvertheWire for fun \[^.^]/ Level0 Your goal is to connect to port 5842 on vortex.labs.overthewire.org and read in 4 unsigned integers in host byte…

RISC

I have been working on a RISC-like vm emulator and compiler/assembler for sometime for fun and to waste time which currently is capable of emulating a set of the usual opcodes (mov., add., sub., xor., push., pop., ..etc). The machine is a 32-bit machine, have a stack, supports external…

Ceedling and test-driven C

If you have been coding in C. You'll know that test-driven development in this language is a hassle to deal with and setup. I knew this when I started doing some testing for the RISC emulator project I'm working on. I then discovered Ceedling which is a build system written…

AVR projects

After getting tired of software-related stuff. I have decided to get my hands dirty with hardwares (again). So I have decided to start some various projects based only on the famous ATmega328 microcontrollers. The first project will be prototyped on Arduino Uno R3 for testing and designing purposes (because soldering…

easyHW

I have recieved a challenge from simo36 called easyHW it's a reverse engineering one, so let us dive into the assembly. The challenge contains two files easyHW which is a 32bit elf, and opcode.bin which contains some opcodes. Download files from here. Let us dive into what easyHW does…