Upload files to "Modules/Knowledge/Powershell"

This commit is contained in:
2024-11-30 00:53:52 -05:00
parent b679b5b48a
commit 374c4fc736
2 changed files with 61 additions and 0 deletions

View 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).
"""
}
]