{"id":573,"date":"2020-01-11T10:54:18","date_gmt":"2020-01-11T15:54:18","guid":{"rendered":"https:\/\/dc540.org\/xxx\/?p=573"},"modified":"2020-01-11T10:54:25","modified_gmt":"2020-01-11T15:54:25","slug":"til-about-john-the-ripper-and-trigraph-frequencies","status":"publish","type":"post","link":"https:\/\/dc540.org\/xxx\/2020\/01\/til-about-john-the-ripper-and-trigraph-frequencies\/","title":{"rendered":"TIL about john the ripper and trigraph frequencies."},"content":{"rendered":"\n<p>I have an assignment to crack an Office password for a document. I have tried using john and hashcat with several large wordlists, and had no luck, so I decided to go all-in and just leave a Kali instance running john in incremental (brute force) mode for &#8220;as long as it takes.&#8221;  It&#8217;s been two days so far.<\/p>\n\n\n\n<p>I have it running within &#8216;screen&#8217; so that I can occasionally login to the system remotely to check progress without risk of losing it.  I was excited at one point yesterday seeing that it was in the middle of checking seven-character passwords, but then I checked back later and it was checking six-character passwords.  This morning, five.  I wanted to understand &#8212; I assumed (without doing a deep dive on the mechanics) that it would just go literally incrementally.  aaaaa, aaaab, aaaac, etc.  That was an incorrect assumption.<\/p>\n\n\n\n<p>John&#8217;s incremental mode actually operates on &#8220;trigraph frequencies.&#8221; While I understand the concept of trigraph frequencies (certain sets of three characters occur more frequently than others, and this can help with decryption efforts, I have my doubts as to whether this helps in cracking passwords. Passwords aren&#8217;t always natural speech, after all.<\/p>\n\n\n\n<p>Anyhow, it&#8217;s been running for two days now, and I&#8217;ll post about it again when it&#8217;s done just to give an idea of whether it&#8217;s successful, and if so, how long it took vs the complexity of the password.<\/p>\n\n\n\n<p>If anyone else wants to try using similar or other methods, let me know, and I&#8217;ll send you the hash (generated by office2john).  No, I can&#8217;t send you the actual document. That would be unethical.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an assignment to crack an Office password for a document. I have tried using john and hashcat with several large wordlists, and had no luck, so I decided &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dc540.org\/xxx\/2020\/01\/til-about-john-the-ripper-and-trigraph-frequencies\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TIL about john the ripper and trigraph frequencies.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":574,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[32,45],"tags":[],"class_list":["post-573","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-professional-development","category-tradecraft"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dc540.org\/xxx\/wp-content\/uploads\/2020\/01\/johntheripper.png","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/comments?post=573"}],"version-history":[{"count":1,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":575,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/posts\/573\/revisions\/575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/media\/574"}],"wp:attachment":[{"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/media?parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/categories?post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dc540.org\/xxx\/wp-json\/wp\/v2\/tags?post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}