Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adversaries may look for folders and drives shared on remote systems as a means of identifying sources of information to gather as a precursor for Collection and to identify potential systems of in...
.claude/skills/cyberstrikeus-t1135-network-share-discovery/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 34% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 111% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 61% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 52% | 0% |
Adversaries may look for folders and drives shared on remote systems as a means of identifying sources of information to gather as a precursor for Collection and to identify potential systems of interest for Lateral Movement. Networks often contain shared network drives and folders that enable users to access file directories on various systems across a network.
File sharing over a Windows network occurs over the SMB protocol. Net can be used to query a remote system for available shared drives using the <code>net view \\\\remotesystem</code> command. It can also be used to query shared drives on the local system using <code>net share</code>. For macOS, the <code>sharing -l</code> command lists all shared points used for smb services.
Platforms: Linux, macOS, Windows
The following tests are from Atomic Red Team and provide actionable ways to test this technique:
Network Share Discovery
Supported Platforms: macos
bashdf -aH smbutil view -g //#{computer_name} showmount #{computer_name}
Network Share Discovery using smbstatus
Supported Platforms: linux Elevation Required: Yes
bashsmbstatus --shares
Dependencies:
Network Share Discovery using smbstatus
Supported Platforms: linux Elevation Required: Yes
bashsmbstatus --shares
Dependencies:
Network Share Discovery utilizing the command prompt. The computer name variable may need to be modified to point to a different host Upon execution available network shares will be displayed in the powershell session
Supported Platforms: windows
cmdnet view \\#{computer_name}
Network Share Discovery utilizing PowerShell. The computer name variable may need to be modified to point to a different host Upon execution, available network shares will be displayed in the powershell session
Supported Platforms: windows
powershellget-smbshare
If Atomic Red Team tests are not applicable, manually verify the technique by:
Enable Windows Group Policy “Do Not Allow Anonymous Enumeration of SAM Accounts and Shares” security setting to limit users who can enumerate network shares.
| Finding | Severity | Impact | | -------------------------------------------- | -------- | --------- | | Network Share Discovery technique applicable | Medium | Discovery |
| CWE ID | Title | | ------- | --------------------------------- | | CWE-200 | Exposure of Sensitive Information |
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-23 | fail→fail | 23,934 | 22,444 | -6% | 1 | 1 | 0% | 2,756 | 3,468 | +26% | 0 | 0 | — |
case-01 | fail→pass | 31,941 | 34,194 | +7% | 1 | 1 | 0% | 3,964 | 5,297 | +34% | 0 | 0 | — |
case-02 | fail→pass | 19,695 | 32,946 | +67% | 1 | 1 | 0% | 2,533 | 5,339 | +111% | 0 | 0 | — |
case-03 | pass→pass | 12,500 | 11,418 | -9% | 1 | 1 | 0% | 847 | 2,071 | +145% | 0 | 0 | — |
case-04 | pass→pass | 3,375 | 3,599 | +7% | 1 | 1 | 0% | 589 | 1,642 | +179% | 0 | 0 | — |
case-05 | pass→pass | 3,828 | 7,699 | +101% | 1 | 1 | 0% | 587 | 1,495 | +155% | 0 | 0 | — |
case-06 | pass→pass | 11,896 | 9,544 | -20% | 1 | 1 | 0% | 1,234 | 1,534 | +24% | 0 | 0 | — |
case-07 | pass→pass | 6,508 | 7,363 | +13% | 1 | 1 | 0% | 1,121 | 1,378 | +23% | 0 | 0 | — |
case-08 | pass→pass | 6,988 | 7,703 | +10% | 1 | 1 | 0% | 1,011 | 1,809 | +79% | 0 | 0 | — |
case-09 | pass→pass | 4,665 | 3,607 | -23% | 1 | 1 | 0% | 745 | 1,403 | +88% | 0 | 0 | — |
case-10 | pass→pass | 6,398 | 2,993 | -53% | 1 | 1 | 0% | 1,036 | 1,523 | +47% | 0 | 0 | — |
case-11 | fail→pass | 12,281 | 8,501 | -31% | 1 | 1 | 0% | 1,725 | 2,224 | +29% | 0 | 0 | — |
case-12 | pass→pass | 5,598 | 4,840 | -14% | 1 | 1 | 0% | 836 | 1,803 | +116% | 0 | 0 | — |
case-13 | pass→pass | 10,048 | 2,257 | -78% | 1 | 1 | 0% | 890 | 1,264 | +42% | 0 | 0 | — |
case-14 | pass→pass | 17,338 | 8,534 | -51% | 1 | 1 | 0% | 2,049 | 1,352 | -34% | 0 | 0 | — |
case-15 | fail→pass | 9,403 | 13,050 | +39% | 1 | 1 | 0% | 1,475 | 2,376 | +61% | 0 | 0 | — |
case-16 | pass→pass | 7,886 | 6,704 | -15% | 1 | 1 | 0% | 1,345 | 1,967 | +46% | 0 | 0 | — |
case-17 | pass→pass | 11,539 | 18,600 | +61% | 1 | 1 | 0% | 1,907 | 3,194 | +67% | 0 | 0 | — |
case-18 | pass→pass | 22,082 | 11,777 | -47% | 1 | 1 | 0% | 2,430 | 3,199 | +32% | 0 | 0 | — |
case-19 | pass→pass | 17,864 | 24,531 | +37% | 1 | 1 | 0% | 2,942 | 4,395 | +49% | 0 | 0 | — |
case-20 | pass→pass | 11,676 | 13,547 | +16% | 1 | 1 | 0% | 1,674 | 2,209 | +32% | 0 | 0 | — |
case-21 | fail→pass | 18,171 | 17,891 | -2% | 1 | 1 | 0% | 1,947 | 2,962 | +52% | 0 | 0 | — |
case-22 | fail→pass | 16,539 | 16,017 | -3% | 1 | 1 | 0% | 3,029 | 2,920 | -4% | 0 | 0 | — |
case-24 | fail→pass | 24,382 | 15,926 | -35% | 1 | 1 | 0% | 3,600 | 3,197 | -11% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +29 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.