Dynamic system service hooking