Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kernel critical extension bypass #501

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ CHANGELOG.md
.tmp/
coverage.txt
bin/
cmd/quill/quill

# Binaries for programs and plugins
*.exe
Expand All @@ -40,4 +41,4 @@ bin/
# macOS Finder metadata
.DS_STORE

*.profile
*.profile
6 changes: 4 additions & 2 deletions quill/pki/certchain/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ func VerifyForCodeSigning(certs []*x509.Certificate, failWithoutFullChain bool)
},
}

// ignore "devid_execute" critical extension
// ignore "devid_execute" and "devid_kernel" critical extensions
temp := leaf.UnhandledCriticalExtensions[:0]
for _, ex := range leaf.UnhandledCriticalExtensions {
switch ex.String() {
case "1.2.840.113635.100.6.1.13":
case "1.2.840.113635.100.6.1.13": // devid_execute
continue
case "1.2.840.113635.100.6.1.18": // devid_kernel
continue
default:
temp = append(temp, ex)
Expand Down
Loading