Page cover

information gathering

Reconnaissance

Host Discovery

-> nmap

nmap -sn 10.10.0.0/16

https://github.com/andrew-d/static-binaries/tree/master/binariesarrow-up-right

-> crackmapexec

crackmapexec smb 192.168.0.20/24

-> Ping Sweep - PowerShell

for ($i=1;$i -lt 255;$i++) { ping -n 1 192.168.0.$i| findstr "TTL"}

-> Ping Sweep - Bash

for i in {1..255};do (ping -c 1 192.168.0.$i | grep "bytes from" &); done

-> Port Scanning - Bash

for i in {1..65535}; do (echo > /dev/tcp/192.168.1.1/$i) >/dev/null 2>&1 && echo $i is open; done

-> Port Scanning - NetCat

nc -zvn <ip> 1-1000

https://github.com/andrew-d/static-binaries/blob/master/binaries/linux/x86_64/ncatarrow-up-right

Port Scanning

nmap

rustscan

-> install

-> scan

DNS Enumeration

-> Locating the host records for the domain

-> Forward Lookup Brute Force

-> Reverse Lookup Brute Force

-> Get DNS servers for a given domain

-> DNS Zone Transfers

-> DNS Zone Transfer - dnsrecon

SMB Enumeration

-> enum4linux

NFS Enumeration

-> see nfs version

or

-> View NFS shared directories

or

-> mount

-> Config files

LDAP Enumeration

SNMP Enumeration

-> Enumerate the entire MIB tree

-> Enumerate windows users

-> Lists running processes

-> Lists open TCP ports

-> Enumerate installed software

FTP

-> credentials default anonymous : anonymous -> get version

-> scan ftp service

-> binary transfer

-> ascii transfer

RDP

-> RDP enumeration

-> Connect to RDP

-> Check valid credentials in RDP

POP

-> POP enumeration

-> login

-> list messages

-> Show message number 1

SMTP

-> SMTP enumeration

-> send email via SMTP

hydra smtp-enum://192.168.0.1/vrfy -l john -p localhost -> username enumeration

Recon Web

Wappalyzer

https://www.wappalyzer.com/arrow-up-right

What is that Website

ffuf

-> fuzzing

or

-> Fuzzing File Extension

-> Fuzzing Parameter GET

-> Fuzzing Parameter POST

https://github.com/danielmiessler/SecListsarrow-up-right

Nikto - Web Server Scanner

HTTP Enum Nmap

CMS

Wordpress

-> wpscan

Joomla

-> juumla

https://github.com/oppsec/juumlaarrow-up-right

Drupal

-> droopescan

https://github.com/SamJoan/droopescanarrow-up-right

Magento

-> magescan

https://github.com/steverobbins/magescanarrow-up-right

Last updated