20 ms·
It's a pity that there is no description of what it is supposed to be used for.
by dsab 1y ago
It's a pity that there is no description of what it is supposed to be used for.
- chipsrafferty 1y agoBecause there's unlikely to be a use case
- h4ck_th3_pl4n3t 1y agoThe answer is likely wordpress, because its default wp_hash algorithm is still MD5.
- 0points 1y ago> The answer is likely wordpress, because its default wp_hash algorithm is still MD5. That's only true if you ignore all the details. As usual, you cannot make a coherent understanding on just about any subject by reading headlines alone. Life would have taught you by now that the devil is in the details. WP uses salt and multiple rounds of hashing, fully mitigating the md5 collisions being topic of discussion here. So no, wp doesn't "use md5" in the sense that they would be vulnerable to this type of attack. Source: https://developer.wordpress.org/reference/functions/wp_hash_password/ https://developer.wordpress.org/reference/functions/wp_hash_...
- downtown_ 1y agoThis is not related to password hashing.,.
- high_na_euv 1y agoLiterally in this "article" >Can use it bypass some cached webshell detections.
- eptcyka 1y ago> As usual, you cannot make a coherent understanding on just about any subject by reading headlines alone. The amount of sweet, sweet irony displayed here will make me diabetic. Did you read the article at all? Salting? What are you on about? Honestly, it feels that some HN commenters are LLMs instructed to defend a given entity.
- deleted 1y ago[deleted]
- h4ck_th3_pl4n3t 1y agoYour source described wp_hash_password(), not wp_hash(). As the OP article/PoC is about hashing uploaded files, not passwords btw, I think you should read it again. Because as I pointed out, wp_hash() is used to check against uploaded files. Oh, and source: https://developer.wordpress.org/reference/functions/wp_hash/ https://developer.wordpress.org/reference/functions/wp_hash/ And as I cannot resist quoting you for trying to smartass while literally not having read the source code the PoC was about: > As usual, you cannot make a coherent understanding on just about any subject by reading headlines alone. Life would have taught you by now that the devil is in the details.
- lisper 1y agoIf you don't know, then you aren't the target audience. But there are two applications: the first is breaking in to a system under some very obscure set of circumstances that you are very unlikely to encounter in the real world. The second is to bump up your karma on HN.
- bawolff 1y ago> If you don't know, then you aren't the target audience. If you do know, then you also know md5 being broken is really really old news. Seriously. Cryptographers have been warning that md5 seems weak since 1996. There are probably people reading this thread who weren't even alive yet. (It got totally broken in 2004 but the warning signs were way earlier).
- ramses0 1y agoSomeone with more karma motivation could post this as a top level story, but Plex offers to validate their Debian public key via MD5: https://support.plex.tv/articles/235974187-enable-repository-updating-for-supported-linux-server-distributions/ https://support.plex.tv/articles/235974187-enable-repository... Such security! Much wow!
- bawolff 1y agoWhile this is a bad idea, as far as i know its secure since nobody has broken md5 second preimage.
- alkonaut 1y ago> system under some very obscure set of circumstances that you are very unlikely to encounter in the real world. Is there any way to use HN karma? Like, can I sell my account on some shady exchange like people sell big twitter accounts? And if I can, what's the going rate for internet points these days? Asking for an unscrupulous friend.
- lisper 1y ago
- IshKebab 1y agoIt says at the end of the README: > Can use it bypass some cached webshell detections.
- integralid 1y agoAfter, sometimes, the initial scanning, the security and AV industry deals with file hashes, not actual files. This means that if you wrote a legitimate, harmful program, and a malicious version with the same hash, you would be able to troll the security rolls in many cases. Basically, those two files would look the same to the security program. The thing that makes this blog post not realistic is: * Such tricks would make much more sense with normal programs, where you're trying to trick an user to download and execute it. Webshells are downloaded by the attacker knowingly. * Md5 is not used anymore (although I know security vendors who used it for embarrassingly long time). If this was SHA256, that attack would be devastating for many more severe reasons. But it's still a fun PoC.