Break, Exploit, Protect..

Nuno Morgadinho

What do you mean?

Hacking vs Security

Segurança Física

Quote

Trinity of Trouble

Trinity of Trouble II

Break

Break II (Some Tools..)

Exploit I

Linux backdoor attempt

Exploit II (With Frameworks!)

Em Portugal..

Protect

Resources

The Future

Vulnerable Program

main(int argc , char argv[])
{
  char rest[100];
  char first;
  char *e;
  e = getenv("NAME");
  if(!e) exit(1);
  if(strlen(e)>sizeof(rest)) exit(1);
  first = e[0];
     strcpy(rest, &e[1]); --> buffer overflow vuln
  printf("First char =%c\n",first);
  printf("the rest =%s\n",rest);
}

What's happening

Buffer Overflows

OpenBSD mmap

Homework