Tag: tutorial

  • How to Do Buffer Overflow Attack on 64bit Machine

    How to Do Buffer Overflow Attack on 64bit Machine

    Professor’s course material was out of date. He made an example of a buffer overflow attack several years ago. Then here I am, asked to fix the code to work on a modern machine, 64bit Kali Linux. There should be no difference with other Linux; you can practice this on any 64bit Linux machine. Prerequisite […]

  • This is The Most Expensive Thing That I Have Repaired

    This is The Most Expensive Thing That I Have Repaired

    That day, Professor told me to start learning about power side-channel attacks. Our lab has some ChipWhisperer lite kits, and I took one. I took the course and learned how to do CPA and DPA with invasive methods, which we need to connect physically to the victim chip to measure the power trace. I did […]

  • Problem When Building Old OpenSSL Version on The New System

    Problem When Building Old OpenSSL Version on The New System

    The old OpenSSL seems to have a problem when built using a newer system. I got this problem when compiling OpenSSL 1.1.0f on my Ubuntu 22.04. For example in my case here the problem is in line 17 on Configure file and the line were like this: Some people tried changing the lines with qw/glob/ […]

  • How to Access SOM9331 Serial Console in Linux

    How to Access SOM9331 Serial Console in Linux

    I got this old hackable mini router board. It comes with OpenWRT but I can’t seem to connect this via USB Serial. It turns out that the driver is not installed. Installation is quick but there is a minor change needed in order to build the driver on a recent kernel. So will write here […]

  • Now I Understand: What is Oblivious RAM?

    Now I Understand: What is Oblivious RAM?

    ORAM is the acronym of an Oblivious Random-Access Machine. The main idea is to hide the access patterns from attackers. For example, when a client tries to access data stored in the server, the server cannot gain any information about the user access pattern. Imagine data storage, where each data is inside a block, and […]

  • How to Run Linux on RISCV in Arty A7-100T FPGA

    How to Run Linux on RISCV in Arty A7-100T FPGA

    It’s been tempting for me to try running open-source software on top of open-source hardware. SiFive provides a bitstream for Arty A7 called Freedom, but it seems that the repository is dead now. The other interesting alternative to try is VexRiscv, and everyone keeps posting about Arty A7 35T while I only have the 100T […]

  • How to Cut and Download Youtube Videos using Command Line

    How to Cut and Download Youtube Videos using Command Line

    In some of my free time, I am actively using Instagram, not to show off or seeing people’s life that I don’t even care about. For me, this social media is perfect for everyday reminders for positive feeds. Usually, people choose a youtube video at the best moment, then re-post it on Instagram as a […]

  • Git Pristine: How to Pristine Clean Your Dirty Git Repository

    Git Pristine: How to Pristine Clean Your Dirty Git Repository

    I found this command useful and I love this alias! git pristine, a command that will wipe any dirt on your local git copy, any untracked files, and the cache will be removed to make it pristine clean as the remote origin.