Differences

This shows you the differences between two versions of the page.

Link to this comparison view

isc:labs:11 [2023/05/21 21:20]
radu.mantu [11. [10p] Feedback]
isc:labs:11 [2024/12/17 10:25] (current)
florin.stancu [00 [0p]. Users]
Line 16: Line 16:
 sudo useradd -m -s /bin/bash blue  sudo useradd -m -s /bin/bash blue 
 </​code>​ </​code>​
 +
 +<note tip>
 +Pentru ca generarea de chei să meargă bine, trebuie instalat un serviciu de entropie suplimentară pentru RNG în VM: <​code>​
 +sudo apt-get install rng-tools
 +sudo systemctl status rng-tools ​ # e pornit => TOTUL OK
 +</​code>​
 +</​note>​
  
 ==== 01 [50p]. Pretty Good Privacy==== ==== 01 [50p]. Pretty Good Privacy====
Line 195: Line 202:
 sudo apt install tor sudo apt install tor
 </​code>​ </​code>​
-  * Enable SOCKS proxy by editing /etc/torrc and uncommenting ''​SOCKSPort 9050''​ ;​)  ​+  * Enable SOCKS proxy by editing /etc/tor/torrc and uncommenting ''​SOCKSPort 9050''​ ;​)  ​
 <​note>​ Tor only supports TCP traffic, some make sure your DNS queries are done over TCP.</​note>​ <​note>​ Tor only supports TCP traffic, some make sure your DNS queries are done over TCP.</​note>​
 <​hidden>​ <​hidden>​
Line 224: Line 231:
 </​hidden>​ </​hidden>​
   * You are going to configure your local Firefox browser to use the Tor proxy on the VM. First, use ssh local port forwarding to make port 9050 available to your machine: <​code>​   * You are going to configure your local Firefox browser to use the Tor proxy on the VM. First, use ssh local port forwarding to make port 9050 available to your machine: <​code>​
-ssh -i <​fep_key_path>​ -o ProxyCommand="​ssh ​<​username>​@fep.grid.pub.ro ​-W %h:​%p" ​-L 9050:​localhost:​9050 student@<​VM_IP>​+ssh -<​username>​@fep.grid.pub.ro -L 9050:​localhost:​9050 student@<​VM_IP>​
 </​code>​ </​code>​
   * Next, change the **Firefox** Network Settings to use Socks5 proxy using the IP address and port from your VM. You can verify that your browser is using Tor by accessing the following [[https://​check.torproject.org/​|website]].   * Next, change the **Firefox** Network Settings to use Socks5 proxy using the IP address and port from your VM. You can verify that your browser is using Tor by accessing the following [[https://​check.torproject.org/​|website]].
 +  * **Finally, fetch the flag from ''​%%http://​6mirq5p7welrf44rptugei55cv26qqwmpqluafehnpfv7jqgyu3pbeyd.onion%%''​ ;) **
 <​hidden>​ <​hidden>​
 [[https://​1.bp.blogspot.com/​-b-MahPstRzA/​WvgwatvGq5I/​AAAAAAAAQiA/​e1rJp8RGKU08O-tV5W0oUA9kDGY5tEq5gCLcBGAs/​s1600/​proxy.png|Firefox Settings]] [[https://​1.bp.blogspot.com/​-b-MahPstRzA/​WvgwatvGq5I/​AAAAAAAAQiA/​e1rJp8RGKU08O-tV5W0oUA9kDGY5tEq5gCLcBGAs/​s1600/​proxy.png|Firefox Settings]]
 </​hidden>​ </​hidden>​
 +
  
 ==== 03. [10p] Feedback ==== ==== 03. [10p] Feedback ====
isc/labs/11.1684693207.txt.gz · Last modified: 2023/05/21 21:20 by radu.mantu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0