Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/[lang]/blog/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ export async function generateMetadata({

// Hreflang: only locales that actually have a translation.
const languages = await blog.hreflangMap(slug, LOCALES);
languages["x-default"] = languages.en ?? blog.url(slug, locale);
// Same x-default as the sitemap: English, else the first locale that has
// the post, so every translation of an English-less post agrees on it.
languages["x-default"] =
languages.en ?? Object.values(languages)[0] ?? blog.url(slug, locale);

return {
metadataBase: new URL(siteConfig.url),
Expand Down
11 changes: 10 additions & 1 deletion components/landing/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,16 @@ export function LandingPage({
className="surface flex min-w-0 flex-col gap-2 p-5 sm:p-6"
>
<h3 className="text-base font-semibold text-ink-950 dark:text-ink-50">
{f.name}
{f.href ? (
<Link
href={`/${locale}${f.href}`}
className="text-uv-700 hover:underline dark:text-uv-300"
>
{f.name}
</Link>
) : (
f.name
)}
</h3>
<p className="text-sm leading-relaxed text-ink-600 dark:text-ink-400">
{f.body}
Expand Down
2 changes: 1 addition & 1 deletion content/blog/de/service-creation-event-id-7045.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Fünf Felder. Drei sind wichtig für IR.

Wenn ein Angreifer PsExec oder ein Tool ausführt, das den SCM verwendet, um auf einem anderen Host remote auszuführen, bekommen Sie ein 7045 auf dem *Ziel*-Host mit einem `ImagePath` wie `%SystemRoot%\PSEXESVC.exe` (Standard) oder einem umbenannten Äquivalent. Der Dienst erscheint, läuft und wird oft innerhalb von Sekunden gelöscht. Das 7045 ist der überlebende Fingerabdruck lange nachdem der Dienst selbst weg ist.

Ein 7045 mit `ImagePath` endend auf `.exe` gefolgt Sekunden später von [4624 LogonType **3**](/en/blog/understanding-event-id-4624) von einem spezifischen Quell-Host ist die Lehrbuch-PsExec-Signatur. Varianten wie Impacket `psexec.py`, `smbexec.py`, `wmiexec.py` produzieren leicht unterschiedliche `ImagePath`-Werte, aber dasselbe Gesamtmuster. Die umbenannte Impacket-Variante ist üblicherweise der Verräter: ein Dienstname wie `wfDsaQbA` (acht zufällige Buchstaben) kommt nicht von einem Sysadmin.
Ein 7045 mit `ImagePath` endend auf `.exe` gefolgt Sekunden später von [4624 LogonType **3**](/de/blog/understanding-event-id-4624) von einem spezifischen Quell-Host ist die Lehrbuch-PsExec-Signatur. Varianten wie Impacket `psexec.py`, `smbexec.py`, `wmiexec.py` produzieren leicht unterschiedliche `ImagePath`-Werte, aber dasselbe Gesamtmuster. Die umbenannte Impacket-Variante ist üblicherweise der Verräter: ein Dienstname wie `wfDsaQbA` (acht zufällige Buchstaben) kommt nicht von einem Sysadmin.

## Was 7045 Ihnen nicht sagt

Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/audit-policy-tampering-4719.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Clearing a log ([1102](/en/blog/event-id-1102-cleared-log)) destroys history tha

## Why attackers touch the audit policy

If an intruder disables, say, the *Process Creation* or *Logon* subcategory, then [4688](/en/blog/event-id-4688-process-creation) or [4624](/en/blog/understanding-event-id-4624) simply stop being written. There is no log to clear later because nothing was logged — and a half-blind log looks normal at a glance. It's a favourite of operators who want to work without leaving the usual trail, and it often precedes the noisy actions they're hiding.
If an intruder disables, say, the *Process Creation* or *Logon* subcategory, then [4688](/en/blog/event-id-4688-process-creation) or [4624](/en/events/security/4624) simply stop being written. There is no log to clear later because nothing was logged — and a half-blind log looks normal at a glance. It's a favourite of operators who want to work without leaving the usual trail, and it often precedes the noisy actions they're hiding.

## Reading 4719

Expand Down Expand Up @@ -54,7 +54,7 @@ Seeing 4719 and [1102](/en/blog/event-id-1102-cleared-log) from the same actor i

## Don't trust an empty log at face value

The deeper lesson: **absence of events is itself evidence.** If you expect [process](/en/blog/event-id-4688-process-creation) or [logon](/en/blog/understanding-event-id-4624) events in a window and find none, check for a preceding 4719 (auditing disabled) before concluding "nothing happened." A [missing-events gap](/en/blog/evtx-tampering-what-survives) explained by a 4719 is a finding, not a dead end.
The deeper lesson: **absence of events is itself evidence.** If you expect [process](/en/blog/event-id-4688-process-creation) or [logon](/en/events/security/4624) events in a window and find none, check for a preceding 4719 (auditing disabled) before concluding "nothing happened." A [missing-events gap](/en/blog/evtx-tampering-what-survives) explained by a 4719 is a finding, not a dead end.

## Hunt checklist

Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/detecting-4625-brute-force.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ A burst of `0xC0000064` across mixed valid and invalid usernames is reconnaissan

## The "after" decides the response

A 4625 burst followed by a [4624](/en/blog/understanding-event-id-4624) from the same `IpAddress` is the actionable case. The attacker found a working credential. The progression in the timeline is unmistakable: dense failures, sudden silence, single success.
A 4625 burst followed by a [4624](/en/events/security/4624) from the same `IpAddress` is the actionable case. The attacker found a working credential. The progression in the timeline is unmistakable: dense failures, sudden silence, single success.

## Sigma: password spray

Expand Down Expand Up @@ -100,7 +100,7 @@ The signal is the *progression*: enumeration to find valid usernames first, then
- T1110.001 Brute Force: Password Guessing. Single account, many `0xC000006A` failures.
- T1110.003 Brute Force: Password Spraying. Many accounts, one source, few failures each.
- T1110.004 Credential Stuffing. Many accounts, one source, mixed `0xC0000064` (account does not exist, leaked-list miss) and `0xC000006A` (hit).
- T1078 Valid Accounts. 4625 burst followed by [4624](/en/blog/understanding-event-id-4624) success from the same source. Compromise.
- T1078 Valid Accounts. 4625 burst followed by [4624](/en/events/security/4624) success from the same source. Compromise.
- T1556 Modify Authentication Process. Anomalous `LogonProcessName` (anything other than `User32`, `NtLmSsp`, `Kerberos`, `Advapi`, `Schannel`) suggests tampering.

## False positives that wear the costume
Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/event-id-1102-cleared-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ If you see 1102, somebody with sufficient privilege deliberately wiped the audit
</UserData>
```

Note the `UserData` block rather than the usual `EventData`. 1102 uses a structured user-data schema, which trips up some naive parsers that only look at `EventData`. The fields tell you who cleared the log under what logon session. Pivot on `SubjectLogonId` to the matching [4624](/en/blog/understanding-event-id-4624) and you have the source IP, logon type, and credential that produced the privileged session.
Note the `UserData` block rather than the usual `EventData`. 1102 uses a structured user-data schema, which trips up some naive parsers that only look at `EventData`. The fields tell you who cleared the log under what logon session. Pivot on `SubjectLogonId` to the matching [4624](/en/events/security/4624) and you have the source IP, logon type, and credential that produced the privileged session.

## What rides alongside

Expand Down Expand Up @@ -93,7 +93,7 @@ clears
| order by ClearTime desc
```

Every 1102 traces back to a [4672](/en/blog/event-id-4672-special-privileges) granting `SeSecurityPrivilege`, which traces back to a [4624](/en/blog/understanding-event-id-4624). The join completes the picture.
Every 1102 traces back to a [4672](/en/blog/event-id-4672-special-privileges) granting `SeSecurityPrivilege`, which traces back to a [4624](/en/events/security/4624). The join completes the picture.

## Splunk: the tampering chain

Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/event-id-4663-object-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The ones that matter:
- `%%4425` = DELETE
- `AccessMask`. Raw bitmask of `STANDARD_RIGHTS_*` and object-specific rights actually requested.
- `ProcessName` and `ProcessId`. The process that opened the handle. Pivot to [4688](/en/blog/event-id-4688-process-creation) or [Sysmon 1](/en/blog/sysmon-event-id-1-process-create) for the full process context.
- `SubjectLogonId`. Pivot to [4624](/en/blog/understanding-event-id-4624) for the originating session, the source IP if network logon, and the user.
- `SubjectLogonId`. Pivot to [4624](/en/events/security/4624) for the originating session, the source IP if network logon, and the user.

## Turning 4663 on is three steps and people skip one

Expand Down Expand Up @@ -189,7 +189,7 @@ A well-tuned SACL on five high-value objects produces 50 to 200 records a day pe

Classic LSASS credential dump chain:

1. [4624](/en/blog/understanding-event-id-4624). Admin logon, LogonType 3 or 10.
1. [4624](/en/events/security/4624). Admin logon, LogonType 3 or 10.
2. [4672](/en/blog/event-id-4672-special-privileges). SeDebugPrivilege granted with the session.
3. [4688](/en/blog/event-id-4688-process-creation). `rundll32.exe C:\Windows\System32\comsvcs.dll MiniDump <pid> C:\Windows\Temp\lsass.dmp full`.
4. **4663**. `WriteData` to `C:\Windows\Temp\lsass.dmp` by `rundll32.exe`. Forensic gold. Proof of staged exfil.
Expand Down
10 changes: 5 additions & 5 deletions content/blog/en/event-id-4672-special-privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ description: "Event ID 4672 fires when a logon gets admin-equivalent privileges
date: "2026-05-24"
---

Event ID **4672**, "Special privileges assigned to new logon", fires on the [`Security` channel](/en/blog/what-is-an-evtx-file) every time a logon session is granted one of a fixed set of sensitive Windows privileges. In practice, every successful administrator-equivalent logon produces a 4672, written immediately after the corresponding [4624](/en/blog/understanding-event-id-4624). On most workstations 4672 is rare. On domain controllers and admin jumpboxes it is constant. That asymmetry is what makes it useful.
Event ID **4672**, "Special privileges assigned to new logon", fires on the [`Security` channel](/en/blog/what-is-an-evtx-file) every time a logon session is granted one of a fixed set of sensitive Windows privileges. In practice, every successful administrator-equivalent logon produces a 4672, written immediately after the corresponding [4624](/en/events/security/4624). On most workstations 4672 is rare. On domain controllers and admin jumpboxes it is constant. That asymmetry is what makes it useful.

If you filter Security by one field this week, run "all 4672s in the last seven days". It is the cheapest "show me every privileged session in the estate" query you can write.

## Where it fires

On the host where the logon actually happened, same as [4624](/en/blog/understanding-event-id-4624). A network logon to `SERVER01` produces the 4624 and the 4672 on `SERVER01`, not on the originating workstation. To detect anything from 4672 at scale you need Security collection from servers and DCs at minimum. Admin workstations and jumphosts if you can afford the volume.
On the host where the logon actually happened, same as [4624](/en/events/security/4624). A network logon to `SERVER01` produces the 4624 and the 4672 on `SERVER01`, not on the originating workstation. To detect anything from 4672 at scale you need Security collection from servers and DCs at minimum. Admin workstations and jumphosts if you can afford the volume.

## What the record contains

Expand All @@ -33,7 +33,7 @@ On the host where the logon actually happened, same as [4624](/en/blog/understan

The fields:

- `SubjectLogonId`. The same `LogonId` from the matching [4624](/en/blog/understanding-event-id-4624). This is your pivot. Every 4672 ties exactly one 4624 (and every subsequent record in that session) to the privilege set the logon got.
- `SubjectLogonId`. The same `LogonId` from the matching [4624](/en/events/security/4624). This is your pivot. Every 4672 ties exactly one 4624 (and every subsequent record in that session) to the privilege set the logon got.
- `PrivilegeList`. The actual privilege bag. Windows logs only the "sensitive" privileges defined in the audit policy. A logon may hold more privileges than the record shows. The omitted ones (`SeLockMemoryPrivilege`, `SeIncreaseBasePriorityPrivilege`, etc.) are non-security-relevant and pruned from this record on purpose.
- `Subject*`. Who the logon belongs to. Almost always identical to the matching 4624.

Expand Down Expand Up @@ -174,15 +174,15 @@ The signal is the *new* producer, not the *recurring* one. A 4672 producer that
## What 4672 does not tell you

- No process information. You see the privilege grant, not what the privileged process did. To follow it forward, pivot `SubjectLogonId` to [4688](/en/blog/event-id-4688-process-creation) or [Sysmon 1](/en/blog/sysmon-event-id-1-process-create) records in the same session.
- No source IP directly. You join to [4624](/en/blog/understanding-event-id-4624) via `SubjectLogonId`.
- No source IP directly. You join to [4624](/en/events/security/4624) via `SubjectLogonId`.
- Not every privileged action. Only the *grant at logon* is recorded. Subsequent uses (e.g. `RtlAdjustPrivilege` toggling `SeDebugPrivilege` on and off) produce 4673/4674 records, not another 4672.
- Missed if Special Logon auditing is off. The audit sub-policy is *Audit Special Logon*. On by default in modern Windows, but worth verifying.

## Where 4672 fits in a timeline

The textbook escalation-and-cleanup chain:

1. [4624](/en/blog/understanding-event-id-4624). LogonType 3 from an attacker-controlled IP, low-priv user.
1. [4624](/en/events/security/4624). LogonType 3 from an attacker-controlled IP, low-priv user.
2. *(silent)*. SeImpersonatePrivilege-based escalation (PrintSpoofer or similar).
3. **4672**. SeImpersonatePrivilege + SeTcbPrivilege granted to a new logon session running as LocalSystem. Escalation visible here.
4. [4688](/en/blog/event-id-4688-process-creation). `cmd.exe` or `powershell.exe` as SYSTEM via the impersonated token.
Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/event-id-4688-process-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The fields that drive every investigation:
- `CommandLine`. Full argv (when the GPO is on).
- `NewProcessName`. The binary path. Combined with `CommandLine` this is the full execution.
- `ParentProcessName`. The calling process. Office to cmd, browser to powershell, services to unsigned.exe are the textbook chains.
- `SubjectUserName` and `SubjectLogonId`. Who launched it, under which session. `SubjectLogonId` pivots back to the [4624](/en/blog/understanding-event-id-4624) that created the session.
- `SubjectUserName` and `SubjectLogonId`. Who launched it, under which session. `SubjectLogonId` pivots back to the [4624](/en/events/security/4624) that created the session.
- `TokenElevationType`. `%%1936` Default (no elevation), `%%1937` Full (UAC consent), `%%1938` Limited (filtered). A `1937` in a non-admin session is a privilege transition worth a closer look.
- `MandatoryLabel`. Integrity level SID. `S-1-16-12288` is High (elevated), `8192` Medium, `16384` System.

Expand Down Expand Up @@ -153,7 +153,7 @@ No file hash. No `ParentCommandLine`. No `ImageLoaded` (DLL injection is not a p

For a typical post-exploitation chain on a Sysmon-less host:

1. [4624](/en/blog/understanding-event-id-4624). Initial logon, LogonType 3 from an external IP.
1. [4624](/en/events/security/4624). Initial logon, LogonType 3 from an external IP.
2. 4624 again. LogonType 9 (`runas /netonly`) under the same `SubjectLogonId`. Credential pivot.
3. **4688**. `powershell.exe -enc ...` under that session.
4. [4104](/en/blog/powershell-4104-scriptblock). Decoded script body, fetching a second-stage payload.
Expand Down
4 changes: 2 additions & 2 deletions content/blog/en/event-id-4720-account-created.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If the attacker creates a *local* account on a server they have already compromi
The fields that drive investigations:

- `TargetUserName`. The new account. The literal name is the first triage signal: `svc_*`, `backup*`, `admin2`, `test`, `guest2`, lookalikes of legitimate accounts (`administrator`, `administr0r`), and short random strings all warrant a closer look.
- `SubjectUserName` and `SubjectLogonId`. Who created it. Pivot to the [4624](/en/blog/understanding-event-id-4624) that created that session. A 4720 from `LocalSystem` on a workstation outside business hours is not a real provisioning workflow.
- `SubjectUserName` and `SubjectLogonId`. Who created it. Pivot to the [4624](/en/events/security/4624) that created that session. A 4720 from `LocalSystem` on a workstation outside business hours is not a real provisioning workflow.
- `UserAccountControl`. The *initial* set of UAC flags. `0x10` (in the example) is `NORMAL_ACCOUNT`. The dangerous flags appear in subsequent 4738 records.
- `PrimaryGroupId`. 513 (Domain Users) is normal. 512 (Domain Admins) on a new account is screaming-loud and should never happen in a real provisioning workflow.
- `SidHistory`. Non-empty on a newly created account is either a migration tool or, in the wrong context, a forged authentication artifact.
Expand Down Expand Up @@ -170,7 +170,7 @@ Local-account creates on member workstations are invisible to the DC. If you are

The textbook persistence chain:

1. [4624](/en/blog/understanding-event-id-4624). Initial domain logon by a phished user.
1. [4624](/en/events/security/4624). Initial domain logon by a phished user.
2. [4769](/en/blog/event-id-4769-kerberoasting) burst. Kerberoasting against domain service accounts.
3. 4624 as a compromised service account on a member server.
4. [4688](/en/blog/event-id-4688-process-creation). `net user svc_backup2 P@ssw0rd! /add /domain` (or `New-ADUser` via PowerShell).
Expand Down
Loading
Loading