pwnlandia / mhn

Modern Honey Network
GNU Lesser General Public License v2.1
2.43k stars 629 forks source link

Unable to deploy honeypot sensors (most) #522

Open mstoetz1 opened 6 years ago

mstoetz1 commented 6 years ago

When using the "Deploy" and selecting honeypots to install via scripts, the source urls are not working. conpot worked, but most of the others I tried did not.

 http://en.archive.ubuntu.com/ubuntu precise InRelease                                                                   
Hit:4 http://ca.archive.ubuntu.com/ubuntu xenial InRelease                                         
Hit:5 http://en.archive.ubuntu.com/ubuntu precise Release                                                                
Hit:6 http://ca.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                       
Ign:7 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial Release    
Hit:8 http://ca.archive.ubuntu.com/ubuntu xenial-backports InRelease     
Ign:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Ign:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Ign:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Ign:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Ign:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Err:10 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main amd64 Packages
  404  Not Found
Ign:11 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main i386 Packages
Ign:12 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main all Packages
Ign:13 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en_CA
Ign:14 http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial/main Translation-en
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/honeynet/nightly/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://en.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
E: Failed to fetch http://ppa.launchpad.net/honeynet/nightly/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@scout:/etc/network#
mstoetz1 commented 6 years ago

It looks like the ppa:honeynet/nightly repository is the issue.

add-apt-repository ppa:honeynet/nightly &
apt-get update

all fail with errors trying to access the repository.

(the above is in the dionaea honeypot install script)

mstoetz1 commented 6 years ago

Anyone able to install dionaea honeypot with MHN?

d1str0 commented 6 years ago

What version of Ubuntu are you using and what provider (if cloud)?

mstoetz1 commented 6 years ago

Hello... Ubuntu 16.04.3 LTS... no cloud, running on an intel NUC box.

d1str0 commented 6 years ago

Which other ones do not work? Is it just Dionaea ones?

We now have a Dionaea docker image available that is working, we just don't have a fully simplified install script for it yet. I will release the script tomorrow hopefully.

mstoetz1 commented 6 years ago

d1str0... thanks I'd try that. :)

Luckygecko: thank you for that info :)

coonsmatthew commented 6 years ago

@d1str0 Any update on releasing an install script for Dionaea for Ubuntu 16.04?

Thanks.