Hi Fadi Helou,
Thank you for reaching out to us on the Microsoft Q&A forum.
For protecting devices through Device Serial Number ACL, you can use Access Control Lists (ACLs) to filter traffic based on device serial numbers. Define rules that allow or deny access based on device serial numbers and MAC addresses. Apply these rules to network interfaces to control traffic.
Please refer the following link for Microsoft Defender for Endpoint on a local network without a domain server: https://learn.microsoft.com/en-us/defender-endpoint/configure-endpoints-script
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.