Port Knocking
About
A security measure that requires certain ports to be 'knocked' before opening another port. REF: Lord of the Root (vulnhub)
Hints
The possibilities of port-knocking patterns are unlimited.
You will need a hint like "Easy as 1,2,3" to enter
cat /var/mail/bob ...bob may have a hint in his email :)
Easy Knock with nc
nc -nv 1
nc -nv 2
nc -nv 3
ssh 10.x.x.xKnock client
knock -v 10.137.114.39 1:tcp 2:tcp 3:tcp
ssh 10.137.114.39nmap knock loop
--max-retries 0 ...keeps nmap from doing multiple retries (breaking the knock pattern)
tcp loop
Sourcecode
Last updated
Was this helpful?