A controlled Nextcloud Mail environment is successfully deployed in an isolated cybersecurity laboratory for AI-generated phishing detection research.
A public AI-generated phishing email dataset is processed to obtain structured email-content representations associated with legitimate and phishing activity without manually creating the machine-learning training dataset.
The processed email representations are analyzed through Mistral to generate semantic features representing the characteristics of legitimate and phishing communication.
The generated semantic features are used to train a Logistic Regression classification model capable of distinguishing legitimate email content from phishing-related content.
The trained Logistic Regression model is evaluated using independent testing data, producing measurable classification results through appropriate machine-learning performance metrics.
A legitimate email-activity baseline is established, providing a reference for distinguishing normal communication from controlled AI-generated phishing activity.
A controlled AI-generated phishing email is delivered only to a disposable laboratory mailbox, generating realistic phishing-oriented communication without targeting real users or production mail infrastructure.
The runtime phishing email is retrieved and transformed into the same semantic representation used during model training.
The Logistic Regression model classifies the runtime semantic representation and identifies whether the controlled email exhibits phishing characteristics, allowing the detection result to be compared with the controlled attack condition.
Email-content, Mistral semantic-analysis, mail-delivery, and machine-learning evidence are correlated to verify that the detected classification corresponds to the controlled AI-generated phishing activity.
The complete AI-generated phishing detection workflow comprising public-data processing, email preprocessing, Mistral semantic feature generation, Logistic Regression training, model validation, Nextcloud Mail deployment, legitimate-email baselining, controlled AI-generated phishing simulation, runtime semantic analysis, phishing classification, detection assessment, and final security validation is successfully demonstrated.