{
  "id": "md4",
  "name": "MD4",
  "family_id": "md4",
  "description": "MD4 with a 128-bit digest, 512-bit message block and 48 steps (3 rounds of 16). Broken: full collisions in fewer than 2 MD4 computations (FSE 2007) and full preimages in 2^99.7 operations (ASIACRYPT 2010).",
  "status": "broken",
  "parameters": {
    "digest_bits": 128,
    "block_bits": 512,
    "rounds": 48,
    "construction": "Merkle-Damgård (3 rounds of 16 steps)",
    "standard": "IETF RFC 1320"
  },
  "references": [
    {
      "title": "RFC 1320: The MD4 Message-Digest Algorithm",
      "url": "https://www.rfc-editor.org/rfc/rfc1320",
      "authors": [
        "Ronald L. Rivest"
      ],
      "quote_location": "MD4: 128-bit digest, 512-bit block, 3 rounds of 16 steps (48 steps)"
    }
  ],
  "kats": [],
  "attacks": [
    {
      "id": "md4-sasaki-2007-collision",
      "target_id": "md4",
      "title": "Full 48-step MD4 collision in fewer than 2 MD4 computations",
      "goal": "collision",
      "attack_family": "differential",
      "setting": "Full 48-step MD4 collision search using a new message difference and differential path, costing fewer than 2^1 MD4 computations",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2007-03-26",
      "authors": [
        "Yu Sasaki",
        "Lei Wang",
        "Kazuo Ohta",
        "Noboru Kunihiro"
      ],
      "references": [
        {
          "title": "New Message Difference for MD4",
          "url": "https://doi.org/10.1007/978-3-540-74619-5_21",
          "authors": [
            "Yu Sasaki",
            "Lei Wang",
            "Kazuo Ohta",
            "Noboru Kunihiro"
          ],
          "doi": "10.1007/978-3-540-74619-5_21",
          "quote_location": "FSE 2007 (full MD4 collision in fewer than 2 MD4 computations)"
        },
        {
          "title": "RFC 1320: The MD4 Message-Digest Algorithm",
          "url": "https://www.rfc-editor.org/rfc/rfc1320",
          "authors": [
            "Ronald L. Rivest"
          ],
          "quote_location": "MD4: 128-bit digest, 512-bit block, 3 rounds of 16 steps (48 steps)"
        }
      ],
      "supersedes": [
        "md4-wang-2005-collision"
      ],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 48,
        "total_rounds": 48,
        "log2_time": 1,
        "time_unit": "MD4 computations (fewer than 2)",
        "attack_goal": "collision"
      },
      "notes": "log2_time: 1 records the stated upper bound of fewer than 2^1 MD4 computations. Supersedes the Wang et al. EUROCRYPT 2005 collision (at most 2^8). Date approximates FSE 2007."
    },
    {
      "id": "md4-guo-2010-preimage",
      "target_id": "md4",
      "title": "Full 48-step MD4 preimage in 2^99.7 via advanced meet-in-the-middle",
      "goal": "preimage",
      "attack_family": "meet-in-the-middle",
      "setting": "Advanced meet-in-the-middle preimage attack on full 48-step MD4 costing 2^99.7, improving Leurent's FSE 2008 2^102 preimage",
      "claim_kind": "estimate",
      "track": "mathematical",
      "date": "2010-12-05",
      "authors": [
        "Jian Guo",
        "San Ling",
        "Christian Rechberger",
        "Huaxiong Wang"
      ],
      "references": [
        {
          "title": "Advanced Meet-in-the-Middle Preimage Attacks: First Results on Full Tiger, and Improved Results on MD4 and SHA-2",
          "url": "https://doi.org/10.1007/978-3-642-17373-8_4",
          "authors": [
            "Jian Guo",
            "San Ling",
            "Christian Rechberger",
            "Huaxiong Wang"
          ],
          "eprint_id": "2010/016",
          "doi": "10.1007/978-3-642-17373-8_4",
          "quote_location": "ASIACRYPT 2010 / ePrint 2010/016 (MD4 preimage 2^99.7)"
        },
        {
          "title": "RFC 1320: The MD4 Message-Digest Algorithm",
          "url": "https://www.rfc-editor.org/rfc/rfc1320",
          "authors": [
            "Ronald L. Rivest"
          ],
          "quote_location": "MD4: 128-bit digest, 512-bit block, 3 rounds of 16 steps (48 steps)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 48,
        "total_rounds": 48,
        "log2_time": 99.7,
        "time_unit": "MD4 compression function computations",
        "attack_goal": "preimage"
      },
      "notes": "Theoretical full-round preimage below the 2^128 generic bound. Supersedes Leurent FSE 2008 (2^102), which is not separately indexed. Date approximates ASIACRYPT 2010."
    },
    {
      "id": "md4-wang-2005-collision",
      "target_id": "md4",
      "title": "First practical full MD4 collision (at most 2^8 MD4 computations)",
      "goal": "collision",
      "attack_family": "differential",
      "setting": "Full 48-step MD4 collision using modular differential paths and message modification, costing at most 2^8 MD4 computations",
      "claim_kind": "record",
      "track": "mathematical",
      "date": "2005-05-22",
      "authors": [
        "Xiaoyun Wang",
        "Xuejia Lai",
        "Dengguo Feng",
        "Hui Chen",
        "Xiuyuan Yu"
      ],
      "references": [
        {
          "title": "Cryptanalysis of the Hash Functions MD4 and RIPEMD",
          "url": "https://doi.org/10.1007/11426639_1",
          "authors": [
            "Xiaoyun Wang",
            "Xuejia Lai",
            "Dengguo Feng",
            "Hui Chen",
            "Xiuyuan Yu"
          ],
          "doi": "10.1007/11426639_1",
          "quote_location": "EUROCRYPT 2005 (MD4 collision in at most 2^8 MD4 computations)"
        },
        {
          "title": "RFC 1320: The MD4 Message-Digest Algorithm",
          "url": "https://www.rfc-editor.org/rfc/rfc1320",
          "authors": [
            "Ronald L. Rivest"
          ],
          "quote_location": "MD4: 128-bit digest, 512-bit block, 3 rounds of 16 steps (48 steps)"
        }
      ],
      "supersedes": [],
      "disputed_by": [],
      "evidence": {
        "source_status": "peer_reviewed",
        "citation_verified": false,
        "artifact_verified": {
          "verified": false
        },
        "peer_reproduced": {
          "reproduced": false
        },
        "formal_verified": {
          "verified": false
        }
      },
      "metrics": {
        "type": "hash_attack",
        "rounds_attacked": 48,
        "total_rounds": 48,
        "log2_time": 8,
        "time_unit": "MD4 computations (at most 2^8)",
        "attack_goal": "collision"
      },
      "notes": "Landmark first practical MD4 collision; superseded by Sasaki et al. FSE 2007 (fewer than 2 computations). Date approximates EUROCRYPT 2005."
    }
  ],
  "frontiers": [
    {
      "id": "md4-preimage-gap",
      "target_id": "md4",
      "title": "Practical MD4 preimages",
      "description": "MD4 collisions cost fewer than 2 computations, but the best full-round preimage still costs 2^99.7 (Guo et al., ASIACRYPT 2010). Closing the gap toward practical preimages or second preimages for arbitrary targets remains open; MD4 persists in legacy NTLM password hashing.",
      "references": [
        {
          "title": "Advanced Meet-in-the-Middle Preimage Attacks: First Results on Full Tiger, and Improved Results on MD4 and SHA-2",
          "url": "https://doi.org/10.1007/978-3-642-17373-8_4",
          "authors": [
            "Jian Guo",
            "San Ling",
            "Christian Rechberger",
            "Huaxiong Wang"
          ],
          "eprint_id": "2010/016",
          "doi": "10.1007/978-3-642-17373-8_4",
          "quote_location": "ASIACRYPT 2010 / ePrint 2010/016 (MD4 preimage 2^99.7)"
        },
        {
          "title": "New Message Difference for MD4",
          "url": "https://doi.org/10.1007/978-3-540-74619-5_21",
          "authors": [
            "Yu Sasaki",
            "Lei Wang",
            "Kazuo Ohta",
            "Noboru Kunihiro"
          ],
          "doi": "10.1007/978-3-540-74619-5_21",
          "quote_location": "FSE 2007 (full MD4 collision in fewer than 2 MD4 computations)"
        }
      ]
    }
  ],
  "dead_ends": []
}
