Coder Social home page Coder Social logo

Comments (5)

13o-bbr-bbq avatar 13o-bbr-bbq commented on July 1, 2024 1

@MasanoriYamada
thanks for your advises.
now, i think want to improve the accuracy of exploitation.

  1. current version of DeepExploit is only using the normalization.
    but, i think that accuracy is not as good as i thought. so, i'll try to one-hot encoding instead of the normalization.

  2. i think want to improve definition of after performing action.
    if DeepExploit succeeds exploitation, status of metasploit's console is changed (one example: msf -> meterpreter). so, i think want to use console's status to definition of after performing action.

i'd be pleased if you could give me other advice.

from machine_learning_security.

MasanoriYamada avatar MasanoriYamada commented on July 1, 2024 1

@13o-bbr-bbq
Thanks for quick reply.

  1. current version of DeepExploit is only using the normalization.
    but, i think that accuracy is not as good as i thought. so, i'll try to one-hot encoding instead of the normalization.

OK.
Since the pace of ports and versions are higher dimensions, you may have to use domain knowledge.
i.e. some ports are handled specially.

2.i think want to improve definition of after performing action.
if DeepExploit succeeds exploitation, status of metasploit's console is changed (one example: msf -> meterpreter). so, i think want to use console's status to definition of after performing action.

OK! I understand.
I am not an expert on penetration testing, so please teach me.
How many post-exploitation do you do in your experience?

(Because the action space is large, I am concerned about the depth of exploration)

from machine_learning_security.

MasanoriYamada avatar MasanoriYamada commented on July 1, 2024 1

i have a question. is domain knowledge a technique used in transfer learning?

No, my mean that domain knowledge is network and security knowledge.

start --[exploitation (using RL)]--> first server --[exploitation (using RL)]--> second server --[exploitation (using RL)]--> third server --> ...

OK! I understand.
If you are penetrating under the assumption that an attack should not be detected.
Post exploit is nice, but it may be good to give a negative reward if an attack is detected.
Because in this situation the delayed reward for reinforcement learning is more efficient.

from machine_learning_security.

13o-bbr-bbq avatar 13o-bbr-bbq commented on July 1, 2024 1

No, my mean that domain knowledge is network and security knowledge.

oh, i misunderstood.
i'll improve state of ports and versions using my security knowledge.

but it may be good to give a negative reward if an attack is detected.

you're completely right. in penetration test, it is bad that an attack is detected.
so, i'll consider method of negative reward that attack is detected (anti virus etc).

thanks for your advice!

from machine_learning_security.

13o-bbr-bbq avatar 13o-bbr-bbq commented on July 1, 2024

@MasanoriYamada
thanks for reply!

Since the pace of ports and versions are higher dimensions, you may have to use domain knowledge.

great thanks for your advice.
i have a question. is domain knowledge a technique used in transfer learning?

How many post-exploitation do you do in your experience?
(Because the action space is large, I am concerned about the depth of exploration)

actually there are various patterns post-exploitation (penetrate internal servers via compromised server, extract credential information on compromised server, etc.). but, the purpose of the current DeepExploit is to penetrate the internal server.
therefore, if DeepExploit succeed exploitation of first server, it tries to penetrate the internal server via the first server. and, if DeepExploit succeed exploitation of the internal server (=second server) via first server, it tries to penetrate other internal servers via second server as well. repeat this for the number of servers.

my assumption is as follows.

start --[exploitation (using RL)]--> first server --[exploitation (using RL)]--> second server --[exploitation (using RL)]--> third server --> ...

but, it is not realistic to repeat penetration infinitely, so in practice i define the maximum number of target servers.

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.