security
315 TopicsNeed Technical Support
Hello Microsoft Support Team and Community, I'm writing to ask for help with my Hotmail account, which I have been using for 20 years. It is extremely important to me as it is connected to many personal and work-related services. The Issue: A few days ago, when I tried to sign in, I was blocked by a message saying "unusual activity has been detected" on my account. Since then, I have been unable to access my emails at all. What I have already tried: I completed the account recovery / appeal form multiple times, filling in all the personal information I was asked for (account details, recent contacts, subject lines of recent emails, etc.). However, I have never received any reply — no approval, no rejection, nothing. I also tried signing in on both my iPhone and my Mac, where Face ID and Touch ID are available. Even with successful biometric verification, the system still refuses to let me in and keeps showing the same "unusual activity" page. My request: Since the automated verification system seems to be stuck and my appeals have gone unanswered, I would really appreciate it if a human technical support agent could review my case manually. I'm happy to provide any additional proof of ownership (ID, security questions, old passwords, recovery email/phone, etc.). Twenty years of emails, contacts, and linked accounts are at stake, so this is quite urgent for me. Any guidance would be greatly appreciated. Thank you in advance for your help!35Views0likes2CommentsRestoring Kerberos AES keys on ADMT-migrated accounts without a password reset
When migrated accounts "forget" Kerberos, and how to give them AES back without a single password reset Picture this: you finish an AD migration, you harden the new domain (AES only, RC4 switched off, like a good citizen), and a bunch of users suddenly can't log in. Kerberos is giving them the cold shoulder. 🥶 Here's the deal. Tools like ADMT carry over the old NT hash (the RC4 world) but not the modern AES Kerberos keys. In an AES only domain, an account with no AES key is basically knocking with the wrong handshake. The "obvious" fix is to reset everyone's password. Picture the helpdesk's face. Picture the service accounts quietly falling over. There's a better way. Plot twist: those AES keys were never lost. Since the 2008 functional level, every password change quietly generates RC4 and AES keys, side by side, in the directory. ADMT just didn't pack them for the trip. So you don't recreate them, you re-copy them from the old database. No password change, no user action. The tricky bit: the salt. AES keys are "salted" with the realm name. Rename the domain and the salt changes, so does the copied key still work? It does, as long as the target KDC advertises the original salt you copied. Nobody really documented that, so I built a lab and tested it. Verdict ✅: the unchanged password still derives the copied key, even across a rename. Transparent for the user. The honest part. This edits ntds.dit offline. It is not supported by Microsoft, it's high risk, the files involved are your domain's crown jewels (Tier-0), and you rehearse it in a lab before you even think about production. A scalpel, not a Swiss army knife. I wrote up the whole thing (the crypto, the salt and rename proof, rolling it out across DCs with safety rails and rollback, how it scales to 500k accounts, and a turnkey lab so you can reproduce every screenshot yourself) and open sourced the PowerShell tooling (MIT): 👉 https://github.com/edoukou-225/aes-key-reinjection/tree/main Bonus: the tool sorts accounts into the recoverable ones (AES exists in the source, so reinject) and the irreducible ones (no AES anywhere, only a password event fixes those), and measures both before you touch a thing. Transparency note: this post and the write-up were drafted with the help of an AI assistant (Claude). The lab work, tests and code validation are mine, and I reviewed the content before publishing.10Views0likes0CommentsAgentless DC logging with WEF/WEC under tiering: five traps from a lab pilot
We wanted the security logs of our domain controllers in one place without installing anything on tier 0. Windows Event Forwarding does that natively, and it works. It also has five ways of looking healthy while forwarding nothing. This is what a lab pilot taught us, with the command that proves each point. Everything below comes from a lab. Names, addresses and figures are fictitious or rounded. Why no agent on tier 0 A domain controller's Security log is a circular buffer. Once it wraps, the oldest events are gone, and anyone holding tier 0 rights can clear what is left. Availability monitoring tells you a DC is up. It does not tell you who added a member to Domain Admins last Tuesday. The usual answer is a log shipper on every server. On tier 0 that means one more third-party service, running as SYSTEM, on the machines you least want to extend. Windows Event Forwarding (WEF) avoids that: the DC itself pushes selected events to a Windows Event Collector (WEC), and the only agent sits on the collector. Microsoft's documentation for this fits in about three pages. Our own procedure went through several versions. The difference is this post. The architecture in four hops A GPO tells each source where its collector is. One "Subscription Manager" GPO per tier, linked to the OU of the sources and never to the collector's (we did that once, and the collector dutifully subscribed to itself), filtered on a group such as WEF-T0-Sources. The source connects to the collector. WinRM over HTTP/5985, authenticated with the computer account. Kerberos signs and encrypts the payload, so HTTP here does not mean clear text. Basic, Digest and AllowUnencrypted stay off. The collector hands out subscriptions and receives events. The source filters its own logs and pushes batches (5 events or 30 seconds). Events land in ForwardedEvents, sized as a buffer (a few gigabytes), not as an archive. One agent on the collector ships to the SIEM. We use NXLog Community Edition reading ForwardedEvents only, sending GELF over TCP to a Graylog input dedicated to that tier. Domain controllers never talk to the SIEM directly: if Graylog stops, each collector keeps the events in its buffer. Three rules keep this compatible with a tiering model: One collector per tier. A collector belongs to the highest tier it collects from and is administered only from that tier. Tiers never share a source group, a subscription, a Graylog input or a stream. Flows only go one way. Sources connect to the collector, the collector connects to Graylog. Graylog never opens a connection to a collector, and no remote-management agent runs there. The collector's firewall lists the sources. The WinRM inbound rule accepts only the addresses of the tier's source group. We derive the list from the group so nobody forgets a source: $Ips = Get-ADGroupMember -Identity "WEF-T0-Sources" | ForEach-Object { (Resolve-DnsName -Name "$($_.Name).corp.garbadrome.local" -Type A).IPAddress } Set-NetFirewallRule -Name "WINRM-HTTP-In-TCP" -Enabled True -Profile Domain,Private -RemoteAddress $Ips A source missing from that rule fails quietly: on the source, Microsoft-Windows-Forwarding/Operational logs event 105 (subscription manager unreachable) and nothing else tells you why. Trap 1: the forwarder cannot read the Security log Symptom. On the collector, the source is Active, heartbeats arrive, LastError is 0. Not one Security event shows up. Cause. Forwarding is done by the WinRM service on the source. By default that service has no read access to the Security channel. Fix. Grant read access to the WinRM service SID in the channel's security descriptor, by GPO (Computer Configuration > Administrative Templates > Windows Components > Event Log Service > Security > Configure log access). The policy replaces the whole descriptor, so start from the one your DC reports and append one entry: (A;;0x1;;;S-1-5-80-569256582-2953403351-2909559716-1301513147-412116970) That SID is the service SID of WinRM and is the same on every Windows machine. Microsoft's own setup page tells you to add NETWORK SERVICE to Event Log Readers. On a member server that is a local group. On a domain controller it is a domain group: you would be granting read access to every log on every DC. On DCs, we did not follow that advice. The part that cost us an afternoon. In our lab the source needed two reboots. After one reboot everything looked configured and nothing flowed. Our reading, which we have not proven: the policy is applied after the Event Log service has started, so the first reboot writes the new right and the second one makes the service use it. Setting the descriptor directly with wevtutil sl takes effect at once, which is how we handled the Sysmon channel. Proof. Only the effective descriptor counts, not the GPO report: wevtutil.exe gl Security | Select-String "channelAccess" The WinRM service SID must appear in the output. Trap 2: Active on the collector, refused on the source Symptom. A subscription that reads several channels delivers events from some of them only. The collector reports nothing wrong. Cause. If one channel of the query is unreadable, the source drops that channel and keeps the others. It says so, but only in its own log. Fix. Read Microsoft-Windows-Forwarding/Operational on the source after every change: Get-WinEvent -LogName "Microsoft-Windows-Forwarding/Operational" -MaxEvents 30 | Format-Table TimeCreated, Id, Message -Wrap Event IDs to know: 100: subscription created, fine 101: subscription created, but one of its channels is unreadable and is skipped 102: subscription failed (code 5004: channel unreadable or missing) 104: connected to the collector 105: collector unreachable (DNS, firewall, address in the GPO) Every channel you forward needs a read entry for the forwarder, as Security does. Sysmon's channel was our second lesson: the collector showed the source as active, nothing arrived, and the source logged code 5004 at every attempt. Once we had added the read entry and restarted WinRM on the source, event 100 appeared within two minutes. Proof. One event 100 per subscription, per source. Anything else is a source that looks alive and is not. Trap 3: the collector stops delivering and says nothing Symptom. Every subscription is Active with LastError: 0. Heartbeats keep arriving. Test events exist in the source's local log and never reach the collector. What happened. We had just disabled an old test subscription. From then on, the other subscriptions on that collector delivered nothing. The source did log event 103 (a subscription not unsubscribed cleanly), but do not read too much into it: the same DC logged it dozens of times in a few weeks, mostly around reboots, without any loss. Fix. On the collector only: Restart-Service Wecsvc The subscriptions re-activated and the events that had been waiting were delivered, each with its own time and record ID, so nothing arrived twice. We restarted neither WinRM nor the domain controller. Cause. Unknown. We saw it once, and it followed the disabling of a subscription; we did not find why. Proof. This is the incident that made the marker test (below) mandatory for us. Nothing on the collector distinguished this state from a healthy one. Trap 4: one event, one subscription Symptom. Duplicates in the SIEM, or a subscription nobody dares to disable because nobody knows what else it carries. Cause. Most likely overlapping queries. While two of our subscriptions both selected account-management events, we found thousands of events stored twice on the collector with the same record ID. We did not isolate the cause with a dedicated test. After the overlap was removed, a sample check found no duplicate. Fix. One theme per subscription, and each event ID in exactly one of them. Our tier 0 runs about ten, one per theme: system, security changes, process creation, authentication, directory changes, weak Kerberos encryption, PowerShell script blocks, Sysmon and security policy processing. Each can be switched off alone. The query language will fight you on three points: Exact matches only. contains() and starts-with() are not accepted in a subscription query. What you cannot filter at the source, you filter in the SIEM. Check how a value is really written, too: on the DCs we tested, a Kerberos encryption type appears as 0x17, lower case, with no leading zero, and the filter matches nothing else. Long lists are refused. A long chain of EventID=... or fails at creation with WS-Man error 0x80338107. Use ranges: EventID >= 4720 and EventID <= 4767. Exclusions go in Suppress, on an exact value. This is how two subscriptions share an event ID without overlapping: one suppresses what the other selects. <QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[System[(EventID=4702)]]</Select> <Suppress Path="Security">*[EventData[Data[@Name='TaskName']='\Microsoft\Windows\UpdateOrchestrator\Schedule Work']]</Suppress> </Query> </QueryList> Decide an exclusion after measuring, never before. An event suppressed at the source cannot be recovered later. Proof. We compare the queries of all subscriptions with a script before enabling a new one. Our first version ignored Suppress elements and raised a false alarm on two subscriptions that were complementary by design. The second check is in the SIEM and is described below. Trap 5: the noise is your configuration Symptom. One DC sends several times more events than its neighbours. Cause. Not users, and not attackers. In our lab, over a few hours, one DC sent several times more Security events than the others, and about half of them were event 4702 (scheduled task updated) for a single Windows Update task rewriting itself. Fix. Three corrections, in the order we found them: Sysmon registry monitoring. Registry events were more than 90% of what Sysmon produced. About half came from one networking key written continuously; most of the rest were security settings rewritten at every policy refresh, logged even when the value did not change. Restricting it to the places where code gets launched (Run keys, service ImagePath, Image File Execution Options) cut registry events by about 99%. The self-rewriting task. The Suppress shown above removes that one task by its full name. Other 4702 events stay: a scheduled task modified on a DC is exactly what you want to see. Policy refresh. Our lab runs HardenAD, an open-source hardening toolkit, adapted to the lab; in that setup it reapplies DC policies every five minutes. That is a design choice with a logging cost. It is also what made the failure described at the end show up every five minutes. Proof. In the SIEM, group by channel, then by event ID, sorted by count. Any line you cannot explain is either noise to remove or something you needed to know. Proving nothing is lost A heartbeat proves the source talks to the collector. It does not prove that a single event gets through. The only proof we accept is a marker: a harmless, recognisable action on the source, found again at the far end. 1. Produce the marker on the source. With command-line auditing on, this creates an identifiable event 4688: cmd.exe /c "echo WEF-TEST-$(Get-Date -Format yyyyMMdd-HHmmss)" 2. Find it on the collector, in ForwardedEvents, with the source's name in MachineName. 3. Find it in the SIEM, with the source's name in the source field. We then cut the collector for about twenty minutes, longer than the heartbeat interval, while two flows were producing markers. Every marker arrived, and only once. The reason is simple: events stay in the source's own log, and the source resumes from the last event it delivered. That also tells you where a loss would come from: a source log that wraps before the collector comes back. Size the source logs for the longest outage you accept. In our measurements Microsoft-Windows-GroupPolicy/Operational, at its default size, held only a few hours. wevtutil.exe sl "Microsoft-Windows-GroupPolicy/Operational" /ms:67108864 What we have not tested yet: an outage of the SIEM input itself. NXLog buffers to disk in that case (pm_buffer), and ForwardedEvents holds the rest, but we have not measured it. On the Graylog side The shipper's configuration is short. The parts that matter: <Input windows_wec> Module im_msvistalog Channel ForwardedEvents SavePos TRUE ReadFromLast TRUE Exec $collector = 'WEC-T0'; $tier = 'T0'; </Input> <Output graylog_tcp> Module om_tcp Host 192.0.2.50 Port 12201 OutputType GELF_TCP </Output> Four things to know before you trust what you read in the SIEM: source is the originating DC, not the collector. NXLog takes it from the event's Computer field. We add collector and tier so we can still tell which path an event took. Time is stored in UTC. If events look exactly one hour off, fix the display time zone in the user profile. Never shift the time in the shipper or in a pipeline: the stored data would become wrong. Precision is one second with the Community Edition in our setup. For the exact order of events from one server, sort by RecordNumber. Duplicates are easy to rule out. For one source and one channel, group by EventID and compare count() with card(RecordNumber). Equal values on every line mean no event arrived twice. The link between collector and SIEM carries account names, command lines and PowerShell script content. Keep it on a dedicated, filtered network, and use TLS (om_ssl in place of om_tcp) as soon as it crosses anything shared. Checklist: adding a source Add the computer account to the tier's source group. On the collector, rerun the firewall command so the new address is allowed. If the source is a DC, check that its copy of the Default Domain Controllers Policy matches the PDC's before you reboot it. The last section explains why. Reboot the source twice. Check channelAccess on the Security channel. If the source is a DC, install Sysmon and check the descriptor of its channel as well. Enlarge the local logs you rely on. Validate: one event 100 per subscription, a marker found on the collector, the same marker found in the SIEM. What to remember An active subscription is not a working collection. Only a marker found at the far end proves it. The forwarder must be able to read every channel. That is the first cause of a source that is active and silent. One event, one subscription. Most of the noise comes from configuration, not from activity. In the SIEM, source is the originating server and time is stored in UTC. Coming next: the DC that stopped applying its security policy While we were adding another DC to the pilot, one forwarding event kept coming back every five minutes. Nothing else looked wrong. Following it led us to a domain controller that had quietly stopped applying its security settings after a reboot, because one file carried a timestamp 11 seconds away from the PDC's copy. The file had been written five months earlier. The only witness was the tool we were still installing. I'll write that one up in a separate post. References Microsoft Learn: Setting up a source-initiated subscription Microsoft Learn: wecutil ANSSI (French national cybersecurity agency): guide-journalisation-microsoft, scripts and standard queries for logging in an Active Directory environment NXLog Community Edition reference: im_msvistalog, om_tcp, xm_gelf, pm_buffer Microsoft Sysinternals: Sysmon HardenAD: LoicVeirman/HardenAD, open-source Active Directory hardening toolkit Two questions for people running this in production: have you seen trap 3 (Active, heartbeats, no events until Wecsvc restarts), and under which conditions? And did the Security channel ACL set by GPO take effect after one reboot on your sources, or did you also need two? Corrections welcome. Transparency note: this post was written with the help of an AI assistant (Claude). The lab work, tests and results are mine, and I reviewed and checked the content before posting.159Views0likes5CommentsRestored a Windows Server after an incident: what do you check before it rejoins the domain?
Say a server was restored from a backup after an incident and it's about to go back on the domain. What do you check first? I'm thinking about persistence that could ride along in the image, like scheduled tasks, new services, local admin accounts, and GPO or startup script changes. Do you keep it isolated and diff it against a known baseline, or is it more manual review? Curious what your order of checks looks like. Disclosure: I work on CyberSnap, which scans snapshots for signs of compromise.136Views0likes4CommentsHow do MSPs handle client server restores after ransomware?
Curious how people running backup for multiple clients handle the restore side after a ransomware hit. Do you have a written runbook per client, or is it worked out on the call? And how do you decide which recovery point to bring servers back from when nobody knows exactly when the attacker got in. Interested in what's actually worked, including what you test ahead of time.274Views0likes6CommentsHyper-V recovery: is guest execution-state rollback excluded when checkpoints are disabled?
Hello everyone, I am seeking authoritative technical clarification regarding Hyper-V recovery behavior, specifically whether automatic recovery following a VMMS or VM worker process failure can ever restore an earlier guest execution state. Environment and security requirement The target environment is Windows 11 Pro with a Generation 2 Hyper-V virtual machine. Our security architecture requires that previously executed operations cannot be unintentionally replayed following a recovery event. We are considering a configuration in which: Standard and production checkpoints are not used. Automatic checkpoints are disabled. Intentional saved-state creation and restoration are prohibited. Execution authorization is maintained outside the virtual machine's recovery boundary. The remaining question concerns unexpected termination and subsequent recovery of VMMS or vmwp.exe. Specific technical questions Can any supported automatic Hyper-V recovery mechanism restore an earlier guest memory or CPU instruction-execution state under these conditions? Is such restoration explicitly excluded by the Hyper-V implementation or documented product guarantees, including exceptional failure and recovery paths? Are there relevant differences between VMMS service recovery, VM worker process recovery, host recovery, and virtual machine restart? Is there official Microsoft engineering documentation, implementation guidance, or testing evidence establishing the applicable behavior for specific Windows and Hyper-V versions? If a formal guarantee cannot be provided, what additional architectural safeguards are recommended for systems that must prevent the replay of previously executed operations? Previous Microsoft Support investigation This question was investigated with Microsoft Support, including a Level 2 escalation, on November 18, 2026. Support case: #7111939474 Microsoft Support explicitly stated that it could not provide a formal guarantee excluding restoration of earlier guest execution state across all relevant failure and recovery scenarios. The support team was also unaware of any official Microsoft engineering statement or publicly documented product guarantee establishing this exclusion as a supported security property. Importantly, this does not mean that such restoration has been observed or demonstrated. It means that its exclusion could not be formally guaranteed through the available support documentation. Microsoft Support recommended raising the question in the Microsoft Tech Community to seek further input from Hyper-V subject matter experts. What we are looking for We are not reporting an observed Hyper-V failure and are not asking how to restore a checkpoint. We are trying to distinguish expected recovery behavior from a security guarantee that can safely be relied upon in system architecture. A technically precise explanation, official documentation reference, or clarification from a Microsoft Hyper-V engineer would be extremely valuable. Although our immediate environment is Windows 11 Pro, we would also welcome clarification of any relevant differences in Windows Server Hyper-V. Thank you for your time and expertise.159Views0likes2CommentsLAPS: Meaning of Setting - Short words with unique prefixes
The update to LAPS for Windows 11 24H2 and Windows Server 2025 introduced new configuration options including the ability to use passphrases rather than passwords. Operationally this is add some benefits. However, the official documentation - https://learn.microsoft.com/en-us/windows-server/identity/laps/laps-concepts-passwords-passphrases#passphrase-word-lists doesn't provide a very good explanation for the setting "Short words with unique prefixes" The examples in the documentation and observations from implementation do not align with the short description. For example, from implementation: IodineIslandNectarRagweedCivilianZillion The word phrases are not exactly short; 6+6+6+7+8+7 = 40 characters, and nor is their a unique prefix. Does anyone have a better explanation as to the meaning of passwordcomplexity setting 8 in LAPS (post 24H2)? Cheers Paul P.S. the LAPS password above is no longer valid as it has been rotated.328Views0likes1CommentProfile Bloat in Azure VM and VMware VDI: A Policy-Driven Strategy for Reducing Storage Growth
OneDrive profile bloat is one of those issues that often starts as a minor desktop optimization discussion, but quickly becomes a storage, performance, and governance problem at enterprise scale. In Azure Virtual Machines and VMware VDI environments, when OneDrive is tied to the user profile, the sync cache, local file state, and stale content can accumulate over time and create unnecessary growth in profile containers, VHD/VHDX files, and backup overhead. The result is higher infrastructure cost, slower login and logoff times, and inconsistent user experience across pooled or multi-session desktops. This is not a problem that should be solved by disabling OneDrive. In most enterprise scenarios, OneDrive remains a critical collaboration workload, but it must be managed as a controlled service rather than a user-local convenience. The most effective strategy is to install OneDrive at the machine level, enforce policy by user class and device context, and use Files On-Demand and cloud content dehydration to minimize local persistence. This approach preserves user productivity while reducing the operational impact on virtualized desktop infrastructure. A policy-driven design is particularly important in multi-user environments where not all workloads should be treated the same. Developer desktops, standard business users, and restricted or consultant user groups have different productivity needs and different data-risk profiles. For example: General business users may benefit from a balanced policy with Files On-Demand enabled and moderate dehydration thresholds. Developer or QA environments may require more local flexibility while still controlling profile growth. Restricted or external-user populations should have strong sync boundaries, personal account restrictions, and minimal local persistence. To support this model, organizations should align their deployment around a few core principles: install OneDrive at the machine level in the standard image or build pipeline use group policy and loopback processing to apply user-specific policy based on OU or security group enable Files On-Demand by default configure Storage Sense and cloud content dehydration based on workload profile restrict personal Microsoft account sync in higher-risk scenarios use FSLogix compaction and profile optimization as secondary controls, not as the primary solution This model is especially relevant for organizations running Azure Virtual Desktop, Azure VM-based workloads, VMware Horizon, and other multi-user Windows desktop environments. The benefits are practical and measurable: lower local storage consumption, reduced VHD/VHDX growth, improved desktop performance, lower backup cost, and stronger governance over enterprise data movement. As IT and endpoint engineering teams continue modernizing virtual desktop environments, I would encourage us to think of OneDrive not as a user-profile feature, but as an enterprise-managed workload with policy boundaries. When implemented properly, this gives us the best balance between productivity, storage efficiency, and security. I’d be very interested in hearing how others are handling this in their environments: Are you deploying OneDrive at the machine level? Are you enforcing Files On-Demand by default? How are you segmenting policy by user class or device type? Have you measured the impact on VHD/VHDX growth or profile size after enforcement? Source document: https://github.com/RodrigoACriscuolo/criscra/blob/main/Home.Profile-Bloat305Views1like2CommentsQuick machine recovery is now supported on Windows Server 2025
Quick machine recovery is now available for Windows Server 2025. Quick machine recovery can help servers recover from critical boot failures by using Windows Recovery Environment (WinRE) to search Windows Update for an applicable remediation. Recovery is dependent on an applicable remediation being available. On Windows Server 2025, quick machine recovery is disabled by default. Administrators can use Group Policy to enable and configure the capability for servers in their environment. Rollout schedule Quick machine recovery is available for Windows Server 2025 editions with the October 2026 security update or later installed. Impact on your organization There is no change to the default recovery behavior for Windows Server 2025 after installing the update because Quick machine recovery is disabled by default. If you choose to enable this feature, you can then use cloud remediation to retrieve and apply targeted remediations through Windows Update when a server encounters a critical boot failure. Administrators can also configure automatic remediation, which allows the server to check for an available cloud-based remediation without user interaction. Configure quick machine recovery by using Group Policy - Windows Server | Microsoft Learn Quick machine recovery | Microsoft Learn225Views0likes0Comments¿Cómo comprobar que las actualizaciones se instalaron correctamente en Windows Server 2025?
Hola. Estoy usando Windows Server 2025 y quisiera saber qué pasos recomiendan para comprobar que las actualizaciones se instalaron correctamente. Después de reiniciar el servidor, ¿qué herramientas o registros puedo revisar para detectar errores y confirmar que los servicios siguen funcionando con normalidad?403Views0likes1Comment