Skip to content

Extract the AST features from script with python #1

@aaBadri

Description

@aaBadri

Thank you for this excellent repository and blog post.

I see that you used a dataset with AST features already. How can I extract these features in my ML pipeline? Can we extract AST features from the Powershell script only or do we need to use the events log to obtain them? Is there any way to use the ast python package to give us the same features?

I am an experienced ML engineer but I am new to PowerShell. I am interested in creating an end-to-end pipeline for preprocessing a raw PowerShell script, extracting AST features, selecting useful features, and finally feeding them to my model. Can you assist me with the "extract AST features" part, please?

aab

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions