<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Workflow on unit363</title><link>https://unit363.dev/tags/workflow/</link><description>Recent content in Workflow on unit363</description><generator>Hugo</generator><language>en</language><copyright>unit363</copyright><lastBuildDate>Tue, 27 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://unit363.dev/tags/workflow/index.xml" rel="self" type="application/rss+xml"/><item><title>Vulnerability Scan Report Workflow</title><link>https://unit363.dev/posts/security-advisory-workflow/</link><pubDate>Tue, 27 Oct 2026 00:00:00 +0000</pubDate><guid>https://unit363.dev/posts/security-advisory-workflow/</guid><description>&lt;h1 id="workflow-security-advisory-report"&gt;Workflow: Security Advisory Report&lt;/h1&gt;&#10;&lt;p&gt;Built from your past CSS practice chats (Webex, Log4j, Ivanti EPMM CVE-2023-35078, CVE-2023-36884). Typical required sections: relevance, exploitation/threat scenarios, risk evaluation, countermeasures.&lt;/p&gt;&#10;&lt;h2 id="1-gather-the-facts-primary-sources-first"&gt;1. Gather the facts (primary sources first)&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Read the vendor advisory fully (ID, published date, affected products and &lt;strong&gt;exact&lt;/strong&gt; affected versions, fixed versions, workarounds).&lt;/li&gt;&#10;&lt;li&gt;CVSS score and vector: check &lt;strong&gt;NVD directly&lt;/strong&gt; (&lt;code&gt;https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=&amp;lt;CVE-ID&amp;gt;&lt;/code&gt;), not third-party aggregators (stack.watch, cvefeed). They can carry outdated scores (CVE-2023-36884: 7.5 on NVD vs. a stale 8.8).&lt;/li&gt;&#10;&lt;li&gt;If the vendor page is not reachable (MSRC blocked in WebFetch), use the vendor blog or the linked advisory (e.g. ADV230003), and say which source a figure comes from.&lt;/li&gt;&#10;&lt;li&gt;Note whether exploitation is known (CISA KEV, vendor statement) and which threat actor is named.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="2-relevance-for-the-company"&gt;2. Relevance for the company&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Is the product in use? Which versions? Is it internet-facing by design (e.g. EPMM, Exchange)?&lt;/li&gt;&#10;&lt;li&gt;State scope precisely. Avoid &amp;ldquo;all clients are affected&amp;rdquo; when only versions before X are (Webex lesson).&lt;/li&gt;&#10;&lt;li&gt;Name the affected asset group and who depends on it.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="3-threat-scenarios"&gt;3. Threat scenarios&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Attack path in 3-5 steps: entry, vulnerability, privilege/impact, objective.&lt;/li&gt;&#10;&lt;li&gt;Distinguish &lt;strong&gt;vulnerable component&lt;/strong&gt; from &lt;strong&gt;common entry point&lt;/strong&gt; (CVE-2021-26855: Exchange CAS proxy, not OWA logic).&lt;/li&gt;&#10;&lt;li&gt;Add the attacker motive if known (financial/ransomware vs. espionage).&lt;/li&gt;&#10;&lt;li&gt;If a diagram is requested, check syntax and details (e.g. &lt;code&gt;ldap://&lt;/code&gt;, not &lt;code&gt;ldap//&lt;/code&gt;).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="4-risk-evaluation"&gt;4. Risk evaluation&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Probability and damage, each with a short justification.&lt;/li&gt;&#10;&lt;li&gt;Keep scores consistent with your own text. &amp;ldquo;Damage 3&amp;rdquo; plus &amp;ldquo;only one user affected&amp;rdquo; needs a reason (e.g. a finance or management account enabling fraud instructions).&lt;/li&gt;&#10;&lt;li&gt;If the task gives no scale, state the scale you use.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="5-countermeasures"&gt;5. Countermeasures&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Split into &lt;strong&gt;immediate&lt;/strong&gt;, &lt;strong&gt;mid-term&lt;/strong&gt;, &lt;strong&gt;long-term&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;li&gt;Each measure must be genuinely different. &amp;ldquo;Upgrade&amp;rdquo; and &amp;ldquo;apply RPM fix&amp;rdquo; count as one patch measure.&lt;/li&gt;&#10;&lt;li&gt;If no patch exists yet, use the interim workaround from the advisory (Log4j: remove the &lt;code&gt;JndiLookup&lt;/code&gt; class, advisory-specified mitigations). Patching comes later.&lt;/li&gt;&#10;&lt;li&gt;Vendor products: prefer vendor-supplied updates. Self-patching can break the product or void support. In-house apps: test, then upgrade.&lt;/li&gt;&#10;&lt;li&gt;Include detection (log review, admin-account audit, IOC/webshell sweep, hunting queries).&lt;/li&gt;&#10;&lt;li&gt;Do not recommend measures that break the product&amp;rsquo;s function (e.g. &amp;ldquo;remove EPMM from the internet&amp;rdquo; when enrolled devices must reach it).&lt;/li&gt;&#10;&lt;li&gt;Containment (e.g. firewalling 443) is a stopgap, not a fix.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="6-final-check"&gt;6. Final check&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Every figure, version, build number and endpoint verified against a source. Mark anything recalled from memory as unverified.&lt;/li&gt;&#10;&lt;li&gt;Typos, placeholder fields (candidate number &amp;ldquo;xy&amp;rdquo;), file name and format as required.&lt;/li&gt;&#10;&lt;li&gt;Sources listed.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="report-skeleton"&gt;Report skeleton&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Advisory summary (ID, vendor, CVSS + vector, affected/fixed versions, source links)&lt;/li&gt;&#10;&lt;li&gt;Relevance for us&lt;/li&gt;&#10;&lt;li&gt;Threat scenarios&lt;/li&gt;&#10;&lt;li&gt;Risk evaluation (probability, damage, justification)&lt;/li&gt;&#10;&lt;li&gt;Countermeasures (immediate / mid / long-term)&lt;/li&gt;&#10;&lt;li&gt;Sources&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Vulnerability Scan Report Workflow</title><link>https://unit363.dev/posts/vulnerability-scan-report-workflow/</link><pubDate>Tue, 27 Oct 2026 00:00:00 +0000</pubDate><guid>https://unit363.dev/posts/vulnerability-scan-report-workflow/</guid><description>&lt;h1 id="workflow-vulnerability-scan-report"&gt;Workflow: Vulnerability Scan Report&lt;/h1&gt;&#10;&lt;p&gt;Built from your past CSS practice chats (Nessus reports for Mars/Exchange and Pluto/DC, nmap recon task, REST API security test). Covers analysing a scan report and writing up your own scan or test.&lt;/p&gt;&#10;&lt;h2 id="a-analysing-a-scan-report-eg-nessus-pdf"&gt;A. Analysing a scan report (e.g. Nessus PDF)&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Read the whole report per host. Note host role (Exchange, Domain Controller, &amp;hellip;), OS, IP.&lt;/li&gt;&#10;&lt;li&gt;Sort findings by severity (Critical, High, Medium, Low, Info). Record plugin ID, CVE, KB or patch reference for each relevant one.&lt;/li&gt;&#10;&lt;li&gt;Identify the findings that matter for the scenario (examples: ProxyLogon CVE-2021-26855 on Exchange, Zerologon CVE-2020-1472 on a DC).&lt;/li&gt;&#10;&lt;li&gt;Check that the severity you cite matches the report (e.g. SSL certificate finding, plugin 57582, rated Medium).&lt;/li&gt;&#10;&lt;li&gt;Exploitation scenario per host: entry, what the attacker gains, next step (lateral movement, DC compromise).&lt;/li&gt;&#10;&lt;li&gt;State technical conditions for the risk (reachable service, unpatched, no enforcement mode, etc.).&lt;/li&gt;&#10;&lt;li&gt;Remediation, split into:&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Immediate&lt;/strong&gt; (prevents exploitation: patch, block exposure, enforce setting)&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Mid-term&lt;/strong&gt; (hardening, segmentation, monitoring)&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Long-term&lt;/strong&gt; (patch process, asset inventory, regular scans)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;Separate &lt;strong&gt;prevention&lt;/strong&gt; from &lt;strong&gt;detection&lt;/strong&gt;. Detection alone is not an immediate fix.&lt;/li&gt;&#10;&lt;li&gt;Put &amp;ldquo;ASAP&amp;rdquo; patching under immediate, not mid or long-term.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;h2 id="b-running-your-own-scan-nmap-and-similar"&gt;B. Running your own scan (nmap and similar)&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Confirm authorization and scope before scanning.&lt;/li&gt;&#10;&lt;li&gt;CIDR is inclusive: &lt;code&gt;/24&lt;/code&gt; scans .0 to .255 (nmap does not drop network/broadcast addresses). Use octet ranges (&lt;code&gt;10.7.23.1-254&lt;/code&gt;) to exclude them.&lt;/li&gt;&#10;&lt;li&gt;State the intention of each command (e.g. printer discovery via ports 9100/515/631). Translate range notation into the resolved IP range.&lt;/li&gt;&#10;&lt;li&gt;Use the exact output file name and format the task asks for (&lt;code&gt;-oX output.xml&lt;/code&gt;, not &lt;code&gt;output.txt&lt;/code&gt;).&lt;/li&gt;&#10;&lt;li&gt;Inconsistent results between runs: suspect rate limiting, IPS/WAF, &lt;code&gt;tcpwrapped&lt;/code&gt; after handshake, timing. Re-run with &lt;code&gt;-Pn --reason -T2&lt;/code&gt;, wait between runs, verify manually (&lt;code&gt;openssl s_client&lt;/code&gt;, &lt;code&gt;curl&lt;/code&gt;), capture with &lt;code&gt;tcpdump&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Credentials found (e.g. via Hydra): keep proof (screenshot or log).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="c-writing-a-finding-per-vulnerability"&gt;C. Writing a finding (per vulnerability)&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Name (with CWE where useful: Path Traversal CWE-22, verbose errors CWE-209, Stored XSS)&lt;/li&gt;&#10;&lt;li&gt;Description (what, where, affected URL and parameter)&lt;/li&gt;&#10;&lt;li&gt;Impact and severity&lt;/li&gt;&#10;&lt;li&gt;Countermeasure (e.g. generic error pages with correlation IDs, output encoding for XSS, debug off in production)&lt;/li&gt;&#10;&lt;li&gt;Reproduction steps and &lt;strong&gt;evidence&lt;/strong&gt;: the screenshot must match the text (role, message type, URL). A contradicting screenshot costs points.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="d-final-check"&gt;D. Final check&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Verified against the source files, not recalled. Mark memory-based details (event IDs, framework settings, CLI syntax) as unverified.&lt;/li&gt;&#10;&lt;li&gt;Follow the sample structure and numbering, no informal sentences, no typos or placeholders.&lt;/li&gt;&#10;&lt;li&gt;Say what was not re-tested (e.g. live environment unreachable).&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="report-skeleton"&gt;Report skeleton&lt;/h2&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Scope and environment&lt;/li&gt;&#10;&lt;li&gt;Per host/target: key findings table (plugin or CWE, severity, CVE/KB)&lt;/li&gt;&#10;&lt;li&gt;Exploitation scenario&lt;/li&gt;&#10;&lt;li&gt;Risk conditions&lt;/li&gt;&#10;&lt;li&gt;Remediation (immediate / mid / long-term)&lt;/li&gt;&#10;&lt;li&gt;Evidence and sources&lt;/li&gt;&#10;&lt;/ol&gt;</description></item></channel></rss>