Practical Network Penetration Tester


engagement types (external, internal, webapp, wireless, physical, mobile)

ftp (21) # tcp
ssh (22) # tcp
telnet (23) #tcp
smtp (25) # tcp
dns (53) # tcp/udp
http (80) # tcp
https (443) # tcp
dhcp (67 / 68) # udp
pop3 (110) # tcp
imap (143) # tcp
snmp (161) # udp
rdp (3389) # tcp
ntp (123) # udp
smb (445) # tcp
ftps (990) # tcp
tftp (69) # udp
ldap (389) # tcp/udp
mysql (3306) # tcp

passive recon:

location: satellite img, building layout, badge readers, break areas, sec, fencing

job: employees (name, title, job, phone, mgr), pics (badges, desks)


diff bet bind + reverse shells? bind shell: we connect to victim || reverse shell: victim connects to us

- lvnp  
-l # listen for inbound connections
-v # verbosity (2x+ for more)
-n # numeric-only IP's (no DNS)
-p # port 

-e /bin/sh
-e # exec 
/bin/sh # shell to use

diff bet staged + non-staged payloads?