Zum Hauptinhalt springen
LIVE
CVSS 6.5CVE-2026-111315 | The Smaily Connect plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 3.24.0 This is due to the smaily_get_edit_user_id() function reading an attacker-controlled $_GET['user_id'] parameter without performing any ownership or capability check, and then feeding that id into smaily_get_userdata() (which calls get_user_meta()) when rendering the WooCommerce My Account 'edit-account' form via the smaily_print_CVSS 6.4CVE-2026-137713 | Webmin through 2.670 before ae8feb1 allows XSS via an SVG attachment in a mail queue, relevant if an authenticated user uploads an SVG document and an administrator views it.CVSS 6.9CVE-2026-137678 | A security vulnerability has been detected in code-projects Online Job Portal 1.0. Affected by this issue is some unknown functionality of the file Admin/InsertUser.php. Such manipulation of the argument txtUserName/txtPassword leads to sql injection. The attack can be launched remotely. The exploit has been disclosed publicly and may be used.CVSS 5.3CVE-2026-137703 | Flask-AppBuilder before 5.3.1 contains a path traversal vulnerability in ImageManager.save_file that allows authenticated users to write image files outside IMG_UPLOAD_FOLDER via unsanitized multipart filenames. Attackers with add or edit permission on a ModelView with an ImageColumn can upload filenames containing ../ segments to create or overwrite image files like static assets.CVSS 6.1CVE-2026-130039 | The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'REQUEST_URI' parameter in all versions up to, and including, 7.9.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful exploitation requires comments to be open, a comment author name containinCVSS 6.1CVE-2026-136206 | The Export Products, Orders & Customers for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'start_date' parameter in all versions up to, and including, 2.4.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. SucCVSS 9.4CVE-2026-137706 | Smart Portal developed by Direk Tech has a Missing Authorization vulnerability. Authenticated remote attackers can add a specified account to the Active Directory Domain Admins group, thereby obtaining domain administrator privileges.CVSS 8.7CVE-2026-137705 | Smart Portal developed by Direk Tech has an Arbitrary File Read vulnerability.Unauthenticated remote attackers can exploit Relative Path Traversal to download arbitrary system files.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Hash Identification Reference Guide

With commands and tools This document serves as a professional, end-to-end reference for identifying, parsing, and cracking cryptographic hashes and encodings…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 6 Min. Lesezeit
Quelle: dev.to
Rubrik: Programación segura

With commands and tools

This document serves as a professional, end-to-end reference for identifying, parsing, and cracking cryptographic hashes and encodings encountered during penetration tests, CTFs, and practical exams (like the CPTS).





1. Deep Dive: The Bcrypt Hashing Algorithm





How to Identify Bcrypt



Bcrypt is an adaptive, salted cryptographic hash function based on the Blowfish cipher. In database dumps, a bcrypt hash is immediately recognizable by its structured layout, modular delimiters ($), and a fixed length of exactly 60 characters.





Structural Breakdown



A standard bcrypt string is split into four distinct fields:



Plaintext




  $2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxob00GMBXo8NHp3P/B42LUg0lS
\ / \/ \____________________/\_____________________________/
| | | |
Identifier Cost 22-Char Salt 31-Char Hash








  1. Identifier (Prefix): Defines the specific variant of the bcrypt algorithm.




- `$2a$`: The classic implementation.

- `$2b$`: Modern implementation fixing minor caching bugs.

- `$2y$`: Specifically generated by PHP (e.g., Laravel, custom frameworks) to handle specific password hashing variations.






  1. Cost Factor: A two-digit integer indicating the work factor. It represents the number of key-expansion rounds as a power of 2 ($2^{\text{cost}}$).




- _Example:_ A cost of `13` means $2^{13} = 8,192$ iterations. This intentional slowness (key stretching) thwarts brute-force hardware.





  1. Salt: A globally unique, 22-character string that prevents rainbow table attacks.


  2. Ciphertext (Digest): The remaining 31-character output containing the actual scrambled data.





Key Learning: Bcrypt uses a custom Base64 alphabet (./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789). This is why you will see characters like . and / scattered through the text, but never padding signs like =.







2. Comprehensive Identification Matrix: Encodings vs. Hashes



As a pentester, you must distinguish between data that is merely encoded (reversible) and data that is cryptographically hashed (one-way).






Non-Cryptographic Encodings (Reversible)






































Type Character Set Length Characteristics Structural Indicators / Giveaways
Base64
A-Z, a-z, 0-9, +, /
Always a multiple of 4. Frequently ends with = or == padding characters.
Hexadecimal
0-9, a-f (or A-F)
Always an even number of characters. No letters past F will ever appear.
ROT13
A-Z, a-z
Matches the original plain text length. Retains all native punctuation, spaces, and numbers.
URL Encoding
0-9, A-F, %
Variable. Dominated by percentage signs (%20, %3f, %2b).



  • Base64 Example: YWRtaW4xMjM= $\rightarrow$ Decodes to admin123


  • Hex Example: 61646d696e313233 $\rightarrow$ Decodes to admin123


  • ROT13 Example: nqzva123 $\rightarrow$ Decodes to admin123







Standard Linear Hashes (Fast Hashes)



These are raw hexadecimal outputs. They do not store their salt natively inside the output string and are identified entirely by character count.






MD5 (Message Digest 5)




  • Length: 32 characters (128-bit)


  • Format: Hexadecimal


  • Example: 0192023a7bbd73250516f069df18b500







SHA-1 (Secure Hash Algorithm 1)




  • Length: 40 characters (160-bit)


  • Format: Hexadecimal


  • Example: a0f7169bb83ab40d21d51a6579cf299e5a1532f7







SHA-256




  • Length: 64 characters (256-bit)


  • Format: Hexadecimal


  • Example: 240a1921a37c15234f9a0c6a589cf299e5a1532f7a0f7169bb83ab40d21d51a65







Application & OS Hashes (Slow / Salted Hashes)






SHA-512 Crypt




  • Where found: Linux /etc/shadow files.


  • Indicator: Starts explicitly with $6$.


  • Example: $6$rounds=5000$saltsalt$HashedOutputStrings...







Argon2 (2i / 2id)




  • Where found: Modern enterprise databases, KeePass databases.


  • Indicator: Starts with $argon2i$ or $argon2id$, followed by resource allocation variables (m= memory, t= time, p= parallelism).


  • Example: $argon2id$v=19$m=65536,t=3,p=4$Y29v...







NetNTLMv2




  • Where found: Sniffed over Windows networks via Responder or LLMNR/NBT-NS poisoning.


  • Indicator: Look for username, domain, and challenge blocks divided by double colons (::).


  • Example: Administrator::DOMAIN:1122334455667788:A1B2C3D4...







3. Cracking Suite Toolkit: Hashcat vs. John the Ripper



Understanding when to deploy specific cracking engines determines how quickly you recover credentials.






Architectural Differences




  • Hashcat (The GPU Beast): Specifically engineered for massively parallel hardware acceleration. It leverages graphics cards (GPUs) via OpenCL/CUDA.


  • John the Ripper (The Flexible CPU Swiss-Army Knife): Highly optimized for single-core or multi-core CPU architecture. It excels at parsing non-standard formats and handling heavily customized syntax structures easily.







Definitive Use-Case Table

































Scenario Recommended Tool Core Reason
Massive Hex Lists (MD5/SHA256) Hashcat GPUs process simple linear math algorithms millions of times faster than CPUs.
Complex Linux/Windows Files John the Ripper Native internal tools (like unshadow or ssh2john) easily parse raw system formatting into crackable structures.
Bcrypt / Argon2 John / Hashcat Tied. Because these hashes are intentionally slow, high-end GPUs lose their structural scaling advantage over CPUs.
Custom Rulesets & Mangling John the Ripper JTR’s custom rule syntax engine is highly descriptive for complex conditional character modifications.





4. Practical Execution Reference (Commands)






Identifying a Hash Programmatically



Before running an intensive attack, use automated validation scripts to rule out edge cases:



Bash




# Method 1: Using hashid
hashid -m '$2y$13$e9zuohgFZzGtbQalcn9Mz.5PJbjxob00GMBXo8NHp3P/B42LUg0lS'

# Method 2: Using hash-identifier
hash-identifier









Hashcat Execution Reference



Hashcat requires you to define the mode parameter (-m) corresponding to the specific algorithm target.
































Hash Type Mode ID (-m)
MD5 0
SHA-1 100
SHA-256 1400
Bcrypt 3200
NetNTLMv2 5600





Standard Wordlist Attack (Straight Mode)



Bash




hashcat -m 3200 -a 0 targets.txt /usr/share/wordlists/rockyou.txt







  • -m 3200: Specifies the target format is Bcrypt.


  • -a 0: Direct straight attack (runs lines exactly as they appear in the dictionary file).







Rule-Based Mangling Attack



Applies complex changes (capitalization, character substitution, padding) to every item in the wordlist:



Bash




hashcat -m 3200 -a 0 targets.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule









John the Ripper Execution Reference



John natively attempts to auto-detect formats, but manually defining the configuration flag (--format=) prevents parsing errors.






Standard Wordlist Attack



Bash




john --format=bcrypt --wordlist=/usr/share/wordlists/rockyou.txt targets.txt









Cracking Linux Shadow Files (Unshadow Workflow)



John handles system authentication structures natively by merging configuration databases:



Bash




# Step 1: Combine passwd and shadow files into a cohesive crackable layout
unshadow /etc/passwd /etc/shadow > unshadowed.txt

# Step 2: Run the attack using John's default internal rule settings
john --wordlist=/usr/share/wordlists/rockyou.txt unshadowed.txt









Checking Found Credentials



Bash




john --show unshadowed.txt









5. Situational Problem Solving (Troubleshooting)






Problem 1: "Hashcat returns an 'Assocated hash encoding salt length exception' error"




  • Root Cause: The input format is broken. Fast hashes (MD5/SHA) cannot have extra white spaces, trailing newlines, or username descriptions appended without explicit syntax flags.



  • Resolution: Clean the target file using string utilities:



    Bash


    # Clean trailing spaces and convert strings to lowercase completely
    tr -d ' ' < broken_hashes.txt | tr '[:upper:]' '[:lower:]' > clean_hashes.txt








Problem 2: "Bcrypt cracking speeds are painfully slow ($<500$ hashes/sec)"




  • Root Cause: This is expected behavior. Bcrypt's internal cost factor causes it to compute deliberately slow loops to mitigate massive computing arrays.


  • Resolution: Do not attempt massive multi-gigabyte wordlists right away. Optimize your dictionary strategy:






1. Extract custom words from the target's public-facing website using cewl -w custom.txt http://target.htb.


  1. Run top-tier password structures first (e.g., rockyou.txt trimmed down to the top 10,000 entries).







Problem 3: "John the Ripper fails to recognize a valid SSH Private Key"





  • Root Cause: Modern keys must be stripped of extraneous header markers and reformatted into a standard linear cryptographic string.



  • Resolution: Process the file through the appropriate formatting tool before attacking:



    Bash


    ssh2john id_rsa > rsa_hash.txt
    john --wordlist=/usr/share/wordlists/rockyou.txt rsa_hash.txt



Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Debate de la comunidad y comentarios

🌐 Unirse al chat principal

Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.

Valoración de la comunidad &amp; prueba social
⭐ Valoración de los lectores
–
Ø / 5.0
Aún no hay valoraciones de lectores
¿Le ha resultado útil este artículo?
0
Dejar una valoración ahora
Valoración detallada (opcional)
Contenido & calidad
Fuente & credibilidad
Actualidad
Briefing de seguridad Gratis · baja en 1 clic

Intelligence Digest — gratis

Cada día las noticias de seguridad más importantes · baja en cualquier momento

Clústeres de historias relacionados & fuentes (IA vectorial)

6 Cluster
41 fuentes
Best Black Friday MacBook Air deals: biggest discounts on Apple's thin and light laptop range
Latest from TechRadar hace 44 min.
40 fuentes más
Latest from TechRadarhace 34 min.Proton VPN vs ExpressVPN – which secure VPN should you pick this Black Friday? WIREDhace 9 hThe 108 Best Black Friday Deals Are Now Live: Our Expert Picks for 2026 WIREDhace 40 min.20 Best Black Friday Tech Deals (2026) WIREDhace 39 min.The 10 Best Black Friday TV Deals (2026): Save Up to 53% Off Giga.dehace 30 min.Black Friday 2026 bei Back Market: Dyson, Ninja und GoPro jetzt deutlich günstiger Cyber Security Newshace 1 hBlack Friday or Black Fraud Day? 7 Cyber Traps to Watch Out for Before You Click ‘Buy’ CNEThace 2 díasLive: Black Friday Is Here. Shop Our Favorite Deals and Save Up to 60% Apple, Anker, Bose and More WIREDhace 53 min.22 Best Black Friday Deals Under $100 (2026) WIREDhace 52 min.Best Black Friday Phone Deals (2026): iPhone, Pixel, and More The Vergehace 59 min.The absolute best Black Friday deals we’ve found (so far) Giga.dehace 51 min.AirPods Pro 3 im Black-Friday-Sturzflug: So günstig waren Apples Top-In-Ears noch nie PC-WELThace 49 min.Black Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr PC-WELThace 49 min.Black Friday bei Amazon Haul: 20 Prozent Rabatt auf Powerbanks, Batterieprüfer, Speichersticks und mehr t3n.dehace 1 hKindle, Echo Dot, Fire TV: Diese neuen Amazon-Geräte sind zum Black Friday stark reduziert Macerkopf.dehace 1 hAmazon Black Friday Woche: iPad Air, iPhone 18 Cases, AirTag 2, Fire TV Sticks, Echo Dot und mehr appgefahren.dehace 1 hJMGO mit Black Friday-Deals: Heimkino-Bundles bis zu 60 Prozent günstiger PC-WELThace 1 hGoogle Pixel 11 jetzt unglaubliche 430 Euro günstiger im Black-Friday-Deal: Tiefstpreis bei Amazon PC-WELThace 1 hNorton 360 Premium-Security an Black Friday nur 19,99 Euro statt 100 Euro Latest from TechRadarhace 1 hThe best Black Friday headphone deals: Sony, AirPods and more Latest from TechRadarhace 1 hBest Black Friday mini PC deals 2026 live: Save on desktops from Apple, Geekom, GMKtec, Minisforum, and more Golem.dehace 1 hAnzeige: Amazon startet mit Glücksrad-Gewinnspiel in den Black Friday Latest from TechRadarhace 1 hThese smart and polished backpacks have accompanied me to events all over the world — and they're now 30% for Black Friday PC-WELThace 1 hRiesiger 75 Zoll 4K-QLED-Fernseher fällt bei Amazon auf nur 469 Eur im Black-Friday-Angebot PC-WELThace 1 hBlack Friday: Beliebte Mähroboter von Mammotion jetzt ab 599 Euro Latest from TechRadarhace 1 hSave up to around £200 on these top mini PCs for Black Friday — with multiple options and configurations available for your exact needs or preferences Caschys Bloghace 3 hFlexiSpot Black Friday 2026: Bis zu 40 % Rabatt auf Bestseller bei Amazon Golem.dehace 1 hBlack Friday: Verdi mobilisiert bei Amazon in Gera nur wenige PC-WELThace 1 hNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro appgefahren.dehace 1 htink.de bietet bis zu 50 Euro Extra-Rabatt auf Black-Friday-Angebote PC-WELThace 1 hNotebooksbilliger Black Friday: 150 Euro Extra-Rabatt – Laptops unter 300 Euro Latest from TechRadarhace 2 hWhich all-in-one Black Friday VPN bundle is really worth it? I compared NordVPN Prime, ExpressVPN Pro, and Proton Unlimited — all under $7 a month — to decide PC-WELThace 2 hAmazon verlost an Black Friday Einkaufsgutscheine im Wert von 2.000 Euro PC-WELThace 2 hAmazon verlost an Black Friday Einkaufsgutscheine im Wert von 2.000 Euro t3n.dehace 2 hZum Black Friday bei Ecoflow den Heimspeicher fürs Frühjahr sichern PC-WELThace 2 hBlack Friday ist da! Die besten Technik-Deals bei Amazon am 27.11. GamingOnLinux Latest Articl…hace 2 hValve update the Discounts & Events page for Black Friday sales Latest from TechRadarhace 2 hI'm an Audio Editor and these are the only cheap hi-fi and headphone deals I want you to see this Black Friday t3n.dehace 2 hFritzbox am Black Friday: 9 gute Angebote rund um Router und Repeater PC-WELThace 2 hBlack Friday bei Amazon Haul: Bis zu 20 Prozent Rabatt auf Powerbanks, Bosch-Produkte und mehr PC-WELThace 2 hBlack Friday bei Amazon Haul: Bis zu 20 Prozent Rabatt auf Powerbanks, Bosch-Produkte und mehr
17 fuentes
Google will soon share Android developers' addresses publicly
Engadget - Technology News & Expert Reviews hace 55 min.
16 fuentes más
VulDB Updateshace 1 hCVE-2026-95429 | Google Android BrEdrDynamicChannel bredr_dynamic_channel.cc resource consumption VulDB Updateshace 1 hCVE-2026-95434 | Google Android LowEnergyScanner low_energy_scanner.cc NotifyPeerFound resource consumption VulDB Updateshace 1 hCVE-2026-95441 | Google Android Bluetooth connection.cc OnDisconnectionComplete denial of service VulDB Updateshace 1 hCVE-2026-95422 | Google Android periodic_advertising_synchronizer.cc OnSyncEstablished assertion VulDB Updateshace 1 hCVE-2026-95423 | Google Android local_service_manager.cc OnWriteCCC null pointer dereference VulDB Updateshace 1 hCVE-2026-95447 | Google Android SDP Client client.cc OnRxFrame memory corruption VulDB Updateshace 1 hCVE-2026-95421 | Google Android Command Processing bredr_signaling_channel.cc DecodeRxUnit use after free VulDB Updateshace 1 hCVE-2026-95435 | Google Android advertising_data.cc FromBytes out-of-bounds VulDB Updateshace 1 hCVE-2026-95446 | Google Android credit_based_flow_control_rx_engine.cc ProcessPdu input validation VulDB Updateshace 1 hCVE-2026-95420 | Google Android Pairing security_manager.cc OnEncryptionChange privileges management VulDB Updateshace 1 hCVE-2026-95419 | Google Android Bluetooth Security Manager security_manager.cc OnPairingRequest unusual condition VulDB Updateshace 1 hCVE-2026-95416 | Google Android Link Encryption Key security_manager.cc OnPairingFailed denial of service VulDB Updateshace 1 hCVE-2026-95415 | Google Android RemoteCharacteristic remote_characteristic.cc denial of service VulDB Updateshace 1 hCVE-2026-95417 | Google Android remote_characteristic.cc ResolvePendingNotifyRequests use after free VulDB Updateshace 1 hCVE-2026-95414 | Google Android http_file_request_handler.cc GetFilePath path traversal VulDB Updateshace 1 hCVE-2026-95418 | Google Android logical_link.cc LogicalLink::SignalError use after free
Artículos similares
🔍 Verwandte News

Auch interessante Nachrichten Hash Identification Reference Guide

Thematisch verwandte Begriffe: Hash, Identification, Reference, Guide · 6 Treffer

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

💬 Cargando comentarios…
Desliza para actualizar
Widgets & Topics
Loading widgets…
Nächster Beitrag