2024-07-19 16:04:21 +00:00
# Checklist - Escalaçã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-07-19 16:04:21 +00:00
< summary > Support 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-03-14 23:33:23 +00:00
**Try Hard Security Group**
2024-04-06 19:38:49 +00:00
< figure > < img src = "../.gitbook/assets/telegram-cloud-document-1-5159108904864449420.jpg" alt = "" > < figcaption > < / figcaption > < / figure >
2024-03-14 23:33:23 +00:00
{% embed url="https://discord.gg/tryhardsecurity" %}
***
2024-07-19 16:04:21 +00:00
### **Melhor ferramenta para procurar vetores de escalonamento 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-07-19 16:04:21 +00:00
* [ ] Verificar [**Configurações de Auditoria** ](windows-local-privilege-escalation/#audit-settings )e [**WEF** ](windows-local-privilege-escalation/#wef )
* [ ] 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-07-19 16:04:21 +00:00
* [ ] Verificar se algum [**AV** ](https://github.com/carlospolop/hacktricks/blob/master/windows-hardening/windows-av-bypass/README.md )
* [ ] [**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 )
* [ ] O que está [**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-07-19 16:04:21 +00:00
* [ ] [Você pode tirar proveito de 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-07-19 16:04:21 +00:00
* [ ] **Permissões de escrita em aplicações instaladas** [** ](windows-local-privilege-escalation/#write-permissions )
* [ ] [**Aplicações de Inicialização** ](windows-local-privilege-escalation/#run-at-startup )
* [ ] **Drivers Vulneráveis** [** ](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** ?
* [ ] Existe algum binário de serviço conhecido que **tente carregar alguma DLL não existente** ?
* [ ] 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-07-19 16:04:21 +00:00
* [ ] Credenciais [**DPAPI** ](windows-local-privilege-escalation/#dpapi ) interessantes?
2024-03-24 13:18:24 +00:00
* [ ] Senhas de redes [**Wifi salvas** ](windows-local-privilege-escalation/#wifi )?
* [ ] 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 )?
* [ ] Senhas do [**Gerenciador de Credenciais de Área de Trabalho Remota** ](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?
* [ ] Arquivos interessantes [**dentro da Lixeira** ](windows-local-privilege-escalation/#credentials-in-the-recyclebin )?
* [ ] 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
**Try Hard Security Group**
2024-03-14 23:33:23 +00:00
2024-04-06 19:38:49 +00:00
< figure > < img src = "../.gitbook/assets/telegram-cloud-document-1-5159108904864449420.jpg" alt = "" > < figcaption > < / figcaption > < / figure >
2024-03-14 23:33:23 +00:00
{% embed url="https://discord.gg/tryhardsecurity" %}
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-07-19 16:04:21 +00:00
< summary > Support 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 %}