PowerGNN: A source code structural and textual awareness approach for identifying malicious PowerShell scripts

As cyber attacks become more sophisticated, attackers increasingly employ living-off-the-land techniques to evade detection and exploit victim systems, with PowerShell emerging as a primary tool. PowerShell’s deep integration with the Windows operating system makes it an attractive choice for adversaries. Traditional security approaches, which typically rely on rule-based and signature-based detection methods, often struggle to identify novel threats such as zero-day attacks. In response to this challenge, recent advancements in machine learning and deep learning offer new avenues for detecting previously unknown threats by analyzing script characteristics. This study introduces PowerGNN, a novel detection method that leverages Graph Neural Networks (GNN) to analyze the Abstract Syntax Tree (AST) of PowerShell scripts. PowerGNN combines the structural insights provided by the AST with enriched textual features derived from fastText embeddings. By integrating these two approaches, PowerGNN enhances the understanding and detection of malicious scripts. We validate the effectiveness of PowerGNN through experiments, demonstrating its superior ability to detect malicious PowerShell scripts.

Authors

Publication Details

Published
2025-08-14
DOI
https://doi.org/10.1109/mapr67746.2025.11133781
Primary Topic
Information and Cyber Security
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PowerGNN: A source code structural and textual awareness approach for identifying malicious PowerShell scripts

Phan The Duy, Van-Hau Pham, Nghi Hoang Khoa, Tuan Hoang Nguyen et al.
Information and Cyber Security
article

PowerGNN: A source code structural and textual awareness approach for identifying malicious PowerShell scripts

Phan The Duy, Van-Hau Pham, Nghi Hoang Khoa, Tuan Hoang Nguyen, Ngo Duc Hoang Son, Le Phan Huu Nghia
article en

Abstract

As cyber attacks become more sophisticated, attackers increasingly employ living-off-the-land techniques to evade detection and exploit victim systems, with PowerShell emerging as a primary tool. PowerShell’s deep integration with the Windows operating system makes it an attractive choice for adversaries. Traditional security approaches, which typically rely on rule-based and signature-based detection methods, often struggle to identify novel threats such as zero-day attacks. In response to this challenge, recent advancements in machine learning and deep learning offer new avenues for detecting previously unknown threats by analyzing script characteristics. This study introduces PowerGNN, a novel detection method that leverages Graph Neural Networks (GNN) to analyze the Abstract Syntax Tree (AST) of PowerShell scripts. PowerGNN combines the structural insights provided by the AST with enriched textual features derived from fastText embeddings. By integrating these two approaches, PowerGNN enhances the understanding and detection of malicious scripts. We validate the effectiveness of PowerGNN through experiments, demonstrating its superior ability to detect malicious PowerShell scripts.

Openalex Percentile: Top 66%
Information and Cyber Security
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

PowerGNN: A source code structural and textual awareness approach for identifying malicious PowerShell scripts — Phan The Duy, Van-Hau Pham, et al. · (2025) | TGRS Research Map | TGRS