Merge branch 'evbug'
authorAlexander Popov <alex.popov@linux.com>
Thu, 9 Apr 2020 15:54:38 +0000 (18:54 +0300)
committerAlexander Popov <alex.popov@linux.com>
Thu, 9 Apr 2020 15:54:38 +0000 (18:54 +0300)
Thanks @HacKurx

README.md
kconfig_hardened_check/__init__.py

index 76d4e1dd2de7fef729e8862622082bc72b53964a..0e18940c5919fc37431fcecde5135f30e6dc0198 100644 (file)
--- a/README.md
+++ b/README.md
@@ -204,10 +204,11 @@ CONFIG_IP_SCTP                               | is not set  |    my    | cut_atta
 CONFIG_FTRACE                                | is not set  |    my    | cut_attack_surface |   FAIL: "y"
 CONFIG_BPF_JIT                               | is not set  |    my    | cut_attack_surface |   FAIL: "y"
 CONFIG_VIDEO_VIVID                           | is not set  |    my    | cut_attack_surface |   FAIL: "m"
+CONFIG_INPUT_EVBUG                           | is not set  |    my    | cut_attack_surface |   FAIL: "m"
 CONFIG_INTEGRITY                             |      y      |defconfig |userspace_hardening |   OK
 CONFIG_ARCH_MMAP_RND_BITS                    |     32      |  clipos  |userspace_hardening |   FAIL: "28"
 
-[+] config check is finished: 'OK' - 56 / 'FAIL' - 79
+[+] config check is finished: 'OK' - 56 / 'FAIL' - 80
 ```
 
 ## kconfig-hardened-check versioning
index c4214a1410d4ee659259203c92276dab855418c4..9bc78289064121cc424b3bd0342c6904f111c705 100644 (file)
@@ -492,6 +492,7 @@ def construct_checklist(checklist, arch):
     checklist.append(OptCheck('FTRACE',               'is not set', 'my', 'cut_attack_surface')) # refers to LOCKDOWN
     checklist.append(OptCheck('BPF_JIT',              'is not set', 'my', 'cut_attack_surface'))
     checklist.append(OptCheck('VIDEO_VIVID',          'is not set', 'my', 'cut_attack_surface'))
+    checklist.append(OptCheck('INPUT_EVBUG',          'is not set', 'my', 'cut_attack_surface')) # Can be used as a keylogger
 
     checklist.append(OptCheck('INTEGRITY',       'y', 'defconfig', 'userspace_hardening'))
     if arch == 'ARM64':