What is Windows Defender?
Windows Defender (also known as Windows Security) is a virus protection and security software provided by Microsoft, designed to protect the Windows operating system from malware such as viruses, spyware, and other harmful programs.
It is built into all the latest versions of Windows, such as Windows 10 and Windows 11, providing real-time protection without the need for the user to install third-party antivirus software.
![](https://cdn.sanity.io/images/3unppnk2/ha-content/5c982f0060ae6bc8fa27b8997167641e29bfc8d2-1024x1024.png?w=2048&q=75&fit=clip&auto=format)
What does Windows Defender do?
Windows Defender protects your device in many ways.
Real-time protection
Windows Defender scans files and programs in real-time as they are opened or executed, preventing malware from entering the system.
When the user opens, downloads, or executes files, Windows Defender automatically checks them for malware. It utilizes an extensive malware definition database that is constantly updated to ensure that it recognizes the latest threats. Defender can also use heuristic analysis and machine learning to identify new, unknown threats based on their behavior.
Network Security
Real-time protection also includes network protection, which prevents dangerous websites from downloading malware or tricking users into providing their personal information (phishing). It warns users when they try to access known dangerous sites.
Cloud-based protection
Voluntary cloud-based security utilizes cloud-based analytics to identify and prevent the latest threats.
Restricted access to folders (Controlled folder access)
"Controlled Folder Access" is a security feature that is part of Windows Defender's malware protection. This feature provides additional protection for sensitive files and folders by specifying which applications can make changes to the controlled folders. Its main goal is to protect data from ransomware and other malicious applications that attempt to modify files without permission.
When "Controlled Folder Access" is enabled, Windows Defender monitors selected folders and prevents suspicious or unknown applications from modifying files in these folders. The user or system administrator can specify which folders are protected and can also allow trusted applications access to these folders.
Windows Defender Management
Opening Windows Security
Write "Windows Security" in the Windows search bar and open the application. You can also find it by selecting Settings > Update & Security > Windows Security.
![](https://cdn.sanity.io/images/3unppnk2/ha-content/eeff107a19bf90af699c1006629d14f31952004b-970x352.png?w=2048&q=75&fit=clip&auto=format)
Checking the status of Windows Defender
Open "Virus & Threat protection" from the left pane and check that "Real-time protection" is turned on.
![](https://cdn.sanity.io/images/3unppnk2/ha-content/47c3f23f2d938469a6e18c3b152c22c5defc4e63-1674x1078.png?w=3840&q=75&fit=clip&auto=format)
Turning on Real-Time Protection
Switch the "Real-time protection" to "On".
![](https://cdn.sanity.io/images/3unppnk2/ha-content/dcec83fab935cae308125defe8bd95e6e90953db-1058x352.png?w=3840&q=75&fit=clip&auto=format)
Enabling Restricted Directories
![](https://cdn.sanity.io/images/3unppnk2/ha-content/ccb5ef73c29ee89cace738461b9b6029a3cdb194-1068x284.png?w=3840&q=75&fit=clip&auto=format)
![](https://cdn.sanity.io/images/3unppnk2/ha-content/8e0d11fe15a6eab5365aa855d67d7fe9190efa52-1732x406.png?w=3840&q=75&fit=clip&auto=format)
You can now voluntarily add directories you want to protect by selecting "Protected folders".
![](https://cdn.sanity.io/images/3unppnk2/ha-content/430f0e6fdffa9af3df9ac02a674bb5d8df86065f-1098x702.png?w=3840&q=75&fit=clip&auto=format)
Performing a manual check with Windows Defender
Go to the section "Protection against viruses and threats" and select "Scan options". Here you can choose quick scan, full scan, or custom scan (scanning of specific folders).
![](https://cdn.sanity.io/images/3unppnk2/ha-content/524ad8006735ad09773307b1ee3c76a5cbbc847e-1282x464.png?w=3840&q=75&fit=clip&auto=format)
![](https://cdn.sanity.io/images/3unppnk2/ha-content/dffa969217c8898ef05e78261982e8b7430772ca-1232x660.png?w=3840&q=75&fit=clip&auto=format)
![](https://cdn.sanity.io/images/3unppnk2/ha-content/ea5fc7679d2b24c6fc4e97b8acff5028c55c9baf-806x220.png?w=1920&q=75&fit=clip&auto=format)
Tasks
Enable real-time protection
Enable real-time protection of Windows Defender. Once done, run Check.ps1 and enter flag 3.
Ticket 3
![hakatemia pro](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fpro_desktop_en.be4531e0.png&w=3840&q=75)
![hakatemia pro](/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fpro_mobile_en.937d2b98.png&w=1920&q=75)
Ready to become an ethical hacker?
Start today.
As a member of Hakatemia you get unlimited access to Hakatemia modules, exercises and tools, and you get access to the Hakatemia Discord channel where you can ask for help from both instructors and other Hakatemia members.