Coder Social home page Coder Social logo

Comments (7)

mbhatt1 avatar mbhatt1 commented on August 20, 2024 1

You meant to comment here? Or a different repo?

from machine_learning_security.

13o-bbr-bbq avatar 13o-bbr-bbq commented on August 20, 2024

i received this issue from anonymous using e-mail.
so posted this issue at this instead of anonymous.

from machine_learning_security.

opsoyo avatar opsoyo commented on August 20, 2024

I am having a similar experience in Kali after training.

[*] Port scanning: ###.###.###.###
[*] Executing keep_alive..
[!] type:<class 'AttributeError'>
[!] args:("'NoneType' object has no attribute 'decode'",)
[!] 'NoneType' object has no attribute 'decode'
[!] Failed: version

from machine_learning_security.

hustzhm avatar hustzhm commented on August 20, 2024

Hi,
I have some troubles about the DeepExploit.

  1. For the same target server,the trained model is different.I do not change the parameters about the network,and the target server is metasploitable2-Linux,referred in your GitHub. I want to know how to solve the problem because the different models make the exploit unstable,which can not meet our demands.Perhaps,does the instability of RL lead to the problem?
  2. Every time I use the tool to exploit the same target server,I will get different results.The model sorts the action(payload) by the probability.According to common sense,the same payload should be selected every time for the same port when the model is trained.But the situation is not like that.
  3. I can not use the tool to exploit the other servers.It always failed to exploit.So I just train and test the model in the same server.
    Test result .docx

from machine_learning_security.

rongqinglee avatar rongqinglee commented on August 20, 2024

I have tried your DeepExploit system and finished the configuration.
After training, I used the system to exploit one machine, it show some failed message below.

[!] type:<class 'AttributeError'>
[!] args:("'int' object has no attribute 'decode'",)
[!] 'int' object has no attribute 'decode'
[!] Failed: module.info

Is there something i missed or ?

I encountered this problem too. Some version of Kali gives rank as 600, 500, ..., but not 'excellent', 'great',...

I modify some code as following and could work:
#rank = module_info[b'rank'].decode('utf-8')
#if rank in {'excellent', 'great', 'good'}:

modify as ==>

rank = module_info[b'rank']
if rank in {600, 500, 400}:

from machine_learning_security.

NovaBlastHD avatar NovaBlastHD commented on August 20, 2024

Hi,
I have some troubles about the DeepExploit.

1. For the same target server,the trained model is different.I do not change the parameters about the network,and the target server is metasploitable2-Linux,referred in your GitHub. I want to know how to solve the problem because the different models make the exploit unstable,which can not meet our demands.Perhaps,does the instability of RL lead to the problem?

2. Every time I use the tool to exploit the same target server,I will get different results.The model sorts the action(payload) by the probability.According to common sense,the same payload should be selected every time for the same port when the model is trained.But the situation is not like that.

3. I can not use the tool to exploit the other servers.It always failed to exploit.So I just train and test the model in the same server.
   [Test result .docx](https://github.com/13o-bbr-bbq/machine_learning_security/files/3381708/Test.result.docx)

To answer your first two questions, which are pretty much the same thing, you have to understand how machine learning works. The weights are initialized randomly. I'm not sure if that is the case here but it seems like it. Because they are initialized randomly, when the weights are updated they probably fall inside a local minimum. This is why you get different results each time. If you were to initialized the weights with 0 every time then the model wouldn't be as effective and you would end up with the same data each time.

from machine_learning_security.

1939552724 avatar 1939552724 commented on August 20, 2024

@hustzhm
Hi, I try to run this project! But there are some problems and bugs that I can't solve! Could you show me your sucessful project?

one problem like this:

[] 311/2006 Loaded exploit: linux/samba/trans2open
[!] 312/2006 linux/smtp/apache_james_exec module is danger (rank: normal). Can't load.
[
] 313/2006 Loaded exploit: linux/smtp/exim4_dovecot_exec
[*] 314/2006 Loaded exploit: linux/smtp/exim_gethostbyname_bof
[!] type:<class 'KeyError'>
[!] args:(b'rank',)
[!] b'rank'
[!] Failed: module.info

from machine_learning_security.

Related Issues (20)

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.