Search K
Appearance
Appearance
Other ways to support HackTricks:
There are several blogs in the Internet which highlight the dangers of leaving printers configured with LDAP with default/weak logon credentials.
This is because an attacker could trick the printer to authenticate against a rouge LDAP server (typically a nc -vv -l -p 444
is enough) and to capture the printer credentials on clear-text.
Also, several printers will contains logs with usernames or could even be able to download all usernames from the Domain Controller.
All this sensitive information and the common lack of security makes printers very interesting for attackers.
Some blogs about the topic:
Network > LDAP Setting > Setting Up LDAP
.For more detailed steps, refer to the original source.
A simple netcat listener might suffice:
sudo nc -k -v -l -p 386
However, this method's success varies.
A more reliable approach involves setting up a full LDAP server because the printer performs a null bind followed by a query before attempting credential binding.
slapd -d 2
Other ways to support HackTricks: