-
Notifications
You must be signed in to change notification settings - Fork 807
Update T1086 (PowerShell) reporting to include PBA results #1522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…A in T1086's report
"$or": [ | ||
{"data.command": {"$regex": r"\.ps1"}}, | ||
{"data.result": {"$regex": r"\.ps1"}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Account discovery uses PowerShell but will not get found by this query
return ([{ | ||
Header: 'Example Powershell commands used', | ||
Header: 'PowerShell commands used on exploited machines', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PBA's are also powershell commands used on exploited machines
@@ -32,18 +32,72 @@ class T1086 extends React.Component { | |||
}]) | |||
} | |||
|
|||
static getPowershellColumnsForPBAs() { | |||
return ([{ | |||
Header: 'PBAs that used PowerShell commands or scripts', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the header could be simply "Post Breach Actions", because that's what user sees in the configuration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor fixes to report and query improvement needed
98ce106
to
82eea6a
Compare
@@ -12,7 +12,7 @@ class T1086 extends React.Component { | |||
|
|||
static getPowershellColumnsForExploits() { | |||
return ([{ | |||
Header: 'PowerShell commands used on exploited machines', | |||
Header: 'PowerShell commands used during exploitation', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd further simplify this to "Exploiters" because there's already a section explaining that Monkey used PowerShell commands.
@@ -34,7 +34,7 @@ class T1086 extends React.Component { | |||
|
|||
static getPowershellColumnsForPBAs() { | |||
return ([{ | |||
Header: 'PBAs that used PowerShell commands or scripts', | |||
Header: 'Post-breach actions that used PowerShell commands/scripts', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd further simplify this to "Post Breach Actions" because there's already a section explaining that Monkey used PowerShell commands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could improve the titles, but that's optional
What does this PR do?
Fixes #1513
PR Checklist
Was the documentation framework updated to reflect the changes?Testing Checklist
Added relevant unit tests?