Tag Archives: shellcode

Shellcode: Data Compression

Introduction This post examines data compression algorithms suitable for position-independent codes and assumes you’re already familiar with the concept and purpose of data compression. For those of you curious to know more about the science, or information theory, read Data … Continue reading

Posted in assembly, compression, linux, malware, programming, security, shellcode, windows | Tagged , , , , | 1 Comment

Shellcode: In-Memory Execution of JavaScript, VBScript, JScript and XSL

Introduction UPDATE: After being available for twenty years, Dr.Dobb’s removed access to two articles linked from here. I’ve no idea why. A DynaCall() Function for Win32 was published in the August 1998 edition of Dr.Dobbs Journal. The author, Ton Plooy, … Continue reading

Posted in assembly, programming, security, shellcode, windows | Tagged , , , , , , , | Leave a comment

Shellcode: Using the Exception Directory to find GetProcAddress

Introduction Let’s say you want the location of the GetProcAddress API in memory, but you can’t use the Import Address Table (IAT) or the Export Address Table (EAT). What other ways can you do it?. Perhaps there are many ways, … Continue reading

Posted in assembly, programming, security, shellcode, windows | Tagged , , , , , | 3 Comments

Shellcode: A reverse shell for Linux in C with support for TLS/SSL

Shellcode: A reverse shell in C for Linux with support for TLS/SSL Introduction History Definitions Position-independent code (PIC) Position-independent executable (PIE) Thread Local Storage or Transport Layer Security (TLS) Address Space Layout Randomization (ASLR) Executable and Link Format (ELF) Base … Continue reading

Posted in assembly, linux, shellcode | Tagged , , , , | Leave a comment

A Guide to ARM64 / AArch64 Assembly on Linux with Shellcodes and Cryptography

Introduction The Cortex-A76 codenamed “Enyo” will be the first of three CPU cores from ARM designed to target the laptop market between 2018-2020. ARM already has a monopoly on handheld devices, and are now projected to take a share of … Continue reading

Posted in arm, assembly, cryptography, linux, raspberry, shellcode | Tagged , , , , , , , , , , , | 2 Comments

Shellcode: Encrypting traffic

Introduction This will be a quick post on using encryption in a Position Independent Code (PIC) that communicates over TCP. I’ll be using the synchronous shells for Linux as examples, so just to recap, read the following posts for more … Continue reading

Posted in arm, assembly, cryptography, linux, programming, security, shellcode | Tagged , , , | 1 Comment

Shellcode: Synchronous shell for Linux in ARM32 assembly

Introduction Here’s the synchronous shell for Linux/ARM32 that I promised in a previous post. It was tested on a Raspberry Pi 3 with ncat. The two versions I posted before here and here function exactly the same as this. Unfortunately … Continue reading

Posted in arm, assembly, linux, programming, raspberry, shellcode | Tagged , , , , | 1 Comment