/Robin

A Patch Detection Tool

Primary LanguagePython

Robin

A patch and vulnerability detection tool.

Preparation

  1. pip install -r requirments.txt.
  2. Install IDA Pro 7.x.

Usage

Offline

Path Input Building

see function PoC_gen() in patch_test.py

Online Detection

see function patch_test() in patch_test.py

INFO    | 2021-03-02 14:22:16,301 | patch_detection | [*] start null pointer dereference detection for X509_to_X509_REQ of CVE-2015-0288 in /home/angr/Soter/binaries/openssl/O0/openssl-1.0.1k
INFO    | 2021-03-02 14:22:16,468 | patch_detection | [*] preparing memory layout for detection >>>
INFO    | 2021-03-02 14:22:17,318 | preparation | [*] calling convention detecting...
INFO    | 2021-03-02 14:22:17,553 | patch_detection | [+] start detection with se in function X509_to_X509_REQ of /home/angr/Soter/binaries/openssl/O0/openssl-1.0.1k

WARNING | 2021-03-02 14:22:22,627 | RuntimeRecorder | Null Pointer Dereference founded at instruction 0x814c1b2: CsInsn 0x814c1b2 [8b400c]: mov eax, dword ptr [eax + 0xc]

Dataset

see ./data/cve_all