Autor Tema: Make Application Unkillable  (Leído 2631 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Cudder

  • Bytes
  • *
  • Mensajes: 26
  • Reputación: +0/-1
    • Ver Perfil
Make Application Unkillable
« en: Julio 06, 2012, 08:25:19 am »
Hello guys, I wondered if anyone knew how to make an unkillable process in VB6? Thanks a lot!

LeandroA

  • Administrador
  • Petabyte
  • *****
  • Mensajes: 1128
  • Reputación: +151/-8
    • Ver Perfil
Re:Make Application Unkillable
« Respuesta #1 en: Julio 06, 2012, 10:47:19 pm »
Cobein is the right person for your question, had cast a module or dll for it.  I have not got the original code

Cudder

  • Bytes
  • *
  • Mensajes: 26
  • Reputación: +0/-1
    • Ver Perfil
Re:Make Application Unkillable
« Respuesta #2 en: Julio 07, 2012, 10:15:02 am »
Cobein is the right person for your question, had cast a module or dll for it.  I have not got the original code

Ive seen on HH something similar but I cannot find it back. Sir cobein, I need you man!! Can you post the code please cob?

My idea is to make my main process unkillable, that main process will do persistence (once second process gets closed, main process will re-inject) but if main process is closed it will no longer do the persistence so I think making it unkillable would be the best solution.

Thanks
« última modificación: Julio 07, 2012, 10:16:40 am por Cudder »

cobein

  • Moderador Global
  • Gigabyte
  • *****
  • Mensajes: 348
  • Reputación: +63/-0
  • Más Argentino que el morcipan
    • Ver Perfil
Re:Make Application Unkillable
« Respuesta #3 en: Julio 07, 2012, 12:10:27 pm »
Ill look for that code, not sure if I have it with me anymore, anyways the source your talking about uses a global hook to accomplish that but there are many ways to do it, you can set the process as critical too, its quite easy.

http://www.codeproject.com/Articles/43405/Protecting-Your-Process-with-RtlSetProcessIsCriti

Cudder

  • Bytes
  • *
  • Mensajes: 26
  • Reputación: +0/-1
    • Ver Perfil
Re:Make Application Unkillable
« Respuesta #4 en: Julio 09, 2012, 10:04:28 am »
Ill look for that code, not sure if I have it with me anymore, anyways the source your talking about uses a global hook to accomplish that but there are many ways to do it, you can set the process as critical too, its quite easy.

http://www.codeproject.com/Articles/43405/Protecting-Your-Process-with-RtlSetProcessIsCriti

Yeah I already have this but I was more looking for a real persistence, I didn't see much in VB.