• 13 Posts
  • 100 Comments
Joined 7 months ago
cake
Cake day: September 9th, 2024

help-circle




  • Do you need it to be amnesiac? The very thing that defines Tails*.

    Yes. A persistent storage feature would be nice but isn’t a requirement.

    What’s wrong with Tor? Is your threat model so paranoid that you (somehow) don’t even trust Tor? Or, are you not in favor of its (relatively) low bandwidth? Or, is privacy and/or security not even a thing you seek after to begin with? Or, at least not beyond what your average distro provides already*.

    The reason I don’t want to use Tor is because I will only connect to plain web websites where I don’t care if they know my IP. I also find that CloudFlare and other services can block Tor which sometimes causes issues with my work.

    What do you intend to do with it? Daily drive it? If so, do you need persistence?

    I mainly plan on isolating certain browser-based work I’m doing with other work on my computer. As I said before, persistence would be nice but is not necessary.

    What does “Tails without Tor reliance” provide/offer you beyond a LiveUSB from any other distro? Or, rather, what do you hope it will provide/offer you?

    I hope it would offer me a highly hardened environment to do work in, without the requirement to set it up every time on other liveusb OSes.

    To put this all together, I want an amnesiac live USB hardened(browser, kernel) environment that does not use Tor.














  • 192.168.101.4 is the alma guest. It’s got port 22 open and I can ssh into it from the host computer.

    iptables -nvL on Alma returns:

    Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination         
    
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination         
    
    Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination         
    

    I believe this means it automatically accepts connections.

    IMO this makes it unlikely that the guest is the issue.


  • ssh -v returns:

    OpenSSH_9.2p1 Debian-2+deb12u4, OpenSSL 3.0.15 3 Sep 2024
    debug1: Reading configuration data /etc/ssh/ssh_config
    debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
    debug1: /etc/ssh/ssh_config line 21: Applying options for *
    debug1: Connecting to 192.168.86.73 [192.168.86.73] port 2222.
    debug1: connect to address 192.168.86.73 port 2222: Connection refused
    ssh: connect to host 192.168.86.73 port 2222: Connection refused
    
    



  • From the iptables manpage:

    --to offset
        Set the offset from which it starts looking for any matching. If not passed, default is the packet size. 
    
    ...
    
    --to-destination ipaddr-ipaddr
        Address range to round-robin over. 
    

    This seems to do something, but the port still appears as closed.

    iptables -nvL returns:

    Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination         
    
    Chain FORWARD (policy ACCEPT 369 packets, 54387 bytes)
     pkts bytes target     prot opt in     out     source               destination         
        5   300 ACCEPT     6    --  *      virbr1  0.0.0.0/0            192.168.101.4        tcp dpt:22
       84  6689 ACCEPT     0    --  *      br-392a16e9359d  0.0.0.0/0            0.0.0.0/0            ctstate RELATED,ESTABLISHED
        7   418 DOCKER     0    --  *      br-392a16e9359d  0.0.0.0/0            0.0.0.0/0           
      146  9410 ACCEPT     0    --  br-392a16e9359d !br-392a16e9359d  0.0.0.0/0            0.0.0.0/0           
        0     0 ACCEPT     0    --  br-392a16e9359d br-392a16e9359d  0.0.0.0/0            0.0.0.0/0           
    
    Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination                    
    

    I’ve omitted some listings that were labelled as docker.

    iptables -t nat -nvL returns:

    Chain PREROUTING (policy ACCEPT 626 packets, 90758 bytes)
     pkts bytes target     prot opt in     out     source               destination         
        5   300 DNAT       6    --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:2222 to:192.168.101.4:22
    
    Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
     pkts bytes target     prot opt in     out     source               destination         
    
    Chain OUTPUT (policy ACCEPT 154 packets, 12278 bytes)
     pkts bytes target     prot opt in     out     source               destination         
        0     0 DOCKER     0    --  *      *       0.0.0.0/0           !127.0.0.0/8          ADDRTYPE match dst-type LOCAL
    
    Chain POSTROUTING (policy ACCEPT 290 packets, 22404 bytes)
     pkts bytes target     prot opt in     out     source               destination         
        0     0 MASQUERADE  0    --  *      !br-392a16e9359d  172.18.0.0/16        0.0.0.0/0           
    

    I’ve also omitted some listings that were labelled as docker.

    After running the ssh command, the bytes seem to increase. After 1 ssh attempt:

        7   420 DNAT       6    --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:2222 to:192.168.101.4:22
    

    After another ssh attempt:

        8   480 DNAT       6    --  *      *       0.0.0.0/0            0.0.0.0/0            tcp dpt:2222 to:192.168.101.4:22