Sign inSign up

simonthomas/kali-linux-web-assessment

By simonthomas

•Updated over 8 years ago

Official Kali Linux Image /w Web, Top10, common tools, Metasploit, Social Engineering Toolkit

Image
1

10K+

simonthomas/kali-linux-web-assessment repository overview

⁠All versions are based on Kali Linux Official Docker Minimal Image:

https://www.kali.org/news/official-kali-linux-docker-images/⁠

⁠Kali Linux Web Assessment Docker Image

⁠Social Engineering Toolkit, Armitage, Metasploit framework

###### What is in the image From an official Kali Linux minimal Docker image, I have added common useful tools with apt.

  • Common tools: bmon iftop iptraf nethogs net-tools nmap wireshark htop curl
    apt-transport-https apt-utils strace sysstat ca-certificates gnupg2 software-properties-common
    gzip bzip2 whois dnsutils rblcheck unzip vim vim-common vim-runtime httrack
  • Kali Linux Metapackages kali-linux-web kali-linux-top10
  • Additional applications metasploit-framework setoolkit armitage
  • Dependencies for SET, Metasploit-framework and Armitage in X11 export mode python2.7-minimal python3 python-pip pexpect pycrypto requests pyopenssl pefile impacket impacket qrcode pillow libxext-dev libxrender-dev libxtst-dev python-elixir ldap-utils rwho rsh-client x11-apps finger python-pyside.qtwebkit python-qt4 hydra nmap libapache2-mod-php python-pefile python-pexpect python-ptyprocess
⁠Before lauching the container

First build the image with: docker build -t $IMAGE_NAME .

⁠Metsploit Framework and SET Usage

Run a new container from the image: docker run -ti $IMAGE_NAME

⁠After lauching the container for the first time

You will need to connect to the container and,

  • Launch postgresql database server: /etc/init.d/postgresql start
  • Initiate the metasploit framework database for its firt run:
    msfdb init
  • You can also connect to metasploit framework to check everything is ok and build database cache msfconsole db_rebuild_cache
⁠Social Engineering Toolkit Nota Bene

In order for some attack vectors to work properly you will need to expose some or all container's ports to host. Also for remote WAN usage you may need to have these ports open in your firewall too. In example, Website based attack vectors will need to have at least the port 80 configured properly.

⁠In case metasploit do not work properly

It may means that services.sh did not work properly on the container start, please mannually execute following commands : /etc/init.d/postgresql start msfdb init

⁠Armitage Usage
⁠Before lauching the container
  • Modifiy the Dockerfile lines containing the UID and GUID with your Docker user UID and GUID uid=1000 gid=1000
  • On the Docker host running the container, you should allowd at least your docker containers network range to connect to X server: sudo xhost +
⁠Running a new container from the image

docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix $IMAGE_NAME

⁠After lauching the container for the first time and before allowing Armitage to connect and launch RPC Server

You will need to connect to the container just right after Armitage poped up and before you click on login and,

  • Launch postgresql database server: /etc/init.d/postgresql start
  • Initiate the metasploit framework database for its firt run:
    msfdb init
  • You can also connect to metasploit framework to check everything is ok and build database cache msfconsole> db_rebuild_cache /etc/init.d/postgresql start> msfdb init

##### Detailed content of Web Metapackage kali-linux apache2 apache-users arachni automater bbqsql beef-xss blindelephant burpsuite cadaver clusterd cookie-cadger cutycapt davtest dbpwaudit dirb dirbuster dnmap dotdotpwn eyewitness ferret-sidejack[i386] fimap ftester funkload golismero grabber hamster-sidejack hexorbase http-tunnel httprint hydra hydra-gtk ikat inundator jboss-autopwn jd-gui joomscan jsql laudanum lbd maltego maltego-teeth medusa mitmproxy mysql-server ncrack nikto nmap oscanner owasp-mantra-ff padbuster paros patator php5 php5-mysql plecost powerfuzzer proxychains proxystrike proxytunnel ratproxy recon-ng redsocks sidguesser siege skipfish sqldict[amd64,i386] sqlitebrowser sqlmap sqlninja sqlsus sslcaudit ssldump sslh sslscan sslsniff sslstrip sslsplit sslyze stunnel4 thc-ssl-dos tlssled tnscmd10g ua-tester uniscan vega[amd64,i386] waffit wapiti webacoo webhandler webscarab webshag webshellswebslayer websploit weevely wfuzz whatweb wireshark wpscan xsser zaprox ##### Detailed content of Kali Top 10 Metapackage aircrack-ng burpsuite hydra john maltego metasploit-framework nmap zaproxy sqlmap wireshark

Tag summary

Content type

Image

Digest

Size

4.9 GB

Last updated

over 8 years ago

docker pull simonthomas/kali-linux-web-assessment