2024-09-04 13:31:41 +00:00
# Checklist - Elevação de Privilégios Local no Windows
2022-04-28 16:01:33 +00:00
2024-07-19 16:04:21 +00:00
{% hint style="success" %}
Aprenda e pratique Hacking AWS:< img src = "/.gitbook/assets/arte.png" alt = "" data-size = "line" > [**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)< img src = "/.gitbook/assets/arte.png" alt = "" data-size = "line" > \
Aprenda e pratique Hacking GCP: < img src = "/.gitbook/assets/grte.png" alt = "" data-size = "line" > [**HackTricks Training GCP Red Team Expert (GRTE)**< img src = "/.gitbook/assets/grte.png" alt = "" data-size = "line" > ](https://training.hacktricks.xyz/courses/grte)
2022-04-28 16:01:33 +00:00
2024-07-19 16:04:21 +00:00
< details >
2022-04-28 16:01:33 +00:00
2024-09-04 13:31:41 +00:00
< summary > Suporte ao HackTricks< / summary >
2022-04-28 16:01:33 +00:00
2024-07-19 16:04:21 +00:00
* Confira os [**planos de assinatura** ](https://github.com/sponsors/carlospolop )!
* **Junte-se ao** 💬 [**grupo do Discord** ](https://discord.gg/hRep4RUj7f ) ou ao [**grupo do telegram** ](https://t.me/peass ) ou **siga** -nos no **Twitter** 🐦 [**@hacktricks\_live** ](https://twitter.com/hacktricks\_live )**.**
* **Compartilhe truques de hacking enviando PRs para o** [**HackTricks** ](https://github.com/carlospolop/hacktricks ) e [**HackTricks Cloud** ](https://github.com/carlospolop/hacktricks-cloud ) repositórios do github.
2022-04-28 16:01:33 +00:00
< / details >
2024-07-19 16:04:21 +00:00
{% endhint %}
2022-04-28 16:01:33 +00:00
2024-09-04 13:31:41 +00:00
### **Melhor ferramenta para procurar vetores de elevação de privilégios local no Windows:** [**WinPEAS**](https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite/tree/master/winPEAS)
2022-04-28 16:01:33 +00:00
2023-06-06 18:56:34 +00:00
### [Informações do Sistema](windows-local-privilege-escalation/#system-info)
2020-07-15 15:43:14 +00:00
2024-07-19 16:04:21 +00:00
* [ ] Obter [**Informações do sistema** ](windows-local-privilege-escalation/#system-info )
* [ ] Procurar por **explorações de kernel** [**usando scripts** ](windows-local-privilege-escalation/#version-exploits )
* [ ] Usar **Google para procurar** por **explorações de kernel**
* [ ] Usar **searchsploit para procurar** por **explorações de kernel**
2024-03-24 12:25:47 +00:00
* [ ] Informações interessantes em [**variáveis de ambiente** ](windows-local-privilege-escalation/#environment )?
2024-01-12 08:15:16 +00:00
* [ ] Senhas no [**histórico do PowerShell** ](windows-local-privilege-escalation/#powershell-history )?
2024-07-19 16:04:21 +00:00
* [ ] Informações interessantes em [**configurações da Internet** ](windows-local-privilege-escalation/#internet-settings )?
* [ ] [**Unidades** ](windows-local-privilege-escalation/#drives )?
2024-02-09 02:10:17 +00:00
* [ ] [**Exploração do WSUS** ](windows-local-privilege-escalation/#wsus )?
2024-04-06 19:38:49 +00:00
* [ ] [**AlwaysInstallElevated** ](windows-local-privilege-escalation/#alwaysinstallelevated )?
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
### [Enumeração de Logs/AV](windows-local-privilege-escalation/#enumeration)
2024-01-12 08:15:16 +00:00
2024-09-04 13:31:41 +00:00
* [ ] Verificar [**configurações de Auditoria** ](windows-local-privilege-escalation/#audit-settings ) e [**WEF** ](windows-local-privilege-escalation/#wef )
2024-07-19 16:04:21 +00:00
* [ ] Verificar [**LAPS** ](windows-local-privilege-escalation/#laps )
* [ ] Verificar se [**WDigest** ](windows-local-privilege-escalation/#wdigest ) está ativo
2024-01-12 08:15:16 +00:00
* [ ] [**Proteção LSA** ](windows-local-privilege-escalation/#lsa-protection )?
2024-07-19 16:04:21 +00:00
* [ ] [**Credentials Guard** ](windows-local-privilege-escalation/#credentials-guard )[? ](windows-local-privilege-escalation/#cached-credentials )
2024-01-12 08:15:16 +00:00
* [ ] [**Credenciais em Cache** ](windows-local-privilege-escalation/#cached-credentials )?
2024-09-04 13:31:41 +00:00
* [ ] Verificar se há algum [**AV** ](https://github.com/carlospolop/hacktricks/blob/master/windows-hardening/windows-av-bypass/README.md )
2024-07-19 16:04:21 +00:00
* [ ] [**Política do AppLocker** ](https://github.com/carlospolop/hacktricks/blob/master/windows-hardening/authentication-credentials-uac-and-efs/README.md#applocker-policy )?
* [ ] [**UAC** ](https://github.com/carlospolop/hacktricks/blob/master/windows-hardening/authentication-credentials-uac-and-efs/uac-user-account-control/README.md )
* [ ] [**Privilégios do Usuário** ](windows-local-privilege-escalation/#users-and-groups )
* [ ] Verificar [**privilégios do usuário atual** ](windows-local-privilege-escalation/#users-and-groups )
2024-03-26 15:44:24 +00:00
* [ ] Você é [**membro de algum grupo privilegiado** ](windows-local-privilege-escalation/#privileged-groups )?
2024-07-19 16:04:21 +00:00
* [ ] Verificar se você tem [algum desses tokens habilitados ](windows-local-privilege-escalation/#token-manipulation ): **SeImpersonatePrivilege, SeAssignPrimaryPrivilege, SeTcbPrivilege, SeBackupPrivilege, SeRestorePrivilege, SeCreateTokenPrivilege, SeLoadDriverPrivilege, SeTakeOwnershipPrivilege, SeDebugPrivilege** ?
2024-03-26 15:44:24 +00:00
* [ ] [**Sessões de Usuários** ](windows-local-privilege-escalation/#logged-users-sessions )?
2024-07-19 16:04:21 +00:00
* [ ] Verificar [**pastas pessoais dos usuários** ](windows-local-privilege-escalation/#home-folders ) (acesso?)
* [ ] Verificar [**Política de Senhas** ](windows-local-privilege-escalation/#password-policy )
2024-09-04 13:31:41 +00:00
* [ ] O que há [**dentro da Área de Transferência** ](windows-local-privilege-escalation/#get-the-content-of-the-clipboard )?
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
### [Rede](windows-local-privilege-escalation/#network)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
* [ ] Verificar **informações de rede** [**atuais** ](windows-local-privilege-escalation/#network )
2024-03-26 15:44:24 +00:00
* [ ] Verificar **serviços locais ocultos** restritos ao exterior
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
### [Processos em Execução](windows-local-privilege-escalation/#running-processes)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
* [ ] Permissões de [**arquivos e pastas dos binários dos processos** ](windows-local-privilege-escalation/#file-and-folder-permissions )
2024-03-26 15:44:24 +00:00
* [ ] [**Mineração de Senhas na Memória** ](windows-local-privilege-escalation/#memory-password-mining )
* [ ] [**Aplicativos GUI Inseguros** ](windows-local-privilege-escalation/#insecure-gui-apps )
* [ ] Roubar credenciais com **processos interessantes** via `ProcDump.exe` ? (firefox, chrome, etc ...)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
### [Serviços](windows-local-privilege-escalation/#services)
2024-01-12 08:15:16 +00:00
2024-04-06 19:38:49 +00:00
* [ ] [Você pode **modificar algum serviço**? ](windows-local-privilege-escalation/#permissions )
2024-03-26 15:44:24 +00:00
* [ ] [Você pode **modificar** o **binário** que é **executado** por algum **serviço**? ](windows-local-privilege-escalation/#modify-service-binary-path )
* [ ] [Você pode **modificar** o **registro** de algum **serviço**? ](windows-local-privilege-escalation/#services-registry-modify-permissions )
2024-09-04 13:31:41 +00:00
* [ ] [Você pode aproveitar algum **caminho de binário de serviço não citado**? ](windows-local-privilege-escalation/#unquoted-service-paths )
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
### [**Aplicações**](windows-local-privilege-escalation/#applications)
2024-01-12 08:15:16 +00:00
2024-09-04 13:31:41 +00:00
* [ ] **Permissões de escrita** [**em aplicações instaladas** ](windows-local-privilege-escalation/#write-permissions )
2024-07-19 16:04:21 +00:00
* [ ] [**Aplicações de Inicialização** ](windows-local-privilege-escalation/#run-at-startup )
2024-09-04 13:31:41 +00:00
* [ ] **Drivers Vulneráveis** [**Drivers** ](windows-local-privilege-escalation/#drivers )
2024-04-06 19:38:49 +00:00
2024-03-14 23:33:23 +00:00
### [DLL Hijacking](windows-local-privilege-escalation/#path-dll-hijacking)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
* [ ] Você pode **escrever em alguma pasta dentro do PATH** ?
2024-09-04 13:31:41 +00:00
* [ ] Existe algum binário de serviço conhecido que **tente carregar alguma DLL inexistente** ?
2024-07-19 16:04:21 +00:00
* [ ] Você pode **escrever** em alguma **pasta de binários** ?
2024-01-12 08:15:16 +00:00
2024-03-14 23:33:23 +00:00
### [Rede](windows-local-privilege-escalation/#network)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
* [ ] Enumerar a rede (compartilhamentos, interfaces, rotas, vizinhos, ...)
* [ ] Prestar atenção especial aos serviços de rede escutando em localhost (127.0.0.1)
2024-01-12 08:15:16 +00:00
2024-03-14 23:33:23 +00:00
### [Credenciais do Windows](windows-local-privilege-escalation/#windows-credentials)
2024-01-12 08:15:16 +00:00
2024-03-14 23:33:23 +00:00
* [ ] Credenciais do [**Winlogon** ](windows-local-privilege-escalation/#winlogon-credentials )
* [ ] Credenciais do [**Windows Vault** ](windows-local-privilege-escalation/#credentials-manager-windows-vault ) que você poderia usar?
2024-09-04 13:31:41 +00:00
* [ ] Informações interessantes sobre [**credenciais DPAPI** ](windows-local-privilege-escalation/#dpapi )?
* [ ] Senhas de [**redes Wifi salvas** ](windows-local-privilege-escalation/#wifi )?
2024-03-24 13:18:24 +00:00
* [ ] Informações interessantes em [**Conexões RDP salvas** ](windows-local-privilege-escalation/#saved-rdp-connections )?
2024-07-19 16:04:21 +00:00
* [ ] Senhas em [**comandos executados recentemente** ](windows-local-privilege-escalation/#recently-run-commands )?
2024-09-04 13:31:41 +00:00
* [ ] Senhas do [**Gerenciador de Credenciais do Desktop Remoto** ](windows-local-privilege-escalation/#remote-desktop-credential-manager )?
2024-02-09 02:10:17 +00:00
* [ ] [**AppCmd.exe** existe ](windows-local-privilege-escalation/#appcmd-exe )? Credenciais?
2024-07-19 16:04:21 +00:00
* [ ] [**SCClient.exe** ](windows-local-privilege-escalation/#scclient-sccm )? Carregamento lateral de DLL?
2024-01-12 08:15:16 +00:00
2024-03-14 23:33:23 +00:00
### [Arquivos e Registro (Credenciais)](windows-local-privilege-escalation/#files-and-registry-credentials)
2024-01-12 08:15:16 +00:00
2024-07-19 16:04:21 +00:00
* [ ] **Putty:** [**Credenciais** ](windows-local-privilege-escalation/#putty-creds ) **e** [**chaves de host SSH** ](windows-local-privilege-escalation/#putty-ssh-host-keys )
2024-01-12 08:15:16 +00:00
* [ ] [**Chaves SSH no registro** ](windows-local-privilege-escalation/#ssh-keys-in-registry )?
2024-07-19 16:04:21 +00:00
* [ ] Senhas em [**arquivos não supervisionados** ](windows-local-privilege-escalation/#unattended-files )?
2024-01-12 08:15:16 +00:00
* [ ] Algum backup de [**SAM & SYSTEM** ](windows-local-privilege-escalation/#sam-and-system-backups )?
2024-07-19 16:04:21 +00:00
* [ ] [**Credenciais em Nuvem** ](windows-local-privilege-escalation/#cloud-credentials )?
2024-02-15 12:08:59 +00:00
* [ ] Arquivo [**McAfee SiteList.xml** ](windows-local-privilege-escalation/#mcafee-sitelist.xml )?
2024-07-19 16:04:21 +00:00
* [ ] [**Senha GPP em Cache** ](windows-local-privilege-escalation/#cached-gpp-pasword )?
* [ ] Senha no [**arquivo de configuração do IIS Web** ](windows-local-privilege-escalation/#iis-web-config )?
* [ ] Informações interessantes em [**logs da web** ](windows-local-privilege-escalation/#logs )?
* [ ] Você quer [**pedir credenciais** ](windows-local-privilege-escalation/#ask-for-credentials ) ao usuário?
2024-09-04 13:31:41 +00:00
* [ ] Informações interessantes sobre [**arquivos dentro da Lixeira** ](windows-local-privilege-escalation/#credentials-in-the-recyclebin )?
2024-07-19 16:04:21 +00:00
* [ ] Outros [**registros contendo credenciais** ](windows-local-privilege-escalation/#inside-the-registry )?
* [ ] Dentro dos [**dados do Navegador** ](windows-local-privilege-escalation/#browsers-history ) (dbs, histórico, favoritos, ...)?
* [ ] [**Busca genérica de senhas** ](windows-local-privilege-escalation/#generic-password-search-in-files-and-registry ) em arquivos e registro
* [ ] [**Ferramentas** ](windows-local-privilege-escalation/#tools-that-search-for-passwords ) para buscar senhas automaticamente
2024-01-12 08:15:16 +00:00
### [Manipuladores Vazados](windows-local-privilege-escalation/#leaked-handlers)
2024-07-19 16:04:21 +00:00
* [ ] Você tem acesso a algum manipulador de um processo executado por administrador?
2024-01-12 08:15:16 +00:00
### [Impersonação de Cliente de Pipe](windows-local-privilege-escalation/#named-pipe-client-impersonation)
* [ ] Verifique se você pode abusar disso
2024-03-14 23:33:23 +00:00
2024-07-19 16:04:21 +00:00
{% hint style="success" %}
Aprenda e pratique Hacking AWS:< img src = "/.gitbook/assets/arte.png" alt = "" data-size = "line" > [**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)< img src = "/.gitbook/assets/arte.png" alt = "" data-size = "line" > \
Aprenda e pratique Hacking GCP: < img src = "/.gitbook/assets/grte.png" alt = "" data-size = "line" > [**HackTricks Training GCP Red Team Expert (GRTE)**< img src = "/.gitbook/assets/grte.png" alt = "" data-size = "line" > ](https://training.hacktricks.xyz/courses/grte)
2024-03-14 23:33:23 +00:00
2024-07-19 16:04:21 +00:00
< details >
2024-03-14 23:33:23 +00:00
2024-09-04 13:31:41 +00:00
< summary > Suporte ao HackTricks< / summary >
2024-03-14 23:33:23 +00:00
2024-07-19 16:04:21 +00:00
* Confira os [**planos de assinatura** ](https://github.com/sponsors/carlospolop )!
* **Junte-se ao** 💬 [**grupo do Discord** ](https://discord.gg/hRep4RUj7f ) ou ao [**grupo do telegram** ](https://t.me/peass ) ou **siga** -nos no **Twitter** 🐦 [**@hacktricks\_live** ](https://twitter.com/hacktricks\_live )**.**
* **Compartilhe truques de hacking enviando PRs para o** [**HackTricks** ](https://github.com/carlospolop/hacktricks ) e [**HackTricks Cloud** ](https://github.com/carlospolop/hacktricks-cloud ) repositórios do github.
2024-03-14 23:33:23 +00:00
< / details >
2024-07-19 16:04:21 +00:00
{% endhint %}