I have recently started HTB and learned of Metasploit. In the process of learning Metasploit I haven't been successfully able to create a session after completing an exploit. I started with Lame and haven't been able to successfully use the exploit, although I managed to get Root by using CVE-2007-2447 exploit I found on GitHub. I then went on to Legacy and attempted to use Metasploit to no avail. I looked for more ways to attack but most have led me to Metasploit or some form of using the msfconsole.
I am currently attempting Blue and it seems to successfully establish connection and send the payload (ETERNALBLUE overwrite completed successfully). But instead of a WIN I get a FAIL, and it restarts the process twice more. My process for debugging has been:
Confirming RHOSTS and LHOST and their respective ports
Switching between payloads (staged and single)
Checking my Firewalls (ufw) and confirming that I am accepting connections from my VPN to HTB on port 4444
Disabling Firewall in general
Using the old model "kali-grant-root" instead of running msfconsole as root
Taking down my VM and Building a new one.
I am running Kali Linux 2020.1. Any pointers are greatly appreciated.