mirror of
https://github.com/nmap/nmap.git
synced 2026-08-28 12:31:12 +00:00
Add warning for SWEET32 on CBC with block size <= 64 bits
This commit is contained in:
parent
fb2fc62a0b
commit
fc948c437b
2 changed files with 10 additions and 0 deletions
|
|
@ -655,6 +655,9 @@ local function find_ciphers_group(host, port, protocol, group, scores)
|
|||
if info.hash and info.hash == "MD5" then
|
||||
scores.warnings["Ciphersuite uses MD5 for message integrity"] = true
|
||||
end
|
||||
if info.mode and info.mode == "CBC" and info.block_size <= 64 then
|
||||
scores.warnings[("64-bit block cipher %s vulnerable to SWEET32 attack"):format(info.cipher)] = true
|
||||
end
|
||||
if protocol == "SSLv3" and info.mode and info.mode == "CBC" then
|
||||
scores.warnings["CBC-mode cipher in SSLv3 (CVE-2014-3566)"] = true
|
||||
elseif info.cipher == "RC4" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue