This study presents a web application for classifying PowerShell commands using machine learning algorithms using Scikit-learn and XGBoost libraries. Classification was performed using the MITRE ATT&CK (MITRE) matrix into two classes (malicious and legitimate). The dataset includes 1,743 commands and was labeled by cybersecurity experts. The methods “Bag of Words” and TF-IDF using the Scikit-learn library. Were trained and tested such algorithms such as Naïve Bayes, Decision Tree, Random Forest, XGBoost, Logistic Regression, SVM and K-Nearest Neighbours. The average accuracy of all machine learning algorithms was (0.98 by the F1-score metric) even on small data sets (300 instances). The web application is implemented on the framework Streamlit. For ease of deployment, the application is packaged in a Docker container, which guarantees stable operation in any environment. The study has practical significance for cybersecurity specialists in terms of: a unique dataset with PowerShell commands marked up according to the MITRE matrix was created; a web application for automatic analysis of PowerShell commands was created; a web application for training machine learning algorithms was created.