Setting Up DMARC

Before you start: https://support.google.com/a/answer/10032674?hl=en Add the DMARC record https://support.google.com/a/answer/2466563?hl=en Setup relay for third party senders https://support.google.com/a/answer/2956491 Defining the DMARC record https://support.google.com/a/answer/10032169#zippy=%2Cdmarc-record-tag-definitions-and-values Rollout for large orgs https://support.google.com/a/answer/10032473 Finally, test the config: …

Convert Cloudflare Origin Cert to pfx

1). Locate all the files needed Download the Origin Certificate following files from Cloudflare dashboard origin.pem Locate the private key for the Certificate pk.pem Download the Cloudflare intermediate certificate in …

SQL Server High CPU

Troubleshoot high CPU from specific queries https://learn.microsoft.com/en-us/troubleshoot/sql/database-engine/performance/troubleshoot-high-cpu-usage-issues Identify Queries Contributing to High CPU 12345678910111213141516171819202122232425SELECT TOP 10 s.session_id,            r.status,            r.cpu_time,   …

Mongo DB Troubleshooting

Useful commands to troubleshoot why Mongo DB is in an error state Mongo Change Log https://www.mongodb.com/docs/manual/release-notes/5.0/ Check for disk space 1df -h Check the version 1mongod -version Check the status …

MS SQL Server Database Logging

In order to enable MSSQL Server database logging into the MSSQL Log 1). Open an elevated Poershell prompt 2). Run the query 1Invoke-Sqlcmd -Query "EXEC xp_instance_regwrite N’HKEY_LOCAL_MACHINE’, N’Software\Microsoft\MSSQLServer\MSSQLServer’, N’AuditLevel’, REG_DWORD, …

Rapid7 Setup

1). Created Policy 12345678910111213141516{     "Version": "2012-10-17",     "Statement": [         {             "Effect": "Allow",           …

Get AD User Information

1PS C:\>get-aduser tor -Properties * Can also list all the servers on the domain 1PS C:\>Get-adcomputer -filter * -properties * | Select-object DNSHostName,whenCreated,Name,Created,Modified,LastLogonDate,Enabled,isDeleted | export-csv c:\servers.csv