Skip to content

Commit

Permalink
Merge pull request #332 from CybercentreCanada/ps1_id
Browse files Browse the repository at this point in the history
Adding strong indicator for ps1
  • Loading branch information
cccs-kevin authored Aug 18, 2021
2 parents 07cb93c + e087da2 commit 5091a61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assemblyline/common/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@
# Match one of the common Classes (case-insensitive)
re.compile(rb'(?i)(-memberDefinition|-Name|-namespace|-passthru|-command|-TypeName)'),
# Match one of the common Methods (case-insensitive)
re.compile(rb'(?i)(\.Get(String|Field|Type|Method)|FromBase64String)\(')
re.compile(rb'(?i)(\.Get(String|Field|Type|Method)|FromBase64String)\('),
# A .NET class that is commonly used in PowerShell
re.compile(rb'(?i)(System\.Net\.WebClient)'),
]
}
STRONG_SCORE = 15
Expand Down

0 comments on commit 5091a61

Please sign in to comment.