Skip to content

JS-Tap v3 Endpoint Post-Exploitation With JavaScript Implant...#2365

Open
carlospolop wants to merge 1 commit into
masterfrom
update_JS-Tap_v3_Endpoint_Post-Exploitation_With_JavaSc_0284e02c1972af17
Open

JS-Tap v3 Endpoint Post-Exploitation With JavaScript Implant...#2365
carlospolop wants to merge 1 commit into
masterfrom
update_JS-Tap_v3_Endpoint_Post-Exploitation_With_JavaSc_0284e02c1972af17

Conversation

@carlospolop

Copy link
Copy Markdown
Collaborator

🤖 Automated Content Update

This PR was automatically generated by the HackTricks News Bot based on a technical blog post.

📝 Source Information

  • Blog URL: https://trustedsec.com/blog/js-tap-v3-endpoint-post-exploitation-with-javascript-implants
  • Blog Title: JS-Tap v3: Endpoint Post-Exploitation With JavaScript Implants
  • Suggested Section: Pentesting Web > Browser Extension Pentesting Methodology; Network Services Pentesting > 80/443 > Electron Desktop Apps; Generic Hacking / Post-Exploitation; AI > AI Security or Phishing Methodology for Node/Bun preload implants against AI CLI tools

🎯 Content Summary

The post introduces JS-Tap v3, a JavaScript-based post-exploitation framework intended for authorized red team engagements and education. The original JS-Tap payload, now referred to as the DOM beacon, was designed as a generic JavaScript implant for web applications. Its original goal was to work without prior knowledge of the application and without requiring an already authenticated user: instrument the client side, collect loot, and attack the application...

🔧 Technical Details

Browser-extension privilege abuse for session theft: A JavaScript implant packaged as a browser extension runs above normal page JavaScript restrictions. Unlike a DOM implant or XSS payload, it can access browser-level data within its extension scope, including cookies across domains, httpOnly cookies, localStorage, sessionStorage, request headers, and tab activity. The general technique is to move from page-level execution to extension-level execution to bypass DOM security limitations such as inability to read protected cookies.

Extension-assisted DOM beacon injection and screenshot capture: A privileged browser extension can be used as a dropper to inject a lower-privileged DOM beacon into a selected domain loaded in the browser. Because the extension has APIs unavailable to page JavaScript, it can capture the rendered tab with captureVisibleTab instead of using client-side rendering libra...

🤖 Agent Actions

Done.

Updated:

  • src/network-services-pentesting/pentesting-web/electron-desktop-apps/README.md

Added:

  • A new section on ASAR/main-process post-exploitation implants
  • Practical workflow for patching app.asar
  • Main-process implant implications:
    • runtime/decrypted data theft
    • session/token abuse
    • victim-context proxy/pivoting
  • A reference to the TrustedSec blog in the file’s ## References

Validation:

  • Confirmed only the intended file changed
  • Confirmed references section remains at the end and banner include is preserved
  • mdbook build could not be run because mdbook is not installed in this environment

This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.

@carlospolop

Copy link
Copy Markdown
Collaborator Author

🔗 Additional Context

Original Blog Post: https://trustedsec.com/blog/js-tap-v3-endpoint-post-exploitation-with-javascript-implants

Content Categories: Based on the analysis, this content was categorized under "Pentesting Web > Browser Extension Pentesting Methodology; Network Services Pentesting > 80/443 > Electron Desktop Apps; Generic Hacking / Post-Exploitation; AI > AI Security or Phishing Methodology for Node/Bun preload implants against AI CLI tools".

Repository Maintenance:

  • MD Files Formatting: 977 files processed

Review Notes:

  • This content was automatically processed and may require human review for accuracy
  • Check that the placement within the repository structure is appropriate
  • Verify that all technical details are correct and up-to-date
  • All .md files have been checked for proper formatting (headers, includes, etc.)

Bot Version: HackTricks News Bot v1.0

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