Unit 5 CS
Unit 5 CS
To connect to the hidden C: drive share, for example, type the following command in the
● Run field (Start ➪ Run):
● \\ip_address\c$
● Automated programs can quickly generate dictionary files, word lists, or every possible
combination of letters, numbers, and special characters and then attempt to log on
● Prevention; maximum number of login attempts on a system before the account is locked.
Performing Automated Password
Guessing
● Guessing of a password, hackers use automated tools.
● use the Windows shell commands based on the standard NET USE (connect, disconnect, current
status)syntax.
● It’s used to identify a password that is an actual word, which can be found in a dictionary.
the attack uses a dictionary file of possible words, which is hashed using the same algorithm
used by the authentication process.
hashed dictionary words are compared with hashed passwords as the user logs on, or with
passwords stored in a file on the server.
● The dictionary attack works only if the password is an actual dictionary word;
● many users add the number 1 to the end of their password to meet strong password requirements.
● slowest of the three types of attacks -many possible combinations-of characters in the password.
● given enough time and processing power, all passwords can eventually be identified.
Rainbow Table
● A rainbow table is a list of dictionary words that have already been hashed.
● Rainbow tables can speed up the discovery and cracking of passwords by pre-computing the hashes
for common strings of characters. For example,
● a rainbow table can include characters from a to z or A to Z.
● Essentially, rainbow table tools are hash crackers.
● The idea of rainbow tables is to do all cracking-time computation in advance.
Non electronic Attack
● do not employ any technical knowledge.
● social engineering,
● shoulder surfing,
● keyboard sniffing,
● dumpster diving.
● shoulder surfing,:
● Special screens that make it difficult to see the computer screen from an angle can cut down on
shoulder surfing.
● In addition, employee awareness and training can virtually eliminate
Cracking a password
● Manual password cracking involves attempting to log on with different passwords.
1. Find a valid user account (such as Administrator or Guest).
2. Create a list of possible passwords.
3. Rank the passwords from high to low probability.
4. Key in each password.
5. Try again until a successful password is found.
● A hacker can also create a script file that tries each password in a list.
A more efficient way of cracking a password is to gain access to the password file on a system.
● During the logon process, the password -is hashed using the same algorithm -compared to the
hashed passwords stored in the file.
● A hacker can attempt to gain access to the hashing algorithm stored on the server instead of trying
to guess
LAN Manager Hash
● Windows 2000 uses NT LAN Manager (NTLM) hashing - secure passwords in transit on network.
● Depending on the password, NTLM hashing can be weak and easy to break.
● The password is padded with null (blank) characters- 14 characters long: 123456ABCDEF__.
● Before - encrypted, the 14-character string is split in half: 123456A and BCDEF__.
● One option for copying the SAM file is to boot to an alternate operating system -DOS or Linux
with a boot CD.
● Alternately, the file can be copied from the repair directory.
● If a system administrator uses the RDISK feature of Windows to back up the system,
then a compressed copy of the SAM file called SAM._ is created in C:\windows\repair.
● expand this file, use the following command at the command prompt:
● C:\>expand sam._ sam
● After the file is uncompressed, a dictionary, hybrid, or brute-force attack can be run
against the SAM file using a tool like L0phtCrack.
Redirecting the SMB logon to the
attacker
● To discover passwords- network is to redirect the Server Message Block (SMB) logon to an
attacker’s computer so that the passwords are sent to the hacker.
● So, the hacker must sniff the NTLM responses from the authentication server
and trick the victim into attempting Windows authentication with the attacker’s computer.
● Common technique is to send the victim an email message with an embedded link to a
fraudulent SMB server.
● When the link is clicked, the user unwittingly sends their credentials over the network.
Redirecting the SMB logon to the
attacker
SMBRelay
● An SMB server that captures usernames and password hashes from incoming
SMB traffic. SMBRelay can also perform man-in-the-middle (MITM) attacks.
SMBRelay2
● Similar to SMBRelay but uses NetBIOS names instead of IP addresses to capture
usernames and passwords.
pwdump2
● A program that extracts the password hashes from a SAM file on a Windows
system. The extracted password hashes can then be run through L0phtCrack to break the
passwords.
Samdump
● Another program that extracts NTLM hashed passwords from a SAM file.
C2MYAZZ
● A spyware program that makes Windows clients send their passwords as clear text.
It displays usernames and their passwords as users attach to server resources.
SMB relay MITM Attack
● SMB relay countermeasures include configuring Windows 2000 to use SMB signing,
● which causes it to cryptographically sign each block of SMB communications..
SMB relay countermeasures