Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒ‹ Cryptobsidian Secure Shutdown

Volcanic-Grade Privacy Protection for Windows

License: MIT PowerShell Platform

Securely wipe all traces of your activity before shutting down your PC. Perfect for shared workstations, libraries, internet cafes, or any environment where privacy matters.


πŸ”₯ Features

  • 🧹 Browser History Wipe - Chrome, Edge, Firefox (history, cookies, cache)
  • πŸ—‘οΈ Temp File Cleanup - User temp, Windows temp, prefetch data
  • πŸ“‹ Clipboard Clear - Removes all copied data
  • πŸ“‚ File Explorer History - Recent files, jump lists, run history
  • πŸ’Ύ RAM Overwrite - DoD 5220.22-M standard (3-pass random data)
  • πŸ”Œ Safe Shutdown - Powers off after complete cleanup

Total execution time: ~1-2 minutes


πŸ“₯ Quick Install

One-Click Install (Recommended)

  1. Download Latest Release
  2. Extract the ZIP file
  3. Right-click INSTALL.bat β†’ Run as administrator
  4. Follow the on-screen instructions
  5. Double-click "Secure Shutdown" on your desktop when ready

Manual Install

  1. Enable PowerShell Scripts (one-time setup):

    Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
  2. Copy script to C:\SecureShutdown\SecureShutdown.ps1

  3. Create desktop shortcut:

    • Target: powershell.exe -ExecutionPolicy Bypass -NoProfile -File "C:\SecureShutdown\SecureShutdown.ps1"
    • Right-click shortcut β†’ Properties β†’ Advanced β†’ Check "Run as administrator"

πŸš€ Usage

Default Mode (Wipe Everything + Shutdown)

.\SecureShutdown.ps1

Clears all traces, wipes RAM (3 passes), shuts down computer.

Test Mode (No Shutdown)

.\SecureShutdown.ps1 -Shutdown:$false

Runs all cleanup operations but does NOT shut down. Perfect for testing.

Extra Secure (More RAM Passes)

.\SecureShutdown.ps1 -RAMPasses 7

Overwrites RAM 7 times instead of 3. More thorough but takes longer.

Quick Mode (Skip RAM Wipe)

.\SecureShutdown.ps1 -WipeRAM:$false

Clears traces but skips RAM overwrite. Much faster (~30 seconds).


🧼 What Gets Cleaned

Browser Data

  • Chrome: History, cookies, cache, download history
  • Edge: History, cookies, cache, download history
  • Firefox: History, cookies, cache

Windows Traces

  • %TEMP% - User temporary files
  • C:\Windows\Temp - System temporary files
  • C:\Windows\Prefetch - Program execution traces
  • Recent files list
  • Jump lists (taskbar recent items)
  • Run dialog history
  • Clipboard contents

Memory

  • RAM overwritten with cryptographically random data
  • Multiple passes ensure data cannot be recovered
  • Garbage collection forces memory release

πŸ”’ Security Notes

What This Script CAN Do:

βœ… Clear browsing history and cache
βœ… Remove file access traces
βœ… Wipe volatile memory (RAM)
βœ… Obscure recent user activity

What This Script CANNOT Do:

❌ Recover already-deleted files
❌ Wipe SSDs perfectly (wear leveling limitations)
❌ Clear BIOS/UEFI logs
❌ Remove network activity logs (router/ISP records)
❌ Delete cloud-synced files (OneDrive, Dropbox, etc.)

Important Limitations:

  • SSDs: Due to wear leveling, deleted data may persist in hidden blocks
  • Network logs: Your router and ISP still have connection records
  • Cloud services: Synced files remain in cloud storage
  • System restore: Windows restore points may retain data

For maximum security, use full disk encryption (BitLocker) from day one.


πŸ› οΈ Troubleshooting

"Scripts are disabled on this system"

Solution: Open PowerShell as Administrator and run:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

"Access Denied" errors

Solution: The script requires administrator privileges:

  • Right-click PowerShell β†’ "Run as administrator"
  • Or ensure shortcut has "Run as administrator" enabled

Shortcut doesn't work

Solution: Enable admin rights on the shortcut:

  1. Right-click shortcut β†’ Properties
  2. Click "Advanced" button
  3. Check "Run as administrator"
  4. Click OK, OK

Script runs but doesn't shut down

Solution: Check if you're using test mode:

  • Remove -Shutdown:$false parameter to enable shutdown

RAM wipe takes too long

Solution: Reduce passes or skip entirely:

.\SecureShutdown.ps1 -RAMPasses 1
# or
.\SecureShutdown.ps1 -WipeRAM:$false

πŸ“Š Performance

Typical execution time on modern hardware:

Component Time
Browser cleanup 5-10 seconds
Temp files 5-10 seconds
File Explorer history 2-5 seconds
RAM wipe (3 passes, 16GB) 60-90 seconds
Total ~1-2 minutes

πŸ”§ Advanced Usage

Schedule Automatic Secure Shutdown

Create a Windows Task to run at end of day:

  1. Open Task Scheduler (taskschd.msc)
  2. Create Basic Task
  3. Trigger: Daily at 6:00 PM
  4. Action: Start a program
    • Program: powershell.exe
    • Arguments: -ExecutionPolicy Bypass -File "C:\SecureShutdown\SecureShutdown.ps1"
  5. Check "Run with highest privileges"

Custom RAM Wipe Algorithm

The script uses RNGCryptoServiceProvider for cryptographically secure random data. To modify:

# In Wipe-RAM function, change:
$rng = New-Object System.Security.Cryptography.RNGCryptoServiceProvider
$rng.GetBytes($ramArray)

🌐 Compatibility

Component Requirement
OS Windows 10, Windows 11
PowerShell 5.1 or higher (included in Windows)
Browsers Chrome, Edge, Firefox (auto-detected)
Permissions Administrator rights required

πŸ“ Project Structure

cryptobsidian-shutdown/
β”œβ”€β”€ SecureShutdown.ps1    # Main script
β”œβ”€β”€ INSTALL.bat           # Automated installer
β”œβ”€β”€ README.md             # This file
└── LICENSE               # MIT License

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Guidelines:

  1. Test on Windows 10 and 11
  2. Maintain PowerShell 5.1 compatibility
  3. Add error handling for all operations
  4. Update README with new features
  5. Follow existing code style

Reporting Issues:

  • Use GitHub Issues
  • Include PowerShell version ($PSVersionTable)
  • Describe expected vs actual behavior
  • Include error messages if any

πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸŒ‹ About Cryptobsidian

This script is part of the Cryptobsidian security ecosystem.

Cryptobsidian delivers volcanic-grade security tools for privacy-conscious users. Like obsidian volcanic glass formed under extreme pressure, our tools are forged to be unbreakable, sharp, and impenetrable.

Coming Soon:

  • Cryptobsidian OS - DoD-level secure USB operating system with complete amnesia
  • Obsidian Vault - Encrypted portable storage with hardware key authentication
  • Obsidian Forge - Secure USB creation toolkit

Website: cryptobsidian.com (coming soon)


⚠️ Disclaimer

This software is provided "as is" without warranty of any kind. Use at your own risk. The authors are not responsible for any data loss or system issues that may occur.

Always test in a safe environment before deploying on production systems.


πŸ’¬ Support


Made with πŸŒ‹ by the Cryptobsidian team

Forged under pressure. Hardened for privacy.

About

Volcanic-grade privacy protection for Windows. Securely wipes browser history, temp files, clipboard, and RAM before shutdown. Perfect for shared workstations. DoD-standard memory overwrite. Open source, PowerShell-based, no dependencies. Part of the Cryptobsidian security ecosystem.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages