Hack The Box にVPNで接続できない、もしくは失敗する

スポンサーリンク

サイバーセキュリティの専門家や実務家が使用している海外で有名な侵入テスト(ペネトレーションテスト)プラットフォーム「Hack The Box」にVPNで接続できない、もしくは失敗することについて解説します。

■PC環境

Windows 10 Pro

VirtualBox6.1

Kali Linux 2021.1(Debian (64-bit)),Python 3.9.2

VPNで接続できない、もしくは失敗する

Hack The Boxのダッシュボードにある「Labs」の「Access」ページから「connection pack」の”here”の文字をクリックすることで、「username.ovpn」をダウンロードして、OpenVPNで接続を行いました。失敗。

しかも、「username.ovpn」をダウンロード後、Hack The Boxのダッシュボードにある「Labs」の「Access」ページが消える。表示されない。

Access」ページが表示されないので「connection pack」がダウンロードできず、管理画面の右側上部にある「CONNECT TO HTB」から「Labs」をクリック。

クリック後、「OpenVPN」をクリックし、「Connect to a VPN server」で「Free」となっているサーバーを選択し、接続を試みるも失敗。

失敗したので、別の手段として、ダッシュボードにある「Labs」の「Starting Point」で「Connect to Starting Point」をクリック。クリック後、「OpenVPN」をクリックし、「Connect to a VPN server」で「Starting Point」となっているサーバーを選択し、接続を試みるも失敗。

#sudo openvpn users.ovpn

上記のコマンドでOpenVPN接続を試みても、何回は接続に成功するが、下記のメッセージが表示され、途中でネットワークエラーとなり、接続ができなくなる。

2021-05-14 09:05:16 WARNING: this configuration may cache passwords in memory -- use the auth-nog ache option to prevent this
2021-05-14 09:05:16 Initialization Sequence Completed
2021-05-14 09:09:52 [htb] Inactivity timeout -ping-restart), restarting
2021-05-14 09:09:52 SIGUSR1C soft, ping-restart] received, process restarting 2021-05-14 09:09:52 Restart pause, 5 seconds)
2021-05-14 09:09:57 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 25 6 bit key
2021-65-14 09:09:57 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
.......
2021-05-14 09:15:32 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication 
2021-05-14 09:15:32 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 25 6 bit key 
2021-05-14 09:15:32 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication 
2021-05-14 09:15:32 RESOLVE: Cannot resolve host address: edge-eu-starting-point-1.hackthebox.eu: 443 (Temporary failure in name resolution) 
2021-05-14 09:15:32 RESOLVE: Cannot resolve host address: edge-eu-starting-point-1.hackthebox.eu: 443 (Temporary failure in name resolution) 
2021-05-14 09:15:32 Could not determine IPV4/IPv6 protocol 2021-05-14 09:15:32 SIGUSR1[soft, init_instance] received, process restarting ever 
2021-05-14 09:15:32 Restart pause, 300 second(s), 2021-05-14 09:20:32 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 25 6 bit key 
2021-05-14 09:20:32 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication 
2021-05-14 09:20:32 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 25 6 bit key 
2021-05-14 09:20:32 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication 
2021-05-14 09:20:32 RESOLVE: Cannot resolve host address: edge-eu-starting-point-1.hackthebox.eu: 443 (Temporary failure in name resolution) 
2021-05-14 09:20:32 RESOLVE: Cannot resolve host address: edge-eu-starting-point-1.hackthebox.eu: 443 (Temporary failure in name resolution)
not determine IPV4/IPv6 protocol 
2021-05-14 09:20:32 SIGUSR1[ soft, init_instance] received, process restarting
2021-05-14 09:20:32 Restart pause, 300 seconds)

しかも、VirtualBox6.1上のKali Linux 2021.1で起動しているFirefoxが「Server Not Found」と表示され、「Hack The Box」へアクセスできなくなる。

■試したこと

・.ovpnファイルを編集してTCP 443に切り替える。切り替えたが接続できない、もしくは失敗する。

■最後に

原因が分かる方、もしくは解決する方法があればお問い合わせからご連絡ください。運営者の方でも、随時、解決方法を探ります。

■追記

2021年5月18日、Virtualbox6.1を再インストールし、KaliLinux2021.1も再インストールし直して、VPN接続を試みると、接続できた。今後も接続に不具合があれば、追記する。