Purpleteam icon indicating copy to clipboard operation
Purpleteam copied to clipboard

purpleteam creation

Open mthcht opened this issue 2 years ago • 7 comments

Initial issue for addition, notes and updates

mthcht avatar Dec 19 '22 07:12 mthcht

mthcht avatar Dec 19 '22 07:12 mthcht

  • [ ] recompile createdump.exe from https://github.com/dotnet/dotnet/blob/main/src/runtime/src/coreclr/debug/createdump/, change the part https://github.com/dotnet/dotnet/blob/main/src/runtime/src/coreclr/debug/createdump/main.cpp#L185 so we can still use pid option with dotnet 7, add the new executable to _bin directory and modify script https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/dump_lsass_with_dotnet_createdump.ps1 to download the executable from _bin if v5 or v6 are not found

mthcht avatar Jan 17 '23 07:01 mthcht

  • [x] add in each script:
Start-Transcript -OutputDirectory $env:tmp\Logfile -UseMinimalHeader
#...
Stop-Transcript

mthcht avatar Jan 25 '23 10:01 mthcht

quick work in progress, note to remember:

  • [x] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/delete_mru_history.ps1
  • [ ] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/clear_remote_access_softwares.ps1
  • [ ] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/clear_userassist_traces.ps1
  • [ ] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/install_powershell_v2.ps1
  • [ ] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/lolbin.ps1
  • [ ] https://github.com/mthcht/Purpleteam/blob/main/Simulation/Windows/System/kill_splunk_and%20_block_9997_flow.ps1

mthcht avatar Feb 21 '23 00:02 mthcht

normalization: Start-Transcript -Path "$env:tmp\simulation_traces.log" -Append -Force -Verbose Stop-Transcript -Verbose $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest * -UseBasicParsing -Verbose -UserAgent purpleteam [Error] (Red) [Info] (Cyan) [Warning] (Yellow) [Sucess] (Green) in catch: Write-Host -ForegroundColor Red "`n[Erorr] Exception: $_"

mthcht avatar Feb 21 '23 00:02 mthcht

  • [ ] compile, test https://github.com/mthcht/Detection-Validation and create powershell script to automate this in windows scripts

mthcht avatar May 20 '23 22:05 mthcht

  • [ ] create a powershell script to download, execute use /_bin/dnsmorph.exe to automatically make a list of phishing domains for a given domain and request inactive ones just to trigger detection

mthcht avatar Jun 01 '23 22:06 mthcht