rlogin

rlogin (rlogind on TCP 513) opens an interactive login session, authenticating by the same .rhosts/hosts.equiv host trust as rsh, or falling back to a cleartext password. Attacks are passwordless login through trust abuse, capture of the cleartext password and session, username enumeration from the login behaviour, and session hijacking.

1 ನಿಮಿಷದ ಓದುಅಕ್ಟೋ 7,2026 ರಂದು ನವೀಕರಿಸಲಾಗಿದೆflorianamette1 ಕೊಡುಗೆದಾರ
ನಿಮ್ಮ ಸಹಾಯಕವನ್ನು ಕೇಳಿ (MCP)GitHub ನಲ್ಲಿ ಸಂಪಾದಿಸಿ

rlogin opens an interactive login session on a remote host via rlogind on TCP 513. Traditional implementations require the client connection to originate from a privileged port in the 512–1023 range, then evaluate host-based trust through ~/.rhosts and /etc/hosts.equiv. If automatic authentication fails, rlogind may invoke the configured login program over the same unencrypted terminal stream; whether that flow requests a password, uses another PAM mechanism, or rejects access depends on the target. The attacks follow: passwordless login by abusing or planting trust, capture of credentials and session data when an unencrypted login flow is used, implementation-dependent username enumeration, and hijacking the live TCP session. Because it grants an interactive shell, a successful rlogin is a direct foothold.

bash
# trusted login (no password) or password login
rlogin -l <user> <target>
nmap -p513 -sV <target>

Subtopics#

References#