Upload files to "Modules/Knowledge/Powershell"
This commit is contained in:
27
Modules/Knowledge/Powershell/ps1_analysis.py
Normal file
27
Modules/Knowledge/Powershell/ps1_analysis.py
Normal file
@ -0,0 +1,27 @@
|
||||
def get_content():
|
||||
"""
|
||||
Returns structured content for analyzing PowerShell activity.
|
||||
"""
|
||||
return [
|
||||
{
|
||||
"title": "PowerShell Logging",
|
||||
"content": """
|
||||
- Command logs: ConsoleHost_history.txt (last 4096 commands).
|
||||
- Operational logs: Script block logging (4104).
|
||||
"""
|
||||
},
|
||||
{
|
||||
"title": "Remote Execution",
|
||||
"content": """
|
||||
- Enter-PSSession: Interactive remote shell.
|
||||
- Invoke-Command: Executes parallel tasks remotely.
|
||||
"""
|
||||
},
|
||||
{
|
||||
"title": "Key Features of PowerShell",
|
||||
"content": """
|
||||
- Automation of complex tasks.
|
||||
- Logs suspicious script activities automatically (v5 and later).
|
||||
"""
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user