Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help to solve the below cyber security for machine learning assignment: A . Objective: Build a machine learning model to detect phishing attacks using
Please help to solve the below cyber security for machine learning assignment:
A Objective: Build a machine learning model to detect phishing attacks using a dataset of emails and URLs.
B Dataset: Phishing Website Dataset from UCI Machine Learning Repository or any suitable phishing dataset or your choice
C Tools: Python, scikitlearn sklearn library
D Process Steps:
Data Preparation:
Download the phishing dataset and import it into your Python environment.
Explore the dataset to understand its structure, features, and target labels.
Data Preprocessing:
Clean the data: Remove duplicates, handle missing values, etc.
Encode categorical variables: Convert categorical features into numerical format if needed.
Split the dataset into features X and target labels y
Feature Extraction:
Extract relevant features from URLs and email content.
Transform URLs and email content into numerical representations eg using TFIDF
Model Selection:
Choose suitable machine learning algorithms for phishing detection eg Logistic Regression, Naive Bayes, Random Forest, etc.
Model Training:
Split the data into training and testingvalidation sets.
Train the selected models on the training data.
Model Evaluation:
Evaluate the models' performance on the testingvalidation set.
Calculate metrics such as accuracy, precision, recall, Fscore, and confusion matrix.
E Submission Instructions:
A PDF document has to be uploaded on Canvas under assignment tab covering following:
Overall process description & solution approach
ML model used and reasons to use this specific model
Details of each task done for each stage.
Code listing and screen shot of the task stage
Final output results and analysis of results
Alternative models which could have been used
F Expected Outcome:
Each submission must address at least of the following action areas.
Develop an ML model to detect phishing website: Detects if a website is phishing website or not.
Develop an ML model to detect a DDOS attack: Detects if the network traffic contains a DDOS attack vector
Develop an ML Model to detect an email is a phishing attempt: Classifies an email into phishing or normal
Develop an ML model to detect other malicious attack vectors: Detects if the network traffic contains any attack vector other than DDOS or phising
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started