Skip to content
ADscan Docs

🔁 recheck

Re-verify findings, attack steps and attack paths from an earlier scan, without running a new scan (PRO).

adscan recheck (PRO) re-verifies what an earlier scan of a workspace found. It answers the question every retest asks, whether the issue is still exploitable today. You get a per-item answer and the date it was checked, recorded in the workspace's engagement history next to every earlier scan.

It works on a workspace that already holds a scan. There is nothing to re-check before the first adscan ci run of a workspace has finished.

Three depths

DepthWhat it doesChanges the directory?
observe (default)Re-reads the condition the finding rests on, with the same check the scan uses.No. LDAP reads only.
exercisePerforms one attack step again, through the same execution path as attack_paths.As the original step did, then reverts it.
walkRuns one attack path end to end and records where it now stops.As its steps do, then reverts them.

exercise and walk follow the scan policy, its safety rules and the automatic rollback exactly like a scan. They are never chosen for you. With no depth, the run only reads.

Targets

bash
# Every open finding and attack step, read-only (the default with no target)
adscan recheck -w Corp-Assessment

# One finding and the attack steps that rely on it
adscan recheck -w Corp-Assessment --finding kerberoast

# One finding, only for named accounts (by SID)
adscan recheck -w Corp-Assessment --finding kerberoast --object S-1-5-21-1111111111-2222222222-3333333333-1105

# Only one domain, only items still open
adscan recheck -w Corp-Assessment --all --filter domain=corp.example,status=open

# One attack step: re-read it, or perform it again
adscan recheck -w Corp-Assessment --step 3f9a1c2b7d4e
adscan recheck -w Corp-Assessment --step 3f9a1c2b7d4e --depth exercise

# One attack path: walk it end to end
adscan recheck -w Corp-Assessment --path 8c41d0e95a7b --walk

Step ids come from adscan engagement status -w <workspace> --kind steps. The Security Assessment Report prints a path id next to each attack path, for example ID 8c41d0e95a7b, and you pass it as printed. The full id is path_id in attack_paths_snapshot.json, the one to script against, and the Enterprise platform keys each route on the same id. Any 8 or more leading characters work when they are unique. The P-0A1B2C3D labels printed by the older Word report are accepted too.

Re-check with another account

Clients often disable the audit account once the engagement ends, and every read made with it then fails. Give the retest its own account with -u/--username and -p/--password. The password field also takes an NT hash.

bash
adscan recheck -w Corp-Assessment -u retest.user -p '<password>'
adscan recheck -w Corp-Assessment -u 'CORP\retest.user' -p '<password>' --finding kerberoast

The account is used for this run only and is never written to the workspace. It signs in through the same lockout protection as every other ADscan sign-in, so a rejected password costs one attempt and is not retried. Qualify the name (user@domain or DOMAIN\user) when the account lives in another domain of the workspace than the one being read. The result document records which account the reads used, never its password.

A walk or an exercise still runs each attack step with the credentials that route starts from. The account you give here covers the reads.

What each result means

ResultMeaning
condition re-observedThe condition is still in place. The item stays open.
condition closed (observed)The read found the condition gone. The item is recorded as closed, with today's date.
re-executed and validatedThe step was performed again and worked.
stoppedThe walk stopped at this step. The reason is shown when it was established (for example the precondition was removed, or the credential the step needs no longer works).
not re-checkedNothing was concluded for this item in this run, with the reason. It keeps the status it had.

A finding is one item per domain. Narrowing it with --object re-reads those accounts and shows their state, but the finding itself only closes when a read covers the whole domain. In a walk, the steps after the one where the route stops are reported as not walked. They are not counted as fixed.

In this release, observe re-reads the domain password policy, the machine account quota, and accounts exposed to Kerberoasting or AS-REP roasting. Other findings are listed as not re-checked: no read-only check and keep their status until the next scan re-evaluates them. A walk covers every attack path ADscan can execute.

Evidence

Each run is recorded in the engagement history (adscan engagement history) and leaves its evidence in the workspace under runs/<run_id>/. That folder holds the run plan, the result of every item, and what each read examined. --json prints the same result document on stdout and nothing else. Progress and messages go to stderr, so adscan recheck -w Corp-Assessment --json | jq .items works as it is. The document follows the published schema adscan.recheck_result/1. adscan engagement status --json behaves the same way and honours --kind. A re-check never overwrites the reports or the coverage of the scan it re-verifies.

recheck or execute

adscan execute runs one technique (a REPL command) and keeps no history. adscan recheck re-verifies a finding, a step or a path and records the result in the engagement history. Use execute for scripting and smoke tests, and recheck for retests.

Find this useful?
Pass it to the next pentester running an AD engagement
Running 2+ AD engagements/year?
First PRO assessment free·Free in exchange for feedback
Automated PDF reports. Save ≥1 day per engagement.

ADscan — AD pentest automation for security consultants