Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.3 KiB

  1. Windows Registry Editor Version 5.00
  2. //
  3. // The Private interface IAlgControler consume by ipnathlp
  4. // implemented in ALG.EXE
  5. //
  6. [HKEY_CLASSES_ROOT\CLSID\{D6015EC3-FA16-4813-9CA1-DA204574F5DA}]
  7. @="AlgControler Class"
  8. "AppID"="{4A0F9AA8-A71E-4CC3-891B-76CAC67E67C0}"
  9. [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{B71BFBF1-2AF2-4820-810C-4F8EFF838E60}]
  10. @="IAlgControler"
  11. [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{B71BFBF1-2AF2-4820-810C-4F8EFF838E60}\NumMethods]
  12. @="9"
  13. [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{B71BFBF1-2AF2-4820-810C-4F8EFF838E60}\ProxyStubClsid32]
  14. @="{FDD384CC-78C6-4E6D-8694-1DACBEE57F96}"
  15. //
  16. // Regsiter ALG.exe
  17. //
  18. [HKEY_CLASSES_ROOT\CLSID\{D6015EC3-FA16-4813-9CA1-DA204574F5DA}\LocalServer32]
  19. // @="ALG.exe"
  20. // @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,00,5c,00,41,00,4c,00,47,00,2e,00,65,00,78,00,65,00,00,00
  21. //
  22. // Set it up as a services
  23. //
  24. [HKEY_CLASSES_ROOT\AppID\{4A0F9AA8-A71E-4CC3-891B-76CAC67E67C0}]
  25. "LocalService"="ALG"
  26. //
  27. // First create the service on the command line -> sc create ALG binpath= %systemroot%\system32\ALG.exe
  28. //
  29. // The folowing registry tweak are to lower the credential to "LocalService"
  30. //
  31. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ALG]
  32. "Type"=dword:00000010
  33. "Start"=dword:00000003
  34. "ErrorControl"=dword:00000001
  35. "ImagePath"="ALG.exe"
  36. "ObjectName"="NT AUTHORITY\\LocalService"
  37. "Description"="Application Level Gateway"
  38. "DisplayName"="ALG Manager"
  39. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ALG\Security]
  40. "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\
  41. 00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
  42. 00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\
  43. 05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  44. 20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\
  45. 00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\
  46. 00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
  47. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ALG\Enum]
  48. "0"="Root\\LEGACY_ALG\\0000"
  49. "Count"=dword:00000001
  50. "NextInstance"=dword:00000001