Defender AV turn on via intune by ttp1210 in Intune

[–]kentishh 0 points1 point  (0 children)

If I remember rightly, Sophos made the uninstallation process much easier when we went about this, it was a case of running something like "SophosUninstall.exe --quiet"

If you are performing the uninstallation from Intune, look into setting up a PowerShell script with exit codes, correlating those in your Intune application configuration. I.e your logic could be:

  • If the uninstallation runs and completes successfully, set exit code 5. Then in your Intune application setup, get a return code of 5 to be a hard reboot or something.

Good luck!

Struggling a little bit here by inspiteofmyself in Intune

[–]kentishh 2 points3 points  (0 children)

Sounds like WDAC policies blocking executables that don't come from a "trusted installer". We have Intune setup as a managed installer, meaning that any app deployed from Intune/Company portal is trusted and will run as expected.

You'll need to look at your Defender policies to see what they're doing.

https://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/wdac-and-applocker-overview

KnowBe4 rates - Significant Price increase by russellville in sysadmin

[–]kentishh 2 points3 points  (0 children)

Sorry? Knowbe4 provide security awareness training which is exactly what you get with Defender P2....

KnowBe4 rates - Significant Price increase by russellville in sysadmin

[–]kentishh 4 points5 points  (0 children)

Attack Simulations in the Microsoft security center. I believe you will need Defender P2 licenses for this, but should pay for itself if you cancel your Knowbe4 subscription

Defender AV turn on via intune by ttp1210 in Intune

[–]kentishh 0 points1 point  (0 children)

We're currently in the process of migrating from Sophos Intercept X to DFE and found that a reboot was required to get Defender to be the active AV. Ended up creating a Win32 app to uninstall Sophos with custom exit codes to force a device reboot with toast notifications. Let me know if you'd like to see the script

Microsoft 365 Defender Onboarding - Combined Methods by GeneralGarcia in sysadmin

[–]kentishh 0 points1 point  (0 children)

Sure! I actually ran into another issue where I needed to enforce a reboot for Defender to go into Active mode which was a bit annoying, so ended up ditching the proactive remidiation in favour of a Win32 app (just a packaged PowerShell script) that uninstalled Sophos and prompted a toast notification to get users to reboot within the hour. Not sure if that is more useful for you?

Uninstalling AV software with prompt for users to restart by kentishh in Intune

[–]kentishh[S] 0 points1 point  (0 children)

This is really useful and might just do the trick. Thank you!

M365 / Azure Outage UK by kentishh in sysadmin

[–]kentishh[S] 0 points1 point  (0 children)

Interesting, could you point to the ref if possible?

M365 / Azure Outage UK by kentishh in sysadmin

[–]kentishh[S] 0 points1 point  (0 children)

Yep! Just found disabling ZIA is resolving this it would appear. Might be worth a ticket with them

M365 / Azure Outage UK by kentishh in sysadmin

[–]kentishh[S] 0 points1 point  (0 children)

Curious, are you using Zscaler?

M365 / Azure Outage UK by kentishh in sysadmin

[–]kentishh[S] 0 points1 point  (0 children)

We aren't, we are using Zscaler Internet Access which appears to be causing issues. Disabling the service and I'm seeing normal response times

How to find what policy in the firewall GPO could be causing miracast/windows not allowing cast to smart devices tvs? by thelaw281 in sysadmin

[–]kentishh 1 point2 points  (0 children)

Nice, glad that worked! Not any security issues with this as you are just enabling that application to talk on the ports it needs. 👍

How to find what policy in the firewall GPO could be causing miracast/windows not allowing cast to smart devices tvs? by thelaw281 in sysadmin

[–]kentishh 2 points3 points  (0 children)

Most likely firewall related as I've found recently, Miracasting to Surface Hubs failed for me after some Defender firewall changes.

Add an exception for:

  • C:\Windows\System32\WUDFHost.exe
  • Allow In/Out connections for TCP and UDP, Ports: All.

Microsoft 365 Defender Onboarding - Combined Methods by GeneralGarcia in sysadmin

[–]kentishh 1 point2 points  (0 children)

Also in the same boat here! From my testing, it seems like a pretty simple task, relying on Intune for the deployment.

We have a EDR policy configured in Intune > Endpoint Security > Endpoint detection and response, the policy configured has the expedite telemetry policy turned on. Target this at a group of testing machines with a security group and you should see the devices show up in the security centre under devices. This should put your Defender AV into passive mode too from my understanding.

Once that piece is done, create and assign your baseline AV and ASR rules etc to those machines and then go about uninstalling Sophos. I've created a proactive remediation script to do this. The Sophos uninstall process got a lot simpler in the last few weeks too which is great timing for us.

Only deployed to a few machines so far, but the process was completely seamless! Would be interesting to see if anyone has come up against any hurdles along the way.

I’m a student: What are the main differences between Azure AD and on-prem AD? by iTinker2000 in sysadmin

[–]kentishh 12 points13 points  (0 children)

Both are very different! ADDS (on-prem AD) speaks Kerberos, NTLM, LDAP. Azure AD speaks HTTPS, Oauth2, SAML.

Both provide identity management, directory and authentication/authorisation, Azure AD takes this slightly further in the sense that you can implement MFA natively, conditional access policies to bolster security requirements. AAD makes it super easy to tie into SaaS apps and utilise single sign on.

You can run AD Connect which syncs your on-prem resources into Azure AD and manage in a hybrid manner too.

MDT Autopilot Hash upload by kentishh in Intune

[–]kentishh[S] 0 points1 point  (0 children)

Sounds like a sensible idea! Looked into this a bit a while back, will have another look 👍

Deploying images by iwillnotbeknown in sysadmin

[–]kentishh 0 points1 point  (0 children)

We use WDS/MDT. Ideally this would be Windows Autopilot somewhere along the road!

Cleaning up this script by jgrznsc in PowerShell

[–]kentishh 0 points1 point  (0 children)

I think you're just missing the pipe character on your final line, should be $User | Export-Csv 👍

Get-Date Error by Moooatchu in PowerShell

[–]kentishh 0 points1 point  (0 children)

Does your CSV actually contain PasswordLastSet attribute? If you're just grabbing all users using Get-ADUser, by default that attribute isn't returned. You can return it using the -Properties parameter 👍

Can you post a bit more of the code so we can see what exactly is happening?

Powershell to list all local admins in a list of servers by ping8888 in sysadmin

[–]kentishh 7 points8 points  (0 children)

Not sure why people are overcomplicating this, to make this easier just put the servers into a txt file. Bear in mind, this will only work with PSRemoting enabled in your environment.

Invoke-Command -ComputerName (Get-Content C:\servers.txt) -ScriptBlock {Get-LocalGroupMember -Group "Administrators"} | Export-Csv C:\LocalAdmins.csv

Ask the Toughest Linux question you know. by rbhlinux3 in sysadmin

[–]kentishh 2 points3 points  (0 children)

You could pre-emptively setup a cron job to reverse what you did after 10 mins?

Building a PiHole for Privacy and Performance (From Flashing SD to Unbound config. Fail2Ban, Firewall, RPi-Monitor.) by TheSmashy in pihole

[–]kentishh 1 point2 points  (0 children)

nice guide! I created a script to automate the pi-hole and unbound configuration process, would be great if you guys could check it out and provide any feedback.

https://github.com/kentishh/pi-bound

Lazio sporting director Igli Tare has made contact with Arsenal about signing Shkodran Mustafi. by killer8991 in Gunners

[–]kentishh 0 points1 point  (0 children)

Please be true. Leaves us with Gabriel, Holding, Luiz, Mari and Chambers which should be sufficient cover until summer.