Skip to content

Instantly share code, notes, and snippets.

@ValdikSS
Last active February 14, 2020 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ValdikSS/86352b03ec3ed3c8713b78c7e20dc222 to your computer and use it in GitHub Desktop.
Save ValdikSS/86352b03ec3ed3c8713b78c7e20dc222 to your computer and use it in GitHub Desktop.
Disable Reset Attack Mitigation (Fedora 27)
[Unit]
Description=Disable Reset Attack Mitigation
[Service]
Type=oneshot
ExecStart=/usr/bin/chattr -i /sys/firmware/efi/efivars/MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
ExecStop=/bin/bash -c 'echo -ne "\x07\x00\x00\x00\x00" > /sys/firmware/efi/efivars/MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829'
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
@out0xb2
Copy link

out0xb2 commented Feb 14, 2020

Why don't you like MOR ?
What is your threat model?

@ValdikSS
Copy link
Author

@out0xb2
Copy link

out0xb2 commented Feb 14, 2020

@out0xb2 https://bugzilla.redhat.com/show_bug.cgi?id=1532058

Working around a firmware issue, fair enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment