erase_memory.feature 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. @product
  2. Feature: System memory erasure on shutdown
  3. As a Tails user
  4. when I shutdown Tails
  5. I want the system memory to be free from sensitive data.
  6. Scenario: Anti-test: no memory erasure on a modern computer
  7. Given a computer
  8. And the computer is a modern 64-bit system
  9. And the computer has 8 GiB of RAM
  10. And I set Tails to boot with options "debug=wipemem"
  11. And I start Tails from DVD with network unplugged and I login
  12. Then the PAE kernel is running
  13. And at least 8 GiB of RAM was detected
  14. And process "memlockd" is running
  15. And process "udev-watchdog" is running
  16. And udev-watchdog is monitoring the correct device
  17. When I fill the guest's memory with a known pattern without verifying
  18. And I reboot without wiping the memory
  19. And I stop the boot at the bootloader menu
  20. Then I find many patterns in the guest's memory
  21. Scenario: Memory erasure on a modern computer
  22. Given a computer
  23. And the computer is a modern 64-bit system
  24. And the computer has 8 GiB of RAM
  25. And I set Tails to boot with options "debug=wipemem"
  26. And I start Tails from DVD with network unplugged and I login
  27. Then the PAE kernel is running
  28. And at least 8 GiB of RAM was detected
  29. And process "memlockd" is running
  30. And process "udev-watchdog" is running
  31. And udev-watchdog is monitoring the correct device
  32. When I fill the guest's memory with a known pattern
  33. And I shutdown and wait for Tails to finish wiping the memory
  34. Then I find very few patterns in the guest's memory
  35. Scenario: Anti-test: no memory erasure on an old computer
  36. Given a computer
  37. And the computer is an old pentium without the PAE extension
  38. And the computer has 8 GiB of RAM
  39. And I set Tails to boot with options "debug=wipemem"
  40. And I start Tails from DVD with network unplugged and I login
  41. Then the non-PAE kernel is running
  42. And at least 3 GiB of RAM was detected
  43. And process "memlockd" is running
  44. And process "udev-watchdog" is running
  45. And udev-watchdog is monitoring the correct device
  46. When I fill the guest's memory with a known pattern without verifying
  47. And I reboot without wiping the memory
  48. And I stop the boot at the bootloader menu
  49. Then I find many patterns in the guest's memory
  50. Scenario: Memory erasure on an old computer
  51. Given a computer
  52. And the computer is an old pentium without the PAE extension
  53. And the computer has 8 GiB of RAM
  54. And I set Tails to boot with options "debug=wipemem"
  55. And I start Tails from DVD with network unplugged and I login
  56. And the non-PAE kernel is running
  57. And at least 3 GiB of RAM was detected
  58. And process "memlockd" is running
  59. And process "udev-watchdog" is running
  60. And udev-watchdog is monitoring the correct device
  61. When I fill the guest's memory with a known pattern
  62. And I shutdown and wait for Tails to finish wiping the memory
  63. Then I find very few patterns in the guest's memory