Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of Questions #4

Open
Tim-Cunnane opened this issue Mar 26, 2024 · 19 comments
Open

Couple of Questions #4

Tim-Cunnane opened this issue Mar 26, 2024 · 19 comments

Comments

@Tim-Cunnane
Copy link

Tim-Cunnane commented Mar 26, 2024

Hi Folks,

I just have a couple of question to ask regarding the system and hopefully you will be able to let me know of the answers:

In terms of other pcaps that could be used for the system, would you have any other pcaps that could be used for the system such as DDoS, Inflitration or any other pcaps, to allow for models to be built?

For the model comparison score what how would this be calculated and what is this indicating?

Thanks
Tim

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: This issue arises because the tool currently supports executing one action at a time, such as building a model, to prevent potential conflicts. However, it can be easily modified to support multiple actions simultaneously.

As for datasets, we used the public dataset available at this link. Regarding model comparison, our current approach involves using the confusion matrix for different cutoff values. However, there are various other metrics available for different analytical purposes.

@Tim-Cunnane
Copy link
Author

@strongcourage ahhh right okay thanks for help on that. For the pcaps, I extract some pcap for DDoS etc. but was wondering do you need to extract normal pcap for each attack and how you obtained it?

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: From this paper (Section 4 - Dataset), they captured both normal traffic on Monday and malicious traffic on the rest of the week. Thus, you can obtain both benign and malicious pcaps.

@Tim-Cunnane
Copy link
Author

Tim-Cunnane commented Mar 28, 2024

@strongcourage perfect hopefully be able to get some pcaps from this.

I don’t know if there is any, but would there be any testing for maip like CI testing, testing of the apis, etc.?

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: the project is still under development as we're working on and testing some functionalities.
Thank you for your suggestions, for now only manual testing :D. Indeed implementing CI testing would be a beneficial approach, I will definitely consider it.

@Tim-Cunnane
Copy link
Author

@strongcourage In terms of the normal pcaps that have to enter into the build of a model, do normal pcaps and malicious pcap to all for the model to be built. I have create a few normal pcaps however the don't seem to provide any performance metrics. I have a range of attacks like DDoS, Infiltration and brute force pcap to test against the system.

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: if possible, can you share with me normal/malicious pcap files you've used for building the model? I will try to take a look on them. Thanks.

@Tim-Cunnane
Copy link
Author

Tim-Cunnane commented Apr 3, 2024

@strongcourage Here is a link to some of the pcaps that I have currently.

https://qubstudentcloud-my.sharepoint.com/:f:/g/personal/40294818_ads_qub_ac_uk/EhoVqdcTcDFAnwKR4XgN48wBU_fcxxtQZ2xh5kxsPT8o-w?e=TzkPPX

Thanks

@Tim-Cunnane
Copy link
Author

@strongcourage have you been able to take a look those pcaps? Apologies for the rush, just have this final section of my dissertation to complete.

Thanks
Tim

@Tim-Cunnane
Copy link
Author

@strongcourage When perform the GAN-driven attack how long does this usually take? Does this create the synthetic data?
Currently getting this issue when perform this attack:
image
Thanks
Tim

@Tim-Cunnane
Copy link
Author

Tim-Cunnane commented Apr 10, 2024

@strongcourage would there be any advise that you could provide that would fix this issue?

Thanks

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: Hello, as I mentioned in this comment, the issue here is that you don't have ctgan_samples.csv in the folder /maip/src/server/deep-learning/attacks/model_14%20(DDoS). You need to generate this dataset using CTGAN, or just copy ctgan_samples.csv from other folders (I'm not sure it is correct for your new model). Hope this helps.

@Tim-Cunnane
Copy link
Author

@strongcourage: Hello, using the system with docker containers, when a new model is created it doesn’t create a new folder within models same happens with the attacks.

Thanks
Tim

@Tim-Cunnane
Copy link
Author

@strongcourage, Hi, this issue still seem to occur when the samples are in here as seen in the below:
image
image
Would there be any specific reason for this when the platform is ran in an containerised format?
Thanks

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: maybe you can change your model to model_14_ddos then try again. Anyway, ctgan_poisoned_dataset.csv is not successfully generated.

@Tim-Cunnane
Copy link
Author

@strongcourage: Sorry for so many question but i am have more difficulties with the system as now it is in production mode is there anyway this can be changed, as i am trying to access the GUI but getting the below
image

along with this in the log:
image

Any help would be appreciated.

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: sorry Tim, if you use the latest commit and build it locally (not using docker), please use port 31057 instead of 3000.

@Tim-Cunnane
Copy link
Author

@strongcourage: regarding the ctgan_poisoned_datset.csv is there a specific setup that need to be done or does the system generate this in the background with the ctgan samples? As I am still getting this error:
image

@strongcourage
Copy link
Collaborator

@Tim-Cunnane: could you please help fill in this survey related to MAIP as mentioned #5. Thank you very much in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants