0% found this document useful (0 votes)
13 views10 pages

Password Cracking and Prevention Guide

Uploaded by

Saurabh Pandey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views10 pages

Password Cracking and Prevention Guide

Uploaded by

Saurabh Pandey
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Module 5 DF

1
🔹 Password Cracking

1. Definition:
Password cracking is the process of recovering passwords from data that has been stored
or transmitted in a computer system.

🔹 Methods of Password Cracking

1. Brute Force Attack:


o Tries all possible combinations of characters until the correct password is found.
o Time-consuming but effective if weak passwords are used.
2. Exploitation of Stored Passwords:
o Attackers locate and steal password files from the system.
o Passwords may be stored in plain text or weakly encrypted.
3. Interception of Passwords:
o Passwords transmitted in plain text over the network can be captured using
sniffers.
o Keystroke loggers can also record passwords entered by users.
4. Password Decryption Software:
o Used when weak encryption algorithms are implemented.
o Techniques like one-byte patching or known plaintext attacks are applied.
5. Social Engineering:
o Non-technical method that manipulates people to reveal passwords.
o Relies on trust, fear, or persuasion (e.g., fake IT calls or phishing).

🔹 Prevention and Protection Measures

1. Use strong passwords (mix of letters, numbers, and symbols).


2. Lock accounts after multiple failed login attempts.
3. Encrypt files and avoid storing passwords in plain text.
4. Use shadow passwords on UNIX/Linux systems.
5. Disable LAN Manager Authentication on Windows.
6. Ensure passwords are never sent in plain text over the network.
7. Use antisniffer and network monitoring tools.
8. Educate users against social engineering tricks.
9. Store important data on secured network servers.
10. Implement multi-factor authentication (MFA) for added security.

2
🔹 Protection Against Social Engineering

1. Set strict policies against sharing passwords.


2. Train users to verify identities before giving information.
3. Avoid revealing information over phone or email.
4. Encourage users to report suspicious behavior.

Understanding Technical Exploits

1. Protocol Exploits

Attackers misuse network protocol features (like TCP handshake) to disrupt systems or gain
unauthorized access.

🧩 Common Types

1. DNS DoS Attack – Abuses DNS to overload systems.


2. SYN/LAND Attack – Exploits TCP handshake mechanism.
3. Ping of Death – Sends oversized packets to crash systems.
4. Ping Flood / Smurf / Fraggle – Floods network with ICMP packets.
5. UDP Bomb / UDP Snork – Exploits UDP protocol.
6. Teardrop Attack – Exploits IP packet fragmentation fields.
7. SNMP Exploits – Abuses weak network management settings.

⚙️Source Routing Attacks

 Uses TCP/IP source routing to bypass normal routing and reach internal systems.
 Types:
o Strict Source Routing – Specifies exact route (rarely used).
o Loose Source Routing (LSRR) – Specifies partial path (hops).
 Prevention: Disable source routing on routers.

⚙️Other Protocol Exploits

 Abuse weaknesses in HTTP, DNS, CGI, and other application protocols.

2. Application Exploits

Target flaws (bugs) in application software to gain access or crash systems.

3
🧩 Bug Exploits

1. Buffer Overflow – Input exceeds buffer limit → inject malicious code.


2. Unexpected Input – Program doesn’t handle invalid input correctly.
3. Configuration Bugs – Poor setup leaves system vulnerable.

🧩 Mail Bombs

 Attackers flood mail servers with thousands of emails.


 Tools: Unabomber, Extreme Mail, Avalanche, Voodoo, Kaboom.
 Defense: Block traffic from attacker or use filters.

🧩 Browser Exploits

 Modern browsers store user data and execute scripts → targets for attack.
 Web Spoofing: Hacker intercepts or modifies web pages (man-in-the-middle).
o Example: Fake website imitates genuine one to steal passwords.
o SSL may not prevent this if user connects to fake domain.

🧩 Web Server Exploits

 Public servers are vulnerable since they accept external requests.


 Must use security patches and isolate servers from internal networks.

🧩 Buffer Overflows (Detailed)

 Occurs when buffer memory exceeds limit.


 Types:
1. Stack Overflow – Function call memory corrupted.
2. Heap Overflow – Dynamic memory area corrupted.
 Used to overwrite passwords or inject code.

3. Operating System Exploits

Target vulnerabilities specific to operating systems.

🧩 WinNuke (Out-of-Band Attack)

 Exploits Windows TCP/IP flaw using port 139.


 Sends malformed OOB data → system crash.
 Affects older Microsoft systems.

4
🧩 Router Exploits

 Many routers use default or backdoor admin passwords.


 Hackers can reconfigure router or alter routing tables.
 Prevention:
o Change default credentials immediately.
o Disable vendor backdoor access.

5
Mobile Forensics — Quick, Exam-Ready Notes
Definition

Mobile forensics is the process of identifying, preserving, acquiring, analysing and reporting
digital evidence from mobile devices (phones, tablets, wearables) in a forensically sound manner
so it is admissible in court.

Information available in mobile phones

 Call logs (incoming/outgoing/missed)


 SMS / MMS / instant messages (WhatsApp, Telegram, Signal, etc.)
 Contacts & address book
 Emails and account metadata
 Multimedia (photos, videos, audio)
 Application data (app databases, caches, tokens)
 Location data (GPS, cell/tower/wifi triangulation)
 Browser history, bookmarks, downloads
 System logs, crash logs, timestamps
 SIM card data (IMSI, SMS on SIM, contacts)
 Deleted data (recoverable in many cases)
 Encryption metadata, credentials (if available)

Identification of mobile devices (at scene)

 Note make, model, OS, IMEI/MEID, serial number, SIM presence.


 Photograph device in situ, screen status (on/off), connected accessories, and
surroundings.
 Record exact location, owner, and scene conditions.

Isolation of mobile devices (prevent remote tampering)

 Do NOT power off if device unlocked and active (may lose volatile data).
 Place in airplane / flight mode to block network if safe and possible.
 If you cannot change settings: isolate physically (Faraday bag / RF shield) to block all
radio signals.
 Remove power source only when required and with caution—document everything.
 Preserve charger/backup cables and note connections to networks.

Search & Seizure (legal / procedural)

 Ensure proper authority (warrant / lawful consent) before seizing.


 Follow local laws and organizational policies.

6
 Maintain a chain of custody: who, when, where, why, how.
 Use forensically sound procedures to avoid evidence contamination.
 Log all actions, photographs, and witness statements.

Acquisition Methods (overview & when to use)

1. Logical Acquisition

 Extracts file-system level data and accessible app data via OS APIs or device
interfaces.
 Fast, non-invasive, preserves device state, but may miss deleted or low-level data.

2. File-System Acquisition

 More complete than logical — grabs the visible file system structures and files.
 May require elevated access (root/jailbreak) and still might miss raw unallocated space.

3. Physical Acquisition

 Bit-by-bit image of the device storage (including unallocated and deleted data).
 Most comprehensive for recovery, but may require device to be in specific state or use
exploits.

4. JTAG Acquisition

 Uses JTAG hardware interface to read memory directly from the device chipset.
 Useful when software access is blocked; requires hardware access and expertise.

5. Chip-off Acquisition

 Physically removes the flash memory chip from the device and reads it with specialized
readers.
 Very invasive and risky (can destroy device), but recovers data when other methods fail.

Practical considerations & cautions

 Some methods (rooting/jailbreak) alter device state — document and justify.


 Encrypted devices may require passcodes, encryption keys, or vendor assistance.
 Volatile data (RAM, running app state) is lost on power-off — consider live acquisition
if legally permitted.
 Always work forensically: image first, analyze copy; never alter original evidence.

7
Analysis of Mobile Images

 Verify image integrity (hashing: MD5/SHA) before and after analysis.


 Timeline analysis: correlate timestamps across logs, messages, GPS, and system events.
 Recover deleted items from unallocated space (requires physical image).
 App data parsing: examine databases (SQLite), configuration files, caches.
 Cross-correlation: match contacts, messages, call logs, and multimedia to build context.
 Location & metadata analysis: EXIF in photos, cell/Wi-Fi logs, movement patterns.
 Artifact extraction: browser history, installed apps, artifacts of social or financial apps.
 Keep a clear record of tools, versions, commands, and filters used.

Writing a Mobile Forensic Report (structure)

1. Case details & objectives (who, what, why, when).


2. Scope & limitations (what was/was not acquired, legal constraints).
3. Items seized & identification (device descriptions, images, serial numbers).
4. Chain of custody log (chronological handling record).
5. Acquisition details (method used, tool names, hashes of images).
6. Analysis procedures (steps performed, parsing methods, search terms).
7. Findings (evidence discovered: messages, logs, locations) — include timelines and
screenshots/exhibits.
8. Interpretation (what the findings mean in context).
9. Conclusion & recommendations (summary and next steps).
10. Appendices (full hash lists, tool output logs, commands, supplementary exhibits).

8
SHORT

Mobile Forensics – Simple Explanation

Definition:
Mobile forensics is a branch of digital forensics that focuses on recovering, analyzing, and
preserving data from mobile devices (like smartphones and tablets) in a way that can be used as
evidence in court.

Purpose:

To find and analyze digital evidence such as call logs, messages, photos, videos, app data, and
locations that can help in an investigation.

Steps in Mobile Forensics:

1. Identification – Identify the mobile device, SIM, and type of data available.
2. Isolation – Prevent remote access or tampering (use airplane mode or Faraday bag).
3. Acquisition – Extract data from the device using different methods.
4. Analysis – Examine and interpret the data (messages, logs, photos, etc.).
5. Report – Prepare a detailed report of the findings for legal use.

Data Available in Mobile Devices:

 Contacts and call logs


 SMS, MMS, and app messages (WhatsApp, Telegram)
 Photos, videos, and audio
 GPS and location data
 Internet history and emails
 Deleted files (in some cases)

Acquisition Methods:

1. Logical – Copies visible data (fast but limited).


2. File System – Extracts complete file structure.
3. Physical – Bit-by-bit copy (includes deleted data).
4. JTAG – Reads data directly from phone’s memory chip.
5. Chip-off – Removes chip to read memory directly (used in severe cases).

9
Analysis:

 Examine messages, call logs, photos, app data, and browser history.
 Recover deleted data.
 Correlate timestamps and locations.
 Verify integrity using hash values.

Report:

The final step includes:

 Case details
 Tools and methods used
 Findings (with screenshots/logs)
 Conclusion and recommendations

10

Common questions

Powered by AI

Different mobile forensics methods balance comprehensiveness and invasiveness by their inherent nature. Logical acquisition is the least invasive, capturing file-system level data quickly but missing deleted or low-level information . File-system acquisition is more comprehensive, requiring elevated access like rooting, which may alter the state . Physical acquisition provides the most thorough recovery, capturing all data including deleted files, but it may require the device to be in a specific state or use exploits, which can be invasive . JTAG and chip-off methods are highly invasive, potentially damaging the device but accessing data when other methods fail . Each method must strike a balance by considering the case requirements and potential data integrity implications.

Network monitoring tools effectively enhance security against interception-based password cracking by providing real-time traffic analysis and alerting administrators to anomalies that may indicate sniffing or unauthorized access attempts . However, their effectiveness is limited by network complexity and encrypted traffic, which can obscure malicious activity. Additionally, skilled attackers can employ techniques like encryption or tunneling to evade detection. Monitoring tools also require constant updates and tuning to adjust to evolving threats, and organizations must invest in skilled personnel to interpret and respond to alerts . Thus, while beneficial, they must be part of a layered security strategy.

The increasing complexity of modern browsers, designed to enhance user experience and functionality, inherently expands their attack surface, making them attractive targets for cyber exploits. Features such as script execution, data storage, and rich media handling are susceptible to exploits like web spoofing and man-in-the-middle attacks . These vulnerabilities can allow attackers to intercept or manipulate user data, steal credentials, and inject malicious scripts. Protecting against such threats requires robust security measures including regular updates, sandboxing technologies, and user education on secure browsing practices . Thus, while complexity enhances browsing, it must be managed with vigilant security practices to safeguard data.

The 'chain of custody' is a critical component in mobile forensics, ensuring that digital evidence is accurately tracked and documented from the point of collection to presentation in court. It provides a chronological record of who handled the evidence, when, and under what conditions, ensuring that the evidence remains unaltered and reliable . Maintaining a strict chain of custody is crucial because any gaps or inconsistencies can lead to evidence being deemed inadmissible in court, thus compromising the investigation's outcome . This adherence ensures the integrity and credibility of the digital evidence.

Multi-factor authentication (MFA) significantly enhances security by requiring additional verification beyond passwords, reducing the risk from social engineering attacks that often target credentials . However, MFA's effectiveness is constrained by factors such as user inconvenience and the risk of SIM-swapping attacks if phone-based codes are used. Moreover, sophisticated phishing attacks can intercept MFA tokens if users are deceived into entering their credentials on fake websites. Thus, while MFA strengthens defenses, it must be coupled with user education and other security measures to address these limitations and ensure comprehensive protection against social engineering .

Buffer overflow vulnerabilities can lead to arbitrary code execution or denial of service, compromising application and system security. These vulnerabilities occur when input data exceeds a buffer's storage capacity, allowing malicious code to overwrite memory and potentially gain control . To mitigate these risks, developers should implement bounds checking, utilize modern compilers providing buffer overflow protection, and use safe library functions that prevent overflows . Regular security audits and updates of software further help in minimizing these risks. Ensuring proper configuration and input validation makes systems less susceptible to exploitation.

Historically, mobile forensics relied heavily on logical and file-system acquisitions that extracted accessible data from user interfaces and system functions . As mobile technology evolved, the need arose to access deeper system layers, leading to the development of physical, JTAG, and chip-off acquisition methods that provide comprehensive data recovery, including deleted and inactive data . This evolution has been driven by advances in mobile storage architecture complexity, data encryption, and the demand for recovering vast volumes of diverse data types in criminal investigations. Current practices focus on balancing detail with care to avoid data manipulation and device damage, ensuring evidence reliability for legal use.

Password cracking methods include brute force attacks, exploitation of stored passwords, interception of passwords, password decryption software, and social engineering. Brute force attacks try all possible combinations of characters until the correct password is found, which is time-consuming but effective against weak passwords . Exploitation of stored passwords involves attackers stealing password files, which may be stored in plain text or weakly encrypted . Interception of passwords can occur when passwords are transmitted in plain text over a network, allowing sniffers to capture them . Password decryption software exploits weak encryption algorithms, using techniques like one-byte patching . Social engineering manipulates individuals to reveal passwords through non-technical means like phishing .

Organizations can protect their systems from protocol exploits by disabling source routing on routers, using security patches, configuring systems correctly, and leveraging network monitoring tools . These measures are crucial because they prevent attackers from exploiting weaknesses in network protocols like TCP/IP, DNS, and UDP, which can lead to unauthorized access or system disruptions. For instance, disabling source routing prevents attackers from bypassing normal routing . Implementing these measures ensures that known vulnerabilities are patched and unapproved traffic is mitigated, thus preserving the integrity and availability of network resources.

When performing mobile forensics acquisition, it is important to consider the device's state. Encrypted devices may require passcodes, encryption keys, or vendor assistance. If the volatile data is crucial, live acquisition may be necessary, as powering off can lead to the loss of RAM and running app state . Always work forensically by imaging the device first before analysis to avoid altering original evidence. Document any modifications, such as rooting or jailbreaking, which can change device state . These considerations ensure that the evidence collected is both accurate and legally admissible.

You might also like