-
Notifications
You must be signed in to change notification settings - Fork 0
/
Encryption - Crypto 101
76 lines (50 loc) · 1.73 KB
/
Encryption - Crypto 101
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#Task 2 Key terms
- Are SSH keys protected with a passphrase or a password?
passphrase
#Task 3 Why is Encryption important?
- What does SSH stand for?
secure shell
- How do webservers prove their identity?
cetificate
- What is the main set of standards you need to comply with if you store or process payment card details?
pci-dss
#Task 4 Crucial Crypto Maths
- What's 30 % 5?
0
- What's 25 % 7
4
- What's 118613842 % 9091
3565
#Task 5 Types of Encryption
- Should you trust DES? Yea/Nay
Nay
- What was the result of the attempt to make DES more secure so that it could be used for longer?
Triple DES
- Is it ok to share your public key? Yea/Nay
Yea
#Task 6 RSA - Rivest Shamir Adleman
- p = 4391, q = 6659. What is n?
hint: https://www.cs.drexel.edu/~jpopyack/IntroCS/HW/RSAWorksheet.html
29239669
#Task 7 Establishing Keys Using Asymmetric Cryptography
#Task 8 Digital signatures and Certificates
- What company is TryHackMe's certificate issued to?
cloudflare
#Task 9 SSH Authentication
- What algorithm does the key use?
rsa
- Crack the password with John The Ripper and rockyou, what's the passphrase for the key?
hint: /usr/share/john/ssh2john.py idrsa.id_rsa > newhash.txt
john newhash.txt --wordlist=/home/gd/Downloads/rockyou.txt
delicious
#Task 11 PGP, GPG and AES
- You have the private key, and a file encrypted with the public key. Decrypt the file. What's the secret word?
hint: gpg --help
gpg --import tryhackme.key
gpg message.gpg
cat message
Pineapple
https://tryhackme.com/room/encryptioncrypto101
https://www.thedutchhacker.com/encryption-crypto-101-on-tryhackme/
https://fthcyber.com/2020/09/30/encryption-crypto-101-writeup-tryhackme/
https://vicksecurity.com/tryhackme/encryption-crypto-101-tryhackme-writeup/