githubEdit

Impacket Tools Documentation

1. impacket-addcomputer

  • Purpose: Adds a computer account to the domain

  • Usage: Used to create new computer accounts in Active Directory

  • Example:

impacket-addcomputer -computer-name 'NEWCOMP$' -computer-pass 'Password123!' -dc-ip 192.168.1.100 domain.local/user:password

2. impacket-atexec

  • Purpose: Executes commands on a remote Windows system using Task Scheduler

  • Usage: Remote command execution through Windows Task Scheduler

  • Example:

impacket-atexec domain.local/user:password@192.168.1.100 "whoami"

3. impacket-changepasswd

  • Purpose: Changes a user's password

  • Usage: Password change operations in Active Directory

  • Example:

impacket-changepasswd domain.local/user:oldpassword@192.168.1.100 -new-pass 'NewPassword123!'

4. impacket-dacledit

  • Purpose: Modifies DACL (Discretionary Access Control List) entries

  • Usage: Modifying access control lists on Windows systems

  • Example:

5. impacket-dcomexec

  • Purpose: Executes commands using DCOM

  • Usage: Remote command execution through DCOM

  • Example:

6. impacket-describeTicket

  • Purpose: Describes Kerberos tickets

  • Usage: Analyzing Kerberos ticket contents

  • Example:

7. impacket-dpapi

  • Purpose: Decrypts DPAPI secrets

  • Usage: Extracting Windows DPAPI-protected data

  • Example:

8. impacket-DumpNTLMInfo

  • Purpose: Dumps NTLM information from memory

  • Usage: Extracting NTLM hashes from memory

  • Example:

9. impacket-esentutl

  • Purpose: Extracts information from ESE database files

  • Usage: Working with ESE database files

  • Example:

10. impacket-exchanger

  • Purpose: Interacts with Microsoft Exchange

  • Usage: Exchange server operations

  • Example:

11. impacket-findDelegation

  • Purpose: Finds delegation relationships

  • Usage: Identifying delegation configurations in Active Directory

  • Example:

12. impacket-GetADComputers

  • Purpose: Lists computers in Active Directory

  • Usage: Enumerating AD computer objects

  • Example:

13. impacket-GetADUsers

  • Purpose: Lists users in Active Directory

  • Usage: Enumerating AD user objects

  • Example:

14. impacket-getArch

  • Purpose: Gets architecture of remote system

  • Usage: Determining system architecture

  • Example:

15. impacket-Get-GPPPassword

  • Purpose: Extracts passwords from Group Policy Preferences

  • Usage: Retrieving GPP passwords

  • Example:

16. impacket-GetLAPSPassword

  • Purpose: Retrieves LAPS passwords

  • Usage: Extracting Local Administrator Password Solution passwords

  • Example:

17. impacket-GetNPUsers

  • Purpose: Gets TGT for users without pre-authentication

  • Usage: AS-REP roasting attack

  • Example:

18. impacket-getPac

  • Purpose: Gets PAC (Privilege Attribute Certificate)

  • Usage: Extracting PAC information

  • Example:

19. impacket-getST

  • Purpose: Gets Service Ticket

  • Usage: Requesting service tickets

  • Example:

20. impacket-getTGT

  • Purpose: Gets Ticket Granting Ticket

  • Usage: Requesting TGT

  • Example:

21. impacket-GetUserSPNs

  • Purpose: Gets Service Principal Names for users

  • Usage: Kerberoasting attack

  • Example:

22. impacket-goldenPac

  • Purpose: Golden Ticket attack

  • Usage: Creating golden tickets

  • Example:

23. impacket-karmaSMB

  • Purpose: SMB relay attack tool

  • Usage: SMB relay attacks

  • Example:

24. impacket-keylistattack

  • Purpose: Attacks against key list

  • Usage: Key list attacks

  • Example:

25. impacket-lookupsid

  • Purpose: Looks up SIDs

  • Usage: SID enumeration

  • Example:

26. impacket-machine_role

  • Purpose: Gets machine role

  • Usage: Determining machine role in domain

  • Example:

27. impacket-mimikatz

  • Purpose: Mimikatz-like functionality

  • Usage: Credential extraction

  • Example:

28. impacket-mqtt_check

  • Purpose: Checks MQTT service

  • Usage: MQTT service testing

  • Example:

29. impacket-mssqlclient

  • Purpose: MSSQL client

  • Usage: MSSQL server interaction

  • Example:

30. impacket-mssqlinstance

  • Purpose: MSSQL instance enumeration

  • Usage: Finding MSSQL instances

  • Example:

31. impacket-net

  • Purpose: Network operations

  • Usage: Network-related operations

  • Example:

32. impacket-netview

  • Purpose: Network view operations

  • Usage: Network share enumeration

  • Example:

33. impacket-ntfs-read

  • Purpose: Reads NTFS files

  • Usage: NTFS file system operations

  • Example:

34. impacket-ntlmrelayx

  • Purpose: NTLM relay attack tool

  • Usage: NTLM relay attacks

  • Example:

35. impacket-owneredit

  • Purpose: Modifies object ownership

  • Usage: Changing object ownership

  • Example:

36. impacket-ping

  • Purpose: ICMP ping

  • Usage: Network connectivity testing

  • Example:

37. impacket-ping6

  • Purpose: IPv6 ping

  • Usage: IPv6 connectivity testing

  • Example:

38. impacket-psexec

  • Purpose: PsExec-like functionality

  • Usage: Remote command execution

  • Example:

39. impacket-raiseChild

  • Purpose: Raises domain functional level

  • Usage: Domain functional level operations

  • Example:

40. impacket-rbcd

  • Purpose: Resource-based constrained delegation

  • Usage: RBCD attacks

  • Example:

41. impacket-rdp_check

  • Purpose: Checks RDP service

  • Usage: RDP service testing

  • Example:

42. impacket-reg

  • Purpose: Registry operations

  • Usage: Windows registry operations

  • Example:

43. impacket-registry-read

  • Purpose: Reads registry values

  • Usage: Reading Windows registry

  • Example:

44. impacket-rpcdump

  • Purpose: Dumps RPC endpoints

  • Usage: RPC endpoint enumeration

  • Example:

45. impacket-rpcmap

  • Purpose: Maps RPC services

  • Usage: RPC service mapping

  • Example:

46. impacket-sambaPipe

  • Purpose: Samba pipe operations

  • Usage: Samba pipe interactions

  • Example:

47. impacket-samrdump

  • Purpose: Dumps SAM database

  • Usage: SAM database extraction

  • Example:

48. impacket-secretsdump

  • Purpose: Dumps secrets from remote systems

  • Usage: Extracting credentials and secrets

  • Example:

49. impacket-services

  • Purpose: Manages Windows services

  • Usage: Service management operations

  • Example:

50. impacket-smbclient

  • Purpose: SMB client operations

  • Usage: SMB file sharing operations

  • Example:

51. impacket-smbexec

  • Purpose: SMB-based command execution

  • Usage: Remote command execution via SMB

  • Example:

52. impacket-smbserver

  • Purpose: SMB server implementation

  • Usage: Creating SMB shares

  • Example:

53. impacket-sniff

  • Purpose: Network traffic sniffing

  • Usage: Capturing network traffic

  • Example:

54. impacket-sniffer

  • Purpose: Advanced network traffic analysis

  • Usage: Detailed network traffic analysis

  • Example:

55. impacket-split

  • Purpose: File splitting utility

  • Usage: Splitting large files

  • Example:

56. impacket-ticketConverter

  • Purpose: Converts ticket formats

  • Usage: Converting between ticket formats

  • Example:

57. impacket-ticketer

  • Purpose: Creates Kerberos tickets

  • Usage: Ticket creation and manipulation

  • Example:

58. impacket-tstool

  • Purpose: Time synchronization tool

  • Usage: Time synchronization operations

  • Example:

59. impacket-wmiexec

  • Purpose: WMI-based command execution

  • Usage: Remote command execution via WMI

  • Example:

60. impacket-wmipersist

  • Purpose: WMI persistence operations

  • Usage: Creating WMI persistence

  • Example:

61. impacket-wmiquery

  • Purpose: WMI query operations

  • Usage: Executing WMI queries

  • Example:

Last updated