Lab.03 Information Security

Impersonation and MITM attacks on authentication protocols (2)

  1. Protocols (quick review of some protocols – video)
  2. TCP/IP protocol (FTP, SSH, Telnet,  email – IMAP, POP, SMTP…) vs UDP
  3. ARP Spoofing (video)
  4. Scyther installing
    1. Install the GraphViz library from this link
      [this worked for me:]

      sudo apt install graphviz
    2. Install Python from here
      you may also try this:

      $ python --version 
      or 
      $ pythonX --version [for example, in my case X is 3]
      $ pip --version
      or
      sudo apt install python3-pip
      
    3. Install wxPython libraries
      $ pip install -U wxPython

      If you get Command ‘pip’ not found you may install it by:

      sudo apt install python3-pip
  5. Download light VM from here
    sudo apt-get update
    sudo apt-get install traceroute dnsutils 
    (install the traceroute and dnsutils packets)
    sudo poweroff
    

Project 4 (3 students) Cryptographic Tools for Blockchain
The project explores the cryptographic tools needed in blockchain technology.
Project 5 (3 students) Security of Blockchain Technology
The project highlights the significant vulnerabilities in blockchain technology.

5 thoughts on “Lab.03 Information Security”

  1. sudo apt install python3-wxgtk4.0
    [sudo] password for kali:
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    The following additional packages will be installed:
    libpcre2-32-0 libwxbase3.2-0 libwxgtk3.2-0
    Suggested packages:
    wx3.0-doc
    The following NEW packages will be installed:
    libpcre2-32-0 libwxbase3.2-0 libwxgtk3.2-0 python3-wxgtk4.0
    0 upgraded, 4 newly installed, 0 to remove and 938 not upgraded.
    Need to get 12.9 MB of archives.
    After this operation, 66.5 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://kali.download/kali kali-rolling/main amd64 libpcre2-32-0 amd64 10.40-1 [232 kB]
    Get:2 http://http.kali.org/kali kali-rolling/main amd64 libwxbase3.2-0 amd64 3.2.1+dfsg-1 [946 kB]
    Get:3 http://http.kali.org/kali kali-rolling/main amd64 libwxgtk3.2-0 amd64 3.2.1+dfsg-1 [4,503 kB]
    Get:4 http://http.kali.org/kali kali-rolling/main amd64 python3-wxgtk4.0 amd64 4.2.0+dfsg-1 [7,204 kB]
    Fetched 12.9 MB in 6s (2,197 kB/s)
    Selecting previously unselected package libpcre2-32-0:amd64.
    (Reading database … 338352 files and directories currently installed.)
    Preparing to unpack …/libpcre2-32-0_10.40-1_amd64.deb …
    Unpacking libpcre2-32-0:amd64 (10.40-1) …
    Selecting previously unselected package libwxbase3.2-0:amd64.
    Preparing to unpack …/libwxbase3.2-0_3.2.1+dfsg-1_amd64.deb …
    Unpacking libwxbase3.2-0:amd64 (3.2.1+dfsg-1) …
    Selecting previously unselected package libwxgtk3.2-0:amd64.
    Preparing to unpack …/libwxgtk3.2-0_3.2.1+dfsg-1_amd64.deb …
    Unpacking libwxgtk3.2-0:amd64 (3.2.1+dfsg-1) …
    Selecting previously unselected package python3-wxgtk4.0.
    Preparing to unpack …/python3-wxgtk4.0_4.2.0+dfsg-1_amd64.deb …
    Unpacking python3-wxgtk4.0 (4.2.0+dfsg-1) …
    Setting up libpcre2-32-0:amd64 (10.40-1) …
    Setting up libwxbase3.2-0:amd64 (3.2.1+dfsg-1) …
    Setting up libwxgtk3.2-0:amd64 (3.2.1+dfsg-1) …
    Setting up python3-wxgtk4.0 (4.2.0+dfsg-1) …
    Processing triggers for libc-bin (2.34-4) …

  2. #!/bin/bash
    sudo apt update
    sudo apt upgrade
    sudo apt install python3-pip make gcc libgtk-3-dev libgstreamer-gl1.0-0 freeglut3 freeglut3-dev python3-gst-1.0 libglib2.0-dev libavcodec-extra ttf-mscorefonts-installer unrar gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-vaapi libgstreamer-plugins-base1.0-dev
    pip3 install attrdict

    USER=$(whoami)
    cd $USER/.local/lib/python3.10/site-packages/attrdict
    echo “Fix for \”ImportError: cannot import name ‘Mapping’ from ‘collections’\””
    sed -i ‘s/from collections /from collections.abc /g’ *.py

    echo “Installing wxPython multithreaded: make config and cmake compile library”
    echo “This will take a while”
    pip3 install -v –user wxPython

    echo “export PATH=\”/home/$USER/.local/bin:$PATH\”” >> ~/.bashrc
    exec bash

    cd /home/$USER
    cat < hello_world.py
    import wx

    app = wx.App(redirect=True)
    top = wx.Frame(None, title=”Hello World”, size=(300,200))
    top.Show()
    app.MainLoop()
    EOF

    python3 ./hello_world.py

Leave a Reply to Homeuca Radu Cancel reply

Your email address will not be published. Required fields are marked *

Related Post