Notepad.exe Will Snitch On You (full coding project)

Notepad.exe Will Snitch On You (full coding project)

Source: YouTube · John Hammond · published Feb 28, 2024 · 53:32

Cybersecurity
No ratings yet Log in to rate
Transcript Available
Description

Windows 11's Notepad app saves unsaved tab data in binary cache files that can be extracted for digital forensics or security purposes 0:00-0:33.

Key Takeaways:
• Notepad tabs are cached in %localappdata%\Packages\Microsoft.WindowsNotepad_*\LocalState\tabState\ as .bin files 1:39-2:34
• Cache files contain plain text content even for unsaved files, creating potential security artifacts 0:47-1:10
• Binary files use a specific structure with magic bytes "NP" and content in UTF-16 encoding 11:55-12:36
• Files can be parsed using tools like strings.exe or custom Python scripts to extract file paths and content 3:55-4:37
• This creates valuable artifacts for digital forensics, incident response, and penetration testing 1:15-1:30

This caching mechanism creates both privacy concerns and valuable investigation artifacts 8:01-8:07.

Sources:

  • 0:00-0:33 Introduction to Windows 11 Notepad tab caching feature
  • 1:39-2:34 Location and structure of cache files in tabState directory
  • 3:55-4:37 Extracting content from binary files using strings.exe
  • 11:55-12:36 Binary file structure analysis with magic bytes
  • 1:15-1:30 Security implications for forensics and testing

Generate CPE Credits

Generate a professional CPE document from this video's transcript.

Estimated credit: 1 CPE hours

Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.

Topic: Cybersecurity. Commonly maps to: Security and Risk Management, Security Operations. Exact CISSP domains are assigned during generation.

CISSP Domain Mapping
Learning Objectives
Self-Assessment Questions
PDF Export Ready

Free account. One generation at a time, with a daily limit.

CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.

Watch on YouTube

Transcript Preview

First 800 characters of the transcript

in modern Windows 11 Microsoft added an interesting new feature where if you were to open up notepad that native installed by default and built-in text editor you actually have different tabs where you can open and work with multiple files interact work with them and save them but the interesting thing is if you close out of notepad and then were to reopen it you still have all of those saved in available ready for you to resume work just where you left off here I have two different tabs open something first some screen connect work that I was doing on this virtual machine and drivers Etc hosts over in the C Windows system 32 directory now again as you saw I could just reopen anytime I wanted to that notepad instance and if I wanted to start a new tab I could write anything I want he a lit…