This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------------------------------------------- | |
| #ChatGPT | |
| explain how to use VMWare WorkspaceOne to Increase automation capabilities of the cyber detection | |
| ChatGPT | |
| VMware Workspace ONE is an integrated platform that combines unified endpoint management (UEM) and endpoint security capabilities. While it doesn't directly increase automation capabilities for cyber detection, it provides a centralized management and security framework that can be leveraged to enhance automation in the overall cybersecurity operations. Here's an overview of how you can utilize VMware Workspace ONE to improve automation capabilities in cyber detection: | |
| Endpoint Management: Workspace ONE allows you to manage a wide range of endpoints, including mobile devices, desktops, laptops, and virtual machines. By enrolling and configuring these endpoints within the Workspace ONE console, you establish a centralized management framework for all your devices. | |
| Endpoin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ========================================================================================================= | |
| #powershell editor in windows | |
| PowerShell ISE,Visual Studio Code,Notepad++ | |
| ========================================================================================================== | |
| Example 3: Modify your prompt function | |
| This command changes the prompt function so that it displays the time before the path. | |
| PowerShell | |
| Set-Item -Path function:prompt -Value {'PS '+ (Get-Date -Format t) + " " + (Get-Location) + '> '} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------------------------------------------------------------------------- | |
| (remote linux) | |
| 1. Create a Dedicated User on the Agent Machine | |
| User Account: root (or a user with sudo privileges) | |
| Commands: | |
| sudo useradd -m -d /home/jenkins-runner -s /bin/bash jenkins-runner | |
| sudo passwd jenkins-runner # Set a password for the user (optional but useful for troubleshooting) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -------------------------------------------------------------------------------------------------------------------- | |
| show <TAB> see parameter list to show command | |
| ? list of commands | |
| To re-execute a command,use the redo command | |
| alias <name> <command> #Thealiascommandisexecutedfromthecurrentconfigurationcontext | |
| no alias <name> <command | |
| press [Tab] after typing "t",the available command options that begin with "t" | |
| switch(config)#t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------------------------------------------------------------- | |
| #CLI Shortcut Keystrokes | |
| Ctrl+Shift+6 Cancels whatever it's currently doing | |
| Ctrl+C Exits config mode | |
| Ctrl+Z Applies current command & returns to priv. EXEC mode | |
| Ctrl+U Erases anything on current prompt line | |
| Tab Completes abbreviated command | |
| Up Arrow Automatically re-types last command |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------------------------------------------------------------ | |
| Get-Help Get-Snapshot | |
| Get-Help XXX (cmdlet) | |
| REMARKS | |
| To see the examples, type: "get-help Get-Snapshot -examples". | |
| For more information, type: "get-help Get-Snapshot -detailed". | |
| For technical information, type: "get-help Get-Snapshot -full". | |
| For online help, type: "get-help Get-Snapshot -online" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------------------------------------------------------------------------------------------------- | |
| #The Active Directory Administrative Center (ADAC) | |
| dsac (cmd) | |
| dsac (pwsh) | |
| ---------------------------------------------------------------------------------------------------- | |
| Extracting password hashes from the NTDS.dit and SYSTEM files is typically performed for security and forensic purposes. These files are part of the Windows operating system and contain user account information and password hashes. There are several tools and techniques that can be used to perform this extraction: | |
| Mimikatz: | |
| Mimikatz is a popular open-source tool for post-exploitation tasks, including extracting password hashes from Windows systems. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| # PS : ChatGPT makes mistakes, consider "trust but verify" principle | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| #Events to Monitor | |
| https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/appendix-l--events-to-monitor | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| #run | |
| eventvwr.msc Event viewer | |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | |
| Event Viewer(Local)-Windows Logs (shutdown / restart ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ------------------------------------------------------------------------------------------ | |
| ------------------------------------------------------------------------------------------ | |
| AccessChk - Lets you see what type of access users and groups have to files, directories, registry keys, etc. | |
| AccessEnum - Full view of your file system and registry security settings. | |
| AdExplorer - Active Directory viewer and editor. | |
| AdInsight - LDAP real-time monitoring tool used to troubleshoot Active Directory applications. | |
| AdRestore - Ability to restore deleted Active Directory objects. | |
| Autologon - Easily configure autologon mechanism. | |
| Autoruns - Displays programs that are configured to run at startup. | |
| BgInfo - Displays relevant information about the computer on the desktop, such as computer name, IP address, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---------------------------------------------------------------------------------------------------- | |
| tcpdump -s 0 #capture entire etherner header and IP packet | |
| tcpdump -ni tap55ec3c7f-91 ip6 #locate the ICMPv6 packets | |
| tcpdump -s0 -n -i any -w /tmp/$(hostname)-smbtrace.pcap #if the SMB client or SMB server is a Unix host,Troubleshooting Server Message Block (SMB) | |
| tcpdump -D #Print the list of the network interfaces available on the system and on which tcpdump can capture packet | |
| tcpdump -X -vvv -n -i eth0 |