
asyncio(コルーチン)ベースのCVE-2020-0796は速度が非常に良好で、運用エンジニアが内部ネットワークを迅速にスキャンするのに便利です。
公開されたPOCを基に、コルーチンを活用して検出速度を大幅に向上させました。運用担当者の皆さんが迅速に内部ネットワークをスキャンできるようになります。
Windows 10 Version 1903 for 32-bit Systems
Windows 10 Version 1903 for x64-based Systems
Windows 10 Version 1903 for ARM64-based Systems
Windows Server, Version 1903 (Server Core installation)
Windows 10 Version 1909 for 32-bit Systems
Windows 10 Version 1909 for x64-based Systems
Windows 10 Version 1909 for ARM64-based Systems
Windows Server, Version 1909 (Server Core installation)
Microsoftの一時的な解決策を参照してください。 ADV200005 | Microsoft Guidance for Disabling SMBv3 Compression
PowerShellを使用してSMBv3サービスの圧縮を無効にします(再起動不要)。
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" DisableCompression -Type DWORD -Value 1 -Force
Python 3.5以上で実行してください。
Python 3.7以上で実行してください(asyncio.runは3.7で追加されたAPIであり、async/awaitが3.5で追加された構文であることのみ考慮していました)。
IPアドレスの処理にはサードパーティライブラリ netaddr を使用します。
pip3 install netaddr

接続タイムアウトのIP情報を表示したくない場合は、39行目をpassに変更してください。