GithubHelp home page GithubHelp logo

miguelob / ics-hacking Goto Github PK

View Code? Open in Web Editor NEW
106.0 3.0 22.0 68.81 MB

This repository is focused on cybersecurity in the industrial world. Many industrial communication protocols and equipment is investigated and pentested

Home Page: https://www.youtube.com/c/Migueloleoblanco

License: GNU General Public License v3.0

CMake 0.34% C 91.91% Makefile 0.29% Shell 0.10% Lua 0.18% Roff 0.27% HTML 0.25% Python 3.54% Perl 0.43% Ruby 0.01% XSLT 0.01% CSS 0.02% C++ 2.29% Lex 0.09% SourcePawn 0.20% PostScript 0.01% Yacc 0.02% NSIS 0.04% PowerShell 0.01% Awk 0.01%
python cybersecurity pentesting scada siemens s7 plc modbus profinet scapy

ics-hacking's Introduction

Hi there 👋

My name is Miguel and here you'll find some tools and code I've built or worked with, mainly around Cybersecurity, Communications, VHDL, C programming of Microprocessors and Data Analytics.


Miguel's GitHub Stats

Rubasace's most used languages


Life @Work 👨‍💻

I'm a Telecommunication Engineer graduated at ICAI (Madrid) and IIT (Chicago). During my degree i have developed several projects such as signal procesing, microprocessor programming, VHDL etc.

If you are interested in Cybersecurity, do not forget to check this repository out 💯:

Readme Card


  • 🔭 I’m currently working on Cybersecurity and Computer Science.
  • 🌱 I’m currently learning about Telecommunications and Computer Science.
  • 👯 I’m looking to collaborate on Cybersecurity of Critial infrastructures.
  • 🤔 I’m looking for help with any of my repositories.
  • 💬 Ask me about anything you may find difficult on my repositories.
  • 📫 How to reach me: [email protected] or at my Linkedin.
  • ⚡ Fun fact: cyclist on my free time 🚵🏻.

ics-hacking's People

Contributors

miguelob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ics-hacking's Issues

Ether not working on Profinet and Profibus (version 1.0)

I am also having this issue. There are multiple variables that are undefined in the repository. I downloaded the latest repository (version 1.0) and it had the same issues. In Discovery.py and FlashLED.py, Ether(raw_pkt) is also undefined. Attached are the errors that are showing up on VSCode
Edit: I made sure to install all the requirements, but still no luck
undefined variables

Originally posted by @charliehernandez97 in #4 (comment)

Issue: name 'plc' is not defined when running SCADA_LAB.py

Hello there,

It seems that it is not working for me, what python version you have installed for this to work?, which versions of each package? :-)

  File "/Users/federico/Downloads/ICS-Hacking-main/SCADA/SCADA_LAB.py", line 6, in <module>
    class GUI(plc, client):
NameError: name 'plc' is not defined

Exception error messages not showing

Describe the bug
Whenever a wrong input is type, the error message gets deleted before the user can see the message.

To Reproduce
Steps to reproduce the behavior:

  1. Run the main.py on the package
  2. Wait until you see the main many
  3. type in a wrong input
  4. You can see the message is shown but instantly erased

Expected behavior
The message should be there

  • OS: MacOS

readme or manuel

a readme or manual would me super awesome to get started.
I did ./main.py, nothing but errors happen and I don't know that I have missed…

$ ./main.py 
from: can't read /var/mail/numpy
from: can't read /var/mail/S7comm
from: can't read /var/mail/PnetPbus
from: can't read /var/mail/PnetPbus
import-im6.q16: unable to grab mouse `': No such file or directory @ error/xwindow.c/XSelectWindow/9187.
from: can't read /var/mail/tkinter
from: can't read /var/mail/pymodbus.client.sync
from: can't read /var/mail/SCADA
from: can't read /var/mail/time
import-im6.q16: unable to grab mouse `': No such file or directory @ error/xwindow.c/XSelectWindow/9187.
./main.py: line 12: syntax error near unexpected token `('
./main.py: line 12: `def clearScreen():'

SCADA TYPE ERROR

hi @miguelob , thanks for the quick help, now it's working and I get into the menu.
Maybe I haven't understood the project correctly… I thought it's (also) meant to emulate ICS, e.g. a SCADA and S7 things, kind of like Snap7 or Bevywise do.
Trying to start the SCADA Lab I think I encountered a type error:

==========================

       ICS-Hacking

==========================
® by Miguel Oleo Blanco


1 -- S7Comm
2 -- S7Comm-plus
3 -- SCADA
4 -- Profinet & Profibus
5 -- Exit
Enter your choice: 3
Please, type in the destination IP: 192.168.1.10
Please, type in the RACK (DEFAULT IS 0): 0
Please, type in the the SLOT (DEFAULT IS 1): 1
Traceback (most recent call last):
  File "main.py", line 135, in <module>
    plc.connect(IP,RACK,SLOT)   #Connects to the client
  File "/home/tobjasr/.local/lib/python3.8/site-packages/snap7/client.py", line 25, in f
    code = func(*args, **kw)
  File "/home/tobjasr/.local/lib/python3.8/site-packages/snap7/client.py", line 197, in connect
    c_int(rack), c_int(slot))
TypeError: an integer is required (got type str)

Originally posted by @TobjasR in #6 (comment)

Error running main.py

I have install the new release .zip
It is saying in Discovery.py that name mac is not defined at
class Discovery(mac):
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.