Legacy Meets Modern Breaking Active Directory Through NIS an...#2540
Open
carlospolop wants to merge 1 commit into
Open
Legacy Meets Modern Breaking Active Directory Through NIS an...#2540carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://netspi.com/blog/technical-blog/network-pentesting/legacy-meets-modern-breaking-ad-through-nis-mfa-infrastructure Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting: add a dedicated NIS/YP pentesting section covering discovery, unauthenticated map queries, hash extraction, and cracking workflow; additionally update Linux Post-Exploitation and Active Directory/NTLM relay sections with Duo Authentication Proxy secret interception and the xp_dirtree-to-ntlmrelayx-to-MSSQL SOCKS chain.". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview and impact
The post documents a complete internal compromise chain joining legacy Network Information Service (NIS), an exposed Apache NiFi deployment, Linux password reuse, Duo Authentication Proxy infrastructure, CI/CD systems, and Active Directory. No CVE is assigned or claimed. The attacker progressed from unauthenticated NiFi access to root command execution, recovered plaintext credentials and NIS password hashes, obtained root access to 53 Linux servers, intercepted cl...
🔧 Technical Details
Unauthenticated automation-platform RCE: An exposed low-code automation interface can become an RCE primitive when unauthenticated users are permitted to create or modify processors capable of invoking operating-system functionality. Test execution with a harmless command such as
idand determine the service identity. If the automation service runs as root, workflow-level command execution immediately provides root RCE. For Apache NiFi, the demonstrated Metasploit module wasexploit/multi/http/apache_nifi_processor_rce.Secret recovery from operational artifacts: After obtaining filesystem access, inspect shell histories, mount definitions, test commands, service configuration, environment files, automation workflows, and home directories. Secrets passed as command-line parameters can persist in files such as
.bash_history; for example, Cypress commands may retain--env username=...,password=.....🤖 Agent ActionsDone.
Updated:
src/network-services-pentesting/pentesting-rpcbind.mdWhat I added:
nsswitch.conf/+@netgroupindicatorsypcat/getentmap queries## ReferencesWhy only this file:
Verification:
git diff --checkpassedThis PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.