看到很多delphi木马结束杀毒软件的服务,之后再结束杀软的进程...如何做到的啊?

解决方案 »

  1.   

    Stopping a ServiceA service can be stopped with the ControlService function by sending a SERVICE_CONTROL_STOP request. If the SCM receives a SERVICE_CONTROL_STOP request for a service, it instructs the service to stop by forwarding the request to the service's ServiceMain function. However, if the SCM determines that other running services are dependent on the specified service, it will not forward the stop request. Instead, it returns ERROR_DEPENDENT_SERVICES_RUNNING. Therefore, to programmatically stop such a service, you must first enumerate and stop its dependent services.
      

  2.   

    那我就一个一个得从上往下停...可是我想知道的是如何实现它...大侠写个procedure吧或者告诉我关键的步骤.....我学delphi才5天...
      

  3.   

    http://support.microsoft.com/kb/245230/zh-cn