
Microsoft Defender研究のためのMAPSクラウドスキャナーおよび応答パーサー
Windows DefenderのMAPS(Microsoft Active Protection Service)クラウドベースのファイルレピュテーションおよび動的署名配信システムと対話するための研究ツールです。
MAPSは、Defenderのリアルタイム保護の判定、サンプル提出パイプライン、動的署名(SDN/DSS)配信を支えるクラウドバックエンドです。このツールは、Defenderクライアントがワイヤ上で使用するのと同じ Bond CompactBinaryV1 プロトコルを使用し、セキュリティ研究目的でMAPSエンドポイントと直接対話することを可能にします。
pip install -r requirements.txt
必要な依存関係は requests のみです。拡張分析のためのオプションの依存関係:
| パッケージ | 目的 |
|---|---|
pefile | 詳細なPE構造解析 |
ssdeep | ファジーハッシュ計算 |
# Scan a local file
./maps_scanner scan <file>
# Query reputation by hash
./maps_scanner scan-hash <sha256>
# URL reputation check
./maps_scanner url <url>
# Connectivity test
./maps_scanner heartbeat
# Local-only PE analysis
./maps_scanner analyze <file>
# Build a Bond payload without sending
./maps_scanner build <file>
# Decode a captured Bond binary
./maps_scanner decode <file>
# Replay a previously captured payload
./maps_scanner replay <file>
# Show or edit configuration
./maps_scanner config
任意のコマンドに --json を追加することで、機械可読な出力が得られます。-v を使用すると、詳細なプロトコル情報が表示されます。
maps_scanner/
__init__.py # Package metadata
__main__.py # CLI entry point and command routing
client.py # MAPS protocol client, config, and file analysis
bond.py # Microsoft Bond CompactBinaryV1 serializer/deserializer
fuzz_maps.py # API fuzzer for endpoint and field discovery
maps_scanner # Python wrapper script
requirements.txt # Dependencies
docs/ # Protocol documentation and test results
tests/ # Test samples and utilities
詳細なプロトコルドキュメントは docs/ にあります:
このツールは許可されたセキュリティ研究専用として提供されます。ライブのMicrosoftサービスと対話します。責任を持って、すべての適用される法律およびMicrosoftの利用規約に準拠して使用してください。著者は誤用に対する一切の責任を負いません。
許可されたセキュリティ研究目的でのみ使用可能です。