Categories:
  🠪  General

Email
  🠪  Servers
  🠪  Testing
  🠪  Tips

Hardware
  🠪  3D Printing
  🠪  Apple
  🠪  Batteries
  🠪  Drives
  🠪  Edgerouter
  🠪  Electronics
  🠪  Laptop
  🠪  Modems
  🠪  Phone
  🠪  Printers
  🠪  Raspberry Pi
  🠪  Tablets
  🠪  Testing
  🠪  Virtualization

hidden
  🠪  General

Links
  🠪  Interesting
  🠪  Media

Network
  🠪  Data
  🠪  Testing
  🠪  VPN

Scripts
  🠪  Batch
  🠪  Linux
  🠪  Powershell

Servers
  🠪  Databases
  🠪  Misc
  🠪  Website

Software
  🠪  Other

Utilities
  🠪  Backup
  🠪  Fix Issues
  🠪  Recovery

Video
  🠪  Editing

Websites
  🠪  HTML
  🠪  Testing

Windows
  🠪  Adjustments
  🠪  Issues
  🠪  Remote Desktop
  🠪  Security
  🠪  Slow
  🠪  Software
  🠪  Startup

Submit Entry
Airin's Notes

Category: Windows 🠪 Security
Bitlocker Management
March 8, 2024

Lock a bitlocker drive:
manage-bde -lock d: -ForceDismount

Auto unlock a drive using a batch file. This has security implications, ensure you do this safely! These all need to run as admin
1: Create an unlock file in C:\ that will be able to unlock the D: bitlocker protected drive:
manage-bde -protectors -add d: -rk c:\
2: Find the new file that was created. It will look like 'C:\123AB123-1A23-78BC-941A-J019014322A0.BEK'
dir C:\ /a
3: Unlock the D: Drive.
manage-bde -unlock d: -rk C:\123AB123-1A23-78BC-941A-J019014322A0.BEK



Repair a damaged Bitlocker volume:
repair-bde /?
repair-bde d: e:\backup.img /force


Category: Windows 🠪 Security
Check if a user is logged on remotely
December 1, 2023

Change pc17 to the computer name:
query user /server:pc17

You can also use psloggedon if you download the Sysinternals tools

https://devopsonwindows.com/3-ways-remotely-view-who-is-logged-on/

Keywords: Local, Logged on,, in, Remote Desktop, mstsc, Terminal Services, Console, Active, Idle, off


Category: Windows 🠪 Security
Data Streams - Super Hidden Files
December 1, 2023

Data Streams in NTFS allow files to have hidden content that is harder to see.




You can see how much space is used in Windows Explorer, going to properties for a file/folder. The Size field is the main file/folder. The Size On Disk includes the main file as well as any alternate data streams.





Create a data stream from command prompt: notepad notes.txt:test





To view them in command prompt, use: dir /r




Copy a file into a data stream:

...<Too long, click to read the rest>


Category: Windows 🠪 Security
Malware scanning
December 1, 2023

Online Virus Scan - Upload a file and have it scanned by many AV tools
https://www.virustotal.com/gui/

Download Offline 'Microsoft Safety Scanner'
https://docs.microsoft.com/en-us/windows/security/threat-protection/intelligence/safety-scanner-download

Malwarebytes Map of infections they detected when a different AV didn't find it:
https://www.malwarebytes.com/remediationmap


Category: Windows 🠪 Security
Setup OpenSSH on Windows for SSH authentication for Visual Studio Code
November 29, 2023

partial steps..
Install Visual Studio Code
Install extension Remote Explorer
https://code.visualstudio.com/docs/remote/ssh#_remember-hosts-and-advanced-settings


Use Puttygen to generation a new SSH key.
- Copy the text from large textbox to authorized_keys on remote SSH server.
- Use Conversion --> Export OpenSSH Key to save to a file for OpenSSH remoting.
- Use Save Private Key to save a file which can be used with WinSCP.

C:\Users\Username\.ssh\config

Example format:
Host google.com
...<Too long, click to read the rest>


Category: Windows 🠪 Security
Windows 10/11 Security Changes
November 29, 2023

These sites have some ideas on how to harden your security. They have a paid version that does it all at once. I have NOT tested their paid version.

https://www.hardenwindows10forsecurity.com/index.html
https://www.hardenwindows11forsecurity.com/index.html





This site is meant to be used as a reference for myself, although others may find it useful. I use it to keep track of certain fixes, software, and other solutions which I may need while assisting customers. The page layout is pure HTML/CSS and is kept simple to optimize loading time and fast results.

Return to Airin's Computers