diff --git a/encryptyourshit/.gitignore b/encryptyourshit/.gitignore new file mode 100644 index 0000000..717f539 --- /dev/null +++ b/encryptyourshit/.gitignore @@ -0,0 +1,5 @@ +out/ +out/** + +work/ +work/** diff --git a/encryptyourshit/Makefile b/encryptyourshit/Makefile new file mode 100644 index 0000000..4a1b2c2 --- /dev/null +++ b/encryptyourshit/Makefile @@ -0,0 +1,22 @@ +SRC = ./slides/*.md +TEMP_DIR = ./work/ +TEMP_MD = $(TEMP_DIR)/work.md +OUT_DIR = ./out/ +INCLUDE_DIR = ./media/ + +all: $(OUT_DIR)/index.html + +$(OUT_DIR)/index.html: $(TEMP_MD) + mkdir -p $(OUT_DIR) + mdslides $(TEMP_MD) --include $(INCLUDE_DIR) --output $(OUT_DIR) + +$(TEMP_MD): $(SRC) + mkdir -p $(TEMP_DIR) + cat $(SRC) > $(TEMP_MD) + +preview: $(OUT_DIR)/index.html + xdg-open $(OUT_DIR)/index.html + +clean: + rm -rf $(OUT_DIR)/ + rm -rf $(TEMP_DIR)/ diff --git a/encryptyourshit/README.md b/encryptyourshit/README.md new file mode 100644 index 0000000..b008b5c --- /dev/null +++ b/encryptyourshit/README.md @@ -0,0 +1,18 @@ +# Ventoy + +Source files for the talk I gave on Ventoy + + +### Building + +Requirements: +- [markdown-slides](https://gitlab.com/da_doomer/markdown-slides) +- GNU Make +- A JS capable web browser + +0. Clone this repository +1. `make clean` +2. `make` +3. `make preview` or open `./out/index.html` in a JS capable web browser + +For instructions on presenting, refer to RevealJS documentation. diff --git a/encryptyourshit/media/Cc-by-nc-sa_icon.svg b/encryptyourshit/media/Cc-by-nc-sa_icon.svg new file mode 100644 index 0000000..7dc79d4 --- /dev/null +++ b/encryptyourshit/media/Cc-by-nc-sa_icon.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/encryptyourshit/media/presentationsourceqr.svg b/encryptyourshit/media/presentationsourceqr.svg new file mode 100644 index 0000000..e89ac15 --- /dev/null +++ b/encryptyourshit/media/presentationsourceqr.svg @@ -0,0 +1,1275 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/encryptyourshit/media/steamlocomotive.webm b/encryptyourshit/media/steamlocomotive.webm new file mode 100644 index 0000000..cfd8b3f Binary files /dev/null and b/encryptyourshit/media/steamlocomotive.webm differ diff --git a/encryptyourshit/slides/00-title.md b/encryptyourshit/slides/00-title.md new file mode 100644 index 0000000..78a262d --- /dev/null +++ b/encryptyourshit/slides/00-title.md @@ -0,0 +1,15 @@ +[comment]: # (THEME = blood) +[comment]: # (CODE_THEME = base16/zenburn) + +[comment]: # (controls: true) +[comment]: # (keyboard: true) +[comment]: # (markdown: { smartypants: true }) +[comment]: # (hash: true) +[comment]: # (respondToHashChanges: true) +[comment]: # (slideNumber: 'c/t') +[comment]: # (width: 1280) +[comment]: # (height: 720) + +# Encrypt Your Shit +By Logan G +[comment]: # (!!!) diff --git a/encryptyourshit/slides/01-funfact.md b/encryptyourshit/slides/01-funfact.md new file mode 100644 index 0000000..48a2b19 --- /dev/null +++ b/encryptyourshit/slides/01-funfact.md @@ -0,0 +1,16 @@ +### Fun Facts + +- A laptop is stolen every 53 seconds in the United States [1] +- Up to 23% of laptops are stolen in their lifetime [2] + +

+ +
+ +[1] https://www.gartner.com/en/documents/489772 + +[2] https://www.kensington.com/news/news-press-center/2016-news--press-center/kensington-survey-data-reveals-that-it-theft-in-the-office-ranks-nearly-as-high-as-theft-in-cars-and-more-than-in-airports-or-restaurants/ + +
+ +[comment]: # (!!!) diff --git a/encryptyourshit/slides/02-sowhat.md b/encryptyourshit/slides/02-sowhat.md new file mode 100644 index 0000000..39e4541 --- /dev/null +++ b/encryptyourshit/slides/02-sowhat.md @@ -0,0 +1,62 @@ +### Cool things thieves can do with your computer: + +
+ +- Exfiltrate personal data + - Passwords + - SSH keys + - Pictures + - Banking information + - Search history +- Install malware + - Keyloggers + - R.A.Ts + - Malicious browser extensions + +
+ +[comment]: # (!!! data-auto-animate) + +### Cool things thieves can do with your computer: + +
+ +- Exfiltrate personal data + - Passwords + - SSH keys + - Pictures + - Banking information + - Search history +- Install malware + - Keyloggers + - R.A.Ts + - Malicious browser extensions + - Install "sl" to your /etc/profile + +
+ +[comment]: # (!!! data-auto-animate data-background-video="media/steamlocomotive.webm" data-background-video-loop data-background-video-muted data-background-size="cover" data-background-opacity="0.1") + +### Cool things thieves can do with your computer: + +
+ +- Exfiltrate personal data + - Passwords + - SSH keys + - Pictures + - Banking information + - Search history +- Install malware +
+
+ +
+ +[comment]: # (!!! data-auto-animate) + diff --git a/encryptyourshit/slides/03-howfix.md b/encryptyourshit/slides/03-howfix.md new file mode 100644 index 0000000..8f40f33 --- /dev/null +++ b/encryptyourshit/slides/03-howfix.md @@ -0,0 +1,5 @@ +## Encrypt Your Shit + +(also setup a lockscreen) + +[comment]: # (!!!) diff --git a/encryptyourshit/slides/04-dmcrypt.md b/encryptyourshit/slides/04-dmcrypt.md new file mode 100644 index 0000000..9278a2d --- /dev/null +++ b/encryptyourshit/slides/04-dmcrypt.md @@ -0,0 +1,20 @@ +### LUKS+dmcrypt + +- Available since Linux 2.6 +- Transparently decrypts encrypted block devices +- Used by many companies +- Supported by many distros +- Minimal performance impact on modern hardware + +```bash +# Partial CLI encrypted root example + +cryptsetup luksFormat -s 256 /dev/sda2 +cryptsetup open /dev/sda2 newroot +mkfs.ext4 /dev/mapper/newroot +mount /dev/mapper/newroot /mnt + +# Continue with typical steps... +``` + +[comment]: # (!!!) diff --git a/encryptyourshit/slides/98-source.md b/encryptyourshit/slides/98-source.md new file mode 100644 index 0000000..a4f3742 --- /dev/null +++ b/encryptyourshit/slides/98-source.md @@ -0,0 +1,10 @@ +![Presentation Source QR](media/presentationsourceqr.svg) + +[Presentation Source](https://git.qtechofficial.com/logan/presentations/src/branch/master/encryptyourshit) + +
+ +This presentation is licensed under [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en) + +![CC-BY-NC-SA Icon](media/Cc-by-nc-sa_icon.svg) +[comment]: # (!!!) diff --git a/encryptyourshit/slides/99-funfacts.md b/encryptyourshit/slides/99-funfacts.md new file mode 100644 index 0000000..ae2204d --- /dev/null +++ b/encryptyourshit/slides/99-funfacts.md @@ -0,0 +1,10 @@ +## Fun Facts: + +This presentation took 5 hours + +Vim crashed 0 times because it doesn't suck :> + +
+ +Made with [markdown-slides](https://gitlab.com/da_doomer/markdown-slides) + reveal.js +[comment]: # (!!!)