Skip to content

SCCM Indexing and Filelib Hash Resolution#186

Open
ZephrFish wants to merge 2 commits intoSnaffCon:masterfrom
ZephrFish:feature/sccm-clean
Open

SCCM Indexing and Filelib Hash Resolution#186
ZephrFish wants to merge 2 commits intoSnaffCon:masterfrom
ZephrFish:feature/sccm-clean

Conversation

@ZephrFish
Copy link
Contributor

Needs more testing in broader environments HOWEVER this is working in my home lab with 8 machines

Re-submitting because computers were a mistake and git broke in my VM 💯

Add SCCM integration with automatic discovery and content library resolution:

  • Implement SCCM share discovery (SCCMContentLib$, SCCM$, etc.)
  • Add content library file hash resolution using DataLib index
  • Support for INI-based content hash lookups and file mapping
  • LRU cache for efficient repeated hash resolutions
  • Detection rules for SCCM deployment packages and content files
  • Hash resolution logic borrowed from CMLoot for accurate file identification, if you're curious about the logic I read the blog post originally here then found the tool

New components:

  • SCCMDiscovery.cs: Automatic SCCM share enumeration
  • SCCMContentLibResolver.cs: Content library hash resolution
  • SCCMFileMapping.cs: File path to content hash mapping
  • LRUCache.cs: Caching layer for performance
  • KeepSCCMContentFiles.toml: Detection rule for SCCM content

Integration points:

  • ShareFinder: SCCM share detection and prioritization
  • TreeWalker: SCCM-aware file enumeration
  • FileClassifier: SCCM content identification

.NET Framework updates:

  • Update TargetFrameworkVersion from v4.5.1 to v4.8 to match SnaffCore.csproj
  • Resolves CI build compatibility issues

unsu added 2 commits January 31, 2026 00:56
… my home lab with 8 machines

Add SCCM integration with automatic discovery and content library resolution:

- Implement SCCM share discovery (SCCMContentLib$, SCCM$, etc.)
- Add content library file hash resolution using DataLib index
- Support for INI-based content hash lookups and file mapping
- LRU cache for efficient repeated hash resolutions
- Detection rules for SCCM deployment packages and content files
- Hash resolution logic borrowed from [CMLoot](https://github.com/shelltrail/cmloot) for accurate file identification, if you're curious about the logic I [read the blog post originally here](https://www.shelltrail.com/research/cmloot/) then found the tool

New components:
- SCCMDiscovery.cs: Automatic SCCM share enumeration
- SCCMContentLibResolver.cs: Content library hash resolution
- SCCMFileMapping.cs: File path to content hash mapping
- LRUCache.cs: Caching layer for performance
- KeepSCCMContentFiles.toml: Detection rule for SCCM content

Integration points:
- ShareFinder: SCCM share detection and prioritization
- TreeWalker: SCCM-aware file enumeration
- FileClassifier: SCCM content identification

.NET Framework updates:
- Update TargetFrameworkVersion from v4.5.1 to v4.8 to match SnaffCore.csproj
- Resolves CI build compatibility issues
- Updated SnaffCore.csproj from v4.8 to v4.5.1
- Updated Snaffler.csproj from v4.8 to v4.5.1
- Updated app.config runtime version to v4.5.1
- Ensures compatibility with systems running .NET Framework 4.5+
- All SCCM functionality and NuGet packages verified compatible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant