diff options
Diffstat (limited to 'firewire.mdwn')
-rw-r--r-- | firewire.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/firewire.mdwn b/firewire.mdwn index e69de29..289dc59 100644 --- a/firewire.mdwn +++ b/firewire.mdwn @@ -0,0 +1,21 @@ +Firewire +======== + +Para evitar dumps de memória via firewire, este artigo oferece a mitigação ideal via `/etc/modprobe.d/blacklist`: + + # Physical memory attacks via Firewire/DMA Mitigation + # Prevent automatic loading of the ohci1394 module. + blacklist ohci1394 + # Prevent manual loading of the ohci1394 module. + install ohci1394 false + # Iff we should ever load the ohci1394 module, force the use of the 'phys_dma=0' option. + options ohci1394 phys_dma=0 + +Depois dessa configuração, é preciso atualizar a `initrd` de cada sistema, através do comando + + update-initramfs -v -u + +Feito isso, o firewire pode ser desabilitado nos sistemas que estão rodando simplesmente com um + + rmmod ohci1394 + |